Dear All,
I have a dehumidifier (Delonghi DH300 P)
http://www.clubic.com/shopping-409870-3-delonghi-dh-300-p.html#443724that I want to automate and remote control. In particular, shut down at night because of the noise, and
at peek hours when electricity is much more expensive.
I first try with a remote controlled main plug, but it does not work because when turned on, the control board is off,
and the device does not start until you press the on button.
Same for the pump that is mandatory.
I thus decided to hack directly the board, and add an ESP8266 (or similar to it) for wifi control.
I have already dismounted the board, but before going further, I am searching here for advice.
I need essentially two things :
A) Act on the push buttons. The buttons are standard push button
https://www.ebay.com/itm/100PCS-6x6x6-mm-Miniature-Micro-Momentary-Tactile-Tact-Touch-Push-Button-Switch/201538499841?epid=633717124&hash=item2eeca17501:g:hxUAAOSwEOpaA67FI need, for two of them ( ON/OFF and pump) to simulate the switch from the ESP8266.
The option I think of is to use a digital switch as the DG412 from intersil
https://www.intersil.com/content/dam/Intersil/documents/dg41/dg411-12-13.pdf which I will
put in parallel to the actual button switch.
B) Read the led status. For this, I do not see a very obvious solution.
The anode of the leds is always 5V.
When its on, the cathode turn to 3V, and is 5V otherwise.
The ESP8266 I use operates at 3.3V, so I need 3 V logic. I am thinking of using a LM339 quad comparator
as in the attached schematics and hook the output of the comparator directly to the IC IO pin.
The reference voltage (4V) is provided by a resistor divider (40k,10k).
What do you think ?
Will this work ?
Is it overkill ?
Thanks
PS : I will post here the evolution of this project as it can be used for the automation of many devices. The IOT interface will be made using Blynk (
https://www.blynk.cc/).