Difference between revisions of "Infrared transmission"

From Microduino Wiki
Jump to: navigation, search
(Equipment)
(Outline)
Line 3: Line 3:
 
|
 
|
 
==Outline==
 
==Outline==
Microduino-IR-Transmitter can emit infrared signal through LED and then receive signal with [[Infrared Receiver]]. Like a remote controller, the infrared transmitter can also control home appliances such as TV, air conditioner, water heater and refrigerator. Its maximum transmission distance is 10m.
+
Microduino-IR-Transmitter can emit infrared signal through LED and then receive signal with [[Infrared receiver]]. Like a remote controller, the infrared transmitter can also control home appliances such as TV, air conditioner, water heater and refrigerator. Its maximum transmission distance is 10m.
  
 
==Specification==
 
==Specification==

Revision as of 08:42, 4 November 2015

Outline

Microduino-IR-Transmitter can emit infrared signal through LED and then receive signal with Infrared receiver. Like a remote controller, the infrared transmitter can also control home appliances such as TV, air conditioner, water heater and refrigerator. Its maximum transmission distance is 10m.

Specification

  • Electrical specification
    • Operation voltage: 3.3V~5V
  • Tech parameters
    • Sensing distance:10m
  • Size
    • Size of the LED: 5mm,
    • 10mm*20mm
    • 1.27mm-pitch 4PIN interface
  • Connection Method
    • GND, VCC, D6,NC. Modules must adopt D6 interface.

Development

Equipment

Module Number Function
mCookie-CoreUSB 1 Core board
mCookie-Hub 1 Sensor pin board
Microduino-IR Transmitter 1 Infrared transmission

Preparation

Setup 1:Connect the IR transmitter's interface with the Hub's D6 digital port.

  • Setup 2:Connect the core, Hub and IR transmitter to a computer with a USB cable.
MCookie-strandtext-pc.JPG

Debugging

  • Open " IRsendDemo " program in the libraries.
MCookie-IRsendDemo.JPG
Upload.JPG
  • include <IRremote.h> Use infrared library function
  • IRsend irsend; Define infrared receiving object
  • irsend.sendSony(0xa90, 12); Send infrared code
  • You can open the serial monitor. Input any values at the console and you'll see the LED on the IR-transmitter blinks once, meaning the infrared signal has been sent.