goebish / nrf24_multipro

nRF24L01 multi-protocol RC transmitter
GNU General Public License v3.0
472 stars 195 forks source link

Telemetry beep alarms #36

Open grezlo opened 6 years ago

grezlo commented 6 years ago

Hello! Thanks for a great product! I want tuning it on this way: add a beeper 5V, and to inform them about the battery and RSSI.

219 telemetry_data.volt1 = chanval.value;

What is the range of values for this parameter?

goebish commented 6 years ago

If I remember well it's vbat*10, ie 42 for 4.2V, but this has to be checked.

grezlo commented 6 years ago

You wrote: if (packet[0] == 0x85 && packet[14] == Bayang_checksum()) { // uncompensated battery volts100 chanval.bytes.msb = packet[3] & 0x7; chanval.bytes.lsb = packet[4] & 0xff; telemetry_data.volt1 = chanval.value; So vbat100 correct? Thank you!

And RSSI is 0-100 parameter correct?: telemetry_data.rssi = Bayang_telemetry_count * 2;

goebish commented 6 years ago

I don't remember, just try and add some serial logging if required ;)

grezlo commented 6 years ago

Well I will write you about the results. Thank you!

goebish commented 6 years ago

Also, keep in mind telemetry range is very short as the H8 mini, B03 and other "Silverizable" quads do not have a PA.

grezlo commented 6 years ago

What about E011?

goebish commented 6 years ago

Same as B03, none of the supported model has a PA onboard.

grezlo commented 6 years ago

There is no possibility to add an amplifier? :) like PA LNA Wifi modules

goebish commented 6 years ago

No.

grezlo commented 6 years ago

Ok. Will short telemetry :/ 100 meters really?

goebish commented 6 years ago

Way less than 100m ... even indoor, telemetry stops working 1 or 2 rooms away. But that's not a big deal, you still have control ...

grezlo commented 6 years ago

For check the VBAT need flying closer to myself)

goebish commented 6 years ago

Yes, that's the only way ;)

grezlo commented 6 years ago

Thanks again. Will try.

silver13 commented 6 years ago

rssi is about 200 normal operation, so not 0 -100