Go Down

Topic: Arduino Pro Mini 5V Question (Read 306 times) previous topic - next topic

newt0524

Hey all

Not sure of this is the correct forum for this question but couldn't think of a better one. 

Anyways, I don't really have a problem with a board but more a question. On the Pro Mini 5V board, it is listed with 6 analog inputs.  Can these analog inputs be used as outputs or strictly inputs? 

For this project, I have programmed on the Uno to control a series of RGB LED's which are using the analog pins (9,10,11) as outputs allowing me to adjust the voltage to each pin and customize the colours. If I use digital output I will be greatly restricted in the colour range I will be able to achieve yet I need to use the compact Pro Mini board to fit inside the object.

Any thoughts?

newt

Nick Gammon

You can use them as analog (ADC) or digital inputs, or digital outputs.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Nick Gammon

You have 6 x PWM outputs (2 for each of the 3 timers). In addition to 9,10,11 you have 3,5,6.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Nick Gammon

Strictly speaking "analog" output is not really analog, and is not related to the analog input function.

"Analog input" is really ADC (analog to digital conversion) and "analog output" is really PWM (pulse-width modulation) output.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Go Up