conecting to diode - check state
Moderators: grovkillen, Stuntteam, TD-er
conecting to diode - check state
Hi,I would like to check the status LEDs on the "other system" (common ground) when it is turned on and when it is turned off. How to connect and configure?
Voltage when it is switched on = 1,74 V
Voltage when it is switched off = -0,60V (meter error?)
I would like to plug in to GPIO09 or GPIO10. Eventually you to connect to the GPIO TX or RX (change the function gpio), "schema other system", marked in red LED:
Voltage when it is switched on = 1,74 V
Voltage when it is switched off = -0,60V (meter error?)
I would like to plug in to GPIO09 or GPIO10. Eventually you to connect to the GPIO TX or RX (change the function gpio), "schema other system", marked in red LED:
Re: conecting to diode - check state
Problem solved i use ADC.
Re: conecting to diode - check state
if i may suggest anyways....
Replace the LED with an optocoupler.
It separates the ESP from your circuit reliably and can be read with a standard GPIO input.
Regards
Shardan
Replace the LED with an optocoupler.
It separates the ESP from your circuit reliably and can be read with a standard GPIO input.
Regards
Shardan
Regards
Shardan
Shardan
Re: conecting to diode - check state
... or use the signal at the upper end of R736 (via voltage divider if >3.3V).
Re: conecting to diode - check state
Thanks for the response,
I decided to leave on the ADC, I did not use it for anything, and here it works fine (for 1,74V shows 1024):
I decided to leave on the ADC, I did not use it for anything, and here it works fine (for 1,74V shows 1024):
Re: conecting to diode - check state
Are you aware that ADC is designed for 1V max?
Re: conecting to diode - check state
Gpio's are 3.3V, ADC isn't. Google those abreviations and read the datasheet.
Inputs are high impedance - asking for current is the wrong question.
Resistors:
https://www.google.de/search?q=voltage+ ... calculator
Inputs are high impedance - asking for current is the wrong question.
Resistors:
https://www.google.de/search?q=voltage+ ... calculator
Re: conecting to diode - check state
Can I ask for an example of an optocoupler that would be suitable for use in this case? Is the output needed for a control transistor or can I directly connect to the gpio through 3.3V?
The LED is not removed.
Re: conecting to diode - check state
I assume a standardopto coupler as the 817 types should do (EL-817, LTV-817).
I've suggested a similiar circuit for another purpose here in the forum:
You may try to connect the Optocoupler's LED in parallel to the existing one, but that might not work depending on the different paramters of the two LEDs.
If you don't want to remove the existing LED you can do this:
Use a resistor (330 ... 680 Ohm) and connect it from the Out-pin 5/R736 / Collector of T704 connection point to the LED of the opto coupler pin1. Connect the pin 2 from the opto coupler to ground of the circuit.
The output side can be connected directly to the GPIO pin, a pullup resistor (4,7KOhm) is connected from the GPIO to 3,3V (NOT 5V!!!).
Shardan
Regards
Shardan
Shardan
Re: conecting to diode - check state
It works (on GPIO 3), thank you
Who is online
Users browsing this forum: No registered users and 41 guests