Sunshine Land

From Microduino Wiki
Jump to: navigation, search
Language: English  • 中文


Sense light intensity via photosensitve sensor and simulate the change in Scratch.


Read photosensitive sensor analog vallue. Tthe lightness of the picture turns dark along with the light.


Hardware Buildup

  • Setup 1:Stack CoreUSB and Sensorhub
  • Setup 2:Connect light to the analog port—A0.

Software Debugging

  • Setup 1:Build Scratch programming environment.
  • Setup 2:Start programming. Example program download: File:Sunshine
  • Setup 3:Code description.
    • It can change the brightness of the picture by sensing light intensity. Users can change background picturen according to personal needs.


The photosensitive sensor can detect light. The brightness of the picturen in Scratch changes along with the light intensity.