This is the first phase on my Balancing Robot project.
Which I think I will call PiBBot. (Pi balancing Bot)
I want to test all the components first before I put them in their final position on the frame for my balancing robot.
Hardware list;
- Raspberry Pi rev 2
- Two breadboards
- 1.8" TFT, connected via SPI
- Three 8x8 led matrix's connected via I2C
- One MinIMU (Accelerometer, Gyro & Compass) all connected via I2C
- H-Bridge to control the motors
- Temperature sensor connected via I2C
- 315Mhz RF Receiver
- One LED
Click the image below to see the components named on the breadboard;
Software milestones;
- Patched Kernel for SPI driver for the TFT
- Patched Kernel for PWM driver for PIN 18
- Created C program to display text on 8x8 Matrix
I2C devices;
pi@raspberrypi ~ $ /usr/sbin/i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- 19 -- -- -- -- 1e --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- 6b -- -- -- --
70: 70 71 72 -- -- -- -- --
pi@raspberrypi ~ $
To Do
- Source a power supply(battery) for the motors and the Raspberry Pi
- Place it all on the final frame
- Create the code for the main program
- Learn C
[wp_ad_camp_1]
I would be interested in seeing a marked up picture identifying the components on your breadboard. Also, what is the part information for your IMU? (very much interested!)
Hi John, I have updated the blog to include a picture with labels.
The IMU = MinIMU-9 v2 Gyro, Accelerometer, and Compass (L3GD20 and LSM303DLHC Carrier)
http://www.pololu.com/catalog/product/1268
David has a good writeup on getting it going. I have used his code;
http://blog.davidegrayson.com/2012/11/orientation-sensing-with-raspberry-pi.html