These are my slides from my workshop on Programming Microcontrollers at DevFestLagos21. The workshop covers an introduction to MCUs as well as a walkthrough of setting up a Sparkfun Edge development board.
3. What is a Microcontroller
● A computer
● Does only one thing
● Inputs from sensors or MCU
● Controls MCUs, motors,
actuators, LEDs, etc
● Use case: control home
heating/cooling
Image courtesy of Sparkfun
4. Why Program Microcontrollers
● Billions of MCU!
● More than desktops,
browsers, mobile phones
● Somebody has to do it
Photo by Ivan Shilov on Unsplash
Photo by Alan J. Hendry on Unsplash
6. How to Program a Microcontroller
1. Know C/C++ (or MicroPython, etc)
2. Understand Electronic Circuits
3. Read Documentation/Specifications
4. Have a love of making things.
a. Micro:bit
b. Arduino
c. Raspberry Pi
d. Sparkfun
e. Sony
Image courtesy of Raspberry Pi
13. Programming Wake-word Detection
● Collect Data
● Train an NLP model
● Shrink the model to fit MCU
● Write embedded program
● Transfer model into program
● Implement a pipeline for
streaming sound from
microphone to model
● Compile
● Flash MCU
14. Learn More
● Arm Website link
● Arm Developers link
● Sparkfun Edge link
● TinyML Foundation link
● TinyML Course link
● Embedded Systems Essentials with Arm link
● My blog link
● Sparkfun Board Setup link
●