Relay Actuator Sketch problem



  • Hi everyone.

    I am having a strange problem with the relay actuator sketch. I am trying to use a 2 relay board so I set the sketch to have two relays. But only D3 would activate the relay board. I swapped the relay wires In1 & In2 around and the opposite relay worked. So after a bit of fiddling I found that only D3 was changing its state. So I set the sketch to 3 relays then I could use D3 and D5 but not D4. Thinking that maybe D4 was faulty I made a test sketch that set D4 to turn on and off and it operated the relay ok.

    I have tried wiping the Nano and then uploading the sketch again but this has not helped. I would just use D2 & D4 but I have made up a board to fit two Nano's on and it will be a pain having to modify it to use D4 instead of D3.

    Any thoughts will be very welcome.

    Regards

    Burtonian


Log in to reply
 

1 out of 1

Suggested Topics


  • Announcements   24 Mar 2014, 20:12

    3

  • Troubleshooting   19 days ago

    12

  • Troubleshooting   27 Aug 2024, 13:20

    1
  • 34
  • 2

  • Troubleshooting   3 Mar 2025, 01:00

    13

16
Online

11.5k
Users

11.1k
Topics

112.8k
Posts