-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SRX882 + STX882 Modules issue #79
Comments
Hello |
RFSniffer just uses this same library code. |
Hello Martin-Laclaustra. For my project, due to the lack of the SRX882 library for Raspi, I already changed the receiver to other version that have been working fine for Raspi. However, I will give it a try when the project is finished. Thank you for your info. |
I have the same problem :( |
Hai Martin-Laclaustra, the link you gave is not a SRX882 + STX882 module. |
I have no experience with that module, but looking at the specs: |
I already set pin no 4 either in high or low state, and both gives the same result -- can not receive 433Mhz signal. It seems that the encoding is different (the width of each pulse width), so in this case your referenced program might be useful for such analysis to find a correct timing scheme. Honestly I do hope that the vendor of the SRX receiver will do this for their customer, as a customer support service, |
Solved problem connection SRX822 to arduino. Mine Pro micro with 32U4 works well with SRX822 |
I've tried to connect the cs pin to the 5v on arduino nano. Data -> D2 pin (mySwitch.enableReceive(0)), and it doesn't work for me :( |
I have the same problem. I have CS tied to VCC, and a logic analyzer on the data pin. VCC and GND are hooked up. I have 2 RF remotes, one 433mhz and the other 418mhz. Both work fine with another RF receiver. RXB4411S-418-RH |
Hi, https://github.com/sui77/rc-switch/ #include <RCSwitch.h> RCSwitch mySwitch = RCSwitch(); void setup() { void loop() {
} Wiring from right to left. Hope this helps. |
PS I am receiving the information from my PIR 433 transmitters from my alarm. |
A strange thing is happening... a have a professional Oscilloscope and I was analysing the Data signal in the SRX882 V1.3 module then I noticed that the level of the signal sent falls down from 5v to 1.2v approximately, when I connect it do the digital input pin in Arduino or Raspberry Pi . I made another tests with some resistors and it happens in the same way. So I'm sure it shouldn't happen then I think something is wrong, I even tested another modules of the same model but nothing. So it doesn't make sense for me. Could someone give me a light? |
I having similar issues. It works when the SRX882 data pin connected to my oscilloscope. But then I connected it to my ESP8266, GPIO4, the signal disappears. see http://www.dzsc.com/uploadfile/company/307703/201246135150265.pdf, page 5 at the bottom |
This receiver model has a high output impedance at the "date" output. For correct operation, the microcontroller input must also have a high input impedance. For this, the programs need to disable internal pull-up resistors. And eliminate external load circuits with a resistance below 10 kΩ |
I am still lost on this. Cant for the life of me get the SRX882 to work with rc-switch with even the basic receivedemo with my esp8266-07. Ive tried both d2 and d3 and changed the code from mySwitch.enableReceive(0) and mySwitch.enableReceive(4); according to what i am seeing in my breakout https://www.screencast.com/t/0ffXXG7MtgqL. Do we need to do something with the code or is it a physical change that has to be made to get it to function? Amazing as this seems to be a well promoted receiver, but very little information on actually getting it to work. |
It worked on the D1 pin on my nodemcu. |
for esp 8266 mySwitch.enableReceive(5); it's working very well I am interested in cs to make interrupt to someone as make a test |
Hi Guys, The solution is to call : pullUpDnControl( PINRX , PUD_OFF ); (from wiringPi lib) Just for fun I also played around with : Other topic: To limit the number of false data (unwanted pulse due to noise) I put capacitor of 220pF between Data and Gnd. It would be nice to know how to limit the sensitivity of this PT4303… EDIT: Sorry, it was 220pF and not 220nF. |
Putting a condenser on the data line is a bad idea. Especially 220n. With such a high resistance of the output stage, this capacitance will fill up the fronts so much that during the pulse repetition time it will not reach a high level, and errors will only increase. |
Hey guys, I feel like this forum didn't really help me for an arduino setup so now that I've managed to get it working i'd share my code and setup: pin connections RX side: TX code: #include <RH_ASK.h> RH_ASK driver(2000, 7, 9, 10); // speed,rx,tx,mode void setup() void loop()
} RX side: #include <RH_ASK.h> RH_ASK driver(2000, 5, 2, 10); // speed, rx, tx, mode void setup() void loop()
String str = ""; for (int i=0; i < buflen; i++) { Serial.println(str); Final note, this was done on arduino nano clones, both atmega 328 and 168 but i can't see why it wouldn't work on any other arduino platform |
Ok this thread got very messy.....here is how I got it to work.
Open this repository on GitHub: You will figure out how to download and integrate all necessary files into your arduino library.... You just need the folder : NewRemoteSwitch / Open example "ShowReceivedCode". https://github.com/RoyOltmans/OpenMQTTgatewayLight/tree/master/lib Wireing: To use the code you have just discovered and switch your sockets with the transmitter STX882, you need the programm "LigthShow". https://github.com/RoyOltmans/OpenMQTTgatewayLight/tree/master/lib/NewRemoteSwitch/examples |
Hello, #include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();
void setup() {
Serial.begin(9600);
delay(1000);
Serial.println("Press 'Send' to start programming or press a key on remote to see the value.");
mySwitch.enableReceive(0); // RF Receiver D2 o D3 mySwitch.enableReceive(1);
}
void loop() {
while (!Serial.available()) { // Receive Key Codes until Send was pressed
if (mySwitch.available()) {
long unsigned int value = mySwitch.getReceivedValue();
Serial.print("Received Key: ");
Serial.println(value);
mySwitch.resetAvailable();
}
}
while (Serial.available()) Serial.read();
Serial.println();
} |
hi , thank you for your reply
excellent 👍
best regards
…On Thu, Dec 21, 2023, 00:33 Jorge Novo ***@***.***> wrote:
Hello,
For what it's worth, the reception module works with *external interrupts*.
I have a nano AtMega328p and it only works by connecting it to pin D2 or D3
and the CS at 5V.
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();void setup() {
Serial.begin(9600);
delay(1000);
Serial.println("Press 'Send' to start programming or press a key on remote to see the value.");
mySwitch.enableReceive(0); // RF Receiver D2 o D3 mySwitch.enableReceive(1);
}void loop() {
while (!Serial.available()) { // Receive Key Codes until Send was pressed
if (mySwitch.available()) {
long unsigned int value = mySwitch.getReceivedValue();
Serial.print("Received Key: ");
Serial.println(value);
mySwitch.resetAvailable();
}
}
while (Serial.available()) Serial.read();
Serial.println();
}
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADHAS6JCECC76CEPD4KEAGTYKMOOZAVCNFSM4CNQ4RAKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWGQ4DOMJWHA4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have a srx882s. Tried the above 2 codes. Putting 5v on CS and VCC, GND to GND, and tried data on pin 2 and then pin 3 of an Arduino Uno. Cannot receive any code from my RC300 fireplace remote which operates at 433.91mhz. The prompts both come up on the serial monitor so I know the code is working. Is there anything I am forgetting or can check? |
Hello:
I bought SRX882 & STX882 modules and I was able to make the transmitter work with RCSwitch easily. It was just plug&play. Both in Raspberry PI and Arduino.
However I can't make the receiver work. I tested it and it seems that the receiver is working fine. If I use a simple program to attach the interrupt I see the changes when I press a button on my remote. However using the RCSwitch library with the "sniffer" example will not show a thing.
Is there anything I'm doing wrong? or somehow this device is not compatible with RCSwitch? if you could point me in the right direction I will be grateful.
The text was updated successfully, but these errors were encountered: