How To Add Led Indicator And Avoid Voltage Drop - Arduino Forum
Maybe your like
I believe my question would be stupid to those who understand electronics better then me, but really I couldn't find answer myself.
I successfully use L293D Motor Driver Dual H-Bridge Motor Driver for DC or Steppers - 600mA - L293D : ID 807 : $8.95 : Adafruit Industries, Unique & fun DIY electronics and kits to control DC motors as demonstrated on this schema: and I want to add LED indicators connected to INPUT pin and GND, surely I connect LED with a series resistor which leads to voltage drop so basically arduino sends to driver 3 volts instead of 5.
So my question how I can safely add LED indicator to see which input is triggered but avoid voltage drop.
Thank you.
system May 11, 2014, 8:41pm 2Your input pin will still see 5v as the potential difference between the pin and the input pin is 5v irrespective of what goes on in between the arduino and the input pin.
MarkT May 11, 2014, 8:46pm 3Without the series resistor you would overload the pin and pull it well below 5V. The series resistor takes up the difference between led voltage and 5V and so long as you don't pull too much current from the pin it will be fine.
Your circuit shows the motor power going through the voltage regulator - that's not a good idea - have the motor supply direct from the battery.
system May 11, 2014, 8:50pm 4calvingloster: Your input pin will still see 5v as the potential difference between the pin and the input pin is 5v irrespective of what goes on in between the arduino and the input pin.
So you say that even if I put a led with resistor the pin on l293d driver will see incoming voltage as 5 volts? But when I test it with multimeter it shows me that voltages is ~3.2V
system May 11, 2014, 9:06pm 5MarkT: Without the series resistor you would overload the pin and pull it well below 5V. The series resistor takes up the difference between led voltage and 5V and so long as you don't pull too much current from the pin it will be fine.
Your circuit shows the motor power going through the voltage regulator - that's not a good idea - have the motor supply direct from the battery.
yeh, but how can I achieve my goal, maybe there is some other way to connect led indicator so original destination still receives 5V and LED is regulated with a resistor?
Zapro May 11, 2014, 11:33pm 6Look at this pic. You can place the LED in two ways. One way, it lights up when the output of the Arduino is "High" and the other, it will light when it is "Low"
// Per.
Screen Shot 2014-05-12 at 01.35.04.png857×1139 7.61 KB
Zapro: Look at this pic. You can place the LED in two ways. One way, it lights up when the output of the Arduino is "High" and the other, it will light when it is "Low"
// Per.
I want to trigger LED when voltage is HIGH and this is exactly what I already tried, but connecting LED with series resistor like this reduces input voltage to driver input pin from 5V to 3V because of the series resistor, so I feel that this is not the best way to approach.
Or you trying to say that it doesn't matter that I have voltage drop? Sorry I still confused about this...
Zapro May 12, 2014, 9:39am 8endryha: I want to trigger LED when voltage is HIGH and this is exactly what I already tried, but connecting LED with series resistor like this reduces input voltage to driver input pin from 5V to 3V because of the series resistor, so I feel that this is not the best way to approach.
Or you trying to say that it doesn't matter that I have voltage drop? Sorry I still confused about this...
If your output signal drop to 3 volts, there are 2 possibilities. Either you are using too low a resistance or no at all, and the LED "shunts" the voltage heavily, which will eventually break your Arduino. Otherwise, you have the resistor placed incorrectly. Look at my drawing attached.
// Per.
Screen Shot 2014-05-12 at 11.38.50.png1312×1147 14.7 KB
The resistor should be 150 ohms or greater. Even if the voltage drops a little to say 4V the L293 will still be happy.
If the L293 is damaged it could be pulling its input pin low, but that's easy to check since the presence of the LED wouldn't affect this.
system May 12, 2014, 10:35am 10Ok, thank you all for explanations I will verify one more time and let you know.
Related topics
| Topic | Replies | Views | Activity |
|---|---|---|---|
| [Solved] Easy Question: Output voltage on Leonardo IDE 1.x | 5 | 1635 | May 5, 2021 |
| Driving indicator LEDs safely General Electronics | 16 | 166 | September 30, 2025 |
| Resistance required with L293D? General Electronics | 6 | 4437 | May 6, 2021 |
| Voltage measuring over a led Programming | 21 | 1414 | May 5, 2021 |
| Motor drive L298N Motors, Mechanics, Power and CNC | 7 | 2196 | December 6, 2022 |
Tag » Arduino Led Voltage Drop
-
Voltage Drop On The LED - LEDs And Multiplexing - Arduino Forum
-
Understanding Voltage Drop And LEDs - Arduino Forum
-
LEDs In Series, Resistor And Voltage Drops - Arduino Forum
-
Finding A Forward Voltage Drop Across An LED - Arduino Forum
-
Forward Voltage Vs. Voltage Drop - General Electronics
-
RGB LED Voltage Drop - LEDs And Multiplexing - Arduino Forum
-
Voltage Drop Problem(trying To Power On A WS2812 Led Strip)
-
Why Do My LED's Dim And Voltage Drop When Flashing At High Speed?
-
Voltage Drop Of Arduino's Power Regulator - General Electronics
-
How Many Volts Can A Typical LED Take? - Frequently-Asked Questions
-
Calculate LED Voltage Drop - General Electronics - Arduino Forum
-
Measuring The Forward Voltage Drop Of LED - Arduino Forum
-
LED Current Draw - General Electronics - Arduino Forum
-
Current Flow & Voltage Drops In Series & Parallel - Arduino Forum