This course is designed to provide both theoretical foundations and hands-on experience in embedded systems through a series of structured tutorials. Each tutorial follows a consistent format, covering its Goal, Key Concepts, Required Hardware, Scade One Model Plan, Tasks, Deliverables, and Opportunities for Extension.
All lessons are intended to be implemented in Scade One with code generation to C. These lessons will use the RP2040 (Raspberry Pi Pico) as a demonstration platform, however, the models and the generated code are compatible with any other platform that has a C-compiler.
The Raspberry Pi Pico will be mounted in the ready to use robot Adeept 4WD Omni-Directional Mecanum Wheels Robotic Car Kit for Raspberry Pi Pico.
Platform
Adeept 4-WD mecanum (omni) robot based on Raspberry Pi Pico (RP2040)
Programming
Works with C/C++ (RP2040 Pico SDK)
Modules included
Ultrasonic range sensor (on a servo pan), 3-channel line tracker, I²C LCD1602, IR receiver + remote, ESP8266 (ESP-01) Wi-Fi, battery holder, acrylic chassis
Stackable Pico header (plugs straight onto Pico); I²C bus for all sensors (two wires). On-board sensors (with typical I²C
addresses):
- TSL25911FN ambient light (0x29), ~0–88 000 lux
- BME280 temperature / humidity / pressure (0x76)
- ICM20948 9-DOF IMU: 3-axis accel (±2/4/8/16 g), gyro (±250–2000 °/s), magnetometer
- LTR390-UV-1 UV sensor (0x53), 280–430 nm response
- SGP40 VOC / air-quality sensor (0x59) with on-chip RH compensation