All Posts (14056)

Sort by


iTunes links
AAC: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=330632997
MP3: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=330633212

RSS feed
AAC: http://feeds.feedburner.com/diydrones
MP3: http://feeds.feedburner.com/diydronesmp3

Nathan's addiction to microcontrollers brings peace and joy to thousands of people with the products, classes and tutorials in the seven years since he started SparkFun Electronics.


CNN Money piece on Nathan: http://money.cnn.com/galleries/2009/smallbusiness/0902/gallery.make_believers.smb/6.html

Read more…
Developer

No Baro altitude filter for ArduPilot

I wrote down a napkin sketch of an altitude filter a while back and finally got around to testing it in the simulator. I designed it to improve the sensed altitude of the ardupilot. It is based on a fixed gain observer model and shows very promising results. The idea is to use the "lagless" airspeed sensor to give you a less noisy lagless altitude estimate. Enjoy!

K_alt = -0.01;
avg_aoa = 0.52*(pi/180); //alpha = 0.52 deg on the average
gamma = theta - avg_aoa;

alt_est = alt_est + Vair*sin(gamma)*dt;
alt_error = alt_est - GPS_alt;

alt_est += K_alt*alt_error;

Read more…

Project Andromeda Ground Station


The above picture shows the Project Andromeda ground station circuitry. You can also see the DNT900 from RFM. I believe there has been some interest on this radio in the DIY Drones community and once I finish the construction of the autopilot I will be able to give a recount of my experiences with it. So far, however the radio seems to be extremely capable (especially compared to the Aerocomm AC4790 radios that we previously used).


You can find more information related to the ground station and the DNT900 in the full article available at: http://www.projectandromeda.com.au/blog.

Read more…

Coyote - small UAV from big guys



ViewMedia?mgid=211844&vid=5&download=1



Found this interesting - small UAV from BAE Systems

"The Coyote is a small, electric-powered unmanned aircraft system. Initially designed with funding from the U.S. Navy, it weighs only 13
pounds and has a 58-inch wingspan. Once deployed, it can cruise faster
than 60 knots for more than an hour, conducting research or performing
intelligence, surveillance, and reconnaissance missions."
Source: EON

Also here is a video of proposed deployment:



Read more…
3D Robotics

Here's a quick report on today's test flight of the latest ArduPilot 2.5 code, including a failed T3 contest run:

(I was using an EasyStar with XY & Z sensors)

The Good

--This version does away with the bind plug process for people who are using ArduPilot to control the throttle (which I am). Worked fine!

--Stabilization gains are dialed in fine. Earlier problems with people using the Z sensor are gone.

--Funky motor pulsing issues at startup and problems with ESC arming are gone.

--New GPS parser for uBlox works fine.

The Bad

--Altitude hold doesn't seem to be working in AUTO mode (although it does seem to work in RTL mode). The plane is supposed to stay at 50m, as you can see in the mission file above, but just seemed to go higher and higher. I had to bring it back manually from about 200m. We've had this problem before, and I think it has to do with the uBlox GPS parser. If it thinks the GPS is reporting that the plane is at an altitude of 0, it will just keep trying to fly higher. We'll need to fly with someone watching the telemetry to figure out what's going on.

--I accidentally set my waypoint radius limit too high (59m) so the plane was just approximately following the course. That should have been closer to 10m.

--The RTL loiter circles were more like figure eights. I think the loiter radius (45m) is too tight, and should be closer to 100m:
//4-7
#define LOITER_RADIUS 45 // radius in meters of a Loiter

The Stupid

Somehow I was under the impression that I could adjust the throttle while the plane was in AUTO mode (you can nudge the aileron/rudder and elevator in that mode). That doesn't appear to be the case. The reason this matters is that if you're trying to set a good time on a T3 run, you don't want the plane to leisurely go around at half throttle!

In the meantime, I need to change something in the settings below. I'm thinking I should crank the Absolute figure up, but how high? (Is it 0-10?). Jason, do you have some advice? Any chance we can allow the user to nudge the throttle when it's in AUTO mode?

//ATTITUDE: THROTTLE OUTPUT GAINS
//9-1
#define THROTTLE_ABSOLUTE 3 //Absolute
//9-2
#define THROTTLE_P .32 //Proportional
//9-3
#define THROTTLE_I .04 //Integrator
//9-4
#define THROTTLE_I_MAX 50 // (0-125) 50 = 40% Integrator limit.
//9-5
#define THROTTLE_CRUISE 30 // (0-125) 30 = 24% throttle, or (int)target airspeed for cruising
//9-6
#define THROTTLE_MAX 60 // (0-125) 60 = 48% maximum throttle
Read more…

Hand made GPS receiver.

I had bought MStar GPS module for UAV Board. But the datasheet is not very clear for this one. So I have made a test board for test it.


It is fast to get location when power on.(32 sec), but I confused the date of GPS is wrong. Although I just want the location, altitude, direction and speed information. XD






Read more…
3D Robotics

A quick update on Blimpduino: We've temporarily run out of stock at the DIY Drones store but there are plenty at the Maker Shed, where you can buy them at the same price (it's a very cool store--spend some time there!). We've got some components incoming, and I expect to have them back in stock at the DIY Drones store by the end of the month. We'll also be offering the RC and battery + charger option.


We've been recommending the HobbyKing 2.4 Ghz radio for it, but some people have been reporting that Blimpduino doesn't autorecognize RC mode with that radio, due to a slight slower bootup time. So I've modified the code to wait a bit longer for the RC signal and it seems to work fine now.


I've also updated the building manual and operating instructions to make them clearer and easier to use.


All in all, a nice refresh. If you've been wanting to get into UAVs but aren't ready for planes, Blimpduino is a great entry point. Also perfect for winter when you can't fly outside!

Read more…
3D Robotics
Free video streaming by Ustream

Tomorrow night we'll do podcast #19, which everyone here is welcome to participate in by listening to the chat live above and commenting and asking questions via the DIY Drones chat function. We'll be starting at 9:00 PM PST and will probably go about 40 minutes.

This week we'll by joined by Nathan Siedle, CEO of Sparkfun, which everyone here knows and loves as not only the supplier of ArduPilot and the UAVDevboard, but also all the sensors and other electronics that we use every day. Among other things Nate will talking about is the Sparkfun Autonomous Vehicle Competition, which will be held on April 17th. Some of the DIY Drones teams that will be participating include Chris and Jordi, Bill Premerlani and the UAV Devboard team, and Doug Weible, with a beta of the IMU-enable ArduPilot.

As always you can subscribe to the podcast here. Tonight's livecast will be recorded and available as a podcast by Tues of the next week.
Read more…
3D Robotics

Micropilot only now gets a 4Hz GPS


We don't talk much about the older commercial autopilots here much, but I was amazed to see the above in my inbox yesterday. The Micropilot 2128g, which is a staple with the university crowd, has only just now upgraded to the 4 Hz uBlox GPS that we in the open source world have been using for years. Weird.


Micropilot's advertising has always bugged me because it's so transparently untrue. Take the below, for example (there are many autopilots MUCH smaller than this; ArduPilot, for example, is 4.5cm by 3 cm):



But Micropilots seem popular with universities, despite the high price. Why is that? It is just a matter of time before the open source IMU-based autopilots, which cost less than 1/10th as much and are closing the gap in performance, take over from these last-gen commercial autopilots in the education world?

Read more…

Tilt-compensated heading algorithm


Perhaps it's some sort of cruel joke we're not in on but everything I've been able to find on the Internet about tilt-compensated headings from magnetometers leads to this paper [warning, it's a PDF]: http://www.ssec.honeywell.com/position-sensors/datasheets/sae.pdf


In it there is an algorithm for tilt-compensation. It's wrong. Here's what it should be: http://gist.github.com/322555


Ryan Beall is the man.

Read more…
Developer

Ardupilot beta

I just made some changes to the 2.5 code to address some issues of compatibility and general usability improvements.

If you use throttle input, you'll be able to try flying without the Remove Before Fly pin. I had to restructure the GPS reading routines to do this. Now the system goes immediately into the main control loop. This has a few benefits:
  • The GPS led blinks when GPS fix is lost instead of just turning off.
  • You don't need to remove the pin before flight - much cleaner for systems buried into the fuse.
  • You don't need to worry about GPS lock if you are just flying stabilization
The GPS LED will turn solid as soon as it gets a good lock. If you are in manual mode, with the throttle all the way down, you will be in "ground start" which is simply a way to save your radio trim values and reset the Waypoint to 1. A ground start will also allow home to be set after the first good GPS fix. Even if you have in-air restart with a false positive for ground-start, the worse that could happen is you reset your hoe position.

If you don't read in the throttle with the jumper to pin 13, you have to still use the RBF pin.

I've also updated support for reverse throttle for those users who want low throttle with high PWM values.

I have not flown this revision, so if you're willing to help me test it I would appreciate it.


Thanks,
Jason
Read more…

Just getting started (again)

I flew my ArduPilot V1 in a 33inch wingspan redi-board foam plane on numerous occasions with great success early last year. RTL and way point mode worked great after lowering the gains for the small light craft. Of course it only flies well on calm days since it had no stabilization. I retired it a few months ago and am building a pusher this time, 50-60 inch KFM3 wing, the fuse and tail modeled after the Raven UAV. If it flies I'll post picks :), the wing is built, and the fuse will be ready by tomorrow for some manual flight tests. I've had my ArduPilot V2 sitting on my workbench for far too long, I fly near some hills and frequently in a canyon and wanted to wait for an IMU version.

While I waited for my ArduIMU and Mega, I broke out a 3 axis accelerometer and Arduino Pro I got from SparkFun some time ago. As an exercise in getting to know Ardiuno better I spliced together Kalman code from Jordi and accelerometer code from Ruben Laguna to make a simple tilt gyro, the video shows the results, accurate to +-45 degrees I think, not bad for a few hours work, can't say I understand the Kalman filter any better than I did 6 months ago :)..




I really like that the Mega has additional serial ports, this makes coding for the GPS or IMU, a bi-directional ground station, and other serial devices possible. I got my Mega and ArduIMU the other day and am looking forward to much fun. I wanted to try the 2.5 code with ArduIMU support but the code only includes uBlox parsing and I've got a EM-406 GPS. Anyone know where I can get a uBlox?

Read more…

THERMOPILES, GYROS, & LIGHTS

So went through many boards trying to get useful results from thermopiles. The trick is they have the teeniest tinyest voltage changes & very slow responsiveness. Work around the responsiveness through extreme amplification.

The unamplified thermopile was immediately busted. Not enough current.



Straight 2:1 amplifier. The voltage changes were too small.



Difference amplifier. Forget it. The 2 thermopiles aren't matched enough to amplify without serious balancing circuits.



A highpass amplifier started getting somewhere. This is the ideal solution for monocopters. Unfortunately, this thermopile has a 900Hz ripple which blows everything else away when amplified.





The bandpass amplifier was the champion. Mainly, it's a highpass followed by a lowpass filter. You could make a much better filter but we wanted to guarantee it worked & only had 1 capacitor value.



This gave a 0.1V wave corresponding to the rotation. That's 5 bits of accuracy.

Depending on the RPM, you get clear sine waves or noise. Need to increase the sampling rate to know what's going on.


THE RETURN OF GYROS

There's still gyros, since we really want indoor capability. You could pick up monocopter roll & pitch on an IMU if it had super high limits, super high dynamic range, & super fast sampling. Maybe the vaporware ITG-3200 will be the 1 to do the job.




There's our ancient IDG300 on the fuselage for a test. Using 1 gyro didn't work out because it has to be exactly aligned to not pick up any yaw rotation. Maybe just an X & a Y would be enough to cancel out the yaw rotation if they were aligned just well enough to not saturate.


LED WARS

Marcy 1 is having a lot of LEDs fail. It's probably from landing on them.







Although we did drive to Santa Clara to get $30 of LEDs, the best place for LEDs is dollar stores. Got 3 5mm white LEDs for $1. Unforunately at this price the 5mm LEDs are no brighter than the 3mm LEDs, just heavier. Now have enough white LEDs to light a runway.







Your goal is to worship the Jesus Heroine.



Shot of the complete avionics except for the POV board.

Finally got some video of Marcy 1 POV flying manually. She was super unstable. Have to work through still more radio problems.

Read more…
Hi!!

How are you??

New problems!!!! big problems!!!!

In our last neural network training, we had a accident, i crashed the helicopter, hehehehe

So, we rebuild it, we just change the blades, and the blades holders, that was all the damage, lucky us...

But with the new blades installed, we had to track them, so we try to do it, failure after failure, so we stopped, and we went to a expert.

The expert balanced all the helicopter, he told us, that our heli has a lot of problems, so the start to correct everything, and at the end he did it...

The start hover the heli, and it appears correct, but we start to see that the ESC was very hot, after several more tests, he told us that the ESC was not the properly ESC for that heli...

My heli is the Artech Falcon 3d 400.

motor:

ESC:


We have a ESC of 18amps, and now its not working, the last flight ended in smoke...

What can we do??

The local Artech retailer have a ESC of 20amps, its just 2amps more than the original...

Its better to buy an Artech ESC or another brand?? what is the recommended ESC for my heli and motor?? and if possible, a cheap ESC... hehehe

And LiPo's??? Artech lipos sucks!! i have 2 of them, and now the 2 are useless.... any cheap recommendation??

in other news...

We you finish improving our software, upgrades:

- PPM channel reading, with timer1
- Servo control with timer2
- lighter and efficient fuzzy control

Once we resolve this issues, we can return to the neural net training and possibly ending the project the next week...

10x in advance!!

Cheers!!!
Read more…
3D Robotics

Another PIC programmer option from Sparkfun, perhaps an alternative to the dubious PICkit III. The $49 Cana Kit says it is "100% compatible with Microchip's MPLAB IDE, and the PICkit 2 interface, and can program all popular PIC 5V microcontrollers including the PIC16F84, PIC16F628, PIC18F458 and PIC16F877."


Connectivity is described this way: "The PIC Programmer offers In-circuit programming through a standard 6-pin ICSP connector as well as a built-in 20-pin ZIF socket for easy programming of any PIC of up to 20-pins right on the programmer. "


Will this work out of the box for the UAVDev Board?

Read more…
Outback Challenge featured in tonights show of Catalyst in Australia

"A group of aeronautics enthusiasts are attempting to meet the challenge of unmanned flight. Paul Willis dropped in to check out the annual UAV challenge in Queensland. Planes will crash and burn, some won't leave the ground, but will Outback Joe be saved for the very first time?"

Click link for the video
http://www.abc.net.au/catalyst/stories/2836783.htm
Read more…