WEEK #1
MONITORING SYSTEM
https://youtu.be/9XbeXpKMR_E
GAME CLICK ON THE LINK AND PLAY THE VIDEO GAME HERE
WEEK 6 Analyzing and Interpreting Data
-TIME LIBRARY SLEEP
EXAMPLE: Please analyze the following code. After that, copy and paste it into Spyder and run it.
import time
i=10
print("Countdown")
while i>0:
print(i)
i=i-1 #The new value of i is the old value of i minus 1.
time.sleep(1)
print(0)
print("Time is over.")
- Dictionaries in python are objects stored into categories. Guide the discussion towards that.
Use a While loop, "while(True)" to make a python script that counts up every second and prints the result (use the countdown script as base).
ACTIVITY CLASS
Run the "dictionaries.py" file on spyder.
- What does it do?
- How does the variable temp work?
- What does temp["ESP1"] mean?
- The variables temp, humid, weight are called dictionaries. Based on the script, how do dictionaries work?
- Complete the code so that the script also prints all the humidities and weights on console, one every two seconds.
Write down: What happened to the second ESP32 or to its sensors?
LINK CODE
https://blogleolozano.blogspot.com/2026/09/dictionariespy.html
ACTIVITY CLASS 2
✏️ Student Task:
Now it's your turn! Modify the rabbit_database dictionary to include 3 more rabbits: "Bunny2", "Bunny3", and "Bunny4".
Requirements:
Follow the exact same dictionary structure as
"Bunny1".Each new rabbit must have:
weight_g(a number in grams, e.g.,1900,2100)temperature_c(a float number in °C, e.g.,38.8,39.1)motion_status(a text status:"Active","Resting", or"Exploring")
Print the full database at the end using
print(rabbit_database).Please click on the link
https://blogleolozano.blogspot.com/2026/10/class-activity-2-week-7.html
conditions.
WEEK 8 DUA ACTIVITY
Hoy tu reto es construir tu aplicación de monitoreo de conejos, recuerda que nuestro colegio requiere realizar seguimiento a nuestros conejos para que no les falte nada así que se instalaron varios sensores para recolectar información para mantenerlos sanos y fuertes.
A)Entra en el siguiente enlace e inicia tu reto: https://share.gemini.google/gfhJbAGTrT8T
B)Resuelve las siguientes preguntas en tu cuaderno:
1.¿Cuántos conejos colocaste en tu pantalla y de qué colores son?
2.Cuando presionas el botón de actualizar en el sensor de temperatura, ¿qué le pasa a la línea de la gráfica?
3.Al oprimir el botón de dispensar comida, ¿qué cambia en la gráfica de los conejos?
4.Si presionas el botón de activar aire, ¿la temperatura de la gráfica aumenta o disminuye?
5.¿Cuál es tu gráfica o sensor favorito de los que agregaste a tu aplicación?
C)Resuelve las actividades impresas que te dará tu profesor.
WEEK 9 Analysis, Comparison, and Presentation
SURVEY Encuesta de Clima Escolar – Estudiantes 3.º a 11.º
SELF AND PEERhttps://forms.gle/VFM3FDmtEz54UsZY8
THEORICAL II FORMATIVEhttps://forms.gle/QCd5hKhBXkQSMxDZ8
No hay comentarios:
Publicar un comentario