Forum Index
Could be possible to use the ADC in free running mode?
Goto page 1, 2, 3, 4
 
Author Message
sturgessb



Joined: 25 Apr 2008
Location: Norwich, UK

Posted: 30 June 2008, 10:09 AM    Post subject:

For those of you that were interested, here is a short video demo of the ZX copter

http://www.ustream.tv/recorded/509806

This is as it stood a few days ago. Since then I have implemented a sonar minimum height and height hold (works up to 5m), compass for heading hold, and improved pitch / roll stability.

Some stats:
Main processor ZX-128ne (used for main sensor collection and flight code)
Support processor ZX-24n (used for PPM decoding and low priority sensors)

Main control loop is running at 450hz (gyros, angle estimation, flight calculations, motor control)
Second loop is running at 100hz (accelerometer data)
Third loop running as 40hz (Compass, RC input, link to ZX-24)
Fouth loop running at 20hz (Sonar, barometric)
Fifth loop running at 5hz (Serial Downlink)

Ill keep you posted how it goes.

Ben
Back to top
mikep



Joined: 24 Sep 2005
Location: Austin, TX

Posted: 30 June 2008, 15:13 PM    Post subject:

Very cool video Ben.

Getting the PID constants and implementation correct is probably the hardest bit. Always good to put a face to the name as well Smile
Back to top
liam.zbasic



Joined: 25 Mar 2008
Location: California

Posted: 02 July 2008, 4:17 AM    Post subject:

Excellent work. I'm also amazed that you are able to conduct your flight tests in the same place you cook, do dishes, do laundry and make videos. May I ask how much this project has cost you in materials (not time)? Thank you.

Regards,
P.
Back to top
sturgessb



Joined: 25 Apr 2008
Location: Norwich, UK

Posted: 04 July 2008, 10:00 AM    Post subject:

not much choice with the testing environment, are waiting to complete on a new property, which will mean proper workshop etc. Until then, its the kitchen!

To date I have spent around $3000 on the electronics side of things, although obviously a lot of that was for parts that turned out to be not quite right.

It's certainly not a cheap thing to try.

B
Back to top
Display posts from previous:   
Page 4 of 4

 



ZBasic Microcontrollers Home
All content Copyright © 2005, 2006, 2007, 2008 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group