Balsa Wood Airplanes With Motors
Posted: August 21, 2009
A few years ago (looks like summer 2009 by the date on this page) I put together a balsa wood airplane project. It wasn't really to get a plane to be controllable or fly, but more just to be funny. This time I decided to see if I can get one of these planes to fly and be controllable with a Syma S107 helicopter remote control. My chip of choice for this project is the ATtiny85 for two reasons: 1) An 8 pin, small, lightweight chip like this is so perfect for this project 2) I recently added AVR8 support to naken_asm and I needed an excuse to test it. I decided to put this newer project on this page since it was already indexed by Google and move the older version of the project to the bottom of this page.
Related Projects @mikekohn.net
The chip is programmed simply to understand Syma S107 IR data. I have a receiver that filters out the 38kHz so the chip just counts how long the pulses are: 2ms on / 2ms off = header, 0.3ms on / 0.3ms off = 0, and 0.3ms on / 0.6ms off = 1. When 32 bits are read in, the thrust value is used to change the PWM value to the motor. I pretty much copied what I did on the MSP430 version I did for my IR toy car project. I added code for control of "elevons" on PB1 and PB2. If the controller is turned left PB1 will turn on, turned right PB2 turns on, and pulled back both PB1 and PB2 are turned on. I was going to hook these up to muscle wire but for now I just wanted to get the plane to fly. For a saftey feature, if the plane doesn't get any IR commands for about a second it will shut off the motor and flatten the elevons. As for a battery, I tried a 9v akaline battery first. Directly hooked to the motor I measured it was pulling 3.7A or so. Never knew that kind of battery could do that. When I hooked up the full circuit with the micro it kept resetting the chip when the motor was running and an oscilloscope was showing major battery sag. I tried one of these Energizer Advanced Lithium 9v which did work a lot better, but there was still major battery sag. I finally ended up with a HobbyZone 7.4v 330mAh battery. The weight of the entire system with this battery and the Pololu 5:1 Micro Metal Gearmotor HP is around 50 grams.
I used my homemade ATtiny2313 tachometer on both the motor and the rubberband and different batteries and ended up with the following results:
The RadioShack motor definitely doesn't like the load/voltage. It gets pretty hot :). Interesting to see the little LiPo at a lower voltage can get the propeller to spin at a higher RPM. With the new motor from Pololu the RPM is around 4020 but slowly drops. Probably something is heating up badly and causing resistance to go up. Another interesting note: I was trying to save weight by leaving off bypass capacitors. I noticed with the new motor/battery that the propeller would spin up and stop and then start up again. It seemed to me when the motor was starting up that the IR would stop working so I put a 0.1uF capacitor on the IR Vcc/Gnd and the problem went away. Another thing I did to decrease weight was instead of using a proper metal propeller/shaft adaptor, I slipped a rubber ring on the inside of the propeller which makes it tightly fit on the shaft. Hopefully it holds.
I got 4 of these motors / propellers from Amazon (2 pushers, 2 pullers) and hooked them up to the airplane. I had a video of it on the airplane but it mostly just shows the plane crashing. I did get them working on this little car though. I'll post new videos later I hope. https://youtu.be/ey4Z86-B0uE
Here's a picture of the whole plane. If anyone is interested in purchasing the same plane the one here is a Stratostreak.
This is a close-up of the circuit. I used an 8 pin socket for the ATtiny85 which is epoxied to the body. The rest of the components are freely soldered together. The motor is connected with masking tape so it can be easily swapped out. After this picture was taken, I added a bypass capacitor on the ATtiny85 and reversed the polarity on the motor (oops).
This is the original RadioShack motor next to the newer Pololu geared motor.
Here's the schematic...
This is a project to take balsa wood airplanes with propellers powered by rubberbands and replace the rubberbands with electric motors. My original idea was to build a circuit with a proximity detector and 2 LED's so that when someone steps close to the plane, the two lights turn on like a terroritoral animal warning of an attack. If someone gets even closer the motor will turn on (moving the plane forward towards the person) until it doesn't detect them anymore. So I epoxied a 1.5-3v Metal Gear DC motor from RadioShack to the front of the plane and to the shaft of the propeller. The glue kind of got in the part of the plane that holds the shaft to the body, so I cut it off. This causes a bit of wobble. So I had an infrared proximity detector from Spark Fun which had a REALLY clean signal on the scope, but it only detected things maybe 30cm infront of it, so I ordered an ultrasonic one. I couldn't get it to keep a stable signal (I also plugged it in backwards when I first put it on the scope, so maybe I blew it :( ), so I went to Radio Shack and got a PIR motion sensor. Kinda sucks cause this is only an on/off deal. The proximity detectors would say if there is an object directly infront and how far away. So I changed the firmware so it turns the LED's on when it detects motion and if it still detection motion a time later it will start the motor until motion stops. Boring :(.
Copyright 1997-2023 - Michael Kohn