Back to projects
IoT Essentials Pico Project
Summary
A school IoT assignment using a Raspberry Pi Pico, CircuitPython, analog input, PWM output, sonar measurement and RGB LED feedback.
- Role
- Software Development Student
- Timeline
- Academic project: 2024
Tags
Preview
Overview
- Raspberry Pi Pico with MCP3008 for analog input.
- PWM white LED, threshold red LED and RGB LED feedback.
- HC-SR04 sonar distance measurement.
My contribution
- Wired the Pico, MCP3008, potentiometer, LEDs, RGB LED and HC-SR04 sonar sensor.
- Implemented CircuitPython for analog reading, PWM control, blinking, sonar measurement and RGB states.
- Documented the circuit, code, tests, photos, video and self-evaluation.
Outcome
- Potentiometer input controlled LED brightness through PWM.
- Threshold logic triggered a second blinking LED.
- Sonar distance ranges were shown through RGB LED colors.
- Required assignment criteria were completed and documented.
Goal
- Build a breadboard setup with a Raspberry Pi Pico, sensors and LEDs.
- Use a potentiometer value to control PWM LED brightness.
- Measure distance with a sonar sensor and show ranges through an RGB LED.
Approach
- Translated the hardware requirements into a breadboard circuit and diagram.
- Built the software in small parts: potentiometer, PWM, blinking LED, sonar and RGB feedback.
- Verified behavior through terminal output, photos and video.
Artifacts
- CircuitPython source code
- Electrical and component diagrams
- Photos of the breadboard setup
- Video demonstration
- Written project report