ROBOTC.net Blog  

ROBOTC News

Lego UAV 2 by Chris Anderson

No comments

Here’s the second iteration of a really cool project by Chris Anderson, using a LEGO Mindstorms NXT and ROBOTC to create an Unmanned Aerial Vehicle (UAV).

It features:

  • Mindstorms NXT controller
  • Two prototype integrating gyros from HiTechnic. These are not the rate gyros already available. Rate gyros output degrees/sec, which requires a pretty gnarly math process to measure and integrate the results over time to get absolute degrees. The prototype iGyros from HiTechnic do that in hardware, and output absolute degrees, which is very easy for the NXT to deal with with.
  • A 3-axis accelerometer to calibrate the gyros using a modified Kalman filter. Basically gyros are right in the short term (seconds) but wrong in the long term (minutes; they drift over time). Meanwhile accelerometers are wrong in short term (they’re noisy) but right in the long term (they don’t drift). So we averge the accelerometer readings over time to correct drift in the gyros.A prototype servo multiplexer from HiTechnic. This is similar to the servo driver accessory that they’re selling as part of the FTC competition kit, but is designed for RC use. It takes I2C output from the NXT and converts it into PWM for the servos. It also has a channel 6 input from the RC receiver that switches it from RC to NXT control (this is our hardware failsafe switch).
  • A GPS sensor/datalogger (iBlue 747) that communicates with the NXT via bluetooth.

Video of the UAV in action:


YouTube Direct Link 

Source: http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A32733

Written by Jesse Flot

December 2nd, 2009 at 3:13 pm

Posted in Cool projects,NXT

Tagged with ,