StemX Lesson 2

7/26/23:

Today we used our StemX kits, a camera and the use of AI to create several projects. One of the projects was to use a code to see whether AI can detect if there is a person, using the camera or if there is something different. This was a cool project and I learned more about AI and how you can train them to detect different things. 


We also connected our Raspberry Pi to a breadboard and modified the code so that if the AI detected a person, the LED would turn red, and if it detected anything else or nothing at all, it would turn green.

Additionally, we used antennas to connect to different radio frequencies and we even learned how to listen to the frequencies radio stations use to listen to music all from our Raspberry Pi. 

For our last project, we used the antennas to detect how many airplanes are passing above us by connecting to an API key. We learned how to extract information and were challenged to take data from the list to make a code with the GPIO pins and the breadboard. At first, I made a simple code that lights an LED if there is a plane in the sky and it also prints out the number of planes. Then, I made a more complex code to turn the LED on and off with a time interval depending on the number of planes on the sky. For instance, if there are three planes in the sky, the LED would be on for three seconds and off for another three until the number of planes decreases or increases.