PicoRuby for IoT: Connecting to the Cloud with MQTT
summary
Adds a Wi‑Fi class and ports TCPSocket/UDPSocket/SSLSocket to ESP32, refactors mbedTLS refactor to resolve duplicate-version link errors, and implements SSLSocket with client certs so the board can do MQTTS to AWS IoT Core. Builds a PicoRuby-MQTT pure-Ruby client (adjusting missing mruby/c methods and pack usage), verifies TCP/SSL with 200 OK, then runs MQTT over TLS to IoT Core. Demo uses an ESP32‑S3 with 8 MB PSRAM to publish ball‑pass events to a serverless dashboard — it works.
AI-written summary · about
chapters (8)
- 0:00Introduction and overview
- 3:05Motivation for PicoRuby IoT
- 7:36Development roadmap for MQTT
- 12:52Porting socket classes to ESP32
- 18:12Implementing MQTT client
- 23:23MQTT and MQTTS verification
- 23:49Demo: Pico Factory setup
- 27:35Wrap-up and future work
related talks
55mMQTT Protocol on Intel IoT Architecture
38mFun with Ruby and Arduino
47mGlue for the Internet of Things A full IoT stack with sensors, actors and mobile clie
48mIoT with Raspberry Pi, mosquitto, node js and No PowerPoint
33mmruby/c: Running on Less Than 64KB RAM Microcontroller
53mComparing Messaging Techniques for the IoT
50mPrototyping New Ideas with the ESP32 and Azure
30mInternet of Things (IoT) with Node: Both Practical and Fun!
