Difference between revisions of "Sensor-IR Receiver"

From Microduino Wiki
Jump to: navigation, search
(Features)
(Specification)
Line 26: Line 26:
  
 
==Specification==
 
==Specification==
*Electrical specification 
+
*Voltage
**3.3V~5V operation voltage;
+
**3.3V~5V working voltage  
**Input device
+
*Electronic specification
*Tech parameters 
+
**Working current: 15uA
**Wave length: 0.76~1.5μm
+
**Working temperature: -20~85℃
 
*Size  
 
*Size  
**Size of the receiver 5mm*5mm
+
**Size of the board: 23.5mm*13mm
**Size of the board: 20mm*10mm
+
**1.27mm-spacing 4Pin interface connected with sensorhub
**1.27mm-pitch 4PIN interface 
+
**The CAD drawing of the sensor: '''[[File:Sensor_CAD.zip]]'''
*Connection method
+
*Technical parameters
** Pin description: GND, VCC, signal output and NC(empty). Since the output signal is digital, it needs to use digital interface to detect (D0~D13). Microduino-IR-Receiver can be connected to the pins (3~10) of the Sensorhub with the corresponding pins(D0,D2,D4,D6,D8,D10,D12).
+
**The wave length is between 0.76~1.5μm
 
+
*Connection  
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]
+
**This sensor can be connected to the following interfaces of the core: '''D2~D13''','''A0~A7'''
[[File: Microduino-IR-receiver_rule1.jpg|600px|thumb|center]]
 
  
 
==Document==
 
==Document==

Revision as of 05:56, 10 November 2016

Language: English  • 中文
Microduino-IR-receiver

The product number of Sensor-IR-receiver is: MSDI22

Sensor-IR-receiver is an infrared receiving sensor.

Sensor-IR-Receiver contains a semiconductor device, which can turn the infrared light signal into electrical signal. Its core part is a PN junction with special material. Compared with the ordinary diode, it adopts great change in structure with a larger infrared receiving area, which makes the current increase accordingly.

Introduction of Sensor Pins

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


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



Features

  • Pulse type;
  • Long receiving distance and strong anti-interference ability;
  • With small size which is easy to install

Specification

  • Voltage
    • 3.3V~5V working voltage
  • Electronic specification
    • Working current: 15uA
    • Working temperature: -20~85℃
  • Size
    • Size of the board: 23.5mm*13mm
    • 1.27mm-spacing 4Pin interface connected with sensorhub
    • The CAD drawing of the sensor: File:Sensor CAD.zip
  • Technical parameters
    • The wave length is between 0.76~1.5μm
  • Connection
    • This sensor can be connected to the following interfaces of the core: D2~D13,A0~A7

Document

Development

Preparation

Program

  • Open " IRrecvDemo " program in the libraries.
MCookie-IRrecvDemo.JPG
  • include <IRremote.h> Use infrared library function
  • int RECV_PIN = 10; Define infrared receiving pin as 10, which can also be changed by users according to personal needs. (For example: Change " RECV_PIN = 11" in the program examples to " RECV_PIN = 10")
  • IRrecv irrecv(RECV_PIN); Define infrared receiving object
  • irrecv.enableIRIn(); Start infrared receiving
  • Receive and output
 if (irrecv.decode(&results)) {      
   Serial.println(results.value, HEX);
   irrecv.resume();
 }

Hardware Buildup

  • Connect the interface on the back of the IR-receiver with D10 digital port of the Sensorhub;
  • Please refer to: Microduino-Sensorhub
Microduino-sensorhub D10.PNG
MCookie-sensorhub D10.PNG
  • Connect the core, Sensorhub and the IR-receiver to a computer with a USB cable.
  • Select the right board and COM port, compile and download. You can refer to AVR Core:Getting started
Upload.JPG
  • After download, you can open the serial monitor and use the infrared remote controller to send signals to the infrared receiving head. When you see the LED light on the IR-receiver blinks once, it means the receiving head has gotten the signals while the serial console will print decoded data.

Application

Microduino-IR-receiver can be used in infrared remote control, which is able to be matched with all kinds of infrared remote controller. You need to make sure the infrared signal type and protocol format before using.

Purchase

History

Pictures

  • Front
Microduino-IR-receiver Front
  • Back
Microduino-IR-receiver Back