During the group project, we tested various types of communication, but we achieved the best results using Wi-Fi with two Seeeduino XIAO ESP32C3 boards. My contribution was to explain the code and how the components involved in the MQTT protocol communication.
For this assignment, I initially tried to communicate between my boards using serial communication but was unsuccessful. Due to time constraints, I decided to switch to I2C communication, which allowed the boards to communicate seamlessly.
To communicate between the boards, I used only one computer, connecting the boards to three different USB ports. This allowed me to read the real-time information from each board and verify that the commands ("a" and "b") were being sent correctly.