Yoshidk
Newbie level 6
Hello everyone
I have a circuit where my µC (ATmega16) triggers a transistor (ULN2001) to open for a LED
I know i need a resistor between the ATmega16 output and transistor base to limit the current, but i cant figure out which resistor value would be best?
I guess too low would waste power, and too high might kill the signal..
I made a simple drawing of the setup here:
Datasheets:
ATMega16:
http://www.datasheetcatalog.org/datasheet/atmel/2545S.pdf
ULN2001:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00001244.pdf
I have a circuit where my µC (ATmega16) triggers a transistor (ULN2001) to open for a LED
I know i need a resistor between the ATmega16 output and transistor base to limit the current, but i cant figure out which resistor value would be best?
I guess too low would waste power, and too high might kill the signal..
I made a simple drawing of the setup here:
Datasheets:
ATMega16:
http://www.datasheetcatalog.org/datasheet/atmel/2545S.pdf
ULN2001:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00001244.pdf
Last edited: