Adjustable sensitivity Analog Photocell Brick allow you to adjust sensitivity of analog Photocel to get digital signal or set a trigger value.
Characteristics
The 3-pins ports is easy to plug and play.
Specifications
Item | Parameter :-: | :-: SKU|EF10044 Power Dissipation|ULP Working Temperature|-20-70℃ Working Voltage|3.3-5V
Outlook and Dimensions
Materials used and connection diagram
-
Connect to the P1 port
Take sensor:bit for example
Add Package
Click “Advanced”in the choice of the MakeCode to find more choices.
Click “Extensions”, search “oled”in the dialog box and then download the “oled-ssd1306”.
Program as the picture shows
Reference
Links: https://makecode.microbit.org/_405MVPbf1hu1
Result
-
The value of the illumination sensitivity is showing on the micro:bit.