Page 1 of 1

Bluebee 4.0 RSSI

PostPosted: Fri Apr 01, 2016 12:25 pm
by hiphop9686
I able to get RSSI and display in Arduino Serial monitor when 2 bluebee 4.0 are connected.

I want to ask, is it possible to compare the RSSI ?

such that 1st RSSI = -49
2nd RSSI = -51

and do comparison in the coding, display the difference in serial monitor?

any advice?

Re: Bluebee 4.0 RSSI

PostPosted: Mon Apr 04, 2016 10:41 am
by bengchet
Hi,

Yes it is possible in coding. Make 2 variables, let's say int newRSSI=0 and int oldRSSI=0.

The flow:
1. Get updated RSSI and store it to newRSSI.
2. Get the difference between newRSSI and oldRSSI and display the difference in Serial monitor.
3. Copy the value of newRSSI to oldRSSI.
4. Repeat step 1-3.

Try do the coding according to this flow.

P:S: You can try Arduino Serial Plotter and see the graph, requirement: use Serial.println(RSSI) instead of Serial.print(RSSI), println is a must. Add a delay before going back to step 1 from step 4 as sampling time. A delay of 1000 ms meaning 1 sec sampling interval.

Re: Bluebee 4.0 RSSI

PostPosted: Mon Apr 04, 2016 6:31 pm
by hiphop9686
Thank you for the information.

It really helps me a lot.