One of the things that I really wanted to do with my quadcopter is have a transmitter based telemetry system using an arduino to relay to me some simple but useful information. Now that I have my quad built and flying, I figured I take a stab at it.
Originally I was going to use a 2.4 mHz nordic nRF+ radios with the high power (non trace) antennas from Yourduino because I have had pretty good luck using them. But after putting some thought into what would need to happen on the quad (tx) side, I'm leaning towards the xbees now. With the xbees I can utilize the established serial communications built into the software. This way the quad will talk the rx as if it was talking to the configurator and I only have to worry about the rx side of the code.
I figured that this information will help someone else too, so I will keep a log of the build to help my open source buddies.
Without further ado, here we go!
Parts list ( this will be a running tally that I will try my best to keep up-to-date), Updated 3/16/2013:
NOTE: If you just want the final product list... I'll provide that after I succeed!
v1.0
One Arduino of your choice (I happen to have a few Unos laying around so they will do) in addition to your flight controller
Two xbees (I bought a set of 2.4mHz series 1 Pro unit used for $40 off ebay, 900mhz may be desirable if you have a 2.4ghz radio and don't mind the extra $$)
One xbee adapter (many companies make them, I happen to have an adafruit adapter laying around)
One xbee arduino shield for arduino based FCs (I picked up a Seeed Studio shield at my local Radio (S)Hack for $15.)
One sparkfun Xbee breakout board and headers for AQ32 based FCs
With the adafruit xbee adapter, you will need a FTDI adapter (some other xbee adapters may have this on-board)
One Nokia 5110 LCD and logic level shifter (both available as a package from adafruit for $10)
One Pizio buzzer (sparkfun, adafruit, Radio Shack)
At least one arduino wall mart power supply (sparkfun, adafruit)
Enclosure (Radio Shack)
5-way switch(Sparkfun, Adafruit)
For Vibration alarms:
One vibrator motor (the one I'm using was salvaged from a old cell phone), sparkfun, MPJA
PN2222 Transistor
1N4001 Diode
270 ohm resistor
Small thru-hole PCB
Wire or Rainbow wire (Adafruit, and many others)
Battery... This is up to you, I used this one.
Soldering iron and basic soldering skills/equipment
Breadboard and breadboard accessories (jumpers, maybe LEDs and resistors, etc)
Some small 4-40 screws and nuts.
Standoffs
Wire
Rubber grommets
OMIT: One rotary encoder (I like this one because of the push button feature and it comes with a knob)
v2.0
One 8mhz/3v3 Arduino: The mini 8 mhz
The micro 8 mhz (with this one, the button pin on a4 will have to be moved to a digital. No biggie.)
The 328 pro 8 mhz
Or any of the 8 mhz open source knock-offs, HK mini, Yourdunio, etc...
Two xbees (I bought a set of 2.4mHz series 1 Pro unit used for $40 off ebay, 900mhz may be desirable if you have a 2.4ghz radio and don't mind the extra $$)
One xbee adapter (many companies make them, I happen to have an adafruit adapter laying around)
Two sparkfun Xbee breakout board and headers for AQ32 based FCs
You will need a FTDI adapter (some other xbee adapters may have this on-board)
One Nokia 5110 LCD (from adafruit for $10), NOTE logic level shifter not needed if the arduino is 3v3
One Pizio buzzer (sparkfun, adafruit, Radio Shack)
At least one arduino wall mart power supply (sparkfun, adafruit)
5-way switch(Sparkfun, Adafruit)
.100 or so Polycarbonate from Home Depot or Lowes
Battery... This is up to you, I used this one.
For Vibration alarms:
One vibrator motor (the one I'm using was salvaged from a old cell phone), sparkfun, MPJA
PN2222 Transistor
1N4001 Diode
270 ohm resistor
Small thru-hole PCB
Cautionary warning! - Pro type Xbees and the Nokia screen along with the motor and whatnot may be too much for the your arduinos on board voltage regulator. Confirm the capacity with the manufacturers documentation.
Soldering iron and soldering skills/equipment are highly recommended (may be a good project to hone beginner skills)
Breadboard and breadboard accessories (jumpers, maybe LEDs and resistors, etc)
Some small 4-40 screws and nuts.
Standoffs
Wire
Goals:
Telemetry system good for line-of-site flying minimum (anything beyond that is a bonus)
Display current heading, altitude and battery voltage.
User adjustable "set heading", altitude alarm and battery alarm local to the rx.
Beep alerts when craft heading = set heading, when the set altitude has been reached and critical battery alarm.
Vibration pulse alerts if your eyes are busy.
User re-callable max altitude and possibly other data.
User settings stored in non-volatile memory.
Some Prep:
I'll assume that you already have an Arduino IDE installed and can upload code successfully.
You'll need to install X-CTU for configuring the xbees and possibly a FTDI driver (You'll want the VCP driver).
The guys here at Aeroquad did a nice job writing up the Xbee configuration, so I'll default to their page for that. I do want to add a few things that took me hours to figure out. After changing the Xbee's BD setting to 115200, remember to change the baud rate to 115200 on the PC settings page or your Xbee will not talk to your computer! On the Seeed Studio shield, both switches have to be to the right! On the Adafruit adapter listed above and when using the Xbee pros you will need to gently bend the power reg and capacitor out of the way because the Xbee will not seat all the way. The baud rate needs to change in the code to avoid communication errors. You will find the baud entry in the Aeroquad.h file (just use find "Baud" and change those two "define" baud rates to "111111". You can use the configurator to test the communication with the xbees.




Reply With Quote

Bookmarks