nombre de connection maximun - maximum number of items

Bonjour,
Je voudrais savoir le nombre maximal d'objet que je peux connecter a ma carte arduino (led, pompe ... ) Je pensait avoir environs environ 12 objets + 24 leds en tout a relier a ma carte, cela est possible ? si oui comment ?

Hello,
I want to know the maximum number of items that I can connect to my Arduino board (led, pump ...) I thought he had about 12 objects around + 24 LEDs in everything connected to my map, it is possible? If yes, how ?

The Arduino (UNO or Nano) has 20 available digital pins, but pins 0 and 1 are reserved for the serial interface.

You can directly control - or sense - a total of 18 individual pins, but if you want to control larger numbers, you use shift registers or I2C expanders to increase this number.

Note that in general, while you can control things from Arduino pins, you can not power them from the pins - or the internal regulator - apart from a few indicator LEDs, so you must provide a control device - transistor, FET or IC - to operate each motor, pump or such.

OK but do you think it is possible to control with my arduino 24 thinks ? there are
-12 led red and green

  • 8 pumps
  • 2 motors
  • 2 color capteur
    I dont want to control the power of the pumps just open and close the corrent

Bentibi:
-12 led red and green

Use two shift registers in a chain, requires 3 pins to control. Preferably TPIC6B595s which can sink a lot of current.

Bentibi:

  • 8 pumps

Require a relay board, preferably with opto-isolators. 8-way boards available from eBay or other sources. Require a separate power supply for the relays and some care with connections - see other explanations here (use search for "relay board"). These can also be controlled by shift registers.

Bentibi:

  • 2 motors

Require a relay board, preferably with opto-isolators.

Bentibi:

  • 2 color capteur

I gather these interface directly with the Arduino, but depends on their specification.