Avatar for yayAdrian

yayAdrian

Member since Jun 2014 • Last active Jun 2014
  • 1 conversations
  • 5 comments

Most recent activity

  • in General
    Avatar for yayAdrian

    So I went back to basics with the code and found that

    sendMultiple(socketOn ? 0b11110 : 0b01110);
    

    Was causing me the problem. I replaced that by passing the full code (e.g. 4 = 0b1110010111111111000011100) and I am able to turn all of the channels/1,2,3,4 on and off.
    Thanks for your help. Hope you get your remotes and switches soon.

  • in General
    Avatar for yayAdrian

    Sorry,
    Switch = wall plug
    channel = the buttons on the remote say 1, 2, 3, 4

  • in General
    Avatar for yayAdrian

    Thanks so much.
    I had the transmitter and receiver the wrong way around.

    Using your code I've now got a switch turning on and off! :)
    Now I just need to figure out why only "channel 1" switches work and not 4.

    Am I correct in thinking all I need to change is the CODE variable?

    For channel 4 I get this output: 0b1110010111111111000011100
    So I replace the current string in code with that but it still turns on channel 1.

    Thanks again for your help.

  • in General
    Avatar for yayAdrian

    Hi,
    I've been following the REMOTE CONTROL SOCKETS tutorial, it was all going well.
    Based on the photo in the tutorial I'm using the same remote and plug socket.
    I was able to connect to pick up the remote controls "messages" (although I did use the transmitter with 4pins)

    Having received codes (e.g. 0b1110010111111111000011100) I changed the setup to be a transmitter. (again using the transmitter with 4 pins only 3 pins connected)

    This is where I get stuck.
    I used the send code in the tutorial but none of my plugs turn on or off.
    I double checked, and using the remote control it works fine.

    I have recreated all of the wiring but still no luck.

    Any tips on how I can go about debugging this or figuring out what is wrong?

  • in General
    Avatar for yayAdrian

    These would stop a lot of worry when soldering pins to the board.

    Let us know how you get on with them.

Actions