|
|
|
|
|
|
Joined Oct 2010
534 Posts
|
vertcnc, do you mind sharing your code?
I'm thinking of trying one of these LCD shields with integrated buttons. Anybody have any input on that idea? I just realized what you are talking about with the Aurora 9 joysticks. I wish I had noticed those earlier. I almost bought the joysticks at servo city, but I think the Aurora's will be much nicer. But do I understand correctly that you basically only have 267 bits of resolution on those sticks? Maybe it's OK, though it seems low. |
|
|
||
|
Illinois, USA
Joined Aug 2009
963 Posts
|
Quote:
|
|
|
||
|
|
|
|
Joined Oct 2010
534 Posts
|
Ok, I'd appreciate seeing it. The LCD stuff is new to me.
I'm humming and hawing about going with the Arduino Due instead of the Mega, to take advantage of the Audio driver. I'd love to be able to have it give audio feedback about the flight condition. |
|
|
|
|
||
|
Illinois, USA
Joined Aug 2009
963 Posts
|
Quote:
The thing that I don't know about is Ian used a serial LCD and I am using a I2C LCD, the I2C LCD's may need more resources and mess with the timing, But havn't found it to be a problem yet. Havn't really tested using RF module so time will tell. Busy right now working on the hardware configuration, joysticks, buttons, lcd and such. Let you know. |
|
|
||
|
|
||
|
|
Quote:
http://www.wentztech.com/radio/ardui...es/LCDI2C.html |
|
|
||
|
|
|
|
Aberdeen, Scotland, UK
Joined Dec 2007
601 Posts
|
I used a serial LCD mainly due to resources.
Analogue Input pins (0-5vdc): Pin 0 = Elevator potentiometer --> PPM Ch.2 - Elevon mix Aeleron 2 (averaged) (Invert mode) (Exponential mode) Pin 1 = Aeleron potentiometer --> PPM Ch.1 - Elevon mix Aeleron 1 (averaged) (Invert mode) (Exponential mode) Pin 2 = Rudder potentiometer --> PPM Ch.4 (averaged) (Invert mode) (Exponential mode) Pin 3 = Throttle potentiometer --> PPM Ch.3 (averaged) Pin 4 = Aux potentiometer 1 --> PPM Ch.6 Pin 5 = Battery Voltage (2.2v at input to display 12.6v) Pin 6 = Aux potentiometer 2 --> PPM Ch.7 Digital Input pins: Pin 2 = Function panel button Pin 3 = Trim adj panel button Pin 4 = Trim adj panel button Pin 5 = HI/LO rates set panel button Pin 6 = Thumb stick AEL up Pin 7 = Thumb stick AEL down Pin 8 = Thumb stick ELE up Pin 9 = Thumb stick ELE down Pin 13 = Aux switch 1 --> PPM Ch.5 Pin 11 = Aux switch 2 --> PPM Ch.8 Digital Output pins: Pin 10 = PPM output Pin 12 = Buzzer output Pin 1 = Txout, Serial LCD (TTL mode) |
|
|
|
|
||
|
|
Spectrum Protocol
lanJ,
How hard do you feel it will be to implement the Spectrum Protocol into your fantastic creation? The hope is to bypass the PWM transmission and send this information over Xbee or some other similar system. Quote:
|
|
|
|
||
|
Illinois, USA
Joined Aug 2009
963 Posts
|
Quote:
|
|
|
||
|
|
||
|
Joined Oct 2010
534 Posts
|
Quote:
How would an I2C LCD compare to a "4 bit" version. I might think the 4-bit will use up hardware timers? Basically I'm wondering which one would take up the least resources. I'd like to be able to have the Mega talking to a GPS (serial), Xbee (serial), a compass (I2C?) and then of course outputting the PPM stream at the highest priority for best performance of that. |
|
|
||
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion Looking for cheap RC radio TX/RX sets | 1145climber | Electric Power Cars | 3 | Apr 08, 2010 05:24 AM |
| Build Log Re-inventing /modding Thunder tiger's P-51D Mustang | kusunokimasahige | Electric Warbirds | 12 | Mar 22, 2010 12:57 PM |
| Discussion Re-inventing the wheel | philgib | Blimps | 5 | May 25, 2006 06:42 PM |