rc-switch icon indicating copy to clipboard operation
rc-switch copied to clipboard

Not receiving anything with Hunter fan remote IN2TX41.

Open avias82 opened this issue 6 years ago • 11 comments

I have a Arduino Uno connected to a 434MHz receiver as indicated in the Wiki Receiver example. I tried using both the ReceiveDemo_Simple.ino and ReceiveDemo_Advanced.ino sketches. I get absolutely nothing out of the serial monitor when sending signals with my Hunter IN2TX41 remote. I do not have an o-scope, but I did put a DMM on the data line out of the receiver and I can see voltage changes on the pin.

I put some Serial.print statements in various places and can get those print statements on the serial monitor. I put a print statement in the mySwitch.available() if statement and never get that print statement. My code never gets into the mySwitch.available() statement. I assumed that even if the protocol was not supported I would get the "Unknown encoding" print statement, but I get nothing.

16 void loop() { 17 if (mySwitch.available()) { 18 Serial.print("Switch available"); 19 int value = mySwitch.getReceivedValue(); 20
21 if (value == 0) { 22 Serial.print("Unknown encoding"); 23 } else { 24 Serial.print("Received "); 25 Serial.print( mySwitch.getReceivedValue() ); 26 Serial.print(" / "); 27 Serial.print( mySwitch.getReceivedBitlength() ); 28 Serial.print("bit "); 29 Serial.print("Protocol: "); 30 Serial.println( mySwitch.getReceivedProtocol() ); 31 } 32

33 mySwitch.resetAvailable(); 34 } 35 }

I have read through the various "Issues" and have not found anything that seemed to help. I looked at issues 103 and 112. I tried Martin-Laclaustra's protocollessreceiver branch. I see the "SimpleRcScanner" project, but that just looks like a tool for plotting data. I can not figure out how to capture the data that tool wants. It looks to me that you have to get at least raw data out of ReceiveDemo_Simple.ino or ReceiveDemo_Advanced.ino and I do not get anything.

avias82 avatar Sep 12 '17 17:09 avias82