Week summary
We closing gaps during this week. We learn about communication protocols, others Arduino IDE library.
Quick data
- Topic: Network & communications
- Student: Carmen Elena Gutierrez Apolinario, David Avila Pimentel, Esteban M. Valladares, Jianfranco Bazan J., Mario Chong, Rocio Maravi, Grace Schwan, Cindy Marilyn Crispin, Jennifer Wong
- Software: Arduino IDE, MQTT
- Machine / Process: 02 PCB, 02 Xiao ESP 32 C3, servo motors, OLED, button, computers
Assignments and deliverables
- Send a message between two projects
- Document the work to the group work page and reflect it
Checklist
- Document the process with current photos or screenshots.
- Upload source files, exports and final outputs.
- Close with a short reflection or lessons learned.
Fab Lab at UP
Group challenges
- Learn a new software MQTTX
- Define libraries: NimBLE or BLE with the OLED
- Error and conflict with different libraries
- Learn with videos (You Tube) and Chat Gpt
Group at Fab Lab
Process
During this week we worked on:
- Connecting devices
- Explore MQTT as client/server telemetry communication tool
- Program with Arduino IDE and its libraries
- Interact with different output/input devices
// Programming Project 1 - Counter with OLED display - Client
#include <WiFi.h>
#include <PubSubClient.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
const char* ssid = "IoT_UP";
const char* password = "ti6WzfPsk3WnqZpt8d";
const char* mqtt_server = "broker.emqx.io";
WiFiClient espClient;
PubSubClient client(espClient);
String mensaje = "";
bool nuevoMensaje = false;
Files and links
Conclusions
We integrate input/output devices in a network, comunicate with different devices, present information using bluetooth or WiFi. We explores our group final project, considering: devices, tools and design options.