Pages: [1]   Go Down
Author Topic: Advice on my first Arduino project  (Read 249 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, for a project I am trying to use a computer program I wrote to control 10 solenoids. A link to the type of solenoid is listed below. I figured the best way to do this would be to use the ATMEGA8U2 Arduino board and control it via the USB port. I have no experience with Arduino and very little hardware experience in general. The issue I am running to in this planning stage is powering the solenoids. Unfortunately the solenoids draw significantly more milliamps than the suggested maximum output of the pins on the Arduino. So, I am guessing that I will have to power them with an external 5v power supply. From what I gather this means that I need to use a transistor for each solenoid and set it up like this:
1. Hook the external power to the solenoid
2. Hook the ground of the solenoid to the collector of the transistor.
3. Hook an output pin from the Arduino to the base of the transistor.
4. Hook the emitter of the transistor to ground.

Am I super confused or is this the way to do it? I am guessing we I will also want a diode between the solenoid and the collector of the transistor, correct?

My supplies:
The Arduino:
10 of these solenoids:
10 of these transistors:, is this a good transistor to use or should I be looking for something else?

Does this list look okay?

On related note, how does a solenoid work? I understand it pushes or pulls, but do I have to reverse the motion or does it spring back after the current is turned off?

Any input would be really appreciated.

EDIT: I just noticed I posted this in the wrong forum (curse multiple tabs...). Could I mod please move this to the the "Project Guidance" forum? Thanks.
« Last Edit: March 07, 2013, 02:49:43 am by Exomorphic » Logged

Global Moderator
Offline Offline
Shannon Member
Karma: 210
Posts: 13036
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could I mod please move this to the the "Project Guidance" forum?

Done.  Report to moderator is a good way to get our attention.  It's in the lower-right corner of each post.

Offline Offline
Sr. Member
Karma: 6
Posts: 429
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The type of solenoid you linked to pulls in when power is applied and springs back when power is removed, simple on/off operation.

Pages: [1]   Go Up
Jump to: