Sensing of RSSI port of Xbee pro S2C using Arduino Nano

Hello people,

I wanted to sense the RSSI port when it is high using Arduino Nano. I'm reading 1.7V at the RSSI port. From the forum I got to know that it is not possible to sense any voltage below 3V from a digital I/O pin. So I used a level shifter using this page to get an output of 5V. Circuit worked fine when I gave 1.7Vdc. But i'm unable to get signal using Xbee pro S2C.

Any help will be appreciated

The documentation says the RSSI output is a 12 MHz PWM signal. Also by default it only runs for 4 seconds after each packet is received.

Does your level translation circuit work OK at 12 MHz?
Are you sending it data continuously to keep the RSSI indicator active for more than 4 seconds at a time.

Actually the level shifting circuit is not reading the rssi output (1.7V) but if I give a dc voltage of 1.7 it is behaving perfectly.
Receiver will receive the signal every second. So rssi pin will not be at 0V once RX and TX are connected together. FYI the receive rssi pin is what has to be read.
I want to read rssi output in arduino digital pin if you have any way to do so please do let me know.

Thanks and regards

Is this a student project?
Your measured 1.7v does not make sense. Did you use a multimeter or an oscilloscope?
Do you understand what a PWM signal looks like?

Actually I used multimeter as I just wanted to check if there is any signal coming.
From your goodself I got to know tht rssi pin is a pwm with a frequency of 12KHz.
When I wrote that "I want to read rssi output" i meant i wanted arduino to sense if the rssi port is active once Tx and Rx are connected and I don't want to read the data sent by rssi pin. It is small project to cross check whether both Tx and Rx are communicating easily.
Thank you

Use pulseIn() to measure the pulse width. Probably no need for level translation as the peak 3.3v signal will be recognized by the 5v Arduino.

It worked!!!

Thank you

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.