How to connect several modules to arduino

Hello
I want to connect for example ultrasonic sensor, led matrix, 4digit7seg display and servo to arduino uno. But pins in the board are lacking. What can I do whith it?
And do I need some addon boards either I just can replace arduino uno board whith smth another like esp32 mb?

Thanks so far)

I moved your topic to an appropriate forum category @robot0889.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

2 Likes

The analog inputs are also digital GPIO pins. So, not counting the serial pins, there are 18 digital GPIO pins available on an Uno. How many do you need?

Do not power the servo with the Uno.

2 Likes

let's say 16 for led matrix, 8 for 4digit7seg display, mb lcd display too, this is plus 2 pins, ultrasonic + 2 pins, if not count servo than maybe that's all. But let's say further I may do project in which will be used several matrixes, then how to deal?
I thought about idea to connect arduino uno board to nano somehow?

You could get a mega.
Look up Arduino mega?
It has like 50+ digital pins IIRC.

1 Like

+1 on using a Mega.

If you want to stick with Uno, I think that it is easier to add digital GPIO pins using I2C or SPI IO expanders or shift registers than to use more Arduino boards and deal with the communication hassles.

I2C expanders like the MCP23008 (8bit) or MCP23018 (16bit) or PCF8574

SPI IO expanders like the MCP23S08 or MCP23S18.

Shift registers like 74HC595 (parallel in, serial out, 8 bit), 74HC165 (parallel in, serial out, 8 bit), 74HC164 (serial in, parallel out, 8 bit).

2 Likes

Thanks for suggestion
I'll study this theme

If you do decide on using a mega, don't overlook these cute items

Mini Mega


a7

1 Like

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