Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

The idea is this practice is to make a traffic light that indicates ambient noise level.

You have to measure the surrounding noise. If it is very high you should light the red light, if it is
moderated the yellow and if it is low the green one.

1.- Contextualization.

What is the noise pollution?


Causes of the pollution.
Impact of noise pollution
How noise pollution can be reduced?

2.- Programming.

Materials. For doing this practice, you will need:

• Motherboard + blue wire.


• Sound sensor
• red, yellow and green LEDs
• small wires for connecting the components

Initical checks

• Check that the computer recognizes the motherboard and the serial port (blue
wire).
Sound sensor

• Is it analog or digital?
• Read its values through the serial port (using Arduino code if necessary). .
• Values when it's very noisy:
• Values when it is noisy:
• Vales when it is silent:

Traffic light
• Before join the sound sensor and the LEDs, create the traffic light and test its functioning.

Final programming
• Now you know how the components work and what you want to do in each range of
values, you are ready to program.

You might also like