Poll
Question: Have access to IMUfinal.llb
IMUfinal.llb - 1 (25%)
IMU - 3 (75%)
Total Voters: 4

Pages: [1]   Go Down
Author Topic: ArduIMU: First Arduino IMU test (ArduCopter)  (Read 1786 times)
0 Members and 1 Guest are viewing this topic.
Baja California and California
Offline Offline
Full Member
***
Karma: 1
Posts: 110
Tururu!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, i found a good family here in http://www.diydrones.com/, is an excellent group of people trying to build an automatic airplane like me, they are helping me with the Arduino automatic pilot and the translation stuff.  :smiley

Info and source code here:
http://www.diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A19829

Don't forget read the comments, i explained a litte bit more about Kalman Filters.


Jordi   smiley-wink
« Last Edit: January 15, 2008, 11:33:27 am by jordi » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 113
Building our robotic overlords
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That's really impressive code, Jordi.  Since you are putting this into a heli, are you planning to make a single PCB to hold down weight?  Perhaps a socketed ATmega168 and your sensors, nothing else?
Logged

Baja California and California
Offline Offline
Full Member
***
Karma: 1
Posts: 110
Tururu!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes maybe, or perhaps a simple PCB with mini arduino slots on it.  ;D I possible to use the same crystal for two atmegas168?
Logged

0
Offline Offline
Faraday Member
**
Karma: 7
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
possible to use the same crystal for two atmegas168?
Crystal? I don't think so.

A TTL crystal oscillator, however, is a different story.  With careful board layout you may be able to drive multiple inputs with an oscillator.

That will probably require fuse changes, though.

-j

Logged

Baja California and California
Offline Offline
Full Member
***
Karma: 1
Posts: 110
Tururu!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes the crystal oscillator (16mhz), CAN I USE one crystal for two atmegas 168???  :-/
Logged

Baja California and California
Offline Offline
Full Member
***
Karma: 1
Posts: 110
Tururu!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK here is the final version of the ArduIMU.





Video:
http://youtube.com/watch?v=1DDEH2n2_hY
-Yellow color = Just Accelerometer read
-Red color= Accelerometer+Gyro+KalmanFIiter

Arduino Source Code:
http://jordii07.googlepages.com/ArduIMUFinal.txt

Labview (ground station) source code:
http://jordii07.googlepages.com/IMUfinal.llb

I configured Arduino to externally adjust the accelerometer jitter filter and the gyro rate, using the nunchuck potentiometers (joystick axis). Now is working pretty well.

To do:
-Integrate another Gyro (to make it dual axis).
-A bank robbery, to buy all the components i need.
-Program the SPI altimeter
-And put all the hardware together and make it work (gps, altimeter, IMU, modem).  
-Making a PSP program to read serial data (using psp uart port).  :smiley to make a portable ground station. (but this is a secret)
« Last Edit: February 01, 2008, 12:00:43 am by jordi » Logged

Pages: [1]   Go Up
Jump to: