with Abbie Henshaw
This week we want to connect an API to our RP2040 and have it do something based on that API. Whether it be displaying a live score board, showing the weather, or pulling from some online data and representing it in the real life, through motors, lights or some physical item. We also need to get something from our school store Nolop.
After evaluating several API options, we finally settled on Agify API. This particular API utilizes a database to predict the age of a person based on their name, assigning them an average age based on the data available.
Alright, let's dive into the details and start working on our challenge for this week. As a quick recap, we aim to connect an API to our RP2040 and have it perform a certain action based on the API's data.
So, without further ado, let's get started and make this project a success!
We had to connect to the Agify api and we made our code take in two ages from two peoples name.We wrote a code to compare the two ages. Once this comparison was made, the code would trigger a servo to rotate between 0 and 180 degrees.
We got this really cool 7 segment display from Brandon at Nolop. We looked up the display and found the required connection, but it is not truly meant for our chip. There are not a lot of instructions on the compatibility and protocol of this display.