TECH 4°

 

FOURTH TECHNOLOGY


ULTRASONIC SENSOR


The student programs the ultrasonic sensor.










PROBLEM 4TH Grade

Achievement

- The student understands the problem to be solved with his/her project.










 * What is the main problem we are going to solve?
 * What questions do we have about the problem?
 * Who will we help with the solution to the problem?
 * Five possible solutions.

TEMPLATE

Achievement:
- The student identifies and correctly uses a template to guide the construction of a project model.



RECYCLABLE TRASH CAN

Clic on the image to watch an example of the year´s project



PROGRAMMING CODE FOR RECYCLABLE TRASH CAN


1ST - THE CIRCUIT: 

When the ultrasonic sensor detects a hand, the servo motor moves to 90° (open). But if the ultrasonic sensor does not detect anything, the servo motor stay in 0° (close).  


2ND - THE CODE: 

DOES YOUR CIRCUIT WORK?, PERFECT! NOW PASTE THE SERVO MOTOR TO THE BOX WITH HOT SILICONE!. 
OR 👿 ... DO YOU WANT TO BE THE BEST?...

... TRY THIS DIFFERENT THING  👿: (RECYCLABLE TRASH CAN WITH LIGHTS)

Challenge - Difficult ⭐⭐

3RD - THE CIRCUIT: 

In this case, if the ultrasonic sensor detecs a hand, the blue will light turn on and the servo motor moves to 90° (open). But if the ultrasonic sensor don't detecs anything the red light turn on an the servo motor stay in 0 degrees (close).

4TH - THE CODE: 


DOES YOUR CIRCUIT WORK?, PERFECT! NOW PASTE THE SERVO MOTOR TO THE BOX WITH HOT SILICONE!. 
OR 👿👿 ... DO YOU WANT TO BE THE BEST IN THE WORLD?...

Challenge - Difficult ⭐⭐⭐⭐

5TH - THE CIRCUIT: PUT 2 LED LIGHTS , EACH ONE WITH RESISTOR AND CONNECT WITH ARDUINO.
6TH - THE CODE: Create the code to activate a sequence of lights when you turn on the recycling bin (welcome greeting). Then, when the ultrasonic sensor detects a hand, the servomotor will open the door and all the LED lights will turn on. If the ultrasonic sensor does not detect anything, all the LED lights will turn off.


No hay comentarios:

Publicar un comentario

ORGANIZATION