A question about pin current.

Status
Not open for further replies.

jim lee

Well-known member
Can I run one of these from the digital pins of my Teensy 3.2?
Little vibrator

I was thinking the at 3.2V

Voltage: 2V - 5V
5V current draw: 100mA,
4V current draw: 80mA,
3V current draw: 60mA,
2V current draw: 40mA

Thanks!

-jim lee
 
definately not, you should be running under 20mA for mcu pins, and you need a diode protection with npn/n-mosfet for that
 
You're definitely going to need to use a transistor. The PN2222 transistor Adafruit recommends is a good choice. A 2N3904 should also work.

USE THE CLAMPING DIODE, as Adafruit shows in their tutorial. If you omit this diode, energy stored in the magnetic field inside the motor can cause a high voltage spike. This spike can destroy the transistor and maybe even your Teensy. Damage to your PC is less likely, but don't risk it. Make sure you use that diode and double check that the diode really is connected properly before you apply power.
 
Glad I asked.

The maximum pin current can be found in the processor's data sheet, and using a transistor to switch higher currents and using a clamping diode when driving inductive loads are common things for hobby electronicians... In France in the eighties, that was 9th grade stuff.
 
Status
Not open for further replies.
Back
Top