![]() ![]() Each board has a unique MAC address (learn how to Get and Change the ESP32 MAC Address). To send messages between each board, we need to know their MAC address. You can use the preceding links or go directly to /tools to find all the parts for your projects at the best price! 2x 0.96 inch OLED displays ( OLED Complete Guide).2x BME280 sensors ( BME280 Complete Guide).2x ESP32 development boards (read Best ESP32 boards).BME280 libraries ( ESP32 BME280 Guide): Adafruit_BME280 library and Adafruit Unified Sensor libraryįor this tutorial you need the following parts:.OLED libraries ( ESP32 OLED Guide): Adafruit_SSD1306 library and Adafruit_GFX library.Go to Sketch > Include Library> Manage Libraries and search for the library name. These libraries can be installed through the Arduino Library Manager. Install the following libraries in your Arduino IDE. Installing the ESP32 Board in Arduino IDE (Windows, Mac OS X, and Linux).We’ll program the ESP32 using Arduino IDE, so before proceeding with this tutorial you should have the ESP32 add-on installed in your Arduino IDE. ![]() Prerequisitesīefore proceeding with this project, make sure you check the following prerequisites. In this example, we’re using a two-way communication between two boards, but you can add more boards to this setup, and having all boards communicating with each other. Each board needs to know the other board MAC address in order to send the message.After sending the readings, the board displays on the OLED if the message was successfully delivered.When a board receives the readings, it displays them on the OLED display.Each board sends its readings to the other board via ESP-NOW.Each board gets temperature, humidity and pressure readings from their corresponding sensors.Each board is connected to an OLED display and a BME280 sensor In this project we’ll have two ESP32 boards. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |