Difference between revisions of "Sensor-Light-D1"

From Microduino Wiki
Jump to: navigation, search
(Hardware Setup)
Line 6: Line 6:
 
The product number of Microduino-Light-D1 is: MSDT41
 
The product number of Microduino-Light-D1 is: MSDT41
  
Microduino-Light-D1 is a digital light sensor module.
+
Microduino-Light-D1 is a digital light sensor module, which can detect the light intensity. .
  
  
Line 16: Line 16:
 
}}
 
}}
 
==Features==
 
==Features==
*Adopt TSL2561 light sensor, which optional address;
+
*Adopt TSL2561 light sensor, which has optional address;
 
*With high accuracy and high sensitivity;
 
*With high accuracy and high sensitivity;
 
*With low consumption, long service life and good stability;
 
*With low consumption, long service life and good stability;
Line 43: Line 43:
  
 
==Document==
 
==Document==
*Tsl2561 datasheet: '''[[File: Microduino-Light-D1.pdf]]'''
+
*Schematic diagram: '''[[File: Sensor-Light-D1.zip.pdf]]'''
 +
*Main chip: '''[[File: TSL25617 datasheet.pdf]]'''
  
 
==Development==
 
==Development==
 
===Program Download===
 
===Program Download===
*Download and unzip the program '''[[File:TSL2561T_Test.zip]]'''
+
*Download and unzip the program '''[[File:Sensor-Light-D1 Test.zip]]'''
  
 
===Programming===
 
===Programming===
Line 79: Line 80:
  
 
*Front
 
*Front
[[file: Microduino-Light-D1-f.JPG|thumb|600px|center|Microduino-Light-D1 Front]]
+
[[file: Microduino-Light-D1-f.JPG|thumb|600px|center|Sensor-Light-D1 Front]]
 
*Black
 
*Black
[[file: Microduino-Light-D1 -b.JPG|thumb|600px|center|Microduino-Light-D1 Back]]
+
[[file: Microduino-Light-D1 -b.JPG|thumb|600px|center|Sensor-Light-D1 Back]]
 
|}
 
|}

Revision as of 09:40, 8 November 2016

Language: English  • 中文
Microduino-Light-D1

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

Microduino-Light-D1 is a digital light sensor module, which can detect the light intensity. .


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 has 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
Sensor-Light-D1 Front
  • Black
File:Microduino-Light-D1 -b.JPG
Sensor-Light-D1 Back