Raspberry Pi Pico as an IoT Device

Research output: Contribution to journalConference articlepeer-review

1 Scopus citations

Abstract

The Raspberry Pi Pico is an inexpensive embedded processor board that can be used for introductory programming and embedded systems courses in engineering and engineering technology programs. For Internet of Things (IoT) applications, the Pi Pico contains a system-on-a-chip (SoC) device (the RP2040 microcontroller) that is capable of performing the responsibilities of a computer on a single chip. Some key features of the Pi Pico include digital peripherals (e.g., 2 SPI, 2 I2C, 2 UART, and 16 PWM), 23 GPIO pins for digital I/O, 3 ADC inputs, and an on-board LED and temp sensor. Although programming the Pi Pico can be performed in C, MicroPython, which is a subset of the Python standard library, is optimized to run on a variety of embedded microcontrollers including the Pi Pico. Thonny is a free download software development environment for writing Python code and downloading it to the Pi Pico. Applications for the Pi Pico are broad enough to encompass both electrical and computing disciplines. There are several goals for this paper. For embedded courses, control of the I/O pins on the Pi Pico will be shown. This includes digital I/O, analog input, PWM output, UART, SPI, and I2C. Devices interfaced to the Pi Pico include an analog temperature sensor, a serial LCD display, a digital-to-analog converter, and an accelerometer. A WiFi device will also be interfaced to the Pi Pico to show the capabilities for embedded IoT applications. Examples of student assessments will be shown. For ABET, it will be shown how these projects can be used to assess student outcomes.

Original languageEnglish (US)
JournalASEE Annual Conference and Exposition, Conference Proceedings
StatePublished - Jun 25 2023
Event2023 ASEE Annual Conference and Exposition - The Harbor of Engineering: Education for 130 Years, ASEE 2023 - Baltimore, United States
Duration: Jun 25 2023Jun 28 2023

All Science Journal Classification (ASJC) codes

  • General Engineering

Cite this