Skip to main content

Posts

Showing posts from November, 2017

The Extraordinary Science of Addictive Junk Food

http://www.nytimes.com/2013/02/24/magazine/the-extraordinary-science-of-junk-food.html On the evening of April 8, 1999, a long line of Town Cars and taxis pulled up to the Minneapolis headquarters of Pillsbury and discharged 11 men who controlled America’s largest food companies. Nestlé was in attendance, as were Kraft and Nabisco, General Mills and Procter & Gamble, Coca-Cola and Mars. Rivals any other day, the C.E.O.’s and company presidents had come together for a rare, private meeting. On the agenda was one item: the emerging obesity epidemic and how to deal with it. While the atmosphere was cordial, the men assembled were hardly friends. Their stature was defined by their skill in fighting one another for what they called “stomach share” — the amount of digestive space that any one company’s brand can grab from the competition. James Behnke, a 55-year-old executive at Pillsbury, greeted the men as they arrived. He was anxious but also hopeful about the plan ...

The Amazing $1 Microcontroller

https://jaycarlson.net/microcontrollers/ The Amazing $1 Microcontroller As an embedded design consultant, the diverse collection of projects on my desk need an equally-diverse collection of microcontroller architectures that have the performance, peripheral selection, and power numbers to be the backbone of successful projects. At the same time, we all have our go-to chips — those parts that linger in our toolkit after being picked up in school, through forum posts, or from previous projects. In 2017, we saw several new MCUs hit the market, as well as general trends continuing in the industry: the migration to open-source, cross-platform development environments and toolchains; new code-generator tools that integrate seamlessly (or not so seamlessly…) into IDEs; and, most notably, the continued invasion of ARM Cortex-M0+ parts into the 8-bit space. I wanted to take a quick pulse of the industry to see where everything is — and what I’ve been missing while backed into...

How to Pick a Microcontroller For Beginner

http://www.sureshjoshi.com/embedded/how-to-pick-a-microcontroller/ Many months ago when I was on vacation, I had a chat with the fantastic people behind SnapEDA about my heavily opinionated thoughts around how to pick a microcontroller (aside: if you’re a hardware designer and you’ve never used SnapEDA – sign up for free and watch your life instantaneously become easier). They briefly wrote about those thoughts in their Top 10 Microcontrollers post. Here we are about 6 months later, and I thought it would be good to re-visit some of those opinions. I’ve just selected a few new microcontrollers for some projects, so I’ve gone through these decisions again recently. There are a multitude of factors to keep in mind when picking an MCU, but the problem is that there are usually TOO many factors, and it’s easy to get stuck into an “analysis paralysis” situation. Below are a subset of design considerations when choosing an MCU, but you’ll notice that I dismiss some of th...

Augmented Reality with Python & OpenCV

https://bitesofcode.wordpress.com/2017/09/12/augmented-reality-with-python-and-opencv-part-1/ You may (or may not) have heard of or seen the augmented reality Invizimals video game or the Topps 3D  baseball cards. The main idea is to render in the screen of a tablet, PC or smartphone a 3D model of a specific figure on top of a card according to the position and orientation of the card.   Figure 1: Invizimal augmented reality cards. Source:  Well, this past semester I took a course in Computer Vision where we studied some aspects of projective geometry and thought it would be an entertaining project to develop my own implementation of a card based augmented reality application. I warn you that we will need a bit of algebra to make it work but I’ll try to keep it as light as possible. To make the most out of it you should be comfortable working with different coordinate systems and transformation matrices. <disclaimer First, this post does not ...