Networking & Communication.
Group Assignment
Interaction between two Xiao ESP32 c3 boards.
For this group assignment, we have decided to measure temperature and humidity with one microcontroller board and plan to display it through a second micro-controller board.
We have used two XIAO ESP32 c3 boards to communicate with each other, both boards were designed by considering final project requirements.
Program
For the interaction between two boards, initially we have extracted Mac id of both the controllers using below code.
This is generated Mac id for the first board.
This is Generated Mac id for second board.
Program for sending data from the first controller, where we put the generated mac id for receiver controller.
This a program for receiving data at a second micro-controller, here we have put the max id generated by the sender micro-controller board.
Initially, we have planned that to measure the readings from first board and to display the measured reading at the second board with OLED display. But unfortunately OLED didn’t work well so received the reading to serial monitor of receiver controller.