Pages: [1]   Go Down
Author Topic: Using resistances  (Read 367 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I'm begginer in electronic and I connected a dc motor and a led to digital pins in PWM mode of the arduino board without a resistance (I connceted them directly), I want to know if do that is damaging for the arduino board or only is bad for the Led or the motor that use 5v, for that I think that the motor don't need a resistance. It's true?
Thanks.
Logged

Montreal
Offline Offline
Edison Member
*
Karma: 23
Posts: 2487
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You damaging arduino. Use resistors with leds, for motor you need transistor.
Logged

Offline Offline
Faraday Member
**
Karma: 60
Posts: 3242
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

.... for motor you need transistor.

And a diode to take care of the back emf when the motor stops, as explained here.

Logged

Retired from Arduino.
PMs are set to ignore all.

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I'm begginer in electronic and I connected a dc motor and a led to digital pins in PWM mode of the arduino board without a resistance (I connceted them directly), I want to know if do that is damaging for the arduino board or only is bad for the Led or the motor that use 5v, for that I think that the motor don't need a resistance. It's true?
Thanks.

See here: http://www.arduino.cc/playground/Main/InterfacingWithHardware#Physical_Mechanical
Logged

I yield() for co-routines.

Pages: [1]   Go Up
Jump to: