RIDDICK:
u can use a nand schmitt trigger too...
X = ((HIGH NAND X) NAND HIGH)
F = ((T) NAND T)=F
T = ((F) NAND T)=T
Thanks I thought it should work but I will buy some straight triggers tomorrow.
RIDDICK:
a LDR sounds good too...
I will try this and see if this is better or not - I guess with a volage dividor and a schmitt trigger it would be good if it is fast enough.
RIDDICK:
i still think that the arduino pin has something like a schmitt trigger builtin...
No idea myself.
RIDDICK:
what does the scope say?
I will try tomorrow and post results here
RIDDICK:
did u try that debounce library? i guess those blinks r 30msec long...
even if u tell the debounce library to skip 40msec, u could detect >10Hz...
after 160secs u could have 1kWh (max)...
that limits ur load to 22.5kW (22 vacuum cleaners)...
No I did not since my code is using interrupts and the debounce is not.
RIDDICK:
do u know this site:
http://www.bwired.nl/Stroom.asp
http://webcache.googleusercontent.com/search?q=cache:Fp9kltwbJicJ:www.bwired.nl/Stroom.asp+&cd=1&hl=de&ct=clnk&gl=de
I have seen it years ago and was thinking about it a week or two back. Amazing what one can monitor but toilet flushes do not interest me.
Cheers
Thanks for your help
Chris