All Posts (14054)
Here's how to use Blimpduino:
First thing, needless to say: inflate the envelope. For that you'll need helium. You can get it in a party balloon kit that you can find at most Targets or Wal-Marts or any party supply store. You can also buy it from Amazon, or rent a tank from a local welding supply store.
You shouldn't need to fill the whole envelope with helium. Just tape the BlimpDuino board (with battery and RC receiver) temporarily to the envelope and add helium until it floats upwards pretty strongly with that weight. The envelope will still look pretty saggy, so get a straw and fill the rest with air so it looks full. You can then ballast the blimp by taping on coins until it's neutrally bouyant. The envelope will slowly leak over a week or two, so if you have a little extra buoyancy, you can just take off ballast from day to day as it loses a little lift.
Note that the envelope in the kit comes with some foam cutouts, which can be taped on to the envelope as fins. They looks cool and can add directional stability, but are not necessary. I usually don't bother with them.
Make sure the board is configured as per the photo above, with the switch side facing forward and the props pushing the air backwards, which you can check in RC mode. (click on the photo for a bigger version). Tape or velcro the board to the bottom of your blimp, with all the components facing down.
Note: The Blimpduino code sends lots of useful status and debug information that you can see if you leave your FTDI cable plugged in and open the serial window in the Arduino IDE (circled in red below):
RC Mode
- It's best to start in RC mode. Plug RC receiver channels 1 and 2 into the first two (furthest from the reset switch) 3-pin connectors on the BlimpDuino board (see diagram below). Plug the vectoring servo straight into channel 3 (throttle) of the RC receiver. Turn on the transmitter, and then power on BlimpDuino. The code should auto-detect the RC signal, and after the green LEDs flash in a circle they'll flash back and forth and do another funky jig. That means you're in RC mode.
-
- Controlling a blimp is a little different than flying an airplane. The "aileron" stick controls the differential thrust of the motors to turn. The "elevator" stick controls the thrust to go forward: the further you push it up, the faster it goes. The "throttle" stick controls the pitch of the vectoring servo, which determines the tilt of the thrust. If the blimp is neutrally ballasted, you can often leave it in the middle position, but if the blimp tends to go up or down under power, you'll move that stick to control the vertical direction of the thrust. It's a little bit like an elevator with a plane, but with the added dimension of changing thrust.
- Now is the right time to test that the motor are plugged in the right way. When you move the "aileron" stick, the motor on the opposite side should spin, blowing air backwards. If the motor doesn't turn in the right direction (blowing air backwards), just reverse their plug on the board. Pushing the "elevator" stick forwards should increase the speed of both motors, again blowing backwards. If that actually turns the props in the other direction, so they're blowing air forwards, despite them working correctly with "aileron" stick, you may need to reverse the direction of this channel with your transmitter.
- If one green LED just blinks rapidly and the servos don't go through their startup moves, your battery is too low. Recharge it and try again. (If you find that this happens too soon or often, go the the definitions portion of the first tab of the code and change "#define low_battery_limit 6000" to a lower number)
- Now you should be able to fly around. You'll note that it turns one way better than other due to motor torque effects. We're looking for a reverse-pitch prop so we can have the motors counter-rotate and avoid this. But for now it shouldn't be too bad.
If that all works, it's time to try...
Autonomous Mode.
- Unplug the RC receiver channels from BlimpDuino, and plug the vectoring servo into the third 3-pin connector (closest to the reset switch).
- Plug the beacon into a 5-9v power source.
- Make sure that there aren't any cables obscuring the ultrasonic sensor or blocking the IR sensors.
- Hold the blimp at shoulder height over a hard floor (not over carpet).
- Power it on and wait until the LEDs flash in a circle. That means it's measuring its altitude and is ready to hold it.The servo will turn the motors all the way up, down and back to the middle to show that it passed its self-test.
- If one green LED just blinks rapidly and the servos don't go through their startup moves, your battery is too low. Recharge it and try again. (If you find that this happens too soon or often, go the the definitions portion of the first tab of the code and change "#define low_battery_limit 6000" to a lower number)
- Before you let it go, make sure it can see the beacon and is responding correctly. The green LED should light up on the side of the beacon, and the motor should turn on the opposite side (at least when the beacon is on the left and right side). You can hold the beacon in your hand and test this.
- If that works, let the blimp go and put the beacon on a chair in the middle of the room.
When the blimp can "see" the beacon, it's will go into navigation mode and the vectoring servo will move proportionally as the blimp steers towards the beacon (if you're holding the beacon and walking around, it should follow you). If the the blimp can't see the beacon, it goes into altitude hold-only mode, where the vectoring servo is pointed all the way up or down and it just holds altitude in one place.
Enjoy the show!