What would be ways to determine with example with Arduino, is current 220V AC socket on or off state? Any other than using relay (noisy) or current sensing sensor (too big)?
Asked
Active
Viewed 1.3k times
6
2 Answers
3
Use any optocoupler in parallel with socket (of course, current-limiting resistor and reverse-polarity protection is necessary), and RC-filter on secondary side.
user2053898
- 141
- 2
1
You could simply add a serial usb charger.
Or you could use a hall effect current sensor like ACS712 (small).
If it is to know if a light is on, maybe a photoresistor on your arduino.
hanoo
- 117
- 3
6 x 4.9 x 1.75 mm, that sounds reasonably small. However, a current sensor will only tell you when current is flowing, not when the socket is on but without any current being drawn. Which of these statuses do you need to detect? – Anindo Ghosh Aug 22 '13 at 20:41It may need Calibration by checking the difference between the on and off state/what the background levels are, but I don't see why it can't work.
– Luke Sep 26 '13 at 13:50