Basic question about GPIO pins on Nano

A basic question here but one I hope someone can help me with.

Are all the digital and analog GPIO pins on the board directly (or thereabouts) connected to the ATMega328P chip?

I've checked the datasheet and I've researched for quite a few hours now.

I know Raspberry Pi GPIOs are directly connected to the microprocessor chip but unable to find a clear answer for an Arduino Nano board.

I am assuming yes but looking for confirmation.

Check out the schematic;

See the links by 'Documentation'

1 Like

Hi, where else would it be connected? :slight_smile:
Just look at a pinout picture. The first number listed moving away from the board (in grey rhombus like thing) is the actual ATmega chip pin number.

1 Like

@srnet is right, it's better to look at the Schematics. Rereading your question made me realize, that you asked if they are connected directly. Basically yes, with a few exceptions.

1 Like

Thanks, I had looked at the schematics but here comes the next question. If there are 32 pins on chip, why are there only 30 GPIOs on the Nano board?

Thank you :slight_smile:

Well, the 328p does have at least two sets of power pins

1 Like

The processor has 32 pins is correct, but some are not all GPIO, some are used by the power pins etc. And not all GPIOs are available on the Nano pins (Oscillator for instnce).

And some of the 30 Nano pins are not GPIOS either ..........

Study the schematic ................

1 Like

Ok, yes.... :upside_down_face:

Obvious when you think about it!

Thanks

Thanks for your help

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