Case 4 - Light Intensity Detection
Part 1 Objective
After you upload the program, the screen displays the light intensity detected by light sensor in real time.
Part 2 Preparation
CyberPi x 1
USB cable (Type-C) x 1
- Computer with network access x 1
Connect CyberPi to the computer by using the cable, open mBlock 5 (PC client, web version, or mobile app), connect CyberPi, and select the Upload mode.
Part 3 Programming
Detect the ambient light intensity and display it on the CyberPi screen in real time.
Part 4 Practice
Find some tools such as flashlight and desk lamp to change the ambient light intensity. See how the value changes!