Pages: [1] 2   Go Down
Author Topic: Control when current can flow  (Read 2737 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
oh H4x!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to have my Arduino control when a device can receive current from a voltage source. So basically what I am envisioning is the device being hooked up to a voltage source other than the Arduino, with a "stopper" between the voltage source and the device. The stopper will be controlled by the Arduino, to allow the current to flow on command. So is there something feasible. I was thinking about a voltage regulator, but I'm not to sure.

Thanks
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 63
Posts: 6049
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How much current are you trying to stop?  Better yet, why are you trying to do this?

A voltage regulator is just that, a regulator.  (Or perhaps you found one that has a on/off control?)  A simple transistor is an option.  It can be used as a solid-state switch.  Again, it depends on how much current you are talking about.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Florida
Offline Offline
Sr. Member
****
Karma: 4
Posts: 431
hookedup!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This is how I understand it - when the gods / hero members arrive at the new forum, they may have other input.

For DC current - a transistor.
For AC current - a relay.

If you are hooking up a a motor, you need to be careful and use diodes to keep the motor from mule kicking your arduino.

Connect the grounds together when using external DC power sources (hence the name common).

Have fun
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
oh H4x!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using it to control 10 led's for a combined .17A.
Logged

Brisbane, Australia
Offline Offline
Newbie
*
Karma: 3
Posts: 35
B.E.E. / B.Inf.Tech.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I would suggest a simple transistor used as a switch. The arduino would control the gate (or base depending whether you use a MOSFET or BJT).
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 18
Posts: 1627
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Like this:



Though I think we need to know a little more about your LED STRIP.
« Last Edit: January 26, 2011, 12:30:53 pm by pwillard » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
oh H4x!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the diagram. I worked on my own schematic using eagle. The file is public on my mobileme account https://files.me.com/john_rickman/5zq1om. It would be nice if it can be checked for correctness.

Thanks!
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 63
Posts: 6049
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That's not in your Public folder (or your Public folder has a password.)

Also more people can look at it if you distribute it as a PDF or Image (like JPG or PNG.)  Not everyone runs or has Eagle installed.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
oh H4x!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry I forgot I protected it, the password is arduino for those of you that have eagle.

Here is a png of the same thing https://files.me.com/john_rickman/sqlspe also with password arduino
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31390
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry your diagram is totally wrong. Each LED needs it's own resistor, then need to be in the collector to positave, the base needs to be connected to the arduino through a resistor and the emitter should be at ground.
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 18
Posts: 1627
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm with mike.   ... and I also don't know what that transistor is doing in your diagram.  Is that something you bought or something you are building?
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
oh H4x!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is the modified schematic https://files.me.com/john_rickman/kmmc6v password arduino, the transistor is there to act as a switch.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31390
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Better but still not right. The arrow on the transistor is pointing in the wrong direction you need an NPN transistor here not a PNP as you have drawn. The emitter should be connected to ground not +5V. The base should be connected to a resistor with the other end to the arduino.
Logged

Cumming, GA
Offline Offline
Edison Member
*
Karma: 18
Posts: 1627
Ultimate DIY: Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

 I updated my drawing so you can see what we are talking about   The only difference is that you should be using parallel LED's and resistors.  I am now assuming that you are not very well acquainted with schematic symbols... but we are being "particular"  or "picky" because it is the language we need to speak to pass our ideas and solutions around... so we need to get it right.   This is us helping you get it right.

Parts of a Transistor
E = EMITTER
B = BASE
C = COLLECTOR


« Last Edit: January 26, 2011, 05:54:34 pm by pwillard » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 117
oh H4x!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, I think I fixed the design. https://files.me.com/john_rickman/kmmc6v password arduino.
Logged

Pages: [1] 2   Go Up
Jump to: