Sensor-Light-D1

From Microduino Wiki
Revision as of 05:39, 12 September 2016 by Fengfeng (talk) (Program Download)
Jump to: navigation, search
Language: English  • 中文
Microduino-Light-D1

The product number of Microduino-Light-D1 is: MSDT41

Microduino-Light-D1 is a digital light sensor module.


Introduction 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-D1 sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): SDA
    • PIN4(IO2): SCL


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

Features

  • Adopt TSL2561 light sensor, which optional address;
  • With high accuracy and high sensitivity;
  • With low consumption, long service life and good stability;
  • With wide working voltage;
  • With small size which is easy to install.

Specification

  • 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
  • Technical parameters
    • Programmable interrupt of which the user can define the upper limit and lower limit values;
    • 6-bit digital output, and the fast mode working at 400khz;
    • Programmable analog gain and integral time;
    • Automatically reject 50/60-Hz lighting;
    • Low active power (0.75 mW typical)and power down mode;
    • Conform to RoHS;
    • Measurement unit: light intensity lux;
  • Connection
    • This sensor can be connected to the interface I2C of the core module.

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 "TSL2561T_Test.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-D1 to interface I2C of Microduino-Sensorhub.


Microduino-sensorhub I2C.JPG


Result

  • After download, open the serial monitor.
  • The serial monitor will print out the configuration information of the sensor, and then display the current light intensity in cycle.

Application

It can be used to detect the environment light intensity, and also can be used in devices such as light-operated switch and so on.


Purchase

History

Gallery

  • Front
File:Microduino-Light-D1-f.JPG
Microduino-Light-D1 Front
  • Black
File:Microduino-Light-D1 -b.JPG
Microduino-Light-D1 Back