Overview
In this section, you will learn the common peripherals on MCUs with modules on the kit and try several interesting projects.
What you'll learn
Each tutorial gets you familiar with peripheral usage by working with a new module. While trying the projects, you will also learn how to program hardware using Swift language.
📄️ LED Blink
Learn about GPIO and how to blink LED using embedded Swift programming.
📄️ LED Control with Buttons
Learn about GPIO. Try embedded Swift programming to control LED with buttons.
📄️ Buzzer and LED with PWM
Learn about PWM and how to control buzzer and LED using embedded Swift programming.
📄️ Potentiometer
Learn about ADC and read analog input from potentiometers using embedded Swift programming.
📄️ Temperature and humidity measurement
Learn about I2C. Try embedded Swift programming to get temperature and humidity from the sensor.
📄️ RTC
Learn how to read the current time from RTC using embedded Swift programming.
📄️ Movement sensing using accelerometer
Learn how to work with an accelerometer using embedded Swift programming.
📄️ LCD display
Learn about SPI and display graphics on LCD screen using embedded Swift programming.
📄️ Play music with speaker
Learn about I2S and play music through a speaker using embedded Swift programming.
Don't worry if you don't understand them now. You will figure them out one by one.
Tutorial structure
Each tutorial consists of several parts:
- Background: it introduces the basic knowledge of the related peripherals on MCU.
- New component: it introduces the components/modules you'll use in your project.
- New concept: it introduces some basic concepts to get started with the following projects.
- Circuit: it tells which module is used and its circuit diagram in a simplified way.
- API: it lists the class and its methods used in your code.
- Projects: there will be several projects in each tutorial for you to get familiar with the hardware and code usage.
If you have experience in hardware, you could skip the background knowledge part and go directly to the projects. Or if you are a Swift programmer, you could omit the code explanation for each project.