Sunday, May 7, 2017

Arduino + MPU6050 = Great Fun

One of the downsides to Raspberry Pi is Arduino. Arduino is everywhere. Every time I looked for some Python code for the RPi I found dozens of links to some C/C++ for the Arduino. So I finally broke down and spent the ten bucks for an Arduino. And to show how Arduino-ignorant I was, my first question was 'what O/S does it run?'

Turns out Arduino has no O/S.

Ignorance, as they say, is curable, so I took a week off and got acquainted with this little beast. One of the projects I was interested in trying was using a device that combines an accelerometer and a gyro in a single chip to manipulate a 3-d graphic image.

MPU6050 Breakout

 And I got it working. Yay!




If you want to give this a try, start with the instructions and links here from YouTube user PlyAlex.

There are tiny Arduinos and this chip uses very little power, so making cat-compatible projects are practical.

My poor cats. :)