Go to advanced search

by do2651
Fri Jun 26, 2020 3:26 am
Forum: Python
Topic: Automatic light script
Replies: 5
Views: 419

Re: Automatic light script

So where in the script would I add that? And would I only need to add "time.sleep(1)"?
by do2651
Thu Jun 25, 2020 4:03 am
Forum: Python
Topic: Automatic light script
Replies: 5
Views: 419

Re: Automatic light script

It worked! Thanks ghp! You're the best.
by do2651
Wed Jun 24, 2020 4:29 am
Forum: Python
Topic: Automatic light script
Replies: 5
Views: 419

Automatic light script

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...
by do2651
Sun May 24, 2020 5:11 am
Forum: Other projects
Topic: Running a 12v strobe light with a raspberry 4
Replies: 2
Views: 354

Running a 12v strobe light with a raspberry 4

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...
by do2651
Sat May 23, 2020 4:49 pm
Forum: Networking and servers
Topic: NAS for IP camera streams
Replies: 5
Views: 3046

Re: NAS for IP camera streams

How did this go? Did you ever test it out? I've been thinking of doing the same thing, but with 2 cameras.

Go to advanced search