yjl
November 13, 2020, 1:18pm
1
I try to use normal 2-channel relay module as below, so tried with simple on-off test.
I was going to build relay circuit but realized I had modules,
https://lastminuteengineers.com/wp-content/uploads/2019/,11/tutorial-for-controlling-ac-devices-with-relay-module-and-arduino.jpg
I found it works strange as it functions properly on pin13, (on/off) but with other pins just on. (digital pins)
Is the module supposed to use with pull-down or up resisters?I am regularly use arduino and couldn't find answer on the net so, I ask quick question. Thanks.
yjl
November 13, 2020, 1:30pm
2
Fixed.
It was code problem. I experience all the time but never learn that there is more possibilities of misfunction of my brain than proper platforms.
Please post a schematic showing how you are connecting the relay and post the test code you are using in code tags </>. Without those we are guessing.
[Edit]
Sorry, I was posting at the same time as you. Thanks for letting us know you found the problem.
Paul_B
November 14, 2020, 9:57am
4
Just as well as you posted a dead link in your OP!