Hi everyone:
This is the first time I write here, lately I am getting into this great world of arduino doing very simple things. What I have in mind is that when receiving a 433 mhz RF signal (emitted by a remote control) a particular sound is reproduced (in a sound output module) in such a way that if I press button 1 the sound A will be reproduced and if I press button 2 the sound B will be played
This is the receiver module that I am using LINK
This is a remote control like the one I use LINK
This is the sound output module LINK
I already learned something about reproducing sounds, I am already able to read the RF control signal, using the RC-SWITCH library the basic and advanced example through COM5 I can see the reception of the following data:
RC-SWITCH ADVANCED SAMPLE:
Button 1
Decimal: 4665536 (24Bit) Binary: 010001110011000011000000 Tri-State: F0F101001000 PulseLength: 478 microseconds Protocol: 1
Raw data: 14824,404,1516,1372,556,408,1520,396,1532,384,1520,1368,564,1376,716,104,168,504,20,164,32,52,372,40,148,140,384,144,192,16,16,16,244,76,272,92,324,212,232,236,24,144,236,128,128,16,152,192,156,
In the received data I can see several types: Decimal, binary and RAW, so my question and problem is knowing how or what data to read so that I can put my "IF" so that depending on the value received, the sound will be reproduced.
I hope someone can guide me