vikas

Balancing Robot - Accelerometer + Gyro + Arduino + Processing ( Step 1 )

Rate this Entry
These Days im building a Balancing Robot so here are step wise how to interface a arduino to Accelerometer and Gyro

Things ive used

1. ATmega8 Arduino ( ARP 1.0u)
2. DIY Proto Shield
3. 3.3V Zener + 330 Ohm for 3.3V supply
4. Triple Axis Accelerometer Breakout – MMA7260 ( @Sparkfun )
5. Gyro Breakout Board – LY530AL – 300°/s ( @Sparkfun )

The Gyro and Accelerometer were bought from Feemo India , as i found them the cheapest retailers of Sparkfun in India and Good service.

1. Buy the Stuff ... And Solder pin connectors ( The Gyro required Bent Connectors ) .

Click image for larger version

Name:	sensors.jpg
Views:	62
Size:	80.5 KB
ID:	92

2. Build a Quick 3.3V Zener regulator ( This is for 5V to 3.3 V conversion ) , Check http://www.reuk.co.uk/Zener-Diode-Voltage-Regulator.htm for more details on this.

Click image for larger version

Name:	zener-diode-voltage-regulator.gif
Views:	12
Size:	1.9 KB
ID:	94

3. Connect Everything Together

Click image for larger version

Name:	connections.jpg
Views:	160
Size:	14.4 KB
ID:	95
Click image for larger version

Name:	breadboarded.JPG
Views:	84
Size:	70.9 KB
ID:	91

4. Send all Analog Outs to Arduino Analog Port

Click image for larger version

Name:	connected.JPG
Views:	56
Size:	62.6 KB
ID:	96

5. Using Arduino Scope See Whats going on when you move around.

Click image for larger version

Name:	scope.jpg
Views:	98
Size:	76.3 KB
ID:	93

6. Nothings complete without a Video



Next Kalman filters ... Maths and me not so hand in hand .

Updated 02-06-2010 at 11:41 AM by vikas

Tags
accelerometer, balancing robot, gyro, imu Add / Edit Tags
Categories
Tutorial , My Projects

Comments

  1. rao -
    rao's Avatar
    Thats was too fast..
  2. shakerobo -
    shakerobo's Avatar
    eagerly waiting for the upcoming part