User Tools

Site Tools


rc:dev:sport_master

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rc:dev:sport_master [2014/09/16 22:22] – created redoxrc:dev:sport_master [2023/11/24 21:55] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 ## Overview ## Overview
 +
 +With the Taranis, I got a GPS using the "SmartPort" interface from FrSky. It's basically a Serial bus on which you can add many sensors, which are (randomly ?) polled by the master of the bus.
 +
 +* One wire bus ( => Half Duplex communication )
 +* Inverted logic
 +* 57600 bauds
 +
 +Luckily the Teensy3 can do that. If you don't want to mess with voltage conversion, just use a Teensy3.1.
 +
 +Most of the information comes from the OpenTX firmware, information on the Internet and direct analysis of the communication bus, so it might not be perfectly accurate.
  
  
 ## Teensy3 ## Teensy3
 +
 +I don't have anything permanent, it's all on breadboard for now, so there's no schematic. Just connect the __signal__ pin of the sensor to the pin __ 1__ of the Teensy (__TX1__, __PB17__), Gnd to Gnd and... you're done.
 +You can power the GPS using the Vin pin of the Teensy, it makes development easier.
 +
 +Here's the last code: {{:rc:dev:sport_master:tsysportmaster_20140916.tar.gz|}}
 +
 +<note important>This is experimental work. Do this at your own risks.</note>
 +
 +## Next ?
 +
 +* Forge UBX/NMEA packets from SPort GPS data
 +* Serial/SPI/I2C output (something standard =) )
 +* Write a TauLabs module, like the existing one for the Hub Telemetry
 +* Attiny(25/45, or 85 but it might be overkill) port with serial output, with Low power mode so it can be embedded on virtually any other flight controller
 +* Support more sensors
  
  
/home/share/www/redox.ws/wiki/data/attic/rc/dev/sport_master.1410906122.txt.gz · Last modified: 2023/11/24 21:55 (external edit)