Course Information
Course Overview
LEDs, Switches, Rotary Encoders, WS2812B LED Ring and HC-SR501 PIR Module
The Raspberry PI Pico is a cheap microcontroller (RP2040) board ideal for embedded projects be they commercial or hobby. Its sister board to the Pico W now adding WIFI, allowing IoT projects to be built.
In this course, you will learn about building projects for the Pico or Pico W in C++. We learn about common components, how to connect them to the Pico and build programs to effectively use them. The course covers:
·LED and RGB LEDs
·WS2812B LEDs and a 12 LED Ring
·Switches
·Rotary Encoders
·HC-SR501 PIR Module
Bringing all of these components together into a project that can animate patterns on the LED Ring. You can select the pattern, colour and speed of the animation using the Rotary Encoder.
The course looks at hardware electronics and software separately. People are often more comfortable with one of these than the other. Separating them allows you to skim through the bits you are comfortable with and take your time where you are not.
The course is suitable for those with very little electronics knowledge. Basic C++ knowledge is assumed as the course will not teach syntax, though will explain what the code is doing.
The course follows the knowledge my students would have gained in the Introduction to C Development Environment for Raspberry PICO course on Udemy. I will assume that you have a development environment setup and can compile C or C++ code for the Pico and copy the binary over onto the Pico to run. If you don’t feel confident with that, please do take my introductory course as that will set you up for this one.
The course includes all the code examples and my answers to the assignment problems. I also provide recommendations for further reading on each of the topics. So everything you need to start developing for the Pico and keep going.
Course Content
- 9 section(s)
- 53 lecture(s)
- Section 1 Introduction
- Section 2 Raspberry PI Pico Setup
- Section 3 LEDs
- Section 4 WS2812B
- Section 5 Switches
- Section 6 Rotary Encoders
- Section 7 PIR – Passive Infrared Sensor
- Section 8 Project: Putting it all together
- Section 9 Congratulations
What You’ll Learn
- To build C++ projects for the Raspberry PI Pico or RP2040 board
- Connect and code to drive LEDs
- Connect and code to drive WS2812B LEDs and a ring of 12 LEDs
- Connect and code to read Switches
- Connect and code to read Rotary Encoders
- Connect and code to read the HC-SR501 PIR Module
Skills covered in this course
Reviews
-
PPaweł
Kurs ciekawy. Wszystko jasno i prosto przedstawione. Polecam.
-
EEdward Shea
Good intro to interfacing with a variety of peripherals. I'd already experimented with several, but informative to see the approach Jon takes. Although I am not a C++ fan, I can see the value of the class approach he take and the use to which it can be adapted to projects.
-
KKevan Rurak
This course explains the topic very well, the thing I like is the use of alternate methods to avoid Microsoft VS (which could vanish at some political whim) . I also like the method to load programs from the SWD Interface.