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.
188
questions
0
votes
0answers
57 views
Why Blynk code doesn't have anything in the loop except for one statement
When I was trying to use the Blynk app for the first time I got code from their website that had only one statement in the loop.
How does the code determine what to do when we press a button in the ...
1
vote
0answers
28 views
IR remote signal interference
Im trying to make an arduino project which uses IR remote control and does certain thing.
My doubt is the weather the hex codes of some remotes be similar
and if they are how to tell arduino to only ...
3
votes
1answer
318 views
Help solving “collect2.exe: error: ld returned 1 exit status” error in code
I just got an Elegoo UNO starter kit the other day and have been working my way through the little tutorials on all the parts it came with. I am using VSCode with Platform.io plugin and (after getting ...
0
votes
1answer
36 views
Problem with L293D controlled motors using IR pilot remote
I have a problem with my line follower:
My robot has 4 wheels with DC motors connected to L293D shield (Arduino Uno).
The robot is a line follower controlled by IR pilot with an IR receiver, it has 4 ...
1
vote
2answers
49 views
(very new to C) I'm trying to use irsend with what I think is char* but it won't take it. How can I convert it to what it needs?
I'm attempting to use a raspberry pi to send ir codes directly to my arduino to have as simple as a C program as possible. Here's my code I've been tinkering with that leads to errors or not working ...
1
vote
1answer
20 views
Minimizing IR Detection Interference
I'll start by saying that the goal here is to have a hand/distance detection device. Basically touch-less button.
I managed to get it working with a simple 2-pin IR emitter and 2-pin IR detector using ...
0
votes
0answers
34 views
IR remote library with an air conditioner
I NEED a library to read hex code from an air conditioner's remote (long length signal).
IRremote library doesn't work on AC remote but it works on TV's remote control.
Thanks
1
vote
0answers
24 views
IR output won't stop
So I basically tried to control a Servo motor with an IR Remote. I'm a complete newbie in arduino programming but I just took some things from other scripts and tried them out until It worked, and it ...
5
votes
4answers
76 views
What is the best and most reliable way to detect if a book is pulled out of a book case?
What is the best and most reliable way to detect if a book is pulled out of a book case?
I have a book case which I want to mount sensors to so that I can detect when certain books are pulled out, I ...
3
votes
2answers
53 views
Is an Ultrasonic Sensor or Infrared Sensor better for measuring distance (to/from a human body)?
I'm trying to make a sensor to detect that a person is within 50cm to trigger a function. But when I use the HR-SR04 sensor, it works accurately on flat surfaces (e.g. walls, books) with a margin of ...
1
vote
1answer
113 views
Measuring car speed between two points: What sensor to use and how to cover the distance?
PROBLEM
Cars regularly exceed the speed limit in our street
SOLUTION
Measure each car's speed and clearly display the speed to the driver
EXECUTION
Measure the time the car takes to cover a set ...
0
votes
0answers
65 views
Atmega 2560 IR receiver returning random values with using NeoPixels
I am using atmega 2560 to control 590 LED lights with NeoPixels library.
I also got an IR receiver connected so I could control the LED properties and it does work but only when the LEDs are not ...
0
votes
1answer
39 views
Storing IR Sensor value not working
This is my first time working on Arduino for my project and I ran into an issue. I'm trying to make a very simple Vending Machine. Coin or any obstacle passes in front of the IR sensor and based on ...
0
votes
1answer
65 views
Circuit not working with 9 volt battery [duplicate]
I have made a simple circuit having an IR receiver and a Servo motor. Here is the diagram:
Red wire: power
Black wire: ground
Orange wire: digital signal
And here's the code:
#include <Servo.h>
...
1
vote
1answer
63 views
PROGMEM for IR command storage
I'm working on a code that is able to send raw data as IR signal to IR transmitter,
the memory of arduino Nano is not enough to store the array in SRAM storage,so i'm about to use PROGMEM to store ...
-1
votes
2answers
165 views
Running a motor for a 3 seconds continuously with and without interrupt
I have interfaced a dc motor and IR sensor to my nano. The DC motor is supposed to run only if the IR sensor detects an obstacle. Now, I'm trying to get the motor to turn off if continuously ...
-1
votes
1answer
54 views
motor controll holding ir remote button
im controlling some small dc motors using arduino uno and tle94112el shield. currently, i can independently controll motors by pressing remote's buttons, but i wanna keep one motor rotating by holding ...
0
votes
2answers
41 views
IR Remote with Arduino
I want to build a remote with Arduino Nano. I have viewed many tutorials in the web, but I don't have the IR Receiver (TSOP1740). Is there any way to use Jjust an IR Led as the receiver?
2
votes
1answer
104 views
I am facing a problem of firing multiple interrupts on nodemcu 1.0 on single rising edge pulse.what is problem and what are the solutions?
I am working on a project which involves counting the drops falling in a drip chamber of a IV fluid gravity based therapy bottle(saline bottle).I am using IR trans-receiver at the drip chamber to ...
0
votes
1answer
48 views
Determining which raw IR code to use for AC
I'm new on this so go easy on me.
I'm trying to make an IR blaster to control my TV and ACs. I realized that when I capture the IR code, power button/temp up and down/mode send raw codes that are ...
0
votes
1answer
110 views
Which one is IR led?
I've ever been so confused in my life. I'm new to Arduino and electronics but I just can't figure it out which diode is IR transmitter/receiver or even if it is IR. I know that IR is not visible to ...
-1
votes
1answer
63 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
36 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 ...
1
vote
0answers
31 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
223 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
2answers
42 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 ...
0
votes
1answer
39 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
0answers
292 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
744 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]; //...
2
votes
1answer
472 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
142 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 ...
4
votes
1answer
3k 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
1k 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 ...
0
votes
0answers
29 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
346 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
89 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
97 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
170 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
3k 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 ...
-1
votes
2answers
103 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 ...
0
votes
2answers
408 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 ...
1
vote
0answers
39 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
506 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, ...
1
vote
0answers
37 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 ...
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
1answer
717 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
0answers
30 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
64 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 ...
0
votes
1answer
78 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 ...
0
votes
1answer
158 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 ...