Difference between revisions of "Sensor-Light-D1"

From Microduino Wiki
Jump to: navigation, search
(Hardware Setup)
(Introduction of the Sensor Pin)
 
(One intermediate revision by one other user not shown)
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. .
  
  
 
==Introduction of the Sensor Pin==
 
==Introduction of the Sensor Pin==
{{Sensor_explain
+
{{ST_Pinout
|nameA=[[Sensor-Light-D1]]
+
|st_name=Light D1 Sensor
|modeA=SDA
+
|pin3=IIC SDA
|modeB=SCL
+
|pin4=IIC SCL
 
}}
 
}}
 +
 
==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 44:
  
 
==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 81:
  
 
*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]]
 
|}
 
|}

Latest revision as of 23:10, 30 March 2017

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

Light D1 Sensor
General Pin Out Sensor / Trinket's Pin Out
PIN1 (GND) GND
PIN2 (VCC) VCC
PIN3 (SIGNAL-A) IIC SDA
PIN4 (SIGNAL-B) IIC SCL
  • General Pin Out is the standard pin out of a Sensor / Trinket connector.
  • Sensor / Trinket's Pin Out is this specific Sensor / Trinket's wiring in relation to the General Pin Out.
  • SIGNAL-A / SIGNAL-B are signals that could be digital input, digital output, analog input or analog output. Or special signals such as serial communication (SoftwareSerial, IIC (I2C), etc) or other special signals.
  • Not Connected refers to the Pin not being used for this particular Sensor / Trinket.
  • Read more about the hub module.

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
Retrieved from "https://wiki.microduinoinc.com/index.php?title=Sensor-Light-D1&oldid=14854"