[Raspberry Pi Pico] PIO programming: 7-segment display and 4x4 keypad as examples

Опубликовано: 19 Апрель 2026
на канале: MCU Application Lab
182
6

This video introduces how to use the Raspberry Pi Pico's PIO function to create a driver for an 8-digit 7-segment display. In addition, it combines the 4x4 KEYPAD used as input introduced in the previous video to build a simple calculator.

The 8-digit 7-segment display uses eight common-cathode displays as well as two 74HC595 shift registers and eight NPN transistors. The first shift register controls the display of A~G and DP on the 7-segment display, and the second shift registers Q0~Q7 connect to pin 3/8 of individual 7-segment displays to control whether the display is on (low) or off (high).

code:
https://mcuapplab.blogspot.com/2025/0...