Can I have 14 digital outputs on the Nano?

Can I have 14 digital outputs on the Nano? I suppose I can (there are pins D0 to D13) but I notice that RX and TX are shared on the first digital pins. As far as I undestand.

But in practice how does that work? If I use TX and RX to load the program, then set them up for digital output, how can I load a new program on the board?

I must be missing something...

You are. The A* pins can be used as digital pins using the normal functions

1 Like

Aha, thanks for that. Of course. So I can use A0 and A1 as digital outputs, then D2...D13 as normal?

Yes

3 Likes

For most Arduino, that is true. Classic Nano V3 is one of the few exceptions. A0 to A5 can be used as regular digital pins, but not A6 or A7. Those can only be used as analog inputs.

2 Likes

Hi, if you want to increase the output of your arduino you cha use a simple shift register like the 74HC595, with 3 pins you can control from serial to parallel 8 output, you can also connect the data line of the shift registers in series so with 3 pins you can control 8 or 16 or 24 or 32 and more output, the only problem is that adding more output in series the sped decrease, if you want more speed you can use a I2C to parallel IC

Thanks. Yes, I know about those chips, but I wanted to avoid that complexity. It seems what is already available to me is enough, luckily.

1 Like

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