Controlling a solenoid (TIP120 Arduino)

From bildr

Jump to: navigation, search

This Module is part of the grouping: Controlling a solenoid

12 or 24V Solenoid controlled by an arduino.

Because an Arduino can only output 3.3 or 5v, a transistor must be used when controlling a 12V or 24V solenoid. The TIP120 Darlington Transistor (available at many places including Radio Shack) will allow the Arduino to control the device quite easily.

The transistor acts as a switch, and when the Base (B) on the transistor is held low, the Collector is disconnected from the Emitter. When the Base goes high, EG, when the arduino sends a 5v signal to the Base, the transistor will connect the Collector and Emitter together, closing the circuit and , powering the solenoid.

Do not connect positive ends of the 12/24V supply to the arduino, as this could easily destroy the arduino.


This page is a Module on bildr. Modules are how-to pages on the creation of objects designed to be expanded upon.

NOTE: All information contained within this article is pure opinion. Although this article is intended to help people, it may contain faulty or misleading information. This article is not to be considered professional opinion or advice, and is in no way a replacement for reading all safety/instructional documentation. Always remember to protect yourself when handling/using hazardous materials, as well as test new techniques before using them on projects/work intended to be handed in or used.

bildr and its contributers take NO responsibility for the information contained within.