Home
Grove - Infrared Emitter User Manual
Contents
1. Grow the Difference y seeed Grove Infrared Emitter User Manual Release date 2015 9 22 Version 1 0 Wiki htto www seeedstudio com wiki Grove Infrared Emitter Bazaar http nww seeedstudio com depot Grove Infrared Emitter p 993 html cPath 19 23 N y seeed Grow the Difference Document Revision History Wy seeed Grow the Difference Contents Document Revision History t s street treer era erre nr rear renee ener rn renee en l Introduction NE EE TEN EN Er E E TE T E T 2 Specification gt ttttttttteer erter rr rear ren ar er one nr enka nr roar eta rret kn rreetnn 3 Demonstration NN EE ee 4 With Arduino Seeeduino sstt trette nennrnnenennnnnnnnnnrnnennnnennnnnennnnnnnnnnenee 4 1 Suggest Reading for Starter gt gt s tttterereerrerae aa rner teense tree eres nn rennnn 4 2 IRSendRev Library seirende er ee ee vida ea 42 1 Setup e stters nere raneren oronnooaornnnnarennnannnssnnresnnnresnnresnnnrrsnnnrrsrnnresene 4 3 Infrared Emitter Examples Applications gt gt 22ttttsete ratene teeter teres 43 1 Receiver 000 000naronean anna anvaannnvanenanreannnannnanannenanerenneannnenanesanene 43 2 Etmitter 2ect ee tce cece eee eee eee eee eee eee eee eee ene ee eet nee tees 5 Resources Era ee Be GUIS OUR EEE At ERE Er PEER EE ar ODE S Ue ay al coo NT EE Er PE an Pr BeOS IONS y seeed Grow the Difference Disclaimer For physical injuries
2. so you can send the same data with remote control s button Application You can note the remote control s infrared data down through Infrared Receiver then send the same data through Infrared Emitter in some cases such as open the fan switch when indoor temperature is greater than 26 degrees Notice Must connect the IR send pins to D3 for this demo include lt IRSendRev h gt define BIT LEN 0 define BIT START H 1 define BIT START L 2 W define B define B define B define B const Tot IT_DATA H IT_DATA_L IT_DATA_LEN IT_DATA seeed Grow the Difference a n A O ir_freq 38 unsigned char dtaSend 20 void dtaInit dtaSend BIT LEN dtaSend BIT START H dtaSend BIT START L dtaSend BIT DATA H dtaSend BIT DATA L dtaSend BIT DATA LEN other you should increase or dtaSend BIT_DATA 0 dtaSend BIT DATA 1 dtaSend BIT DATA 2 dtaSend BIT DATA 3 dtaSend BIT DATA 4 dtaSend BIT DATA 5 void setup dtalnit 0 void loop IR Send dtaSend 38 delay 2000 iLile 180 91 Ibe Or 6 38k all data that needs to be sent the logic high duration of Start the logic low duration of Start the logic long duration in the communication the logic short duration in the communication Number of data which will sent If the number is reduce
3. and possessions loss caused by those reasons which are not related to product quality such as operating without following manual guide natural disasters or force majeure we take no responsibility for that Under the supervision of Seeed Technology Inc this manual has been compiled and published which covered the latest product description and specification The content of this manual is subject to change without notice Copyright The design of this product including software and its accessories is under tutelage of laws Any action to violate relevant right of our product will be penalized through law Please consciously observe relevant local laws in the use of this product y seeed Grow the Difference 1 Introduction The Infrared Emitter is used to transmit infrared signals through an infrared LED while there is an Infrared receiver to get the signals on the other side An infrared LED is like any other LED with its color centered around 940nm We can not only use the emitter to transmit data or commands but also to emulate remotes to control your home appliance using an Arduino The Infrared Emitter can transmit signals reliable up to 10 meters Beyond 10 meters the receiver may not get the signals y seeed Grow the Difference 2 Specification Voltage 3 3 5V Distance 10m seeed Grow the Difference 3 Demonstration The Grove Infrared Emitter can send data while Grove Infrared
4. Receiver will receive them Connect the Grove Infrared Emitter to D3 amp Connect the Grove Infrared Receiver to D2 N y seeed Grow the Difference 4 With Arduino Seeeduino 4 1 Suggest Reading for Starter e Download Arduino and install Arduino driver e Getting Started with Seeeduino Arduino 4 2 IRSendRev Library We have created a library to help you start playing quickly with the Seeeduino Arduino in this section we ll show you how to set up the library 4 2 1 Setup 1 Download the library code as a zip file from the IRSendRev github page 2 Unzip the downloaded file into your arduino libraries 3 Rename the unzipped folder IRSendRev 4 Start the Arduino IDE or restart if it is open 4 3 Infrared Emitter Examples Applications These example are going to show you how to use features of Grove Infrared Emitter You can use Infrared Emitter combination with Infrared Receiver Grove Connect the IR send pins to D3 for this demo 4 3 1 Receiver Notice You need to have an Infrared Receiver Grove And upload this demo to the board with Infrared Receiver Grove Open File gt Examples gt IRSendRev gt example gt recv sketch for a complete example or copy and paste code below to a new Arduino sketch Description This example connect the IR receiver pins to D2 for this demo You can see the remote control s infrared data that received through a serial port terminal then writ
5. dtaSend BIT DATAtx 128 L NS 1922 63 1927 63 data that will sent N y seeed Grow the Difference 5 Resources e Grove Infrared Emitter eagle files e IR Send and Receiver Library e TSAL6200 Datasheet
6. e the received infrared data into send ino and upload to the board with Infrared Emitter Grove so you can send the same data with remote control s button N y seeed Grow the Difference Application You can note the remote control s infrared data down through Infrared Receiver then send the same data through Infrared Emitter in some cases such as open the fan switch when indoor temperature is greater than 26 degrees include lt IRSendRev h gt define BIT LEN 0 define BIT START H 1 define BIT START L 2 define BIT DATA H 3 define BIT DATA L 4 define BIT DATA LEN 5 define BIT DATA 6 const int pinRecv 2 ir receiver connect to D2 void setup Serial begin 115200 IR Init pinRecv Serial printIn init over unsigned char dta 20 void loop if IR IsDtaQ get IR data TR Recv dta receive data to dta Serial primtln EE JOE Serial print LEN Serial println dta BIT LEN Serial print START H Serial print dta BIT START H Serial print NtSTART L 7 Serial println dta BIT START L Serial print DATA H Serial print dta BIT DATA HI Serial print NtDATA L Serial println dta BIT DATA L y seeed Grow the Difference Serial print r nDATA LEN Serial println dta BIT DATA LEN Serial print DATA for int i 0 i lt dta BIT DATA LEN
7. i Serial print 0x Serial print dta i BIT DATA HEX Serial print t Serial println Q Serial print DATA for int i 0 i lt dta BIT DATA LEN i Serial print dta i BIT DATA DEC Serial print t Serial println Q Serial println Ce or gt gt EE r n r n Upload the code to the development board Open the serial monitor window and wait for the input amp Using IR remote control sending data This example use MIDEA Company s IR remote control of fans and press the open close key You can see the information below y seeed Grow the Difference START L 91 DATA L 33 Ox7F OxCO Ox3F OxCO Ox3F 127 192 63 192 63 4 4 LEN 11 START_H 180 STARI_L 91 DATA_H 11 DATA_L 33 OxCO Ox3F gt V Autoscroll No line ending 115200 baud 4 3 2 Emitter Open File gt Examples gt IRSendRev gt example gt send sketch for a complete example or copy and paste code below to a new Arduino sketch Description Connect the IR send pins to D3 for this demo You can see the remote control s infrared data that received through Infrared Receiver such as the example above Then write the received infrared data into this example and upload to the board with Infrared Emitter Grove
Download Pdf Manuals
Related Search
Related Contents
ロケーションフリーベースステーション por favor, lea atentamente todas las instrucciones antes de iniciar la CIRCULAR DE ASESORAMIENTO U15 Les magasins, les iPassConnect 3.65 User's Guide Gobierno lanza portal de Consulta Ciudadana, más transparencia y ZKTeco FR1200 User Manual mode d`emploi mise en page 7 比較的安価な放射線測定器の性能‐第2弾 User Manual - Hexographer Copyright © All rights reserved.
Failed to retrieve file