http://fr.aliexpress.com/item/Free-Shop ... 47888.html
Peut être un problème de compatibilité de la télécommande avec le module de décodage 433MHz, si tu as un brico dépot proche de chez toi, les lots de 3 prises télécommandables fonctionne très bien avec RFlink (marque GOA de tête), et tu aura donc une télécommande qui servira de test, et ensuite de prise pour ce que tu veux. Moi j'ai une station météo 433MHz écrit dessus, pourtant RFLink même mode débug ne vois aucune trame passer.
Ou alors si tu as un autre arduino, uno ou nano, tu peut faire un sniffer pour voir si le module capte bien et voir si c'est ton arduino mega qui ne fonctionne pas : http://darrigan.net/blog/prises-telecom ... e-arduino/
le programme est simple :
Code : Tout sélectionner
/*
Example for receiving
http://code.google.com/p/rc-switch/
If you want to visualize a telegram copy the raw data and
paste it into http://test.sui.li/oszi/
Need help? http://forum.ardumote.com
*/
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();
void setup() {
Serial.begin(9600);
mySwitch.enableReceive(0); // Receiver on interrupt 0 => that is pin #2
}
void loop() {
if (mySwitch.available()) {
output(mySwitch.getReceivedValue(), mySwitch.getReceivedBitlength(), mySwitch.getReceivedDelay(), mySwitch.getReceivedRawdata(),mySwitch.getReceivedProtocol());
mySwitch.resetAvailable();
}
}