TxAdapter_gke is an open source standalone adapter translating CPPM signals where available from a transmitter, to Hubsan and FlySky signals.
Almost all of the adapter code was originally derived from the work of PhracturedBlue and others for the open source universal transmitter "Deviation". Inspiration for this development, which was intended for my own use, is due to Midelic.
https://github.com/gke/TxAdapter_gke/archive/master.zip
Battery Monitoring
When used for the Hubsan X4 products flight battery voltages may be monitored with the throttle being progressively scaled back when a preset voltage is reached forcing a landing before the battery is destroyed. A buzzer may be added to give an audible warning.
MultiWii Telemetry
The Adapter produces MultiWii GUI compatible telemetry for attitude and battery voltage display. The only restriction is that for 8MHz processors the MultiWii GUI baud rate is limited to 56K.
Processor and Pin Assignments
The Adapter will work on most, if not all, Arduino compatible boards. It will also work on DIY Atmel based boards. Programming is by use of the Arduino development environment. Uploading programmes uses the processors UART, or where available USB, interface. A programmer is not required.
The default pin assignments are the same as those used by Midelic are detailed in the config.h file. Other parameters including unique ID, battery cutout voltage etc may also be changed in config.h.
Important Note that the resistive divider as pictured
https://www.rcgroups.com/forums/show...9#post27180258 is incorrect. The divider should be wired to reduce the 5V PPM signal to 3.3V required by the Arduino. Thanks to guytzoler for noticing this.
Transceiver Module
The Adapter uses the A7105 transceiver. The maximum voltage on any of the A7105's pins is 3.3V and for this reason a 3.3V processor should be used.