You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've got these led lights beside the mirror in my house, and I want them to turn on automatically when somebody is standing still in front of the mirror. The led strips use 12 V and the current is around 160 mA. Let's create a relay driver that can turn on and off the lights using a Raspberry Pi model B+. The lights will still use their original power source, which is a 12 V DC adapter.