Skip to content
CEC Semester Twenty Two 2022

Scratch Building Raspberry Pi RP2040 IoT Devices

Fred Eady -
Owner, EDTP Electronics Inc. and Principal Engineer, Ongoing Systems LLC.
August 22,
2022
Building an RP2040/WizFi360 Wi-Fi IoT Node
The first lecture of this series is all about the hardware. Although there are a multitude of RP2040 development boards available from a number of commercial vendorsa pre-packaged RP2040 solution may not be suitable for your particular project. With that in mindtoday we will design and assemble a custom RP2040-based 2.4GHz 802.11 b/g/n Wi-Fi IoT node. We will begin our design process by generating a schematic diagram using OrCAD Capture. Once our schematic is completedwe will generate a netlist that will be passed to OrCAD PCB Designer. Using OrCAD PCB Designerwe will layout the physical components and generate all of the necessary build files required by the printed circuit board manufacturer. The final step in our design/build process involves mounting and soldering the components onto our custom printed circuit board.
Course Resources
Special Educational Materials
The Raspberry Pi 4 Just Got a Little Cooler - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 2: I2C Sensor Digi-Key Electronics - Video
Raspberry Pi Announces New RP2040 Pico Variants - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 3: PIO Digi-Key Electronics - Video
Raspberry Pi Launches Pico Board Featuring Their Own Silicon - Blog
August 23,
2022
Assembling an RP2040/Pico/Pico W Linux Toolchain
The second lecture of this series is all about the firmware development toolchain. Our RP2040/Pico/Pico W firmware development toolchain will be assembled within Ubuntu 20.04.4 LTS. We will install CMakethe GNU Embedded Toolchain for ARM and Visual Studio Code. To directly support firmware development for the Raspberry Pi RP2040we will also install the latest version of the Raspberry Pi Pico C/C++ SDK. Following the installation of the RP2040 toolchainwe will configure Visual Studio Code and install Visual Studio Code extensions to target the RP2040 and the ARM toolchain.
Course Resources
Special Educational Materials
The Raspberry Pi 4 Just Got a Little Cooler - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 2: I2C Sensor Digi-Key Electronics - Video
Raspberry Pi Announces New RP2040 Pico Variants - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 3: PIO Digi-Key Electronics - Video
Raspberry Pi Launches Pico Board Featuring Their Own Silicon - Blog
August 24,
2022
RP2040 Firmware Generation Using CMakeVisual Studio Code and the C/C++ SDK
In the previous lectures we assembled a custom RP2040-based printed circuit board and assembled a GNU ARM toolchain within Ubuntu that targets our custom RP2040 hardwarethe Raspberry Pi Pico and the Raspberry Pi Pico W. Today's lecture will describe how to employ the components of our GNU ARM toolchain to produce RP2040 firmware to drive the WizFi360 Wi-Fi module that resides on our custom RP2040 printed circuit board.
Course Resources
Special Educational Materials
The Raspberry Pi 4 Just Got a Little Cooler - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 2: I2C Sensor Digi-Key Electronics - Video
Raspberry Pi Announces New RP2040 Pico Variants - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 3: PIO Digi-Key Electronics - Video
Raspberry Pi Launches Pico Board Featuring Their Own Silicon - Blog
August 25,
2022
Raspberry Pi Pico W Primer
A little less than a month ago the folks at Raspberry Pi introduced a new variant of the Raspberry Pi Pico. The new Raspberry Pi Pico W is constructed around the same RP2040 microcontroller that drives the original Raspberry Pi Pico. Howeverthe Pico W adds a long-awaited communications feature not found on the original Pico. The W in Pico W is short for Wi-FI. Today we will examine the differences between the original Raspberry Pi Pico and the new Raspberry Pi Pico W. We will also take a look at how to use the libraries within the new SDK that support the Pico W's CYW43439 Wi-Fi IC.
Course Resources
Special Educational Materials
The Raspberry Pi 4 Just Got a Little Cooler - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 2: I2C Sensor Digi-Key Electronics - Video
Raspberry Pi Announces New RP2040 Pico Variants - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 3: PIO Digi-Key Electronics - Video
Raspberry Pi Launches Pico Board Featuring Their Own Silicon - Blog
August 26,
2022
Coding a Raspberry Pi Pico W TOF Application
Now that we have been exposed to the new Raspberry Pi Pico Wlet's put our Pico W to work in the real world. Today we will use the same RP2040 toolchain we used to produce firmware for our custom RP2040 Wi-Fi board to generate a Pico W-based TOF (Time of Flight) application firmware image. Our Raspberry Pi Pico W TOF application will demonstrate how to use our TOF device as a sensor as well as a distance measurement device.
Course Resources
Special Educational Materials
The Raspberry Pi 4 Just Got a Little Cooler - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 2: I2C Sensor Digi-Key Electronics - Video
Raspberry Pi Announces New RP2040 Pico Variants - Blog
Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 3: PIO Digi-Key Electronics - Video
Raspberry Pi Launches Pico Board Featuring Their Own Silicon - Blog
Instructor
Fred Eady
Owner, EDTP Electronics Inc. and Principal Engineer, Ongoing Systems LLC.

Fred Eady is the owner of EDTP Electronics Inc. and is the principal engineer at the Georgia branch of Ongoing Systems LLC. EDTP Electronics was established in 1988. In the meantime, Fred has written thousands of magazine articles. He has written for all of the major electronic magazines, including Radio Electronics, Electronics Now, Nuts and Volts, Servo, MicroComputer Journal, and Circuit Cellar. Fred has even done a few short feature articles for Design News. To date, he has authored four books and contributed to a fifth. He currently works as a PIC microcontroller consultant and is a Microchip Authorized Design Partner. Fred’s expertise also extends into the ARM community where he is a hardware and firmware design consultant. His customers include aerospace companies, machine shops, specialty startup companies, medical machine manufacturers, coin-operated device businesses, and various other research and development companies. He has a very close working relationship with Microchip Technology, the manufacturer of PIC microcontrollers, and has taught multiple Ethernet and WiFi classes at Microchip's annual Masters Conference.