Single Input to trigger multiple Arduino Boards - How?

Hi All,

I have a program that i need to activate on separate boards (8 of them) at the same time. i was wondering if there is a way to connect a single button to activate all 8 at the same time?

Yes, there is. But why are you using 8 boards? Why could 1 board not be used?

@PaulRB 1 per lane for a swimming pool and too many outputs/inputs to use single board.

Incorrect!

Describe your project in more detail and the forum can suggest how this can be done with a single Arduino.

That's no reason to use multiple Arduinos. I/O ports can be easily extended - what is usually much more easy than using multiple Arduinos.

@PaulRB @MicroBahner I currently have 11 pins being used on an Uno and have a clock counting down per lane that needs to be set to different times per lane. rotary encoder inputs to control the clock setting and pressure sensor to determine if the swimmer leaves early, lights to indicate when to leave.

Im very basic level of coding and had help setting up single system and was just going to replicate the unit.

also only having single wire to a box at each block is better on pool deck than multiple wires running across pool deck.

even better would be if i could use an IR remote or another wireless device to activate all at the same time?

Ok then.

For a single button to work, all 8 Arduinos would have to share a common ground. If power is supplied from a singled low voltage PSU to all 8 Arduinos, they will already have a common ground, but if the Arduinos are independently powered, e.g. batteries, then a common ground would need to be wired up.

A single button can be connected to a pin on each Arduino, with the other button pin connected to the common ground. pinMode(pin, INPUT_PULLUP) can be used on each Arduino to prevent the input pins floating. An external pull-up resistor (e.g. 10K) might be more reliable, given the long wires, than relying on the internal pull-ups, so consider that if using the internal pull-ups proves to be unreliable.

These are cheap and work pretty well: Simple RF M4 Receiver - 315MHz Momentary Type : ID 1096 : $4.95 : Adafruit Industries, Unique & fun DIY electronics and kits
Need a matching keyfob, but one keyfob should work with multiple receivers.

thanks @cedarlakeinstruments

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