SmartPort voltage telemetry sensor for FrSky
Basic parameters:
- works with FrSky equipment, communicates via SmartPort,
- offers a wide measurement range of 3...49 V (without the need to use several sensors in the case of a package consisting of more than 6 cells),
- does not allow monitoring of the voltages of individual cells of the package.
The module allows monitoring of the voltage of the package powering the RC model. Unlike the original FLVSS sensors, it does not allow monitoring of the voltages of individual cells of the package, but in return offers a wide measurement range without the need to use several sensors in the case of a package consisting of more than 6 cells.
The electrical diagram is reduced to the necessary minimum. In addition to the processor itself, it contains a 3.3 V voltage regulator and a voltage divider implemented on elements R2 and R3 together with a zener diode protecting the port against excessive voltage. The LED indicates correct communication on the SmartPort port. The project uses a LD1117S33 type regulator, thanks to which the sensor can be powered with a voltage above 5 V directly from a receiver powered e.g. from lithium batteries.
The microcontroller software was written in C in the STM32CubeIDE environment. The UART interrupt procedure checks the received data and searches for the sequence 0x7E 0xA1. If such a sequence is received, frames with data are prepared for sending to the port. Using DMA, a series of measurements of the voltage supplied to the INPUT measurement input are made, and then an average is calculated in the main loop, thanks to which the measurements are stable.
A programmer (ST-Link) is required to program the processor. After correct assembly and programming, the system is ready to work. The LED diode flashes quickly to indicate correct decoding of data on the SmartPort from the receiver. If the voltage supplied to the INPUT input is below the 3 V threshold, the sensor stops sending data with voltage, which the equipment will signal after a few seconds with a lack of data. After supplying a voltage within the operating range, the data will be sent by the module again. The procedure for adding a sensor to the telemetry system is standard and involves starting the sensor detection procedure in the TELEMETRY menu of the equipment, where the sensor will be detected as the CELLS parameter.
Demo video:
https://www.youtube.com/watch?v=P0QIz_THH5E
SmartPort voltage telemetry sensor for FrSky
*PCBWay community is a shared platform and we are not responsible for any design issues.
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10