AI on the Edge LESSON 13: Control LED Brightness with Voice Commands on Raspberry Pi 5

In this video lesson we continue to expand our skills in using AI and Speech to Text (SST) capability to control our project via voice commands. In this lesson, we explore using voice commands to control the brightness of an LED. We use threading so it does not have a blocking issue. We are using the red channel of the RGB LED in order to demonstrate this capability.

This is the schematic we are using, from LESSON #5.

Fusion Hat Circuit Diagram
This is the circuit we will use moving forward in the class

In the video, this is the code we developed: