Sensor-Light-A1

From Microduino Wiki
Revision as of 09:49, 8 November 2016 by Fengfeng (talk) (Gallery)
Jump to: navigation, search
Language: English  • 中文
Microduino-Lightness

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.

Feature

  • Resistance photosensitive element, with high sensitivity.

Specification

  • 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

Document

Development

Program Download

Programming

  • 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


Result

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

Application

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.

Project

Purchase

History

Gallery

  • Front
File:Microduino-Light-F.JPG
Sensor-Light Front
  • Back