Skip to content

Simple demo code to show communication between the two ESPs and the RGB LEDs

Notifications You must be signed in to change notification settings

ThingPulse/esp32-espgateway-demo

Repository files navigation

ThingPulse ESPGateway

The ThingPulse ESPGateway is a versatile device that comes with two ESP32-WROVER-IB modules. The two ESP32s are connected by two lines used for inter-ESP32 communication over Serial or other protocols. Each of the ESP32 can also control two WS2812B RGB Leds at the front of the device.

The ESPGateway is available for purchase at ThingPulse ESPGateway

Gateway

Explanation Demo

After flashing the firmware to both modules they will start communicating to each other. First they will negotiate which module is ESP1 and which is ESP2 by choosing a random number and sending it over the serial connection to the other module.

After that they will increase a counter and sending it to the other module. While doing this ping-pong they will control the addressable WS2812B RGB Leds by moving a red point from one RGB to the next.

Pins

These are the occupied pins relevant for programming:

#define BUS_RXD     14
#define BUS_TXD     15
#define LED_PIN     32

Labelled

Photos

Labelled Back Perspective Top

About

Simple demo code to show communication between the two ESPs and the RGB LEDs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published