How arm-software/cloud-iot-core-kit-examples works
This repository is a collection of Raspberry Pi IoT kit examples, not one integrated application. Its user-to-result workflows range from publishing CPU temperature to Cloud IoT, through a Pub/Sub-driven thermostat, to joystick telemetry and remote servo control. The source shows MQTT device connections, telemetry publication, configuration handling, and server-side configuration updates. The README also documents the kit setup and these example capabilities. Some peripheral utility and server relationships are only documented or have unsampled implementation details, so the graph avoids inferring links between examples.
Main entry points: pubsub_thermostat.py Thermostat device · pubsub_stick.py Joystick telemetry · pubsub_servo.py Joystick servo · control_server.py Thermostat controller
Components 13
Device examples
- CPU temperature
CPUTemp/pi_cpu_temp_mqtt.py - Thermostat device
pubsub-thermostat/pubsub_thermostat.py - Joystick telemetry
joystick/pubsub_stick.py - Joystick servo
joystick/pubsub_servo.py
Cloud control
- Thermostat controller
pubsub-thermostat/control_server.py - Joystick relay
joystick/server_relay.py
Hardware utilities
- Photo resistor reader
utility/photo_res.py - Servo sweep
utility/servo_gpio.py
Cloud services
- Cloud IoT MQTT
- Cloud Pub/Sub
- Cloud IoT config API
Other components
- Kit operator
- Raspberry Pi hardware
Connections 19
- Kit operator → CPU temperature: runs example
readme.md - Kit operator → Thermostat device: runs example
readme.md - Kit operator → Thermostat controller: runs example
readme.md - Kit operator → Joystick telemetry: runs example
readme.md - Kit operator → Joystick servo: runs example
readme.md - CPU temperature → Cloud IoT MQTT: publishes telemetry
CPUTemp/pi_cpu_temp_mqtt.py - Thermostat device → Cloud IoT MQTT: publishes telemetry
pubsub-thermostat/pubsub_thermostat.py - Thermostat device → Cloud IoT MQTT: subscribes config
pubsub-thermostat/pubsub_thermostat.py - Thermostat controller → Cloud Pub/Sub: consumes events
pubsub-thermostat/control_server.py - Thermostat controller → Cloud IoT config API: updates device config
pubsub-thermostat/control_server.py - Joystick telemetry → Raspberry Pi hardware: reads ADC
joystick/pubsub_stick.py - Joystick telemetry → Cloud IoT MQTT: publishes telemetry
joystick/pubsub_stick.py - Joystick servo → Raspberry Pi hardware: drives PWM
joystick/pubsub_servo.py - Joystick servo → Cloud IoT MQTT: subscribes config
joystick/pubsub_servo.py - Joystick relay → Cloud Pub/Sub: consumes events
joystick/server_relay.py - Joystick relay → Cloud IoT config API: updates device config
joystick/server_relay.py - Photo resistor reader → Raspberry Pi hardware: reads GPIO
utility/photo_res.py - Servo sweep → Raspberry Pi hardware: drives PWM
utility/servo_gpio.py - Thermostat device → Raspberry Pi hardware: reads sensor, drives fan
pubsub-thermostat/pubsub_thermostat.py