zs6buj / AntTracker

Antenna Tracker for tracking a moving model aircraft or drone with a small high-gain UHF or SHF antenna
GNU General Public License v3.0
155 stars 42 forks source link

[Feature Request] BLE Support for Telemetry #46

Closed Razsmithii closed 2 years ago

Razsmithii commented 2 years ago

Ant Tracker seems to be a great and smart solution. What i miss: BLE Support for getting temelemtry Data. When an external TX is connected to taranis X-Lite, there is no easy serial Port available. Why Not usw BLE, like in "Telemetry Viewer" (Smartphone App)?

arifly commented 2 years ago

Ive got a modified version with BLE, Crossfire and Touch working, ..sort of. If someone is interested i put it on git

zs6buj commented 2 years ago

Arifly:

Yes please. That would be a nice feature to add.

arifly commented 2 years ago

noob mod: https://github.com/arifly/AntTracker/tree/master/Source/AntTrack to use with a ESP32 (DevKit), the Frsky X10 Bluetooth Module, OpenTX in Telemetry Mirror Mode and Crossfire (hardcoded atm)

The serviceUUID need to be changed to your devices adress

I will try to make PRs(?)

zs6buj commented 2 years ago

Ok, thank you. I'm away from home until early May, but can stay in touch.

Razsmithii commented 2 years ago

BLE Connection works great - many thanks for your mod! Here ist the correct URL: https://github.com/arifly/AntTracker

zs6buj commented 2 years ago

That's great news. I'll check this out as soon as I can. I leave for home on Monday.

arifly commented 2 years ago

yes, but sometimes the mainloop didn't get time to do his thing. And the bluetooth-stack can freeze. To overcome this i use a second ESP with watchdog enabled. To get away with no PRs, i add a converter to LTM, so nearly no changes to the Original Code are needed :>

As we use HardwareSerial the default speed for LTM can changed to 115200. Or change the speed in "BLE-crsf2ltm.ino". LTM messages are send as fast as possible. Not flight tested. https://github.com/arifly/BLE-crsf2ltm