L1: My first project
First lesson on the BatSTEM platform.
On this page, you’ll find educational materials to help you make the most of the BatSTEM electronics and programming learning kits.
It’s recommended that you follow the lessons in order, as each one introduces concepts and tools that will be useful in later lessons.
If there’s something you don’t fully understand during any of the lessons, especially in the theoretical explanation, don’t stress! Most projects can be completed without understanding everything 100%. Finish your project and then revisit the theoretical explanation. If anything remains unclear, ask your teacher, an adult, or reach out to the BatSTEM staff. We’ll be more than happy to help you!
First lesson on the BatSTEM platform.
Basic operation of a light-emitting diode.
Control of an external LED from the development board.
Development of an LED traffic light.
Controlling the brightness of an LED using a PWM output.
Controlling the colour and brightness of an RGB LED.
Communication between the development board and the computer through the serial port.
Connecting a pushbutton to the development board and reading its state by polling.
Controlling an RGB LED using commands sent from the computer’s COM monitor.
Connecting a pushbutton to the development board and reading its state using interrupts.
Executing instructions using a timer.
Creating a traffic light controlled by a timer that can be paused using a pushbutton.