The bear
Senior Member
Hi Everyone,
Help required please.
Object: An indoor automatic light timer. Using 14M2 driving a relay.
Light comes on at dusk/twilight via LDR & ADC, I'm OK with that.
What I would like to do, is have a potentiometer (Pot) to control the time it stays on, once switched, e.g. at dusk. the time period would need to be seven hours minimum, that would be long enough.
The seven hour period needs to be broken down into: 4 hr, 3 hr, 2 hr, 1 hr 30 min & 15 min.
I know that is more than seven hours, but by selecting certain times, all events will be covered, e.g. lengthening and shortening hours of daylight.
I have constructed one model, it uses six mini switches to select the time period/s.
This is done by reading the ADC from the LDR 'AND' switched output from 14M2,
Ideally if the Pot. ADC could be converted into time (Hours) I could
display this on the OLED. Time calc. is not critical +/- 5 mins.
I have searched the forum, but not found anything that I could modify to suit.
Help required please.
Object: An indoor automatic light timer. Using 14M2 driving a relay.
Light comes on at dusk/twilight via LDR & ADC, I'm OK with that.
What I would like to do, is have a potentiometer (Pot) to control the time it stays on, once switched, e.g. at dusk. the time period would need to be seven hours minimum, that would be long enough.
The seven hour period needs to be broken down into: 4 hr, 3 hr, 2 hr, 1 hr 30 min & 15 min.
I know that is more than seven hours, but by selecting certain times, all events will be covered, e.g. lengthening and shortening hours of daylight.
I have constructed one model, it uses six mini switches to select the time period/s.
This is done by reading the ADC from the LDR 'AND' switched output from 14M2,
Ideally if the Pot. ADC could be converted into time (Hours) I could
display this on the OLED. Time calc. is not critical +/- 5 mins.
I have searched the forum, but not found anything that I could modify to suit.