vikas

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

Rating: 2 votes, 3.50 average.
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:	642 
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:	361 
Size:	1.9 KB 
ID:	94

3. Connect Everything Together

Click image for larger version. 

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

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

4. Send all Analog Outs to Arduino Analog Port

Click image for larger version. 

Name:	connected.JPG 
Views:	453 
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:	877 
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 12:41 PM by vikas

Categories
Tutorial , My Projects

Comments

  1. rao's Avatar
    Thats was too fast..
  2. shakerobo's Avatar
    eagerly waiting for the upcoming part
  3. meethiz's Avatar
    hey!! i'm preparing this robot as my final year engineering project... would be glad if u could upload some more details... thank u!!!
  4. meethiz's Avatar
    i'm constructing this robot as my final year engineering project... would be glad if u could upload some more details... thank u!!!