Pages: [1]   Go Down
Author Topic: Gyro data filtering HELP  (Read 283 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 19
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
i try to make a selfe balancing robot....
First i need to read gyro sensor data and filter it properly....
Reading data OK but have some issues how to filter it

Now i get the data like this

accel x,y,z: -496, -116, 15692,
angle gyro: , 91
G force: 0.00

accel x,y,z: -476, -92, 15700,
angle gyro: , 90
G force: 0.00

The problem i have is that the gyro angle is changing up/down for 1 degreee
even when the sensor is laying on the table.

I have attached my arduino file

* giro_test_2.ino (3.11 KB - downloaded 4 times.)
Logged

Offline Offline
Edison Member
*
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is something you should read, http://arduino.cc/forum/index.php/topic,58048.0.html
Logged

Pages: [1]   Go Up
Jump to: