32. Octopus Analog Photocell Brick Adjustable Sensitivity

32.1. Introduction


Adjustable sensitivity Analog Photocell Brick allow you to adjust sensitivity of analog Photocel to get digital signal or set a trigger value.

../../_images/nJi2xZe.jpg

32.2. Characteristics


  • The 3-pins ports is easy to plug and play.

32.3. Specifications


Item | Parameter :-: | :-: SKU|EF10044 Power Dissipation|ULP Working Temperature|-20-70℃ Working Voltage|3.3-5V

32.4. Outlook and Dimensions


../../_images/ZpGNMav.png

32.5. Quick to Start


Materials used and connection diagram

  • Connect to the P1 port

    Take sensor:bit for example

../../_images/bYOBa9A.png

Add Package

Click “Advanced”in the choice of the MakeCode to find more choices.

../../_images/smtcNoB2.png

Click “Extensions”, search “oled”in the dialog box and then download the “oled-ssd1306”. ../../_images/VGSLRXB1.png

Program as the picture shows

../../_images/afc0hr7.png

Reference

Links: https://makecode.microbit.org/_405MVPbf1hu1

You can also download the links below:

---

Result

  • The value of the illumination sensitivity is showing on the micro:bit.

32.6. Relevant Cases


32.7. Technique Files