RSSI info / provide signal strength

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

RSSI info / provide signal strength

#1 Post by data » 05 Jan 2017, 19:51

While on my search for the best receiver module for RFLink, I stumbled over the RXB6 Version 2!

Besides being a sensitive receiver anyway, its main advantage over any other receiver seems to be, that
it has an additional analog RSSI-signal output. Connecting this pin to an analog input of the Mega2560 will
enable you to get the signal strength of the received device!

See datasheet (PDF) at http://www.rficy.com/wp-content/uploads ... 2/CY07.pdf

I just ordered one, since it's really cheap - €1.21, free shipping: http://s.click.aliexpress.com/e/7Q3J2Nj

Anybody else thinks that this is a great feature?
Last edited by data on 05 Jan 2017, 21:21, edited 1 time in total.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RSSI info / provide signal strength

#2 Post by Stuntteam » 05 Jan 2017, 20:28

Sounds good..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

Justblair
Normal user
Posts: 63
Joined: 08 Aug 2016, 23:42

Re: RSSI info / provide signal strength

#3 Post by Justblair » 06 Jan 2017, 09:40

I have tried to find the RSSI. The datasheet does not really make it clear as to how you enable the "optional" RSSI

I tried opening the metal case up and connecting to one of the pins (I believe it is an analog signal). But I grew frustrated when I could not get any really sensible readings from it.

Tell us how you get on. I wanted to use this to create a very cheap rf location device for model rockets.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RSSI info / provide signal strength

#4 Post by Stuntteam » 06 Jan 2017, 11:04

RSSI (analog) signal should be on pin 6 (DER)

I guess the problem is how to trigger mode 3..
In normal operation pin 6 is a copy of pin 7
Then you can pull pin 6 high or low to affect the operation mode.
But how to get it in mode 3.. ?!
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#5 Post by data » 06 Jan 2017, 11:28

From what I understand, only v2.0 of this module provides RSSI out.
Maybe versions < 2.0 has some parts missing or a different pcb.

See e.g. http://www.jmrth.com/en/rxb6.asp
> ...
> Analog RSSI Output (only for V2.0)

Which version do you have? Can you post a photo? What is printed on the back of the pcb?

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#6 Post by data » 06 Jan 2017, 11:42

@justblair: Here's one for you: http://www.instructables.com/id/433-MHz ... /?ALLSTEPS

I just found something else: Apparently, the SYN470RF IC also offers RSSI on pin 13 (CAGC):
... voltages presented here [on PIN 13] ranged from ~1.34V (when beside a companion 433 MHz beacon transmitter) to ~2.54V no signal. ...
http://www.picaxeforum.co.uk/showthread ... -RSSI-hack

Update: Here's the SYN470 Datasheet: http://ex.kabobo.ru/tw_files2/urls_26/4 ... docs/2.pdf

Please add a small subroutine which measures the voltage on an analog input and (perhaps optionally - 10;RSSI=on; ) appends that value to the serial output.
Last edited by data on 06 Jan 2017, 11:47, edited 1 time in total.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RSSI info / provide signal strength

#7 Post by Stuntteam » 06 Jan 2017, 11:44

v2.0 would be the industrial version. The problem is not so much the version though..
But rather how you get the module into this 3rd operation mode so that the RSSI signal is supplied on the DER pin (pin 6).
I have not found any datasheet or info that shows what to do.
In default mode it just supplies data and is the same as pin 7. This to be pinout compatible with other modules.

Alternatively, we could check the SYN470R (315mhz)/SYN480R (433mhz)
It does only have pins for vcc/ground/data but on the chip itself, pin 7 is CACG which would be an RSSI signal..
This could be hooked to one of the analog pins of the Mega and we can have the rflink code read the value and forward the rssi.

Most of the SYN modules have the small 8 pin chip.. in that case pin 7 is CACG
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#8 Post by data » 06 Jan 2017, 15:14

Here's something that might save you some time when implementing the RSSI output.
Despite being developed for the analog RSSI output of a RFM12B, it should be somewhat
similar to our modules:

https://hallard.me/rfm12b_arssi-library/

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#9 Post by data » 06 Jan 2017, 20:45

@Stuntteam:
And when you are at it, please also add some kind of heartbeat for the noisefloor:
a periodic (e.g. maybe 1 or 5 minutes interval?) reporting of the background noise.

That would be really great!

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RSSI info / provide signal strength

#10 Post by Stuntteam » 07 Jan 2017, 00:51

uh.. not sure what you mean with that..
We already have a ping/pong mechanism that is used by Domoticz etc to check if RFLink is still functional..
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#11 Post by data » 07 Jan 2017, 01:15

Ok, heartbeat is the wrong word.

Basically, I'd like to monitor the noisefloor on 433MHz - similar to a temperature sensor sending regular data.
So I thought of not just providing the RSSI when a signal is received but also give me an average of the idle
or background noise value every n minutes. Know what I mean?!

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#12 Post by data » 14 Jan 2017, 12:29

Update: RSSI Out works!

I just received one of the RXB6 modules I ordered and it is V2.0.
This version provides RSSI Out without any modifications on the DER pin.

Get yours for just US$1.21 on AliExpress: http://s.click.aliexpress.com/e/IybEuny

With 20cm wire attached to the antenna pin I measured an idle voltage of
approx. 2.7V for background noise and a noticeable drop to below 2V when
receiving a signal.

So the only hardware modification needed for RFLlink is to add a wire between
the DER pin and one of the analog-in ports of the mega 2560.

@stuntteam:
Please give us RSSI readings in the next release!

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#13 Post by data » 26 Jan 2017, 20:08

Meanwhile, I received the second RXB6 I ordered.
This one looks different from the first one. Besides a golden Q.C. Passed Sticker (the other one is silver) it has almost no markings.
The first one I received has "RXB6" printed on the back and below it reads "V2.0". Then, there is a timestamp field with 2014, 2015 and numbers 1 to 12.

Also, when measuring voltage on the supposed RSSI pin, the new one gives only values between 1 and 2 volts. (I have no Osci atm)
Connecting the GPIO to the supposed RSSI pin confirmed my expectation: There is no RSSI but the same data-out signal as on the
original data-out pin. So, this one is either a clone or at least not version 2.0 as claimed by the seller.

Is there already a beta Version available with RSSI support? If so, I'd love to try it out with the working one!

RCcocktail
New user
Posts: 5
Joined: 10 Feb 2017, 08:07

Re: RSSI info / provide signal strength

#14 Post by RCcocktail » 10 Feb 2017, 08:13

I to purchased some RXB6 receivers V2.0. They seemed legit, but I could not get RSSI to work. The DER pin was a duplicate of the DATA pin, so I though I was mislead. Then I found the following link on ebay:

http://www.ebay.com/itm/433-92MHz-433MH ... 1631674225

In the description it indicates:

For Pin 6 , it is R/E/D optional , R mean RSSI , E means Enable , D mean Data ( defult).
RSSI mode : please Romove R6 resistance to R7;
Enable modes: please Romove R6 resistance to R5 .

So I guess you just wire across the resistor??

Image

Hope this helps!

RCcocktail
New user
Posts: 5
Joined: 10 Feb 2017, 08:07

Re: RSSI info / provide signal strength

#15 Post by RCcocktail » 10 Feb 2017, 19:04

I did some more research. The RXB6 that I have use the SYN500R chip. See the datasheet for the SYN500R chip at http://www.xie-gang.com/SYN500R.pdf

I looked at the RXB6 board and the chip's RSSI pin is not connected to anything (see attached pic).
SYN500R chip. Pin 3 is RSSI. On this board it's not connected.
SYN500R chip. Pin 3 is RSSI. On this board it's not connected.
pin3.jpg (103.69 KiB) Viewed 25451 times

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#16 Post by data » 10 Feb 2017, 19:31

I've compared both modules V2.0 and the older one without RSSI and there is no difference.
Both have the R6 with 0Ohm and the others not populated. Version 2.0 apparently provides
RSSI, the other one does not.
Can you make a photo of the back side of your module and upload it here?
Attachments
rxb6-back_960.jpg
rxb6-back_960.jpg (219.5 KiB) Viewed 25422 times
rxb6-front_960.jpg
rxb6-front_960.jpg (144.84 KiB) Viewed 25422 times

RCcocktail
New user
Posts: 5
Joined: 10 Feb 2017, 08:07

Re: RSSI info / provide signal strength

#17 Post by RCcocktail » 13 Feb 2017, 15:16

I think I figured it out - at least it works for me. I have the same board as you have (white sticker in your picture). On mine the RSSI was not enabled. I enabled it by soldering the two contact point together in the red circle.

Out of interest, I destroyed one board by taking off the chip to inspect. What I found is that pin 3 (RSSI) on the chip as indicated in my previous post is connected to a pathway on the back of the board leading to the DATA pin. If you solder across as I did, apparently you remove the resistance and RSSI functions properly - at least for me.

Let me know if you try soldering the gold sticker board and it works.
Back side of RXB6 module with white sticker
Back side of RXB6 module with white sticker
IMG_0297.JPG (232.57 KiB) Viewed 25419 times
RXB6 soldered to enable RSSI
RXB6 soldered to enable RSSI
IMG_0298.JPG (226.13 KiB) Viewed 25419 times

data
Normal user
Posts: 93
Joined: 10 Dec 2016, 11:26

Re: RSSI info / provide signal strength

#18 Post by data » 13 Feb 2017, 15:34

So you've left R6 in place and just bridged R7? What voltages do you get on the RSSI pin?

RCcocktail
New user
Posts: 5
Joined: 10 Feb 2017, 08:07

Re: RSSI info / provide signal strength

#19 Post by RCcocktail » 14 Feb 2017, 10:08

Correct, I left the R6 in place and bridged R7. On the board I destroyed, I removed R6 and nothing worked. A little solder dropped on R6 in the pic, but I didn't want to remove it for fear of removing the resistor. R5 I believe is to enable power saving mode, which I don't need, so I didn't try.

The RXB6 is about 2' away from the Tx. With no signal being transmitted, voltage is between ~1.1v - 1.2v (~989 reading in arduino using analogRead(A0)). When the Tx transmit signal burst, voltage drops to ~.6v (~5 reading using arduino analogRead(A0)).

I'm using an Nodemcu 12-E as the board.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RSSI info / provide signal strength

#20 Post by Stuntteam » 14 Feb 2017, 11:26

I guess that the idle voltage of 2.7v and 1.2v are relative to the vcc in of the RXB6..
5volt versus 3.3volt in the 2 different cases..
I still need a v2 to implement rssi.. I received a 0.8 :(
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

RCcocktail
New user
Posts: 5
Joined: 10 Feb 2017, 08:07

Re: RSSI info / provide signal strength

#21 Post by RCcocktail » 15 Feb 2017, 00:31

I should have mentioned that: I'm using 3.3V to power the RXB6.

akicker
New user
Posts: 3
Joined: 01 Apr 2017, 10:31
Location: Vienna

Re: RSSI info / provide signal strength

#22 Post by akicker » 06 Apr 2017, 17:21

Leaving R6 in place and bridging R7 shortens RSSI and Data Output !

I have 2 of these RXB6 (one of them marked with Rev 2.0 - with the white Label Q.C. passed). Both of this boards have the same Layout.
One pad of R7 is connected to pin 14 (RSSI) of the receiver itself (SYN500R) and the other one to the connector pin 6 of the board,
so it should work, to move the 0 Ohm resistor R6 to R7.

Unforunately without success !
No RSSI signal at pin 6 "DER" - Looks like "not connected" or "floating"
Inspected with a multimeter and an oszilloscope.

Did anybody find a solution - respectively: where to get a working board ?

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RSSI info / provide signal strength

#23 Post by Stuntteam » 06 Apr 2017, 17:36

I ordered from the mentioned links and did not receive a 2.0 but one without any marking.
No rssi signal present.
It is useless to implement this if no one is able to get modules that actually supply the signal.
Opening the metal shielding on the module to connect to a chip pin is not the way to go.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

gert3d
New user
Posts: 8
Joined: 12 Nov 2017, 21:46

Re: RSSI info / provide signal strength

#24 Post by gert3d » 12 Nov 2017, 22:43

What would shorting to the ENABLE option do?

pete_l
New user
Posts: 1
Joined: 07 Jul 2018, 08:32

Re: RSSI info / provide signal strength

#25 Post by pete_l » 07 Jul 2018, 09:05

RCcocktail wrote: 10 Feb 2017, 19:04I looked at the RXB6 board and the chip's RSSI pin is not connected to anything (see attached pic).
I popped the lid off one of my RXB6s. It turns out that pin 14, the RSSI output has a track that runs under the IC to a via and that goes directly to the R7 pad (the pad nearest the crystal, in the picture).
However on my devices, the RSSI isn't much use as a received signal strength indicator. It just seems to be an sample of the input to the data slicer.

The image below shows this. The yellow trace is the logic level output and the blue one underneath is the RSSI output.
rxb6-data-slicer.jpg
rxb6-data-slicer.jpg (189.53 KiB) Viewed 23292 times

DonR
New user
Posts: 1
Joined: 22 Aug 2022, 21:15

Re: RSSI info / provide signal strength

#26 Post by DonR » 22 Aug 2022, 21:21

It looks like this effort has been abandoned. However if you take a close look at the blue trace you can see that its level is not constant. In other words it is giving a signal strength indication but with the digital data riding on top of it. If you use a capacitor to smooth the output and maybe some proper programming in your sketch it looks like you could monitor the signal strength as desired.

User avatar
Stuntteam
Site Beheer
Posts: 786
Joined: 27 Jan 2016, 16:46

Re: RSSI info / provide signal strength

#27 Post by Stuntteam » 23 Aug 2022, 11:45

It is nice to have the signal strength.
However, it would need to be accessible on one of the RF pins to go forward.
If the pin does provide the signal and we can get hold of the value by adding a capacitor or other extra hardware then it would indeed be a nice addition.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests