Indice degli argomenti
ACTIVITY DESCRIPTION
We know that looking closely at the television and computer screen hurts our eyes. however, adults and children look at the screen and damage their eyes. We did this project for it. The ultrasonic sensor, which detects an object as close as 30 cm to the screen, notifies the relay that the electricity is cut off. When the object goes 30 cm away, it gives the screen the electricity by the same method. Due to 220 v of electricity is used in this study, students should definitely work on parent / teacher control.
You can use the mBot original kit, instead of using Arduino components.
The ultrasonic sensor will detect and compare the distances between a person and the screen. The objective is to check if this person is too close to the screen, and if he/she is so, to give a warning and stop the game.
FIRST VERSION
- Before connecting circuits, we organize circuit elements in a program. We preferred the fritzing program.
- Hc-Sr04 and our arduino uno card connections using by jumper cables.
- Let's connect the relay to the arduino card and Lets make a circuit like that.
- Let's connect the circuit to your display. But direct contact with the screen can create a short circuit, let's be careful about insulation.
SECOND VERSION
The aim of the activity is to detect and compare the distance between a person and a screen by programming the ultrasonic sensor. There will occur two different responses to a short approach: the mBot will perform light and sound effects while the screen will show a message and end the running game.
The activity will be developed as follows:
- A student has created a videogame using scratch and now is playing with it.
- Little by little, this student approaches to the screen. If he/she arrives to a distance between 40 and 25 cm to the screen, the mBot will warn about this short distance by performing "First Warning” routine.
- If the student ignores the first warning and approaching to the screen (to a distance smaller than 25 cm), the mBot will warn about it by performing "Final Warning” routine and stopping the game.
This Final Warning will contain:
- Sound and light effects performed in a higher tone and speed.
- An angry face showed in the LED matrix.
- The following warning messages appearing on the laptop screen: "You are TOO CLOSE to the screen” MOVE BACK!!”.
- A change of scenario for the game.
ACTIVITY RESOURCES
Cartella: 1File: 1