AI on the Edge LESSON 6: Digitial Out, Servos, Analog In and PWM on the Fusion HAT+

In this video lesson we will become familiar with the FUSION AI HAT+, and we will learn how to do digital inputs and outputs, analog in readings, analog outputs, PWM and how to control servos. By the end of the lesson you should have the essentials you need to work with the Fusion HAT+.  The schematic for the circuit we will be using in today’s lesson if below. We describe it in more detail in the video. The schematic is:

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

In the video lesson we demonstrated the following programs:

Digital output to blink an LED:

PWM Example to Control RGB LED Color and Brightness.

Reading Analog Voltages on the Pi 5 Using the Fusion HAT+

Controlling Servos With the Fusion AI HAT+

 

AI on the Edge LESSON 5: Understanding Fusion AI Hat+ For Raspberry Pi

In today’s lesson we will become familiar with the capabilities of the Fusion AI Hat+ for the Raspberry Pi. This hat will be a core part of our class moving forward. The hat makes it easy to get data from the outside world, and to control things in the outside would. We will get an understanding of the core capabilities of the board, and your homework will be to build the first circuit with the board.  This schematic shows the various parts of the board:

Fusion AI Hat for Raspberry Pi Schematic

Then for the homework, we need you to go ahead and build this circuit. This circuit will allow us to learn how to make Digital Output commands, PWM commands, and how to read analog inputs.

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

AI on the Edge LESSON 4: Python Averaging Grades Homework Solution

In this video lesson, I show you my solution to the Homework Assignment in LESSON #3. If you were not able to do the homework yourself, you can follow along in the video. Make sure you can do it on your own, without checking back to my solution. You need to understand these basics before moving on the class.

This is my homework solution.

 

AI on the Edge LESSON 3: Learn Python Essentials In One Session

This new class, AI on the Edge, will use Python as the primary programming language. If you are not familiar with python, this video lesson will teach the essentials in one go. Go through the video, and follow the examples. Practice the things in the video, and then do the homework. If you can learn these basics, you should be able to follow along with the balance of the class.

AI on the Edge LESSON 2: Raspberry Pi Operating System for Artificial Intelligence

The major challenge we face in this AI on the Edge class is getting a Raspberry Pi 5 configures where you have all the AI Models, Libraries, Modules and Methods installed, and where they all play nicely together. Often, when you add a new model, the old model becomes broken. This is because when you install something new, it often times updates the dependencies. That means it updates a library already on your system. For example, lets say you have numpy 14, working with YOLO 11. Now you install mediapipe, and it updates numpy 14 to numpy 15. This then ‘Breaks’ your YOLO, as it wanted a different version of numpy.  Likely you will get frustrated and quit before you get the dependency problems solved. In order to get around this, you can use a special education version of the Bookworm OS, which has all the needed libraries installed already and working nicely with each other. The video above shows you how to install this OS. Once you do, no not update it, do not upgrade it, do not touch it. Use it to develop your programs and projects for this class. If you want to do something else with your pi, have a separate SD card.

Making The World a Better Place One High Tech Project at a Time. Enjoy!