craigcurtin
Senior Member
Guys, We use Off peak electric here for our hot water. I want to know when the power comes on and goes off and use it to cycle a pump on and off on a timed basis.
I already have a 40x with RTC and 24LC256 up and running and have a 240v relay through an opto isolator board. All works fine.
I have been reading some of the threads re mains current sensing etc and not being an electronics hardware guy my eyes glaze over a little.
Anyway it struck me (and this must be too simple to be right), if i put a regulated wal wart (say 3V DC) onto the same main circuit and then hooked its +ve output into an input on the 40x, i should be able to sense when that goes high, once the mains turns on - am i missing something here or will this just let out the magic smoke of the 40x ?
regards
Craig
I already have a 40x with RTC and 24LC256 up and running and have a 240v relay through an opto isolator board. All works fine.
I have been reading some of the threads re mains current sensing etc and not being an electronics hardware guy my eyes glaze over a little.
Anyway it struck me (and this must be too simple to be right), if i put a regulated wal wart (say 3V DC) onto the same main circuit and then hooked its +ve output into an input on the 40x, i should be able to sense when that goes high, once the mains turns on - am i missing something here or will this just let out the magic smoke of the 40x ?
regards
Craig