Programming the Smart Backsplash - Writing Code for the Puya PY32 Microcontroller
Zach of All Trades Zach of All Trades
4.87K subscribers
1,893 views
89

 Published On Feb 25, 2024

In this video I cover programming the Puya PY32 microcontrollers for the RGB lit glass tile backsplash project. Each group of two tiles in the backsplash will have a circuit board with a ten cent Puya PY32 microcontroller. The microcontroller will monitor two microphones, one on each tile, to determine if a tile has been tapped. It will then relay the amplitude of that tap to the processor that is controlling the LEDs, allowing patterns to be programmed from the touch feedback.

We'll start by recapping the general concept, give a brief description of how NeoPixels are commanded, then walk through the software and configuration. The microcontrollers are programmed in C using the Keil uVision IDE. I end the video by showing the prototype, two tiles with a circuit board and LEDs that have been mounted.

Check out the previous video in the series where I introduce the concept in detail:    • LEDs, Microcontrollers, and Microphon...  

00:00 Introduction
01:31 Project Recap
03:03 NeoPixel Operation
04:50 Software Overview
06:15 Peripheral Configuration on the PY32
08:12 How I Implemented the Code
14:09 The Test Apparatus

show more

Share/Embed