pulquero / RotorHazard

Multi-node video transmitter race timer for drone racing
Other
6 stars 0 forks source link

Improved method of detecting VRX nodes #110

Open martinglass opened 2 years ago

martinglass commented 2 years ago

Here's a suggestion for another use of the read RX5808 register function.

On startup the current routines attempt to detect whether a node is present by requiring a 100kOhm drawdown resistor on the RSSI line and detecting an RSSI level of below a pre-specified value, eg 30.

To write & verify-read a module register(eg the status register 0xf, or writing a frequency value in reg 0x01 and verifying that the module has responded correctly) is a more universal and surefire way of detecting whether a module is present or not, instead of the current method.

This will help with other circuit designs, where the 100k drawdown resistor may be missing or inappropriate.