VansAirForceForums  
Home > VansAirForceForums

- POSTING RULES
- Donate yearly (please).
- Advertise in here!

- Today's Posts | Insert Pics


Go Back   VAF Forums > Avionics / Interiors / Fiberglass > Electrical Systems
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-15-2008, 10:01 AM
mburch's Avatar
mburch mburch is offline
 
Join Date: Feb 2005
Location: Northwestern USA
Posts: 1,209
Default Wiring - the programming language

This is for all you engineering geeks out there. I ran across this yesterday and found it very interesting:

http://wiring.org.co/

"Wiring" is a C-like programming language and IDE for the Atmel ATmega128 AVR microcontroller. The language has some neat features and seems to be both lightweight enough and powerful enough to be useful for real projects. It compiles to native AVR code, not interpreted bytecode, and supports all the AVR's on-chip peripherals plus a few different external interrupts. It's all free and open source and they seem to have made it pretty easy to implement your own library add-ons to interface with your own devices. The list of built-in libraries is pretty substantial - out of the box it supports talking to a serial LCD, driving servos, reading various encoders and sensors, etc. There is also a prebuilt board you can buy for $40-$60 that you can load code straight into.

To somebody with a lot of AVR experience this is probably nothing new, but I really like the way they've put it together in order to lower the learning curve and try to get more people exposed to microcontrollers. I'm a PIC guy from way back, so if I ever decided to start playing with AVR's I'd probably look into this instead of trying to learn Atmel's tools. For the kinds of hobbyist projects I might do in my spare time (hah!) Wiring seems to be a natural fit.

So why am I posting this geek stuff on VAF? Well, basically I thought it might be of interest to folks who are building an RV and have a desire to implement some simple custom control circuitry in their airplane without going through the hassle and expense of designing and building a board and getting up to speed on the gory details of programming some particular vendor's microcontrollers. Nobody is ever going to use Wiring to develop a glass cockpit display, but I could certainly imagine using Wiring to build simpler things like a trim servo controller, annunciator panel driver, engine preheater timer, light dimmer, voltage monitor, automatic air compressor drainer, flight data recorder, APRS thingy, etc... the list of potential applications is surprisingly long.

If none of this made sense to you, sorry for throwing around so many buzzwords! I know there's a few of you guys out there for whom this might be right up your alley... and for the merely curious, maybe this could be one way for you to make your RV do something really cool that nobody else has seen before. Who knows, you might even turn into an embedded software geek like me.

cheers,
mcb
__________________
Matt Burch
RV-7 (last 90%)
http://www.rv7blog.com
VAF #836
Any opinions expressed in this message are my own and not those of my employer.
Reply With Quote
  #2  
Old 03-26-2008, 10:21 AM
Mark Bolton Mark Bolton is offline
 
Join Date: Jan 2008
Location: Western Australia
Posts: 97
Default

Can you point me in the right direction here ? I am wanting to interface a PC with a machine I am building which involves monitoring a few voltages and driving a few out puts. I am imagining a soundcard could be used as a A/D - D/A converter. Could probably drive SSRs from some kind of paralell port. I am sure there would be some kind of higher level programming language that could control switch points timing etc.

I would apreciate a few bookmarks from someone who knows the field.

I realise this is Off topic so feel free to e mail me

markabolton@yahoo.com

Regards Mark
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:52 PM.


The VAFForums come to you courtesy Delta Romeo, LLC. By viewing and participating in them you agree to build your plane using standardized methods and practices and to fly it safely and in accordance with the laws governing the country you are located in.