Hello from Adriana!

I am in 12th grade and here are my projects for the 22-23 year!

Project 1

This project is a count down timer.

        
import time

number = 0
while number < 61:
    print(number)
    number = number + 1
    time.sleep(1)
    if number == 61:
        break
      
      

Project 2

This project was to create a robot. With my partner Sofia, we made a robot that zooms around with green LED lights, but when it hits objects it screams and the LED lights turn red. It then backs up and drives in a different direction with the lights switching to green again.

        

      
      

drivetrain code main code

Project 3

          
            import matplotlib.pyplot as plt
import numpy as np
import itertools
import csv
limit = 175
x = np.arange(1, limit)
y1 = []
y2 = []
with open('data1.csv', 'r') as datafile:
    data = csv.reader(datafile, delimiter=',')
    for rows in itertools.islice(data, 1, limit):
        y1.append(float(rows[1]))
with open('data2.csv', 'r') as datafile:
    data = csv.reader(datafile, delimiter=',')
    for rows in itertools.islice(data, 1, limit):
        y2.append(float(rows[1]))
plt.plot(x, y1, color="red")
plt.plot(x, y2, color="blue")
plt.title('Comparing the Elevator Going to the 2nd-4th Floor vs 2nd-6th Floor')
plt.xlabel('Time: Tenths of a Second')
plt.ylabel('Accel Z axis values')
plt.legend(["2nd-4th Floor", "2nd-6th Floor"], loc ="upper left")
plt.show()
        
      
Column