Hello everyone,
I am working on a project that its goal is to control the air conditioner in my house from a web page.
This is achieved by connecting an esp8266 (I am using the sparkfun thing dev board) to the old board on the wall that "controls" my air conditioner.

The old contol board (I will explain later why I ejected two of the LED's)
This board works in a way that all of the componnents are connected to one of the wires inside the cable and to a terminal socket which allowes external connections - this terminal is how I will connect the esp8266 to the board.
The communication between the esp to the control board will be with 4 lines - one to control the button input, and three to "read" wheather one or more of the leds is on or off.
the problem Im facing is reading those leds - which I will explain now:
All of the LED's on this board are connected like in this schematic (each to a different terminal):
So as it looks, the LED is on when the line connected to its cathode is LOW, and off when its HIGH. but things get strange when I test this with a multimeter:
measuring the voltage between the LED terminal and ground will return around 3.3V either if the LED is on or off.

That means the esp8266 can't tell if the LED is on or off! however, I checked what happens if I eject the LED out of it place and the result is 0V if it is "off" and 0.3V if its "on", however, this small voltage is not readable by the esp which is operated on 3.3V.
Also if I check the voltage between the Vcc ('O' terminal) and an ejected LED terminal the result is 2.2V when LED is on and 0V when its off. but this is also too low to be considered a "1" by the esp, and also as far as I know a digital signal is compared to ground and not to Vcc.
So my question is: how can I Amplify this signal to 3.3V? I have looked to transistors but I don't understand all of these formulas.
I tried to be as clear as I can but I don't fully understand the problem myself, so if you can guide me through it I'll be very glad.
I am working on a project that its goal is to control the air conditioner in my house from a web page.
This is achieved by connecting an esp8266 (I am using the sparkfun thing dev board) to the old board on the wall that "controls" my air conditioner.

The old contol board (I will explain later why I ejected two of the LED's)
This board works in a way that all of the componnents are connected to one of the wires inside the cable and to a terminal socket which allowes external connections - this terminal is how I will connect the esp8266 to the board.
The communication between the esp to the control board will be with 4 lines - one to control the button input, and three to "read" wheather one or more of the leds is on or off.
the problem Im facing is reading those leds - which I will explain now:
All of the LED's on this board are connected like in this schematic (each to a different terminal):
So as it looks, the LED is on when the line connected to its cathode is LOW, and off when its HIGH. but things get strange when I test this with a multimeter:
measuring the voltage between the LED terminal and ground will return around 3.3V either if the LED is on or off.

That means the esp8266 can't tell if the LED is on or off! however, I checked what happens if I eject the LED out of it place and the result is 0V if it is "off" and 0.3V if its "on", however, this small voltage is not readable by the esp which is operated on 3.3V.
Also if I check the voltage between the Vcc ('O' terminal) and an ejected LED terminal the result is 2.2V when LED is on and 0V when its off. but this is also too low to be considered a "1" by the esp, and also as far as I know a digital signal is compared to ground and not to Vcc.
So my question is: how can I Amplify this signal to 3.3V? I have looked to transistors but I don't understand all of these formulas.
I tried to be as clear as I can but I don't fully understand the problem myself, so if you can guide me through it I'll be very glad.
Attachments
-
44 KB Views: 3



