IoT in TinyGo
summary
TinyGo is used to run Go on an Arduino Nano 33 IoT by using the machine and nina packages to talk to the on‑board NINA WiFi coprocessor, bring up WiFi, read a temperature sensor, and publish JSON payloads to an MQTT broker (mosquitto on a Raspberry Pi). The demo builds an end‑to‑end publish/subscribe pipeline with a dashboard subscriber, and highlights binary size limits, missing parts of the Go standard library, and occasional connection drops that force resets.
AI-written summary · about
chapters (8)
- 0:00TinyGo and IoT intro
- 2:09Go for microcontrollers
- 6:13TinyGo benefits for IoT
- 13:45Demo setup
- 27:59Connecting devices
- 33:05Sensor data messaging
- 37:23Community resources
- 40:19Hands-on TinyGo








