Week 11 — Group Assignment: Networking and Communications
Send a message between two projects.
This week we connect populated PCBs and microcontroller nodes from earlier weeks — wired and wireless — to exchange data between two boards. The group deliverable is direct node-to-node communication; the integrated MQTT + WiFi + LoRa chain below extends that toward the final-project solar PV system.
See assignment requirements for the full brief. Full code and walkthroughs: Timothy Mintargo's Week 11 documentation.

This page documents our Week 11 group collaboration at Chaihuo Makerspace. We built on the custom PCBs from Week 6 and Week 8, populated with XIAO modules, OLEDs, and Grove radios. Networking lets multiple boards exchange data while keeping power, signal, and radio subsystems modular.
Platform — PCB nodes connected
Each node combines:
- A populated carrier PCB or XIAO breakout with soldered headers
- I²C OLED (status display) on the designed SDA/SCL pins
- Wireless module — BLE (on-board ESP32), or Grove LoRa 868 MHz (UART)
- Common 3.3 V / 5 V rails and ground tied across probes and radios
Messages travel over the buses and radios we designed into the board — not loose breadboard jumpers.
Summary — earlier group experiments
Before the MQTT + LoRa integration, the cohort tested direct communication between two nodes:
| Experiment | Nodes | Bus / link | Result |
|---|---|---|---|
| Bluetooth BLE | 2× XIAO ESP32-C3 + OLED | BLE (2.4 GHz) | Server advertises; client scans and connects. Range ~10 cm without antenna, >10 m with two IPEX antennas. |
| I²C decode | XIAO ESP32-C3 + OLED | I²C (wired) | Logic analyzer captured 0x3C WR packets updating the OLED framebuffer. |
| SPI / RFID | Raspberry Pi 4 + MOSFET + LED | SPI (wired) | Proof-of-concept load switch; CS/CLK/MOSI/MISO visible on analyzer. |


Lessons from the earlier tests:
- Wireless needs both sides defined — server/client roles, reconnect logic, and OLED feedback
- Antennas matter — ESP32-C3 BLE without IPEX antenna is usable on the bench only
- I²C is wired networking — address byte + ACK; same decode skills as Week 9 scope work
- Two-node messaging is harder than one-direction UART — manage state on both microcontrollers
Wireless technology comparison (reference)
| Technology | Range | Frequency | Data rate | Internet |
|---|---|---|---|---|
| Wi-Fi | 50–100 m | 2.4 / 5 GHz | 10–600 Mbps | Yes (via AP) |
| Bluetooth BLE | 10–50 m | 2.4 GHz | 125 kbps–2 Mbps | Via gateway |
| LoRa | 2–15 km | 433 / 868 / 915 MHz | 0.3–50 kbps | No (needs LoRaWAN) |
Higher frequency → more data, shorter range. LoRa trades speed for distance — good for field nodes that should not depend on Wi-Fi.