Pages: [1]   Go Down
Author Topic: Arduino Pro Mini 5V Question  (Read 286 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
*****
Karma: 511
Posts: 19358
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use them as analog (ADC) or digital inputs, or digital outputs.
Logged

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

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
*****
Karma: 511
Posts: 19358
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You have 6 x PWM outputs (2 for each of the 3 timers). In addition to 9,10,11 you have 3,5,6.
Logged

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

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
*****
Karma: 511
Posts: 19358
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Pages: [1]   Go Up
Jump to: