Maker Pro
Maker Pro

Help, Using Arduino to high current 12volts inputs and output

Keng

Apr 12, 2013
71
Joined
Apr 12, 2013
Messages
71
Hi guys, I just wondering if someone make it already, I am going to start using Arduino to my projects, but, I need that the Arduino read 12volts signals and the Arduino drive 12volts outputs, I have a circuit in mind, but I dont know if this exist already, if dosent exist yet can someone help me out?

Thanks in advantage...

Merry Christmas

Peace
 

Arouse1973

Adam
Dec 18, 2013
5,178
Joined
Dec 18, 2013
Messages
5,178
Hi Keng
It's not quite Christmas yet, but thanks. I don't think you can put 12Volts into the Arduino. You can obviously scale it down to say 5 Volts. And then work out your actual input voltage from that. And the arduino can't output 12 Volts either. But again you can scale this up to give your system a 12 Volts output.
Adam
 

Keng

Apr 12, 2013
71
Joined
Apr 12, 2013
Messages
71
Hi Keng
It's not quite Christmas yet, but thanks. I don't think you can put 12Volts into the Arduino. You can obviously scale it down to say 5 Volts. And then work out your actual input voltage from that. And the arduino can't output 12 Volts either. But again you can scale this up to give your system a 12 Volts output.
Adam


Hi, Thanks, this is the reason why I ask, I know that the Arduino can just handdle 5volts like Pic do, so, this is my question? How to do it. I have in mind make some kind of PCB with maybe solid relays or some Mosfet? And howwill be the best option to reduce the 12volts to 5volts to make the Arduino read the 12volts signals?

Thanks
 

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
For the inputs you could use a series resitor and an 5v Zener, the input would come from the junction of the R & Z.
For outputs use a mosfet with a logic gate input. The 2n7000 is usefull for low current level outputs, or if more than a few, the ULN2805..
M.
 

Keng

Apr 12, 2013
71
Joined
Apr 12, 2013
Messages
71
Hi Keng
It's not quite Christmas yet, but thanks. I don't think you can put 12Volts into the Arduino. You can obviously scale it down to say 5 Volts. And then work out your actual input voltage from that. And the arduino can't output 12 Volts either. But again you can scale this up to give your system a 12 Volts output.
Adam


Hi, Thanks, this is the reason because I ask, I know that the Arduino can just handdle 5volts like Pic, so, this is my question? How to do it. I have in mind make some kind of PCB with maybe solid relays or some Mosfet? And howwill be the best option to reduce the 12volts to 5volts to make the Arduino read the 12volts signals?

Thanks
For the inputs you could use a series resitor and an 5v Zener, the input would come from the junction of the R & Z.
For outputs use a mosfet with a logic gate input. The 2n7000 is usefull for low current level outputs, or if more than a few, the ULN2805..
M.


Thanks Minder, Can you please show me some diagram how to connect the resistor and the zener? Any 5volts zener will work? The input signal will be maybe 15volts at max, and I need to drive like 6 amp, I will like to use SMD components, any recomendation about a mosfet to drive at least 15volts and 6amp? I am using this projects in cars and motorbikes. Thanks again
 

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
The IRL630 is good for 6amps.
M.
 

Attachments

  • zener.jpg
    zener.jpg
    16.8 KB · Views: 134

Keng

Apr 12, 2013
71
Joined
Apr 12, 2013
Messages
71

Attachments

  • irl630.jpg
    irl630.jpg
    161 KB · Views: 135

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
Input is to Arduino , signal source is wherever 15v is comming from.
M.
 

Keng

Apr 12, 2013
71
Joined
Apr 12, 2013
Messages
71
Input is to Arduino , signal source is wherever 15v is comming from.
M.

Ok, thanks again, can I use SMD resistors like 1206 size or is better a bigger resistors size. power?
 

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
This gives an idea what to use in the base of the Mosfet.
See Q2 ignore the rest..
D2 R2 R4.
IR2110+block.png


M.
 

Keng

Apr 12, 2013
71
Joined
Apr 12, 2013
Messages
71
This gives an idea what to use in the base of the Mosfet.
See Q2 ignore the rest..
D2 R2 R4.
IR2110+block.png


M.

Minder, I just see that I need 15volts + from the Mosfet, I think that this will not work for me???
 

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
I using a μproc with a 5v out then a logic level mosfet is the easier choice.
M.
 
Top