# Connect multipe ESP

**URL:** <https://wled.discourse.group/t/connect-multipe-esp/12710>\
**Category:** Questions\
**Created:** [September 16, 2024, 5:55pm UTC](https://wled.discourse.group/t/connect-multipe-esp/12710 "2024-09-16T17:55:09Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![jack1999](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jack1999](https://wled.discourse.group/u/jack1999)\
**Post date:** [September 20, 2024, 8:47am UTC](https://wled.discourse.group/t/connect-multipe-esp/12710/9 "2024-09-20T08:47:55Z")

</div>

> [@djtomybcn](#):
>
> Hello, I am planning to use WLED in a Carnival Parade. And I would like to be able to synchronize all the lights.
> 
> I don’t know if there is a possibility of making some type of network in which all the ESPs are connected to each other (we are talking about about 80) and works like a zigbee where the devices are used to communicate with more distant devices.
> 
> Sorry if I’m saying something crazy. But I think it could be a very fun project.
> 
> Thanks in advance!

That sounds like an exciting project! Synchronizing 80 ESP devices in a carnival parade is definitely a challenge, but it’s possible with some planning. Here are a few approaches you could consider:

### 1. **Wi-Fi Mesh Networking**

- **ESP-MESH** : You could set up a mesh network using ESP-MESH, which allows multiple ESP32 devices to communicate with each other over Wi-Fi. This would enable your devices to relay messages between one another, extending the range and reliability of the network.
- **Pros** : Scalable and can cover larger areas.
- **Cons** : Might require more setup and configuration to manage the mesh.

### 2. **ART-NET or sACN**

- **ART-NET** : This protocol is designed for lighting control and can work over Wi-Fi. You could set one ESP32 as a master controller and the others as slaves. This way, you can send commands from the master to synchronize the lights.
- **sACN** : Similar to ART-NET, sACN is another protocol that supports DMX over Ethernet.
- **Pros** : Well-supported in lighting applications and can handle multiple devices.
- **Cons** : May require additional libraries and setup.

### 3. **Bluetooth or BLE**

- If you’re looking for a more localized solution, you could explore Bluetooth Low Energy (BLE). Some ESP32 libraries support BLE mesh networking, allowing devices to communicate without Wi-Fi.
- **Pros** : Good for short distances and avoids Wi-Fi interference.
- **Cons** : Limited range compared to Wi-Fi.

### 4. **Broadcasting Synchronization Commands**

- You could use a single device to broadcast synchronization commands (like color changes or effects) to all others using UDP or multicast messages. This approach doesn’t require a mesh but can be effective if the devices are within range of the broadcast.
- **Pros** : Simple to implement.
- **Cons** : Range limitations and potential packet loss.

### Implementation Steps

1. **Choose a Communication Protocol** : Decide which of the above methods fits your needs best.
2. **Set Up One Master Controller** : This device will send out synchronization commands to the others.
3. **Test in Small Groups** : Before the event, test with a smaller number of devices to ensure synchronization works.
4. **Deploy and Test in the Field** : On the day of the parade, set up your devices and do a final test to ensure everything works as expected.

### Additional Considerations

- **Power Supply** : Ensure that all devices have a reliable power supply, as long parade durations may drain batteries quickly.
- **Signal Interference** : Consider potential interference from other devices in a carnival setting, especially if using Wi-Fi. [https://www.pneda.com/](https://www.pneda.com/)

With careful planning, your project can definitely bring a spectacular visual experience to the parade. If you have further questions or need more specific guidance on any of these options, feel free to ask!

---

_[View the full topic](https://wled.discourse.group/t/connect-multipe-esp/12710)._
