Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / Hardware mixing for Duckeron RC Plane Delta Wing Setup. on: October 13, 2013, 02:54:36 am
Hi, I was wondering if it's possible and if anyone has code for doing duckeron mixing for an RC plane.
Basic idea is a set of 2 duckerons which move as if they are one surface to act as aileron (d1 and d2 move opposite) and elevator control (d1 and d2 move together) and rudder control is done via opening the "beak" of one side to increase drag on that side to turn the plane. Speed brakes are done by opening both duckerons at once.

Servo layout is D1 (duckeron 1) has D1S1 (duckeron1 servo 1) connected to the top duckeron surface, D1S2 to the bottom, D2s3 goes to the other side's top, D2s4 to the bottom.

4 channels are output from transmitter via pwm to inputs on the arduino hopefully. Elevator, Aileron, Rudder, and a 4th channel can be a channel to tell both channels for duckeron opening to work. The Pwm signal output will be -100 to 0 then to +100 so 200steps with transmitter center stick = 0. Rudder 0 to -100 will apply left rudder gradually up to max rudder, 0 to +100 will apply right rudder gradually to max rudder. Speed-brake on a seperate channel will simply add 0 to +100 as a percentage to whatever the rudder signal is at. So rudder -50 and speed-brake -50 will apply full left duckeron opening and half right duckeron opening increasing overall drag to slow down the model but also not going past the full extent of the servos.

The aileron and elevator channels will move the overall duckeron as one, AFTER the calculator for rudder and speed-brakes so hopefully it will have ail/ele control + drag on the side or both sides as needed.

I can do this in transmitter but I'd like to attach a standard gyro for stability and the outputs are elevator, rudder, and aileron as if it were a normal model. One option I saw was to buy 2 hardware vtail mixers to attach after the gyro and have 2 separate rudder channels to open the duckerons where needed but the gyro outputs -100 - 0 - +100 as a single signal which AFAIK would mash the duckerons together when one direction is used since my duckerons will need to be both set to the middle for zero/middle of the range of signal. I have NO idea how to code this though, I believe I would need a very small arduino with 8 digital i/o's (4 for input, 4 for output of each servo). Servo's I'll be using are standard HXT-900 analog servos. I have a Teensy++ available to use for hardware. My ESC will probably be outputting 5.5volts though, not sure if receiver > arduino would have 5.5v on the signal line or not? The power wire can just be wired direct from receiver to servo with the signal going to arduino to be mixed appropriately then out from arduino to servo.

Anyone have any code that would work?
2  Using Arduino / LEDs and Multiplexing / Re: Are there any chips that do PWM + Multiplexing like TLC5940 + MAX7219? on: January 03, 2013, 10:02:22 am
Not sure about mupltiplexing but I am using a ws2803 (18ch version of ws2801) and no issues with burning up. I had the same trouble with the tlc5940's and hate them now for being so easy to blow up, the ws2803's have been going like champs and don't burn up if you flick fluoros on n off. They're current source, I'm running them through hex inveters to n channel mosfets to drive rgb strips. Just wish they had built in inverting like the ws2801 has.
3  Using Arduino / LEDs and Multiplexing / Re: WS2803 versus WS2801 on: December 31, 2012, 06:44:59 am
Hi, if anyone could get the ws2803 to work beautifully with Vixen light sequencer using the generic serial plugin I'd love them to bits. The WS2803single library would be a good candidate I think? or FastSPI. Running 3x hex inverters > 18 N type mosfets increases the current capability considerably as well. Just need it to talk to Vixen and my setup will be good to go!
4  Using Arduino / LEDs and Multiplexing / Re: TLC5940 > Hex Inveters > Mosfets on: December 30, 2012, 10:44:41 am
Ditched the tlc5940 since I blew all 5 I had up, Tried the WS2803 and omg so easssyyy. 2 wires to control, 5v, ground, iref resistor to gnd and done. Flicked fluoro lights on n off on the same circuit for the house 240v and they didn't get hot, didn't miss a beat, worked perfectly. Just need to find a way to interface it to Vixen light sequencer now and I'll be set. Why are TLC's soooo damn easy to blow? This WS2803 was setup in like 5 minutes and it didn't miss a beat the whole time whereas the TLC would have blown.

I did notice plugging 1 input from 2 WS2803's into the same hex inverter would make a weird flicker issue at times though, but that's no biggie to deal with.
5  Using Arduino / LEDs and Multiplexing / Re: TLC5940 > Hex Inveters > Mosfets on: December 30, 2012, 05:29:04 am
Added a basic update to the schematic so far, I have a 100uF cap and a 0.1uF on the 5 and gnd lines. Quick question, do I need a resistor for the zener diode? Haven't learned those yet.

And of course I just burned up the 5th TLC, and googling around sounds like this is very common. Are they just a terrible design or something? I have 10x WS2803 as well to play with and I'm very close to ditching the TLC all together, only trouble is I have code to get the TLC5940 working with Vixen light sequencing but I am unsure about the ws2803's.

Don't have a scope yet but I'm very close to impulse buying, if anyone can point to a decent but not too expensive one...
6  Using Arduino / LEDs and Multiplexing / TLC5940 > Hex Inveters > Mosfets on: December 29, 2012, 10:01:59 am
Hi, I am making a xmas New Years light controller with an arduino Uno + TLC5940 + hex inverters (for the mosfets) + N channel mosfets. It works nearly perfectly however if I turn off and on a fluoro light somewhere on the same 240v power circuit as the power supply and arduino the TLC goes very very hot n fails.

Any ideas what I can do to protect it more? I've attached the schematic.
Pages: [1]