EEVblog #506 - IR Remote Control Arduino Protocol Tutorial

EEVblog #506 - IR Remote Control Arduino Protocol Tutorial

EEVblog

10 лет назад

266,429 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@TurkVladimir
@TurkVladimir - 16.12.2023 01:11

Thanks Great Video

Ответить
@claudiupanoiu6064
@claudiupanoiu6064 - 17.08.2023 11:50

Thank you for this video, it was explained very easily and simply. 🤝

Ответить
@Ripen3
@Ripen3 - 08.07.2023 20:21

I've been trying to control my AC for a week now, exhausted, and still can't figure it out. But I know I'm close! I will try your code now, but I'm not sure where you got your IRcode from. Did you convert Adress or Command to binary or what? Would appreciate your quick input mate, thanks alot.

Ответить
@johnburgess2084
@johnburgess2084 - 09.05.2023 03:16

Very nice, thank you.

Ответить
@Jbrimbelibap
@Jbrimbelibap - 27.02.2023 15:57

I found a way to do all of this using only my phone and a dongle i made myself
And ir sensor transmitting it's raw signal as microhpoen input through the headphone jack, and an osciloscope application

Ответить
@benwolfe1301
@benwolfe1301 - 04.01.2023 23:12

Thanks for this video Dave! Your code is much more elegant and easier to understand than any of the IR libraries online. I was able to modify it to duplicate a Sony AV remote and it worked!

Ответить
@lovemadeinjapan
@lovemadeinjapan - 25.12.2022 09:40

Thanks, the missing puzzle. Thought the receiver was a dumb photodiode, but it must do some 38kHz filtering. You would expect there is a 5V input transmitter that does the 38kHz thing as well, so you can send the yellow simple signal, and have the 38kHz magic applied on your digital output. Does anybody know if that exists?
Try to program without delays though. Run either a 38kHz loop frequency, or use a hardware timer with an interrupt routine.

Ответить
@poorman-trending
@poorman-trending - 17.11.2022 20:42

Calibrate you’re probes

Ответить
@ShopperPlug
@ShopperPlug - 20.09.2022 08:14

Excellent explanation, thanks for showing how things actually work by theory using the oscilloscope.

Ответить
@m1k4c
@m1k4c - 15.05.2022 05:06

Guys, anyone has any idea how could I amplify (current only) of pulses coming to the IR led and use higher power led instead. Let's say 2-3 amps instead of 20-30 mA. Any ideas for transistor circuit?

Ответить
@osvaldimar132
@osvaldimar132 - 12.02.2022 01:54

Amigou! Amigou ! President W. BUSH JÁ AVISOU QUE ATRÁS DELE É O JAPÃO BLZ TECNOLOGIA DE PROGRAMAÇÃO BINÁRIA, CODIGO MORSE, BITS E BITS BLZ?

Ответить
@PA3CSX
@PA3CSX - 16.01.2022 13:14

Thanks Dave!
i used your code to make a AC ON/OFF control for the Dometic HB2500 Airco. As far as i known no replacement remote controls are available for this Dometic HB2500 so i am making my own to help out a neighbour. He was told to buy a new Airco for his RV when his remote control broke down.
Greetings from the low lands :-)

Ответить
@delbandung4801
@delbandung4801 - 16.11.2021 09:39

i have dificulty apply this methode to stm32f103c8t6 blue pill,

Ответить
@Mr_ToR
@Mr_ToR - 02.11.2021 16:02

diodee :-)

Ответить
@kevinjohansson3923
@kevinjohansson3923 - 13.06.2021 03:47

Amazing video with some nice tips here and there. Great stuff.

Ответить
@grzesiek1x
@grzesiek1x - 26.04.2021 23:38

but without Arduino it would be quite difficult to make it...

Ответить
@JuanMaEle
@JuanMaEle - 23.01.2021 06:42

Great video, just what I needed to understand how IR remote controls work :)

Ответить
@StephenArsenault
@StephenArsenault - 03.10.2020 07:12

David - it’s an older video but I found it really useful! I’ve been recording a custom protocol used on original Macintosh keyboards (pre ADB) and plan to do an Arduino implementation. Your segment about using the Arduino and pitfalls to be mindful of confirmed the best practices I was anticipating - thank you!

Ответить
@To-mos
@To-mos - 23.09.2020 01:00

Every single Arduino project doing exactly this makes a point of stating how over complex the IR libraries are. It might be time for a re-write.

Ответить
@AlexM19875
@AlexM19875 - 14.08.2020 12:26

Try this(for Leonardo so the pins may differ on Uno):

PORTC |= (1 << 7); //13 on
PORTC &= ~(1 << 7); // 13 off

Ответить
@CryptoWorld2
@CryptoWorld2 - 07.05.2020 17:19

Always great videos...ive watched you even before i started engineering and you're the real deal!

Ответить
@GabrielStAngel
@GabrielStAngel - 24.04.2020 21:38

What if I wanted to completely bypass the LED and directly manipulate the receiver pins on the input device? Would I still need to worry about carrier frequency if I had literal wires connecting the Arduino to the IR receiver contacts?

Ответить
@joeporsche1767
@joeporsche1767 - 17.04.2020 09:58

Wow!!!. This video is really helpful.

Ответить
@jack01rdk
@jack01rdk - 24.02.2020 18:18

Sir Could you please Decode an SHARP A/C (Air conditioning)Remote ???

Ответить
@sumitwankhede7944
@sumitwankhede7944 - 18.01.2020 13:58

I want to make a remote controller on Arduino (IRrecv+IRsend+sleep). In which it should read IR data usingtsop1738 then send the desired IR data using IR transmit led. And when no data is received it should go to deep sleep to conserve battery. Because I want it to run on 3v lithium coin cell. I found many codes on the internet using Irsend + sleep or just IRsend + IRrecv. But not a combination of all the three. If you make the code for the same it will be helpful. Need for this project=== some channel nos on my tv are 4 digits. It is very difficult to press 4 keys. So my plan is to press only 1 key tv remote and my controller will send desired 4 distinct key codes to tv by sending cancel command to my 1st command press by me on my tv remote

Ответить
@msaad42
@msaad42 - 02.01.2020 22:48

Again got help from here after so many years, thanks Dave , you are a legend.

Ответить
@SinanAkkoyun
@SinanAkkoyun - 12.11.2019 18:57

Do it with car key fobs

Ответить
@MikeSims70
@MikeSims70 - 21.09.2019 02:14

By far one of the best explanations of IR signaling I've ever seen or read ... I definitely understand it 50% better than I did before watching the video ... but I am still uncertain how this knowledge can be applied to different protocols such as Sanyo, Sony etc. I'm going to power up the scope and see what I can figure out. Thank you for once again producing a quality electronic tutorial.

Ответить
@AMalas
@AMalas - 27.08.2019 13:11

Hey dave, quick comment about your code there. The NEC protocol recommends a duty cycle of between 25 to 33% for the carrier, to conserve power.

Ответить
@r1obyscar
@r1obyscar - 10.08.2019 08:28

the BEST EVER tutorial about IR works. TOP! thanks!

Ответить
@aswahd
@aswahd - 05.08.2019 17:47

Thanks! Very clear explanation.

Ответить
@GameInterest
@GameInterest - 19.04.2019 18:31

Thanks for this! I love tutorials like this.

Ответить
@josephtannenbaum8696
@josephtannenbaum8696 - 01.04.2019 03:43

Using this I've been able to decode my remotes ok, except my remote for my Pentax K50 camera. The Shutter code is 8DCDAE60 but the scope is a very short burst which could not be 8 bytes of characters. I have a picture of the scope output if you have an address to receive it.. This has confounded me.

Ответить
@SomsakElect
@SomsakElect - 11.03.2019 06:17

What is the part number of infrared phototransistor?

Ответить
@gummansgubbe6225
@gummansgubbe6225 - 10.11.2018 18:18

Thanks so much for this. With this code and some remote control codes I found on the web I managed to regain remote control of my amplifier. It worked on the first try.

Ответить
@udaydatrak4438
@udaydatrak4438 - 07.11.2018 17:21

you talking a lot and quick. i am getting mad

Ответить
@chaos.corner
@chaos.corner - 12.08.2018 03:53

Timely video for me to run across even though it's 5 years old.

Ответить
@ibrahimkhadraoui7736
@ibrahimkhadraoui7736 - 29.06.2018 06:13

WoooW what an oscilloscope _

Ответить
@jhyland87
@jhyland87 - 16.05.2018 14:16

Great video! Very helpful - Thank you.
Subscribed!

Ответить
@dalenassar9152
@dalenassar9152 - 23.04.2018 10:46

Dave, there exists (or did) an IR receiver with a carrier frequency of 455kHz. I have succeeded in sending audio over this IR module (something like a TL9000--but I seriously doubt that's the exact part number since it's been so long). Most interesting of all is I managed to send DTMF codes over it (to a DTMF decoder) for remote control applications, and even multiplexed and patented it after I added a feature that allowed more than one DTMF encoder button to be pressed and held continuously with a receiver modification to match. Then this wonderful high frequency IR decoder was discontinued--go figure. I think I got all mine from Vishay...still got a few of them though.

Ответить
@muaazmusthafa8751
@muaazmusthafa8751 - 09.04.2018 17:01

How do I write this code in fpga(verilog) for Spartan 6

Ответить
@zer0b0t
@zer0b0t - 23.01.2018 00:26

Is it possible to encapsulate a non-nec protocol inside of a nec protocol?

Ответить
@nathanschenk8886
@nathanschenk8886 - 26.12.2017 00:45

I've done this once. My solution for the carrier was to use the PWM module in the PIC I was using at the time to generate it. One side of the LED went to the PWM output pin, the other went to a pin with the data.

Ответить
@anonymousperson6139
@anonymousperson6139 - 05.12.2017 12:00

Are you using a freetronics eleven?

Ответить