Questions tagged [ir]

Infrared (IR) is a form of light which is not visible to the human eye. It can be used in a variety of applications, including remote controls, data transfer, reflectance sensing, and proximity/motion detection.

Filter by
Sorted by
Tagged with
-1
votes
0answers
13 views

my IRremote code is not working I'm not sure what's wrong?

void loop() { if (irrecv.decode(&results)){ Serial.println(results.value, HEX); irrecv.resume(); switch(results.value){ case 16582903: for(int s=0; s<...
-1
votes
2answers
1k views

Can I connect more than one IR receiver to an Arduino Uno?

I want to use #include <IRremote.h> to receive information from an infrared remote control. It works perfectly with one IR receiver. But I want to put three or four IR receivers: IRrecv ...
0
votes
0answers
11 views

Is it possible to use a IR proximity sensor as a dust optical sensor? [migrated]

I'm doing an automatized-ish windshield wiper project, which requires some kind of dust sensor. I have an IR proximity sensor and I could only find people using it for rain detection on windshields. ...
-1
votes
2answers
81 views

Problems when racing multiple IR controlled Arduino robots

We are attempting to race 3 IR-controlled Arduino robots (Elegoo IR kit), but the IR signal from each remote seems to be picked up by all three receivers. It is possible to create a unique bond ...
-1
votes
1answer
26 views

How to increase the range to IR transistor receiver

I have a Arduino project which controls LED using IR Receiver and Transistor.The circuits works fine,But the problem is the LED is Blinking Brightly only for short range basically between 5-8 cm,but ...
0
votes
0answers
29 views

Using arduino as a remote control

I have old Sony amplifier (F117R) and CD player (CDP-590), both equipped with IR remote controls. The problem is that I bought them as vintage without remotes. I have a rough idea how to build ...
0
votes
0answers
26 views

Arduino and Processing- Conditionals only executing sometimes in response to IR codes

I am reasonably new to arduino and even newer to Processing so still struggle with trouble shooting my code. The intention of my sketch is have Processing receive IR codes from the arduino and ...
0
votes
1answer
33 views

How can I receive signal from remote control using tcrt5000 sensor module

how can I use tcrt5000 sensor module instead of TSOP31238 (TSOP1738) IR receiver to get signal from remote control? I want to create remote control for my PC to navigate through my slide shows. Thanks ...
0
votes
1answer
26 views

Is it support to use Infrared radiation module in ESP12E?

I have a IR module -->image as shown is it possible to use the IR module in esp8266? how to do(sent and receive)? what is the packet format of IR module? please explain. Thanks
0
votes
2answers
30 views

Follow black and white line simultaneously

I have a line following bot which uses IR sensors (LSA08, more specifically) to detect the white line on black surface and stay on track. For the project however, there is a trick in the track. At a ...
3
votes
4answers
7k views

How to connect IR Transmitter and Receiver Module?

The IR Transmitter and Receiver module has both receiver and transmitter in same board. I tried Arduino IR Remote library example to decode Remote signal using below connection, but its not working. ...
3
votes
1answer
110 views

Controlling relays with IR and button

What I have: 1 x 8 channel relay 1 x IR receiver 1x Arduino Uno 1x momentary switch 1x breadboard 1x 10K resister I think the wiring is all ok as for the most part things are working as they should.....
0
votes
1answer
349 views

Breaking out of a while loop using IR remote for neopixel

I've been piecing together various lighting effects. I am wanting to have each lighting effect loop until another button is pressed to trigger another lighting effect. I've come to a bit of ...
0
votes
0answers
31 views

IRremote library not compiling for Sparkfun RedBoard Artemis

I have an IR Receiver hooked up to digital pin 10 on my Sparkfun RedBoard Artemis and I want to decode IR signals coming from a TV remote. I have the following code: #include <IRremote.h> int ...
0
votes
0answers
54 views

Problem sending IR signal on Arduino Leonardo/Uno (IRRemote library)

I am trying to use my Arduino Leonardo (or Uno!) as a remote with the IRRemote library. The current setup picks up and decodes a signal perfectly, but fails to retransmit it. I have tested the ...
0
votes
1answer
419 views

Using digital pin 11 for DMDCon and IR remote

I have a project where I would like to control a countdown clock using a remote with: Arduino Uno R3 Development Board Funduino Uno Protoshield Board Freetronics Dot Matrix Display Connector ...
0
votes
1answer
128 views

Write an array to SD

I'm new to the Arduino and I asked some questions around here and they were really helpful so I'm hoping I will get help once more #define maxLen 800 volatile unsigned int irBuffer[maxLen]; //...
1
vote
0answers
218 views

Yun - FileSystem.Open prevents client.println from outputting to web page

The below code is meant to display lines stored in a text file to an arduino based web page (it's a IR gate monitoring solution). When I visit I can execute client.println("hello") and I see the ...
2
votes
1answer
997 views

A/C doesn't detect IR codes sent from Arduino

I have an IR receiver and an IR LED I got from a kit (I don't have the datasheets for them). I uploaded an Arduino sketch to record my A/Cs IR codes. Those were NEC encoded 32bit integers. After ...
-2
votes
2answers
235 views

I am trying to combine an automatic door lock with an RFID MFRC522 with a IR REMOTE program

I am getting this error. Arduino: 1.8.2 Hourly Build 2017/02/17 11:33 (Windows 8.1), Board: "Arduino/Genuino Uno" Tone.cpp.o (symbol from plugin): In function `timer0_pin_port': (.text+0x0): ...
1
vote
0answers
505 views

How do I save IR codes from my LG Air Conditioner remote and replay them?

I am currently using the following code #include <IRremote.h> int RECV_PIN = 11; IRrecv irrecv(RECV_PIN); decode_results results; void setup() { Serial.begin(9600); irrecv.enableIRIn(); // ...
0
votes
0answers
105 views

Using the Broadcom AFBR-S50 with Arduino

I'm trying to interface with a Broadcom AFBR-S50MV85G ToF sensor over SPI using an Arduino, which is complicated by the fact that the provided library and reference application is written for Cortex ...
0
votes
1answer
73 views

MOSFET dimmer IR controlled

I am trying to make a group of LED dim with PWM to a MOSFET. The code seems to work for this, but the trouble is that the IR receiver will only receive the signal to turn on the lights and then IR ...
0
votes
2answers
209 views

how to use hx-53 (IR Transmitter Infrared Sensor Module) with ESP32?

ESP32 tx2 (pin17) and rx2 (pin16) uses 3.3v based signals. HX-53 data connect to tx2, gnd to gnd and vcc to vin(5v). But as i can understand HX-53 data input should be 5v based. How can i solve ...
4
votes
1answer
201 views

Tone() conflicts with IRremote library (multiple definition of `__vector_7')

I have just started with Arduino and C++ so I apologise if my question is very basic. I am trying to use tone() with a passive buzzer to create a sound while also using the IRremote library for a ...
0
votes
2answers
292 views

Arduino Switching Between Loops IR Remote

I've been working on an LED strip project. However, I've come to a stand still at the moment. Within the program I am wanting to assign different lighting effects to each button on my IR remote. I am ...
0
votes
0answers
17 views

Arduino Setup for RF Transmit and Receive, IR Receive, WS2812 LEDs and a Piezo Speaker

I am new to Arduino and microcontroller in general and just finished one Project (TonUINO - a DIY music box for kids). Now I am planing and working on my next project. A IR shooting range. The guns ...
0
votes
1answer
78 views

Measure position of gear with arduino

So, my plan is to be able to turn a motor, with a gear on the end, for a certain amount of gear teeth then stop it. I can’t find a data sheet for the motor but it is very fast, brushed and DC. I was ...
0
votes
1answer
61 views

Using Serial.write() to send a uint32_t send one byte x4 or send 4 bytes x1

In the IRremote library, IR signals are decoded and held in results.value. My project uses the NEC protocol which is 32 bits, so the IR code will always be 4 bytes. uint32_t dCodedIR; // // code ...
0
votes
1answer
62 views

Arduino IDE upload error

I've recently been trying to make program using IRremote(library) in my Arduino IDE(v1.8.9), but whenever I hit the upload button this error message is returned Sketch uses 7514 bytes (23%) of ...
1
vote
1answer
66 views

Change data-type String

I'm currently working with an ESP8266 NodeMCU V3 and an IR transmitter breakout board. The module receives NEC IR commands trough a HTTP request and then sends them trough the IR transmitter. Getting ...
2
votes
0answers
997 views

ESP32 IR remote

my board is a firebeetle esp32 that I am using as an IR remote. After using the Ken Shirrif IRremote library for about 6 months successfully, then the time came to change a few things on the web ...
0
votes
2answers
86 views

How does input from IR receiver to Arduino UNO board work?

I have a very simple circuit with an Elegoo IR receiver module connected to an Arduino UNO. The three wires are connected correctly with the data wire (Y) connected to pin 8. The code works fine, as ...
0
votes
1answer
3k views

How can I stop my Servo rotating?

I have a continuous servo motor connected to my Arduino UNO. I want it to react to the Hexadecimal code received by an Infrared remote. I want the motor to rotate once in one direction and then rotate ...
0
votes
0answers
26 views

Controlling multiple Screens using IR

I'm a software Engineer, and recently I’ve been working on a new Software Part of this Software is to be able to turn off and on multiple TV screens using timers in the software First idea came to my ...
0
votes
1answer
126 views

what is the difference between array of uint16_t data versus an array of uint16_t variables?

I've been struggling with weird behavior, crashes and general problems when trying to use an array of four uint16_t groups of data. When I create four separate variables and load that into an array, ...
2
votes
5answers
3k views

Why is Arduino resetting while driving motors?

I am driving motors for my line-follower project . The circuit schematic is given below The power source is a 11.1V 2200mAh 25C Lipo . Practically the cells give 11.5-12V. I used a switching buck ...
0
votes
0answers
34 views

Cannot give battery through USB cable

I just make a simple circuit with uno and breadboard ,that connected 4 LED and 4 IR sensor. The arduino program is simple that makes the light on or off with the determination of IR sensors . However ...
0
votes
1answer
71 views

invalid conversion from 'uint16_t* error when creating an array of uint16_t items

I'd like to create an array of remote control codes provided by the raw read feature of the irlib2 library. irlib2 provides the following uint16t arrays using the following format: #define ...
1
vote
2answers
571 views

KY-022 IR receiver, LED always on, no output

I've been trying to use a KY-022 to read IR signals. However no output is being produced and the LED on the board is constantly on. Board: Arduino Uno R3 I followed the procedure found here. The ...
0
votes
0answers
25 views

Do I have to use Arduino IRRemote libraries?

I have seen some tutorials to build your own IR Remote. But all of them use a library that contains the IR code. The question is, could I just skip, injecting a library and make the Arduino output a ...
-1
votes
1answer
51 views

Precise On/Off control for IR LED

My goal is to be able to send/receive IR messages in my own custom format and send messages ~10 bytes long. My message object will get serialized down to individual bits, which are transmitted by ...
1
vote
4answers
2k views

Generating a 38 KHz signal without timers

I am currently trying to generate a 38 KHz signal for my TSOP4838 (http://www.vishay.com/docs/82459/tsop48.pdf) with an ATtiny84A. I know the real thing would be to utilize a timer but the ATtiny ...
0
votes
1answer
91 views

Arduino RGB LED not working all the time?

I was creating an RGB LED System with one 1 RGB LED controlled by an IR Remote. I wanted to assign a button to trigger a mood-light which cycles through the rainbow, and that works fine. But when I ...
-1
votes
1answer
51 views

Problems with Arduino + IR + Raw code low memory

im having a problem with my new project with arduino + ir emitter + big raw codes. I've tryed this way: https://gist.github.com/jjmjr/41ed083c8229d0218c962641c5af27b0 As you can see each of my raw ...
1
vote
1answer
89 views

Sanity check for dual IR LED circuit [closed]

If the intent is to drive the two LED's with 200-400mA (using PWM @ 38Hz), is there anything wrong with this solution? Perhaps this is a better solution, as it ensures the current is exactly the same ...
1
vote
1answer
117 views

How to use IRremote library with atmega8a

A few days ago I tested a circuit on a breadboard based on a ATmega8a with 1 MHz internal oscilator. It sould turn on and off a relay based on a IR code that is received and if it matches the ...
0
votes
2answers
118 views

ir sender detecting receiver and display

I am in a pickle and want to know if you can help me. I have an IR sensor and receiver and want a program that makes a light bulb flash or detect whenever the IR receiver is in range. So whenever the ...
0
votes
2answers
268 views

Time between two IR beam sensors

I am working with two sets of IR beam, they are to be placed in X distance. My goal is to measure speed. I would like to measure time between the first IR beam to the second beam when the beam breaks. ...
0
votes
1answer
49 views

Arduino Uno keeps looping on setup() everytime I press a specific button on the remote

I'm trying to decode my Panasonic television remote using the IR_RECEIVE sketch below. When I press the remote's buttons it works fine and Iget the values, except from when I press the power button - ...