Search found 5 matches
Search found 5 matches • Page 1 of 1
Hi guys. I'm having trouble finding a basic script to control a light with a 5v relay. My goal is to have my light turn on at 7pm and to turn off at 7am. I am currently using this script, but it keeps giving me the "SyntaxError: invalid syntax": # import GPIO and datetime import RPi.GPIO a...
- Sun May 24, 2020 5:11 am
- Forum: Other projects
- Topic: Running a 12v strobe light with a raspberry 4
- Replies: 2
- Views: 354
I need to be able to run a 12v strobe light for a school project. I know I need an external power source, since the rpi has a max output of 5v. I also purchased a 12v volt relay (https://www.amazon.com/gp/product/B0721M34CM/ref=ask_ql_qh_dp_hza). I'm having issues figuring out what else I would need...