0% found this document useful (0 votes)
67 views

Projets Arduino

This document describes adding an LED and buzzer to a temperature sensor project that will respond differently based on the measured temperature range. A red LED and rapidly oscillating buzzer will activate if the temperature is below 10 or above 35 degrees. A yellow LED and smoothly oscillating buzzer will engage between 25-35 degrees. A green LED will illuminate and the buzzer will be silent for temperatures of 10-25 degrees.

Uploaded by

Hyacinthe KOSSI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views

Projets Arduino

This document describes adding an LED and buzzer to a temperature sensor project that will respond differently based on the measured temperature range. A red LED and rapidly oscillating buzzer will activate if the temperature is below 10 or above 35 degrees. A yellow LED and smoothly oscillating buzzer will engage between 25-35 degrees. A green LED will illuminate and the buzzer will be silent for temperatures of 10-25 degrees.

Uploaded by

Hyacinthe KOSSI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Exercise

Add a LED to the project above. When the temperature is in a defined range, make the
LED turn on and make the buzzer sound.
You can assign different colored LEDs and different buzzer sounds for different
temperature ranges
E.g.:
- When the temperature is lower than 10 or higher than 35, a red LED turns on and the
buzzer
makes a rapidly-oscillating sound
- When the temperature falls between 25 and 35, a yellow LED turns on and buzzer
makes a
smooth-osciallating sound
- When the temperature falls between 10 and 25, a green LED turns on and the buzzer is
off.

You might also like