Transmit values from multiply devices to one device

BlueGene
Posts: 1
Joined: Wed Apr 11, 2018 10:28 am

Transmit values from multiply devices to one device

Postby BlueGene » Wed Apr 11, 2018 10:47 am

Hello,

I am currently building a control unit for stepper motors. So I have a stepper driver, which is controlled by Teensy (but can be replaced with an ESP32 or similar)

And then I have different input devices like potentiometers, gyroscopes etc.

The plan is to equip each input device with a ESP32 and send all sensor values to the main controller which is controlling the stepper.

The whole setup should be wireless, battery powered and used outdoors.

I will need a refresh rate of around 50-100 Hz and without big delays.

So my idea was to use the ESP32 and the Wifi connection. One ESP32 is the master which receives all values and controlling the stepper motor accordingly and the other ESP32s are just as slaves and transmitting their values to the Master.

Is there somewhere an example sketch for such communication between multiple devices?
Is this kind of communication even possible in almost real-time with this refresh rate?

Who is online

Users browsing this forum: No registered users and 119 guests