This is the third iteration of my Ardupilot Mega to Hitec telemetry adapter. Adapter no longer requires modifications to APM itself, but instead connects to telemetry port of APM and it has a pass through connector for telemetry transmitter. I made PCB this time using SMD parts for smaller size:
It's possible to have the device automatically display different information based on airframe type. Currently shown vario and airspeed readings are not that useful for hexa, but for example heading might be. I just got my hexa so I've yet to decide what to show. Unfortunately compared to previous versions, it's not anymore possible to show "mAh used" reading since to my understanding that information is not sent in any mavlink message. When using different types of batteries, that information would be more useful than percentage remaining reading. Should we add mavlink message for it?
For more information about the device and sources, see http://antibore.wordpress.com/2013/02/28/showing-apm-telemetry-data-on-hitec-auroras-screen-3rd-edition/
Now if I only could get my hands on some different telemetry capable systems, I could try to make this adapter universal one...
Another question, for the A4 and A5 pin, i haven't 3k resistors so i used 3.3k resistors.
Is it a problem with that value ?
Ok for the speed cpu.
But for now, i'm playing with a uno boards smd version ( same chip as arduino mini ).
Your code is uploaded but when i fire up everybody, nothing happen
@perecastor: note that you can't make arduino to run at different speed, editing boards.txt merely makes the compiler to compile code that works at set clock speed. If the arduino runs at different speed than the code is compiled for, it causes troubles with delays and serial communication.
I think arduino mini runs at 16MHz, so you must use that speed, but double check that. The clock speed itself does not matter for the device, as long as it's high enough. I haven't tested what's the minimum speed though. I only know that 1 MHz does not work and 8MHz works.
Answer: by editing the boards.txt files in the hardware folder
I have some problems to program my arduino mini ( no ftdi cable...)
So i'm trying your code in a arduino uno with no results . I'm sure it's the cpu clock but i don't know how i have to set the colck @ 8mhz.
Can you help me a bit?
@Janne: sorry, i was too sleepy this morning :/
It's ok for me, i'll take a look this week end and may be a first try tomorrow.
Thanks a lot for your job!
Very very cool. Many thanks.
@Perecastor: The link to code repository was in my blog post. Here's the repository address: https://gitorious.org/apm-hss-emulator/apm-hss-emulator/trees/master
Arduino mini r5 should be ok, just pay attention that you compile code with same CPU and clock speed you are using (ATMega328 and 16MHz in mini's case)
i can' t find the arduino code ( if it's exist), i really want to try it.
What do you think about aruino mini r5? Can i load your code on it ?
@Gary: Why not, one or two I could make just for the fun of it, but if I could get some number of preorders, I could have professional PCB made at reasonable price.