system
September 13, 2013, 4:58pm
1
I recently buy this rc switch set .
I'm trying to replace the remote following this instructions .
Here is the code I currently use :
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();
void setup() {
mySwitch.enableTransmit(11);
pinMode(2, OUTPUT);
}
void loop() {
mySwitch.switchOn("11111", "10000"); // first try for A
digitalWrite(2, HIGH);
delay(2000);
// Switch off
mySwitch.switchOff("11111", "10000");
digitalWrite(2, LOW);
delay(2000);
}
I define the code to use following this instructions .
A screenshot of the switch = Dropbox - 20130913_181514.jpg - Simplify your life
I connect pin 11 of my arduino to the Dout on the remote = Dropbox - 20130913_181534.jpg - Simplify your life
But I can't get it work, any suggestion ?
system
September 13, 2013, 7:15pm
2
I didn't use any welding for my tests.
May be it was related to my problem.
MAS3
September 13, 2013, 7:50pm
3
2 suggestions:
1st:
Put questions like these in Device Hacking .
2nd:
Most of these kind of questions, people just connected one wire to the device.
But you need a reference, and that is the GND level.
So, did you connect the GND of the device (pin 9, labeled VSS here) to the GND pin of your Arduino ?
That is why i put a remark about this in my signoff.
Be sure to have good connections, soldering would be a good and relative permanent connection, if you do the job well.
system
September 18, 2013, 1:04pm
4
I'll do this next time, sorry.
I can get it work with a transmitter connected on my breadboard.
I only try with on wire on the devise, I'll retry it when I get a soldering iron.
Thank for your advices
system
October 25, 2013, 12:38pm
5
Hi,
Are there any news on the topic ? I have the same problem and can get force this chip to work with Arduino My topic in Device Hacking:
http://forum.arduino.cc//index.php?topic=195411.0
Rgds,