64. Sleep Mode with Button Press Wake-Up

Design a power-efficient system using the Arduino UNO with the following functionality:

  • Arduino will be in sleep mode to conserve power.
  • When a push button connected to the Arduino UNO is pressed:
    1. Wake up from sleep mode.
    2. Read the ADC value of a potentiometer connected to the Arduino UNO.
    3. Print the ADC value on the Serial Monitor.
    4. Return back to sleep mode.
  • The system repeats the process each time the button is pressed.

 

Submit Your Solution