Difference between revisions of "Sensor-Light-A1"

From Microduino Wiki
Jump to: navigation, search
(Created page with "{{Language|Microduino-Lightness}} {| style="width: 800px;" |- | 400px|thumb|right| Microduino-Lightness The product number of Microduino-Lightne...")
Line 4: Line 4:
[[File: Microduino-Light.jpg|400px|thumb|right| Microduino-Lightness]]
[[File: Microduino-Light.jpg|400px|thumb|right| Microduino-Lightness]]
The product number of Microduino-Lightness is: '''MSDT42'''
The product number of Sensor-Light-A1 is: '''MSDT42'''
Microduino-Lightness is a photosensitive brightness detection sensor module.  
Sensor-Light-A1 is a photosensitive brightness detection sensor module.  
Line 36: Line 36:
*Schematic diagram: '''[[File: Microduino_Light_A1.Zip]]'''
*Schematic diagram: '''[[File: Sensor-Light-A1.Zip.pdf]]'''
*Main sensor: '''[[File: Sensor-Light-A1 datasheet.pdf]]'''
===Program Download===
===Program Download===
*Download and unzip the program '''[[File:Microduino_Light_A1.zip]]'''
*Download and unzip the program '''[[File:Sensor-Light-A1 Test.zip]]'''

Revision as of 09:48, 8 November 2016

Language: English  • 中文

The product number of Sensor-Light-A1 is: MSDT42

Sensor-Light-A1 is a photosensitive brightness detection sensor module.

The light sensor transforms the light signal into electric signal with the photosensitive resistance. Its sensitive wavelength is near that of the visible light, including the infrared and the ultraviolet.

Description of the Sensor Pin

Sensor backpin.png
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Light-A1 sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Analog signal input
    • PIN4(IO2): NC

Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.


  • Resistance photosensitive element, with high sensitivity.


  • Sensor voltage
    • 3.3V~5V working voltage
  • Size of the sensor
    • Size of the board: 23.5mm*13mm;
    • 1.27mm-spacing 4Pin interface connected with sensorhub;
    • CAD drawing of the sensor: File:Sensor CAD.zip
  • Function description
    • The sensor outputs the corresponding voltage according to the detected light intensity.
  • Connection
    • This sensor can be connected to the following interfaces of core: A0~A7



Program Download


  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Microduino_Light_A1.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the Sensor-Light_A1 to the analog port A0/A1 of Microduino-Sensorhub.

Microduino-sLight A1.JPG


  • After download, open the serial monitor.
  • The value displayed on serial monitor reflects the current light intensity detected by the sensor.


It can feel the intensity of light around us. It can be used to detect the light intensity, and control the indoor lighting and object shading and so on.





  • Front
Microduino-Light Front
  • Back
File:Microduino-Light -b.JPG
Microduino-Light Back