AMX IRLIB Manual de usuario

Busca en linea o descarga Manual de usuario para Software AMX IRLIB. AMX IRLIB User manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir

Indice de contenidos

Pagina 1 - Created by Chris Young

Using an Infrared Library on ArduinoCreated by Chris YoungLast updated on 2015-02-26 05:00:06 PM EST

Pagina 2

ignore that sequence which forces the user to release and repress the button each time or you canstore the previously received code and process it wh

Pagina 3 - Overview

Controlling NeoPixels with IRIn this very simple example we will change the color of a NeoPixel by pushing buttons on theremote. We are using a single

Pagina 4 - About IR libraries

We create a NeoPixel strip with one pixel connected to pin 6. Also create a receiver objectconnected to pin 11 and a decoder object. Reinitialize the

Pagina 5 - Hardware Needed

actually change the color and My_Receiver.resume() to reset the receiver so it can collect anothercode.Upload the sketch and try pressing the volume

Pagina 6

Controlling a Servo with IRSetting up the ExampleIn this example we will control the servo using an IR remote. We can adjust the speed that the servom

Pagina 7 - Decoding IR Data

Upload the CodeBelow is a version of the IRservo.ino sketch from the IRLib examples folder. It has been modified tobe used with the Adafruit Mini Remo

Pagina 8

Upload the sketch and try pushing the left and right arrow buttons. The servo should turn left andright. Pushing the enter button should center the se

Pagina 9 - Protocol Specific Issues

How It WorksThe program creates a receiver on object, a decoder object and a servo object. You can find moreinformation on the standard Arduino Servo

Pagina 10 - RC5 and RC6 Toggle Bits

You will need to put // in front of #define IR_SEND_TIMER1 to comment out that line. Then removethe slashes from in front of one of the other two opt

Pagina 11 - Controlling NeoPixels with IR

Sending IR CodesHardware IssuesIRLib not only receives and decodes IR signals but it can transmit them as well using an IR LED anda driver circuit. Th

Pagina 12

234555789910101114141517171919212223Guide ContentsGuide ContentsOverviewAbout IR librariesReceiving and Decoding IRSoftware installationHardware Neede

Pagina 13

control air conditioners and fans however protocols used for air-conditioners are extremely difficultto implement and we have not directly supported s

Pagina 14 - Setting up the Example

While we can connect an IR receiver to any available digital input pin, you can only use very specificpins for output. The library uses PWM pins and m

Pagina 15 - Upload the Code

Inside the loop the send command would then be:Some protocols such as NEC always use the same number of bits and so you do not need tospecify as an ad

Pagina 16

In a separate tutorial we will show you how to use IRLib to create your own universal remote byeither sending data through the serial port into the A

Pagina 17 - How It Works

OverviewMost consumer electronic devices such as TV, cable box, DVD players and other devices useinfrared signals for remote control. Each manufactur

Pagina 18

About IR librariesIR signals consists of a series of modulated pulses called "marks" separated by intervals called"spaces". Typic

Pagina 19 - Sending IR Codes

Receiving and Decoding IRSoftware installationInstallation of the IRLib library is as follows:1. Visit the IRLib page on GitHib (http://adafru.it/ez9

Pagina 20

Connecting the IR receiver is very simple. Connect the left-hand pin to any digital input pin on yourArduino. In our examples we will use pin 11. Conn

Pagina 21 - Loading the Software

IR Receiver Selection Guide fromVishay (PDF format)http://adafru.it/ezbMore information on receivers as well as schematics for using multiple receiver

Pagina 22 - My_Sender.send(0xa8bca, 20);

0:m500 s600 1:m550 s550 2:m500 s600 3:m550 s600 4:m500 s600 5:m500 s600 6:m500 s600 7:m550 s550 8:m500 s1750 9:m500 s1700 10:m500 s1700 11:m550 s1650

Pagina 23

uses the timing information and the number of bits to see if it matches one of the supportedprotocols. If it succeeds, it returns "true" alt

Comentarios a estos manuales

Sin comentarios