54Views2Replies

Author Options:

why use a transistor when i can use the I/O pins of an ardunio Answered

i keep seeing explanations of the uses of transistors for electronic projects. but i dont understand why i would for example: use a npn as a switch for an LED when i could just program my ardunio to use to turn it on and off again? or use any micro controller for that matter.

thankyou in advance for your help im still new to eltronics

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
Downunder35m
Downunder35m

4 years ago

It is about power and protection.
Do you want to blow up a 20cent tansistor if something goes wrong or an "expensive" Arduino?
;)

0
JoshuaH171
JoshuaH171

Reply 4 years ago

aaahhhh interesting thank you. but how does the transistor protect my micro controller/arduino if it blows up? if a transistor fails doesn't the current keep on flowing back down to my micro controller/ardunio thank you for your help so far its awesome