Closed ghost closed 7 years ago
I'm having the same issue I cannot seem to read anything from my receiver (I've tried two different receivers on different pins).
Same here :-( I installed a new sd card several times, and did exactly what it need to do but i can't recieve any signals. I also try'd with another 433mhz receiver. It hangs on sudo RFSniffer
"sudo /home/pi/433Utils/RPi_utils/RFSniffer "
Seems that it doesnt work with newer firmware of the rpi?
Have you ruled out pulse length as a cause (are you sure you're running RFSniffer with the correct pulse length)?
No I wasn't aware that was something I could try. How do I go about that @rotv?
@Connor-Knabe, I did that for my remotes by using PISCOPE where I could see the signals and measure the pulses.
In order to test different pulse lengths you can invoke RFSniffer with the optional parameter: Usage: ./RFSniffer [pulseLength] You can for instance try out different "50-step" values: 150, 200, 250...400
E.g. sudo ./RFSniffer 150 (for 150 microsecond/us pulses).
My system, FHT-7901, uses 150 us pulses but the 433-Utils/rc-switch default setting of 350 also seems to work when I send codes. I'm using a better version of 433Utils which contains the latest and greatest rc-switch (git clone -b rcswitch --recursive git://github.com/rotv/433Utils.git). I've been trying to get it merged but no one is responding for the ninjablocks repositories (PR #17).
+1
My RPi setup worked fine using codesend and RFSniffer. I updated my rpi this morning, now running:
Linux raspi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux
Right after the update RFSniffer stopped working. I checked the reciever module on my other RPi (not updated, yet) where it's still working fine.
Hello I don't understand I have installed Fresh raspian and compile RFSNIffer with default Options ( int PIN = 2;) I have connect rasp as this picture: http://www.homautomation.org/wp-content/uploads/2013/09/RPi.jpg But i don't receive some data !!! is there a problem with raspberry pie 2 and 3 ??
hi @bartounet16 , when I sniff data on the pi I need to touch(or almost touch) the remote to the receiver to actually make it catch the signal. trying even few cm away doesn't catch the signal at all. have you tried that?
The problem reproducing on the latest Raspbian on B+ too. Tried the XY-MK-5V and RXB6 receivers, changed power supply and receiver power isolation. The both receivers works perfect on Arduino and ESP8266. As I could remember the XY-MK-5V has been worked on the older raspbian before the implementing kernel device tree.
Guys, GPIO by default PULL DOWN. When i add code for PULL UP sniffer start work.
@dubanoze feel free to start a pull request with a working version :smile:
Wii paste code tomorrow. RPI on work.
@dubanoze Are u still gonna paste that code :)
Yeah I was wondering as well, I have some untested receivers that I can't get to spit out any data and hoping it's a pi/software issue and not hardware.
need add pullUpDnControl(PIN, PUD_OFF);
to RFSniffer.cpp
root@raspberrypi:/home/pi/433/433Utils/RPi_utils# ./RFSniffer
Received 3224434 Received 3224434 Received 3224434 Received 3224436 Received 3224436 Received 3224436 Received 3224436
hmm I've added that to line 38 and still not seeing any results.
Can you connect oscilloscope to data line ?
I do not have that kind of hardware.
I can see it on channel 27 of PISCOPE modulating up and down quite rapidly but nothing shows up for RFSniffer
It's working perfectly for me, on my single Raspberry Pi B+. Running Wheezy (Linux raspberrypi 4.1.19+) and no need of adding the pull up/down line mentioned above.
All I did was start RFSniffer in one terminal and use codesend
Received 54321
Received 54321
I had the same problem with one of two 433 Mhz receivers. One worked on the Pi, the other didn't. However, both worked on the Arduino!
Putting pin 2 into the "no pull up/down"-state fixed it like @dubanoze said. You can do this from command line using
gpio mode 2 tri
I've tested this on both the Raspberry Pi Model B+ and Raspberry Pi 3.
The 100% usage is always there as I suppose WiringPi "polls" the pin every x microseconds.
Also, don't forget that the WiringPi PIN 2 is actually the 13th pin on the board, see: https://pinout.xyz/pinout/pin13_gpio27
This is no longer an issue for me because I moved to ESP8266, I also use RadioHead, the successor of VirtualWire at the moment.
I have an Arduino sending data over 433MHz, this is wokring fine and I receive the data on my Pi using the VirtualWire lib and PIGPIO. But when I run RFSniffer it shows no data. The PINs are the same so that can't be it. Any advice on how to find the problem?