1. Establish a communication process between two devices.
2. For this I will use two speed studio xioa esp32c3 controllers.
3. We’ll program the ESP32 board using Arduino IDE, so before proceeding with this tutorial you should have the ESP32 add-on installed in your Arduino IDE.
3.1. In your Arduino IDE, go to File> Preferences
3.2. Enter the following into the “Additional Board Manager URLs” field:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
1.3 Then, click the “OK” button:
Open the Boards Manager. Go to Tools > Board > Boards Manager…
Search for ESP32 and press install button for the “ESP32 by Espressif Systems“:
That’s it. It should be installed after a few seconds.
in more detail, the process of connecting the board to Arduino is described by the link
2. Testing the Installation
2.1.Plug the ESP32 board to your computer. With your Arduino IDE open, follow these
steps:2.2.Select your Board in Tools > Board menu (in my case it’s the XIAO-Esp32c3)
2. Select the Port (if you don’t see the COM Port in your Arduino IDE, you need to install the CP210x USB to UART Bridge VCP Drivers):
Next, I will use a simple sketch to connect the board to the Internet
linkLet's program the sketch now so that ESP works as an access point
let's try to find our access point on the phone
now let's create a sketch for debugging the server
linkThe next step is to create a web server to control the servo motor. I created a sketch. In which I created a server on which there will be a button for controlling the laser pointer. File is here