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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login