Control any Electronics with a TV Remote | Arduino IR Tutorial

preview_player
Показать описание
In this Arduino Tutorial we will learn How To Control Electronic Devices using a TV remote and an Arduino. We will make few examples starting from controlling a simple LED, then controlling a DC Fan speed, to controlling high voltage home appliances.

Like my page on Facebook:

Add me on Google+:

Рекомендации по теме
Комментарии
Автор

Hello, I am able to replicate what you have shown in the video, although I am having an issue at 2:00 minutes in your video you begin to find the HEX codes. They are in burst of three, similar to my controller. The issue that I am having is that when I set a command to execute (lets say turn a motor on for 2 seconds) the triple burst makes the command execute 3 times so the motor will run for 6 seconds instead of the intended 2. I have added a delay but it only removes one of the burst. Can you share your solution to this issue? Thank you.

JTubella
Автор

Is this possible to connect the arduino to an existing ir device. Lost the controller to something thats no longer sold and need to make my own remote. How will i know what frequency controls what menu button?

stylze
Автор

Hey, where to find the code that is used to check the Remote buttons received codes.. I want to use it to know every button code to use them later can you help??

TarekSaleh_
Автор

Hey when i am compiling the code I am getting the following error
Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno"

C:\Program Files error: 'TKD2' was not declared in this scope
int RECV_PIN = TKD2; // the pin the IR receiver is connected to
^
Error compiling.

what should i do?

DIYGUY
Автор

Dear,
Thanks for the video. It is very nice and easy as you described.
Is it possible to develop a logic to wait for IR input ?
I want to make a nested conditional loop. In that case IR command 1 has two subsequent option command 2 and 3. and each of them (command 2 & 3) has defined routine task. But the issue is, after receiving command 1 it is not waiting for further input and ends the loop function. I need to hold the execution after receiving command 1 and check for IR signal availability.

Looking forward for your answer.

rajdey
Автор

Dear,
Thanks for the video.Can I ask you something ?
In this video, you used a diode But I couldn't find What is that diode.Thanks You very much.

volkanylmaz
Автор

When I start the serial communication, a lot of unwanted hexadecimal codes get displayed in the serial monitor. The Arduino board has a very hard time to decode the signals coming from my remote. Plese, help.

TechBuild
Автор

can someone tell me if I only need to use basic DC fan or PWM fan?

michaelfendi
Автор

hi,
while I am connecting the arduino with USB it's working. bt when I connect to the battry, not even receiving the signal. how do I fix this.
kindly help me..

PraSiDTamil
Автор

I have constructed the circuit and it works (sort of). Unfortunately, when the IR code is sensed it is not a stable decode. I have tried several remotes but they all behave in the same way. It appears to be a timing issue. Maybe I should just order the IR receiver you used and that way we are comparing apples to apples although I would think that any IR receiver module should work. Thank for any thoughts you might have and thanks for a great tutorial.

PS I have years of experience using Atmel micros of the 8051 family. I am just retired and was just trying to learn something new to keep my might from going to sleep. Thanks again.

pukaseek
Автор

Couldn't you use a switch/case function instead of a bunch of if statements?

gabedarrett
Автор

Would controlling a motor be similar to controlling a fan?

matthewbilik
Автор

Can we use photodiode instead of IR Reciever.??

prathamva
Автор

Sir if you don't mind can you give me code for 4 channel control relay with remote

Maazbhaivlogs
Автор

Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Uno"

error: 'TKD2' was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to

^

Multiple libraries were found for "IRremote.h"
Used:
Not used:
exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

TarekSaleh_
Автор

For the fan project i have everything connected as the diagram shows, the ir codes work fine as the yellow light blinks when i enter the command, what else would be the problem why the fan isnt responding?

statmuzyq
Автор

hi, i was trying to connect circuit of FAN using diagram given in your website, it is not working, is there any change in circuit?, i'm confused in +ve & -ve leg of capacitor, as it is not shown in diagram, i've tried both side by connecting to transister, did't work. PLZ give replay.

div
Автор

Is it possible to hire you as a freelancer?

footballera-ip
Автор

excuse me sir I have a question....is the circuit normally open or normally close?

klypjhk
Автор

What about electronics that are already “ready”? I want to program my kettle to start heating water before I wake up but I don’t know how to open it without damaging it

priscilaguimaraes
welcome to shbcf.ru