OT but controls anyway

gas

Member
Join Date
Nov 2005
Location
Erie, Pa
Posts
531
Seems that I can't buy this so I'll make one.
I want an outside light controller that will turn on the lights, 10a probably, then an off delay timer that will turn them off after 6 or 7 hours. The timer would reset in the morning when the light sensor cycled at daylight.
Any ideas other than a industrial control box in the garage with a relay and octal base timer?
 
Thanks Ken but they have to go off before midnight, condo rules.
Also, we live along Lake Erie so the house gets covered with bugs in the summer. The less light the better.
 
You should be able to find an off the shelf astronomical time clock controller that will do this for you. It will contain a table of sunset times and automatically switch the lights for your.

However, if you want to roll your own, I posted an example of how to do this on a Micrologix in this thread back in '07: http://www.plctalk.net/qanda/showpost.php?p=237875&postcount=19

Basically you need to convert the current date into an ordinal date or pseudo julian date (day of the year) and then use that to look up the sunset time. The sample program turn lights on ten minutes after sunset and back on at sunrise. You could easily adapt it to turn off at midnight. You may need to update the sunset time tables for your area, you can find these online.

Search the forum for the keyword sunset. This has been discussed in a few threads.

If this is a DIY project (Christmas lights?), you could easily convert the code above to run on an Arduino and have an inexpensive solution.
 
Last edited:
Some years back I had a customer looking for variable timing for a security gate. I bought a astronomical relay (din rail mount) from a company called Theben out of Europe. Don't remember the price but the programming software (free) was very slick . You could program in an entire years worth of special events. Such as holidays, etc.
 

Similar Topics

I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
163
I was hunting for some software to support an old Beijer E1070 HMI - contacted Controls and Drives who could not have been more helpful - sent me...
Replies
0
Views
78
Hello Folks, I'm an instructor at a community college and have greatly valued the advice I've received from this group in the past. I find...
Replies
21
Views
1,137
Out of interest, I'd like some thoughts on what would be considered best practice with regards to a 2-position turntable control scheme (see...
Replies
17
Views
1,230
Back
Top Bottom