Hi there,
I am in the process of decoding signals from a 433mhz remote to control some rf-sockets from my Arduino MEGA. I am using the rc-switch library. My remote is able to control 5 channals (A-E). Each channal has a button to turn ON and a button to turn OFF. The rf sockets have 'auto-learning' feature, so no dip-switches.
I have succeeded connecting the 433 mhz receiver to my Arduino and have decoded the signal for channal A when the ON button is pressed. This is where I have some questions.
-
My signal is 32 bits long. How do I know which bits are address bits and which are data bits? Are there any thumb rules to determine how the signal is constructed?
-
When pressing the ON button for channal A I get different variations of the signal. Why is this happening? I thought that the signal for button A ON would always be the same. When the signal differs, how do I know which one to pick for transmitting from my Arduino?
The signal variations when pressing the ON button for channal A is seen below.
I hope somebody would be willing to help a newbie ![]()
Best wishes,
Decimal: 3158573056 (32Bit) Binary: 10111100010001000000000000000000 Tri-State: not applicable PulseLength: 710 microseconds Protocol: 2
Raw data: 7136,1368,600,380,1588,1368,616,1352,616,1356,608,1360,620,368,1596,372,1604,364,1604,1352,612,372,1588,384,1592,380,1588,1368,596,388,1584,388,1580,388,1580,1380,592,1376,600,380,1588,1372,596,1376,596,392,1572,1380,612,1352,608,388,1572,396,1572,1380,592,392,1576,392,1576,1384,240,28,280,
Decimal: 2567699155 (32Bit) Binary: 10011001000010111111101011010011 Tri-State: not applicable PulseLength: 711 microseconds Protocol: 2
Raw data: 7148,1356,624,360,1600,368,1616,1336,608,1372,596,388,1580,392,1580,1372,612,372,1584,388,1580,388,1584,388,1576,1384,592,388,1580,1376,600,1372,592,1372,596,1376,600,1364,612,1360,612,1356,612,376,1588,1368,608,380,1592,1360,600,1372,600,384,1588,1368,612,368,1592,380,1592,1360,608,36,224,
Decimal: 3158601107 (32Bit) Binary: 10111100010001000110110110010011 Tri-State: not applicable PulseLength: 708 microseconds Protocol: 2
Raw data: 7136,1380,588,396,1584,1368,596,1380,588,1376,600,1364,616,372,1596,376,1588,384,1584,1368,612,376,1584,388,1584,384,1580,1376,600,388,1580,384,1580,392,1588,1368,596,1376,604,380,1588,1372,600,1364,596,392,1572,1380,604,1372,588,400,1576,384,1584,1376,68,40,228,112,44,44,96,184,236,
Decimal: 2567699155 (32Bit) Binary: 10011001000010111111101011010011 Tri-State: not applicable PulseLength: 714 microseconds Protocol: 2
Raw data: 7196,1320,640,340,1636,336,1632,1320,652,1324,640,340,1628,344,1636,1316,644,340,1620,356,1620,344,1616,360,1620,1332,648,332,1628,1332,632,1340,640,1316,652,1320,648,1324,656,1316,644,1320,660,328,1640,1316,660,324,1628,1324,656,1312,660,328,276,56,340,432,52,348,76,92,60,264,16,
Decimal: 3158601107 (32Bit) Binary: 10111100010001000110110110010011 Tri-State: not applicable PulseLength: 712 microseconds Protocol: 2
Raw data: 7204,1304,656,328,1648,1304,668,1304,672,1296,668,1304,660,480,1020,488,260,1236,1024,480,1032,464,264,1244,256,1244,1236,264,1236,272,1228,280,2336,1032,484,256,1248,260,1236,1016,256,1236,1028,476,268,1232,1024,480,264,1236,264,1224,1032,276,1232,1032,476,1016,488,252,1256,1004,488,1020,476,
Decimal: 2567698944 (32Bit) Binary: 10011001000010111111101000000000 Tri-State: not applicable PulseLength: 712 microseconds Protocol: 2
Raw data: 7184,1328,636,348,1620,348,1616,1348,620,1344,636,348,1620,352,1632,1320,636,348,1620,352,1600,376,1604,368,1600,1356,616,372,1588,1360,640,1332,620,1344,636,1332,632,1336,628,1344,644,1328,628,360,1608,1344,628,360,1604,1344,1412,48,436,16,660,112,1112,48,96,196,196,44,204,136,124,
Decimal: 3158601107 (32Bit) Binary: 10111100010001000110110110010011 Tri-State: not applicable PulseLength: 710 microseconds Protocol: 2
Raw data: 7160,1344,644,336,1616,1344,632,1340,616,1352,624,1344,624,360,1612,356,1608,364,1608,1344,628,360,1596,376,1604,364,1600,1356,616,372,1592,376,1592,376,1612,1344,608,1356,632,356,1588,1368,608,1364,604,380,1596,1360,616,140,140,56,240,32,40,380,152,40,320,256,80,20,92,20,144,
Decimal: 2567699155 (32Bit) Binary: 10011001000010111111101011010011 Tri-State: not applicable PulseLength: 712 microseconds Protocol: 2
Raw data: 7164,1344,624,360,1604,368,1616,1340,616,1348,624,364,1616,352,1616,1340,624,360,1600,372,1600,368,1596,376,1600,1348,628,364,1596,1356,620,1352,612,1352,632,1336,632,1340,632,1340,628,1340,628,356,1612,1348,624,360,1612,1344,620,1344,636,352,536,16,444,56,40,504,100,296,28,56,324,
Decimal: 3158601107 (32Bit) Binary: 10111100010001000110110110010011 Tri-State: not applicable PulseLength: 712 microseconds Protocol: 2
Raw data: 7156,1356,616,368,1592,1364,616,1348,628,1340,628,1344,620,360,1616,356,1616,356,1600,1356,604,376,1600,372,1592,384,1604,1348,616,364,1592,376,1596,380,1588,1364,604,1364,608,376,1592,1360,612,1356,624,368,1592,1356,620,1348,624,368,1604,360,1604,1348,620,368,1600,84,116,24,108,52,20,
Decimal: 2567699155 (32Bit) Binary: 10011001000010111111101011010011 Tri-State: not applicable PulseLength: 711 microseconds Protocol: 2
Raw data: 7168,1340,632,352,1624,344,1624,1332,640,1328,656,332,1620,356,1608,1340,636,348,1612,364,1600,376,1596,364,1604,1352,624,364,1600,1356,612,1360,612,1352,632,1340,620,1352,620,1348,628,1340,636,352,1608,1344,632,352,1616,1336,632,1340,628,356,1620,1336,636,348,1608,364,72,52,296,596,16,
Decimal: 3158601107 (32Bit) Binary: 10111100010001000110110110010011 Tri-State: not applicable PulseLength: 710 microseconds Protocol: 2
Raw data: 7168,1336,612,376,1600,1352,620,1348,632,1336,640,1332,628,356,1608,364,1608,356,1616,1344,616,364,1604,372,1608,360,1596,1364,616,364,1600,372,1592,380,1584,1372,596,1372,604,380,1588,1360,632,1344,608,376,1592,1352,652,1308,1192,44,516,20,1144,392,24,552,24,356,16,16,244,56,24,
Decimal: 2567634944 (32Bit) Binary: 10011001000010110000000000000000 Tri-State: not applicable PulseLength: 712 microseconds Protocol: 2
Raw data: 7164,1348,628,356,1604,364,1604,1348,632,1336,632,356,1616,356,1604,1348,624,364,1616,352,1600,372,1596,376,1600,1352,620,360,1624,1332,620,1356,620,1344,632,1340,628,1340,628,1340,628,1344,620,368,1620,1332,636,344,1620,1336,632,1340,632,352,1612,1348,624,40,208,236,160,40,128,28,64,
Decimal: 3158600960 (32Bit) Binary: 10111100010001000110110100000000 Tri-State: not applicable PulseLength: 711 microseconds Protocol: 2
Raw data: 7156,1352,612,372,1592,1360,632,1336,616,1356,616,1352,624,360,1608,360,1608,368,1588,1364,628,356,1592,384,1588,380,1592,1356,628,356,1596,376,1592,376,1592,1360,620,1352,612,372,1608,1344,616,1356,624,364,1592,1360,632,1336,624,368,1596,368,1596,1360,220,24,520,396,32,476,32,20,180,
Decimal: 2567699155 (32Bit) Binary: 10011001000010111111101011010011 Tri-State: not applicable PulseLength: 711 microseconds Protocol: 2
Raw data: 7112,1388,584,404,1564,404,1572,1380,592,1380,588,400,1568,400,1572,1380,584,404,1576,392,1568,404,1560,408,1568,1384,588,400,1568,1384,584,1384,584,1388,588,1380,580,1392,584,1384,584,1384,592,396,1572,1380,592,396,1564,1388,592,1380,584,400,1572,1384,596,392,1568,400,1572,1380,592,1376,600,
Decimal: 3158601107 (32Bit) Binary: 10111100010001000110110110010011 Tri-State: not applicable PulseLength: 710 microseconds Protocol: 2
Raw data: 7116,1388,576,412,1560,1392,584,1384,588,1384,588,1384,580,404,1600,372,1560,408,1564,1392,580,408,1560,408,1568,404,1564,1388,576,408,1568,404,1556,412,1568,1388,576,1392,580,408,1568,1384,576,1396,580,404,1580,1376,584,1384,588,400,1568,400,1564,1388,584,404,1564,408,1572,1380,584,1388,596,
Decimal: 2567699155 (32Bit) Binary: 10011001000010111111101011010011 Tri-State: not applicable PulseLength: 710 microseconds Protocol: 2
Raw data: 7124,1376,588,400,1568,400,1568,1388,584,1384,584,404,1572,396,1572,1380,592,396,1564,408,1560,408,1576,396,1560,1388,588,404,1564,1384,580,1392,580,1388,580,1392,584,1384,592,1376,584,1388,592,396,1576,1376,596,388,1568,1384,600,1372,584,404,1564,1388,588,396,1572,400,1568,1384,588,1380,592,
Decimal: 3158601107 (32Bit) Binary: 10111100010001000110110110010011 Tri-State: not applicable PulseLength: 711 microseconds Protocol: 2
Raw data: 7112,1392,580,408,1576,1376,584,1384,588,1380,588,1384,584,404,1568,400,1568,404,1564,1388,584,404,1564,404,1568,404,1572,1380,588,400,1584,384,1564,408,1568,1384,580,1388,580,412,1560,1392,584,1384,592,396,1568,1384,584,1388,580,408,1564,404,1572,1388,576,404,1568,404,1564,1388,592,1376,592,
Decimal: 2567699155 (32Bit) Binary: 10011001000010111111101011010011 Tri-State: not applicable PulseLength: 710 microseconds Protocol: 2
Raw data: 7116,1388,588,396,1572,400,1568,1384,588,1380,588,400,1584,388,1568,1384,588,400,1576,392,1568,400,1576,396,1568,1384,584,404,1564,1388,580,1388,588,1384,592,1376,588,1384,584,1384,584,1388,588,396,1580,1376,584,400,1568,1384,584,1388,584,404,1564,1388,588,400,1568,400,1568,1384,596,1376,596,








