DIGITAL PROJECT
DIGITAL PROJECT
Link: Worksheet 1 - (March 28)
One new thing I learned were the four common types of variables: integers, float, string, and boolean. I really loved how easy they were to use. My favorite part was getting to us them in action and I felt really proud to write my OWN code to say something I wanted it to.
Something I would like to know more about are the comparison operators and if statements. I thought they were relativly easy to use but I wonder what other contexts we can apply them to.
Link: Worksheet 2 - (April 1st) *Could only reach 3. Dictionaries
Something I learned was making lists. It's a cool way to store multiple sets of values and especially helpful if you have data. Certain commands that I learned, like inserting new values into a list, were really cool.
Something I want to learn more about is while loops. My partner and I didn’t have a chance to get to that part, but when we were working with the TFT LCD, we got to use code that had a while loop, which kept executing a block of code continuously as the condition we set remained true. I would like to find ways to apply it to different situations and have a chance to play with it. I just think its a really helpful tool.
Link: GitHub
I was given a temperature sensor, but there was only one example code provided. This led me to search through Mr. Kleindolph's files, where I found another example code that I could use with the sensor. This code prints the temperature and humidity in large text.
Afterward, I moved on to the challenge of converting Celsius to Fahrenheit. I knew there must be an equation for this in Python, so I searched online and found a solution using Google’s Gemini. I then added the code to the original example within the boolean condition to convert Celsius to Fahrenheit. After making this change, I updated the entire code to work in Fahrenheit instead of Celsius, and it worked.
My idea for the digital project is to use a Feather ESP32 and a Real-Time Clock (RTC), all enclosed in a box. Due to time constraints, the box needs to be fairly simple and should fit both components, as well as a battery pack. Given the style of my speaker enclosure, this separate project will stand alone, but I’ve been thinking about how I could design the digital project’s enclosure to match the vibe of my stacked rock speaker enclosure.
I did not have time to do my digital project.