CircuitPython: Connecting a Robot Cat to the Internet
1h 14mIntermediate2021-11-04
Authors
Charlyn Gonda
Software Engineer, Creative Maker, Public Speaker
Course details
While many Internet of Things projects send data to the cloud, sometimes you want a physical indication of an event from the internet. In this course, Charlyn Gonda shows you how to use CircuitPython—a version of Python specifically for microcontrollers—to program a robot cat that reacts to events while connected to the internet. Charlyn shows how to code for common hardware devices like LEDs and servos, and explains a common messaging protocol for IoT projects called message queue telemetry transport, or MQTT. If you’re looking for an internet cat video that actually teaches you something useful, join Charlyn as she shows how to program this robot cat.
Skills covered
Internet of ThingsHardwarePythonProgramming LanguagesOpen SourceSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Connecting the internet to the physical world
- 02 - What you should know
1. CircuitPython and Hardware Setup
- 03 - CircuitPython and board setup
- 04 - CircuitPython basics
- 05 - Circuit diagrams and wiring
- 06 - Moving servos with code
2. Connecting to the Internet
- 07 - Connecting your device to the internet
- 08 - Brief overview of MQTT
- 09 - Using Adafruit IO as an MQTT broker
- 10 - Setting up an MQTT topic
- 11 - Reacting to events in an MQTT topic
3. Reacting to Internet Events
- 12 - Listening to events from the internet
- 13 - What you need for soldering
- 14 - Soldering and final assembly
Conclusion
- 15 - Going beyond the robot cat