32 button box from pro micro to Arduino micro

Hello everyone,

Working on 32 function button box. It calls for a pro micro. I could not get sketch to load.

I ordered and received Arduino micro.

How to do I wire a project that used a pro micro to a micro?

The labels for the pins are different.

Pro micro - pins

top row of pins - raw, gnd, rst, vcc, a3, a2, a1, a0, 15, 14, 16,10
bottom row of pins - tx,rx,gnd, gnd, 2,3,4,5,6,7,8,9

Micro - pins

top row of pins - 12~ , 11~, 10~,9~,8,7,6~,5~.4~,3,2,gnd,rs,rx,tx,ss,mo
bottom row of pins - ~13,3v,REF,A0,A1,A2,A3,A4,A5, unmarked, 5V,RS, GND, VI, MI,SCR

Hardware list
Arduino micro
10 - momentary switches
2 - 2 way toggle switches
4 - 3 way toggle switches
4 - rotary encoders

Some of the pin descriptions match. Some do not.

I searched the data sheet for the pro micro
Digital i/o pins - 12
Analogue input pins - 4

I searched the data sheet for the Arduino micro
Digital i/0 pins - 20
analogue inputs - 12

It should be able to work.

So questions are:

~ does that mean both digital and analogue inputs can be used on this pin? Is 4 on a pro micro the same as ~4 on micro?

There are no equivalent pins descriptions for

RAW, RST, VCC, 15,14,16

Thanks in advance for any help?

A Pro Micro has 8 fewer I/O. Your application appears to use every pin on the Micro. That leaves you 8 I/O pins short.

Why do you think it will work?

WattsThat:
A Pro Micro has 8 fewer I/O. Your application appears to use every pin on the Micro. That leaves you 8 I/O pins short.

Why do you think it will work?

I think that OP wants to go the other way :wink:

@OP

All IO pins on the Arduino Micro can be used as digital IO. The ~ indicates that those pins are PWM capable; not something to worry about if you only use it as digital inputs.

RAW (ProMicro) and Vin (Micro) serve the same purpose.
RST (ProMicro) and reset (Micro) serve the same purpose.
Vcc (ProMicro) and 5V (Micro) serve the same purpose.
14, 15 and 16 (ProMicro) are the SPI pins (and are available on the Micro as MISO, SCLK and MOSI).

See the images in these links:
https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/hardware-overview-pro-micro

Why not do it with I2C, two SparkFun 16 Output I/O Expander Breakout - SX1509, this would give you 32 inputs. This solution only requires 2 pins on your micro. SparkFun even has a library for it. Have Fun and let us know how you did.

sterretje:
I think that OP wants to go the other way :wink:

Yeah, duh, I added when I should have subtracted. Names that is. Pro. No pro. No bueno. Just love the name play. It was much easier with names like Uno, Duemilanove and Leonardo.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.