arduino please We have a push button, a thermometer, a piezo and 3 LEDs; Green, Orange & Red: The system starts when we
Posted: Fri Apr 29, 2022 6:41 am
arduino please We have a push button, a thermometer, a piezo and
3 LEDs; Green, Orange & Red:
The system starts when we enter the password “373” to the serial
monitor:
a. The serial monitor displays the temperature in Celsius between
-40 & 125,
b. When Temperature is:
• Less than -20, the piezo gives an error sound,
• Less than 0, Green LED blinks with a delay of 0.5 s,
• Between 0 & 40, Green LED should turn ON,
• Between 40 & 50, Green LED turns OFF and Orange LED should
fade forward and
backward,
• More than 50, Red LED blinks and piezo gives an error sound
simultaneously with
Red LED (piezo plays sound at the same time of the LED is
ON...)
c. All stops again when we push the button.
Remarks. Error sound for piezo is playing 2 different melodies with
some delay.
You have to submit:
➢ The code of the solution as Notepad
➢ Screenshot for the design
3 LEDs; Green, Orange & Red:
The system starts when we enter the password “373” to the serial
monitor:
a. The serial monitor displays the temperature in Celsius between
-40 & 125,
b. When Temperature is:
• Less than -20, the piezo gives an error sound,
• Less than 0, Green LED blinks with a delay of 0.5 s,
• Between 0 & 40, Green LED should turn ON,
• Between 40 & 50, Green LED turns OFF and Orange LED should
fade forward and
backward,
• More than 50, Red LED blinks and piezo gives an error sound
simultaneously with
Red LED (piezo plays sound at the same time of the LED is
ON...)
c. All stops again when we push the button.
Remarks. Error sound for piezo is playing 2 different melodies with
some delay.
You have to submit:
➢ The code of the solution as Notepad
➢ Screenshot for the design