NDJ30003_LAB_3_192020356






                                                        LAB 3 ESP32 with Blynk app



                                        Name:             TAN YU ZHE
                        Matric Number :             192020356
                       



    LAB TASK

   1)  Convert raw ADC value to LUX
        

    Result: 

When LDR detect light, the ESP32 convert ADC value to lux





2. Based on the LUX value: 
a. If high – only on the green is on 
b. If medium - only on the yellow is on 
c. Else - only on the red is on





Circuit result: LDR Change the led when lux increase or decrease


3. The LUX value and LEDs can be monitored at Blynk app







4. In Blynk app also has a button that can manually turn on/off LED on ESP32 (pin 2)



Comments

Popular Posts