I'm tired of forgetting the wet laundry in the washing machine, so I decided to put an Arduino (or maybe just an esp8266) in it so it will be able to send a notification to my smartphone when the cycle is finished.
I want to use the "finished" LED on the machine as an indication, but I don't want to connect it to a light-sensor because I want everything to stay inside the machine and not change it's appearance.
My thought is to connect the Arduino in parallel to the LED and test the voltage, but before I go on to ruin my washing machine I just want to make sure:
-The ground leg of the LED goes to the Arduino's ground pin
-The positive leg of the LED goes to a pin on the Arduino
-Use DigitalRead() to see if it's high or low (assuming that the LED's voltage is 3-5V, and using a resistor otherwise)
Does that seems to be right?
While I'm messing around with the machine, I'd also like to be able to remotely activate it. So is it the same setup as the LED, this time with the machine's analog button, and DigitalWrite() instead of DigitalRead()?
Thanks for your input!