radio rx rssi · 2019. 12. 2. · radio rx received signal strength measuement a relative signal...

Post on 22-Jan-2021

2 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Radio Rx Received Signal Strength Measuement

A Relative Signal Strength Indication can be tapped off the Mailtronics RF modules as per photos

Loopa: Serin 3, N2400, (“:0”), b0 ‘wait until a :0 is received from any RF Tx module pause 50 ‘wait for 50mS readadc 4, b4 ‘Measure the voltage on pin 4 from the RF Rx RSSI tapping point sertxd ( b9, 9, #b4, 13, 10) ‘Display b4 value. Press F8 select 4800 baud nap 3 ‘Short delay goto loopa

• Use of F8 terminal window to monitor the strength of the signal from the F8 window • To get a realistic ‘SOLID’ rssi value transmit a solid HIGH state into the transmitter by

making the TX data line on the RF Tx module go high for a full second. • Try things out like location, length, position of antennae to create the optimum radio

link • Using math, generate a new variable between 90 and 127 to generate a sound beep in

the range of 90 to 127 using the Sound Command so the signal strength rssi can be heard

• Make an If Then ‘squelch’ control to eliminate the noise BELOW a certain threshold • Note that data can still be received in the normal way. A tidy way to send data AND

measure RSSI is to do a serin followed immediately by a short delay then readadc 4, b4 signal strength measurement at the same mid point time that the RF Tx module is putting out a solid ‘1’ state (CW = Carrier Wave)

top related