Go Down

Topic: Can I program Arduino digital out pin to output a particular current? (Read 895 times) previous topic - next topic

psharma

I need a variable current output that is responding to sensor data and actuating some muscle wire. Can I get the digital out pin to output a range of currents according to incoming data? I want a range and not just HIGH and LOW.




retrolefty

An arduino output pin is a source or sink for current, but it can not directly control the amount of current, that is determined by the load resistance. A PWM output can approximate a variable voltage/current output but again the load resistance determines the maximum current that will flow when a 100% PWM output.

Lefty


Grumpy_Mike

Note that muscle wire takes a large amount of current, the arduino output can only supply 30mA safely, anything over 40mA damages it so you need transistors or FETs to boost the current.
You need filtered PWM to drive the FETs and as you are driving them proportionately they will get very hot as they burn up the power the muscle wire is not burning.
See:-
http://www.thebox.myzen.co.uk/Tutorial/PWM.html

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy