I don't have an oscilloscope so I connected the data pin on the receiver to an LED and resistor. ![]() I decided to check if the remote is transmitting on that frequency and if the receiver is picking up anything at all. ![]() Strangely though the other two remotes do nothing. Which outputs "Received 4194396 / 24bit Protocol: 1" when I press a button on the light remote. Serial.println( mySwitch.getReceivedProtocol() ) Serial.print( mySwitch.getReceivedBitlength() ) Serial.print( mySwitch.getReceivedValue() ) MySwitch.enableReceive(0) // Receiver on interrupt 0 => that is pin #2 GitHub - sui77/rc-switch: Arduino lib to operate 433/315Mhz devices like power outlet sockets. ![]() With the rc-switch library I can read the received signal
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |