0
Offline
Full Member
Karma: 0
Posts: 116
oh H4x!
|
 |
« on: January 25, 2011, 11:30:30 pm » |
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
Faraday Member
Karma: 42
Posts: 5244
CMiYC
|
 |
« Reply #1 on: January 25, 2011, 11:34:22 pm » |
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
|
|
|
|
|
Florida
Offline
Sr. Member
Karma: 3
Posts: 431
hookedup!
|
 |
« Reply #2 on: January 25, 2011, 11:36:01 pm » |
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
Full Member
Karma: 0
Posts: 116
oh H4x!
|
 |
« Reply #3 on: January 26, 2011, 12:11:04 am » |
I am using it to control 10 led's for a combined .17A.
|
|
|
|
|
Logged
|
|
|
|
|
Brisbane, Australia
Offline
Newbie
Karma: 3
Posts: 35
B.E.E. / B.Inf.Tech.
|
 |
« Reply #4 on: January 26, 2011, 05:36:53 am » |
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
|
|
|
|
|
Port Angeles, Wa
Online
Edison Member
Karma: 13
Posts: 1411
Ultimate DIY: Arduino
|
 |
« Reply #5 on: January 26, 2011, 12:28:57 pm » |
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
Full Member
Karma: 0
Posts: 116
oh H4x!
|
 |
« Reply #6 on: January 26, 2011, 04:09:15 pm » |
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
Faraday Member
Karma: 42
Posts: 5244
CMiYC
|
 |
« Reply #7 on: January 26, 2011, 04:11:19 pm » |
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
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 116
oh H4x!
|
 |
« Reply #8 on: January 26, 2011, 04:18:33 pm » |
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
Brattain Member
Karma: 299
Posts: 26030
Solder is electric glue
|
 |
« Reply #9 on: January 26, 2011, 04:39:33 pm » |
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
|
|
|
|
|
Port Angeles, Wa
Online
Edison Member
Karma: 13
Posts: 1411
Ultimate DIY: Arduino
|
 |
« Reply #10 on: January 26, 2011, 04:53:45 pm » |
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
Full Member
Karma: 0
Posts: 116
oh H4x!
|
 |
« Reply #11 on: January 26, 2011, 05:03:46 pm » |
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
Brattain Member
Karma: 299
Posts: 26030
Solder is electric glue
|
 |
« Reply #12 on: January 26, 2011, 05:16:51 pm » |
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
|
|
|
|
|
Port Angeles, Wa
Online
Edison Member
Karma: 13
Posts: 1411
Ultimate DIY: Arduino
|
 |
« Reply #13 on: January 26, 2011, 05:47:18 pm » |
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
|
|
|
|
|
|
|
|