Professional Documents
Culture Documents
Act 4
Act 4
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.
2.- Programming.
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.