We use C/C++ in this course with ARM mbed library to write control codes for an em
And we show through hands-on practice labs on interfacing with different sensors and actuators, and
eventually building a smart IoT device. Starting with basic digital and analog inputs and outputs, we build an
arbitrary wave generator and analyzer. Also we demo how to display captured information on a full-color LCD.
Several serial protocols are then introduced including UART, SPI and I2C. Remote procedure calls with serial
protocols are applied to send control messages between PC and M4. Besides wired control, we use Zigbee
for low power wireless messaging. IoT applications ba
Finally, we use a Boe Bot car platform to integrate all components.
週次 | 課程內容 |
---|---|
01 | Course overview
Mbed Lab 1 mbed Introduction |
02 | Mbed Lab 2 Digital Input and Output Mbed Lab 3 Analog Output |
03 | Mbed Lab 4 Analog Input |
04 | Mbed Lab 5 Liquid Crystal Displays |
05 | Mbed Lab 6 Interrupts, Timers, Tasks and RTOS |
06 | Mbed Lab 7 Serial Communication |
07 | Mbed Lab 8 Audio Synthesis on mbed |
08 | Midterm |
09 | Mbed Lab 9 Serial RPC |
10 | Mbed Lab 10 Wifi and MQTT (Sports day) |
11 | Mbed Lab 10 Wifi and MQTT (Only TA session) |
12 | Mbed Lab 11 XBee |
13 | Mbed Lab 12 Servos, encoder and ping |
14 | Mbed Lab 13 BOE BOT Car |
15 | Final Project preparation |
16 | Final Project Demo |