Good evening,
I am implementing lighting control using Raspberry PI 2. I have implemented the same layout as one of the users shows here: youtube.com/watch?v=r83Vs3pcuVE . However, he doesn't have a problem with it, but with me the problem is that I switch on via the website, everything is ok. On the other hand, when I want to switch off the lamp responds to the command, but the relay does not. When I disconnect the cable from this GPIO pin, the relay switches off. I have the same relay as in the video.
I have seen one similar topic on the forum, but it was not fully resolved. I have seen some people explain the placement of transistors etc as the solution, but to this and many other users it works. I wonder how this problem can be solved?
Thank you for any pointers.
I am implementing lighting control using Raspberry PI 2. I have implemented the same layout as one of the users shows here: youtube.com/watch?v=r83Vs3pcuVE . However, he doesn't have a problem with it, but with me the problem is that I switch on via the website, everything is ok. On the other hand, when I want to switch off the lamp responds to the command, but the relay does not. When I disconnect the cable from this GPIO pin, the relay switches off. I have the same relay as in the video.
I have seen one similar topic on the forum, but it was not fully resolved. I have seen some people explain the placement of transistors etc as the solution, but to this and many other users it works. I wonder how this problem can be solved?
Thank you for any pointers.