Difference between revisions of "Sensor-LED"

From Microduino Wiki
Jump to: navigation, search
(Features)
Line 4: Line 4:
 
|
 
|
 
[[File: Microduino-LED-rect-v1.jpg|400px|thumb|right|mCookie-Hall]]
 
[[File: Microduino-LED-rect-v1.jpg|400px|thumb|right|mCookie-Hall]]
The product number of mCookie Sensor—LED : '''MSDL11'''
+
The product number of mCookie Sensor—LED: '''MSDL11'''
  
 
mCookie Sensor-LED has red, yellow and green three colors.  
 
mCookie Sensor-LED has red, yellow and green three colors.  

Revision as of 10:04, 28 September 2016

Language: English  • 中文
mCookie-Hall

The product number of mCookie Sensor—LED: MSDL11

mCookie Sensor-LED has red, yellow and green three colors.


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-LED sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Digital signal output
    • PIN4(IO2): NC


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


Features

  • With small size which is easy to install.
  • Has red, green, and yellow three types.

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
    • LED will twinkle with 1s as the interval.
  • Connection
    • This sensor can be connected with the following interfaces of the core: D2~D13

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_LED_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 picture, connect the Sensor-LED to the digital port D6 of Microduino-Sensorhub.


Microduino-sensorhub Shake.JPG


Result

  • LED will twinkle with 1s as the interval.

Application

  • Indicator lamp

Projects

Purchase

History

Gallery

File:Microduino-LED-F.JPG
mCookie-LED Front
File:Microduino-LED-b.JPG
mCookie-LED Back