EEVblog

  Рет қаралды 270,358

EEVblog

EEVblog

Күн бұрын

Пікірлер: 291
@unebonnevie
@unebonnevie 9 жыл бұрын
Btw, just to be clear for folks, the 26ms that you divided by in your IRcarrier() function is THE PERIOD of the 38Khz. Freq = 1/Period, which means Period = 1/Freq = 1/38Khz = 0.0000263157 sec = 0.0263157msec = 26.3157usec, which is roughly 26usec. So, your code wanted 9000usec of 38Khz carrier freq means that "how many periods of 26usecs do I need to generate?", which means 9000usec/26usec = 346 periods, that is, 346 iterations of the loop in your IRcarrier() function. That's how the 38Khz carrier frequency is generated with an I/O pin.
@haideralikhan5947
@haideralikhan5947 2 жыл бұрын
Thanks a lot. That's the only part I didn't understood
@cbranalli
@cbranalli 9 жыл бұрын
great work Dave. i'm an electrical engineer who has been out of the technical loop for 25 years. your videos are perfect for bringing somebody like me up to date.
@thangnguyen4207
@thangnguyen4207 3 жыл бұрын
Haha
@bennydontplaythat
@bennydontplaythat 2 жыл бұрын
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!
@TheBananaPlug
@TheBananaPlug 11 жыл бұрын
This is exactly how a fundamentals video should be done. Well played Dave, a great combination of theory, practical and how to salvage stuff from everyday consumer junk. I dont have enough thumbs to put up.
@sagaertj
@sagaertj 11 жыл бұрын
If you don't have a digital scope, just connect the output of a photo diode to your line input of your pc's audio card and record the data.
@daver2355
@daver2355 10 жыл бұрын
thats a great idea!!
@macguionbajo
@macguionbajo 10 жыл бұрын
Dave R Good idea indeed but there's a limitation. The standard audio cards are made to sample from around 20Hz to 20000 Hz. That's not enough to see the actual carrier frequency, but its totally good enough to decode each button code. I just made this a couple of days ago, and I was able to decode every single button :D. Btw I used a free software that plots the mic input and lets you visualize interesting stuff like frequency gains.
@Inspironator
@Inspironator 8 жыл бұрын
What was the name of that free software you used, please?
@Chriva
@Chriva 7 жыл бұрын
There are soundcards capable of 24 bit @ 192khz. That ought to be enough for things like this :)
@marlonmartins82
@marlonmartins82 7 жыл бұрын
I just did this, as my receivers did not make a proper capture of the signal. using a standard sound card was able to clearly see the codes with a simple ir receiver (2 pin on mic input). my air conditioner had a 36-bit code, so I made a few modifications to the code posted here, adjusted the initial timings (assumed a 38khz carrier) and bam! working fine! captured the output to match the original remote, and from there I refined the timings. (i did not have an oscilloscope). an arduino pro mini 3.3v did the job perfectly
@87knox
@87knox 11 жыл бұрын
Amen to that. This channel is really getting good with all the how-tos as opposed to teardowns, mailbags, and rants (not that those aren't appreciated).
@PA3CSX
@PA3CSX 2 жыл бұрын
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 :-)
@GuardedDragon
@GuardedDragon 10 жыл бұрын
"The old fashioned way" : A digital oscilloscope. :D
@debasish2205
@debasish2205 4 жыл бұрын
I understand your concern, his perception is relativistic
@kf7tkj
@kf7tkj 11 жыл бұрын
Dave thank you for this video, I just got my first oscilloscope and this made my day for another semi beginner! The protocol explanation was great it helps me put what I have learned about protocols into real world examples! Thanks again!
@MikeSims70
@MikeSims70 5 жыл бұрын
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.
@plecto1234
@plecto1234 11 жыл бұрын
I recently made a remote control and IR receiver for dimming six leds individually. Used a timer to create the carrier signal and used the UART with a baud rate of 2400 to send the information, worked liked a charm :D Each transfer consisted of four bytes, the first and last byte are address bytes, I hardly get any bit error :)
@EngineeringVignettes
@EngineeringVignettes 11 жыл бұрын
A good little bit on reverse engineering. I like the fact that you pointed out something that not many newcomers (to programming) catch; the fact that subroutine calls do not take zero time to execute, especially when they have to change registers or interface to the real world... usually not a big deal, unless you are writing tight timing loops, and then it really matters. Good job.
@ShopperPlug
@ShopperPlug 2 жыл бұрын
Excellent explanation, thanks for showing how things actually work by theory using the oscilloscope.
@StephenArsenault
@StephenArsenault 4 жыл бұрын
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!
@MrRoyzalis
@MrRoyzalis 11 жыл бұрын
It's easy to throw a video onto KZbin. Not as much when you take the extra time to make the video concise yet meaty - like this video; well done.
@carlarrowsmith
@carlarrowsmith 9 жыл бұрын
Brilliant, explained so well and in just the right level of detail. Thanks Dave!
@johnnyboy2000
@johnnyboy2000 7 жыл бұрын
That's a great job done. I had been trying to do this in software on an ESP8266. Thanks to your informative video, especially the debug part, I am able to send IR from the ESP8266 and ultimately anywhere in the world!
@EEVblog
@EEVblog 11 жыл бұрын
An Arduino sketch IS in native C. It's just calling an abstracted routine to write to the IO pin. You can simply bypass that if you want and the sketch will give you the exact same speed as AVR studio.
@EEVblog
@EEVblog 11 жыл бұрын
As you saw in the previous video, I am using the Arduino for the matrix display, it came with an Arduino driver and connection board.
@msaad42
@msaad42 5 жыл бұрын
Again got help from here after so many years, thanks Dave , you are a legend.
@Inspironator
@Inspironator 8 жыл бұрын
What I enjoyed about this video is not the programming, although that is always instructive, but the reverse engineering of the raw pulses into a carrier freq., pulse codes, NEC standard... Big thumbs up video for newbie hackers and those who just want to understand how things work! Are there many major IR coding standards besides NEC?
@benverdel3073
@benverdel3073 6 жыл бұрын
Another very well known one is RC-5 (wikipedia.org/wiki/RC-5). It runs offically on a carrier of 36kHz, but a lot of manufacturers used 38 due to being misinformed or lazyness. It works anyhow. The bits are a fixed lenght where the direction (rising or falling) of the slope in the middle defines it's value. The toggle bit Dave talks about is used for ch+ and ch- for example. It prevents to skip 5 channels if you keep the button a bit to longue.
@Vorsteven
@Vorsteven 11 жыл бұрын
That would be the more efficient approach, but I think that this video is more about how to use your gear to reverse-engineer or diagnose a serial protocol and how to implement it in A microcontroller. The IR protocol is just a special case and Dave did a good job by not introducing PWM here...
@TheBadFred
@TheBadFred 11 жыл бұрын
Great video! I like the fact that you use the arduino platform, because it is easier to write code for than the usual development systems from AVR or Microchip.
@frollard
@frollard 11 жыл бұрын
I ran into this style problem (the timing of a carrier frequency) when driving led strands over software spi; I learned a valuable lesson about digitalWrite that day. Very cool stuff. I would really like to have seen a quick note in the video reminding people that the more human friendly code is REALLY time-inefficient on these limited platforms. At least the reminder is in there about what caused the problem.
@EEVblog
@EEVblog 11 жыл бұрын
IR LED's draw as much current as you give them, they don't "take" or "draw" current. You force the required current into them with a suitable dropper resistor.
@EEVblog
@EEVblog 11 жыл бұрын
As I pointed out to countless people, yes the previous hack was much simpler and faster, that's why I did it originally. But this isn't too hard, even if you have to write your own IR library as I showed, but yes, you need at least some programming knowledge. You can just cut'n'paste code though of course.
@tocsa120ls
@tocsa120ls 11 жыл бұрын
Excellent video Dave, also a representation why I use AVR Studio and native C to do my projects. When you do a simple loop, toggling an output on the uC, the Arduino sketch gives about ~200kHz square, compared to a C loop's ~3MHz! Much faster and not much more complicated. Cheers!
@Vorsteven
@Vorsteven 11 жыл бұрын
Thanks Dave! You managed to put so many different topics into a simple project like this and kept it easy enough for starters to follow. Great Video, I really enjoyed it :)
@undercrackers56
@undercrackers56 11 жыл бұрын
Really interesting and informative. I am sure that various experts can take pot-shot criticism at various details. However it takes real cojones to produce and share this. Thank you.
@VintageLabSilvioPinheiro
@VintageLabSilvioPinheiro 11 жыл бұрын
Dear Dave Master, Thank you for sharing your vast knowledge with us so enthusiastic and smart.
@EEVblog
@EEVblog 11 жыл бұрын
Yeah, I deliberately wanted to do that, and was hoping the digitalWrite routine would be slow enough to show that. It didn't let me down!
@kevincozens6837
@kevincozens6837 11 жыл бұрын
Thanks for the video, Dave. My cable TV provider is going all digital so I need to use an external digital decoder box to be able to pick up all the old channels. I've been wanting to make a device that can send the IR codes to the external box. This video has certainly helped me to work out how to decode the IR signals sent by the remote.
@Sinusoidal
@Sinusoidal 11 жыл бұрын
Huge thumbs up. I actually wanted to do a very similar project just the other day, I needed to clone a flimsy remote control. Thanks for the info, now I think I can tackle the task.
@eddraper
@eddraper 11 жыл бұрын
Well done Dave. This video is really useful. The setup and execution is a lot harder on your end I'm sure, but we get real meat - soup to nuts! Thank you for your efforts and please do many more like this. This is 100 times more valuable than a review video...
@scancool
@scancool 11 жыл бұрын
this is pretty cool, when I got my first car, I used my remote control watch to start my car and open the doors, I didnt know about NEC protocol so I was decoding hex code, it was working pretty well, but I wish I had new about this decoding technique
@gummansgubbe6225
@gummansgubbe6225 6 жыл бұрын
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.
@HeyBirt
@HeyBirt 8 жыл бұрын
If you want to see some truly twisted IR encoding look at the MILES 2000 a.k.a. military laser tag. The older system used a relatively slow IR signal and when they decided to update things they still wanted to be able to use the old gear so they snuck in the new bits inside the existing bits. As I recall it was something like they split up the high time from one 'long' bit for the old system to many short bits for the new system. The old receivers would filter out the new fast bits and still work just fine and the new receivers would be able to 'see' the additional data. Since it did not add value to the project we were working on at the time to decode the actual MILES 2000 signals we skipped it (we were adding haptic feedback to the soldiers gear so they would feel where they were hit.)
@EEVblog
@EEVblog 11 жыл бұрын
Well, when it takes 3.5us to write to an output pin using the recommended method, that could best be regarded as "dog slow"
@Tigrou7777
@Tigrou7777 8 жыл бұрын
Great video. For solving the timing issues what about : 1) Generating the signal inside an ISR with proper timer setup. Signals might be a little bit too late (because of the delay between the ISR and the signal is finally outputted on the pin) but at least it wont drift over the time. 2) using UART
@EdBordin
@EdBordin 7 жыл бұрын
I know this is an old video, but for anyone watching that's having trouble getting the carrier frequency right, another approach would be to use a PWM channel and toggle it on and off rather than "bit banging" the carrier. The IR libraries Dave mentioned at the start likely do this. I'm sure Dave just chose this method because the code is easier to understand
@johnnyboy2000
@johnnyboy2000 7 жыл бұрын
I couldn't get any IR libraries to work on the ESP8266
@joe72205
@joe72205 11 жыл бұрын
I guess the long burst up front is for the receiver to set its AGC. And the stop bit so every bit is followed by a leading edge, so you can just measure the time between leading edges. Its interesting to think about how the transmission is often designed for the receiver to receive it cheaply and reliably, rather than for the ease of the transmitter
@HansVanIngelgom
@HansVanIngelgom 11 жыл бұрын
a) I would have used a PWM signal to generate at least the clock signal, so you don't have to tweak the timing. The 'professional way' would be to write the whole IR-signal generating code in the overflow interrupt of the PWM timer. But don't worry, for a demo your code is more than adequate. b) It could have used a little more cowbell.
@elboa8
@elboa8 11 жыл бұрын
Really makes a nice change from teardowns. Nce job. Thanks Dave.
@aev-g8c
@aev-g8c 11 жыл бұрын
According to the C11 standard: "The result of E1
@mike94560
@mike94560 10 жыл бұрын
I have been experimenting a LOT with this crap. It's a real pain in the butt to get enough documentation to know what the heck to do. I have spent a lot of time accumulating documentation. I'm doing it with a PIC chip. Specifically a PIC16F1503. I'm so close I can taste it. I have a handheld Qunda IR Remote Control Decoder. It sees and decodes my PIC's IR output but the TV is not. More tweaking needed. One thing I noticed is that you assume is that the 38Khz duty cycle is 100%. ie., 50% ON, 50% OFF. It's not. 33% on time is more like it. Keeps LED's from burning up. They are usually pulsed at some insanely high currents. I could write a book. Argh. Thanks for the video!
@yalilboya
@yalilboya 6 жыл бұрын
mike94560 I’m also working on a project that deals with a PIC16F883 and IR , how far did you get !? Can I see your results and how you got to where you wanted
@DJSolitone
@DJSolitone 11 жыл бұрын
Excellent video. You even managed to review some code!! ;-) Great complete implementation of a smart solution to your specific need. But yeah I'm always a bit wondering as how fast these Arduino can actually deal with "real time" processing.
@liviuoros1184
@liviuoros1184 11 жыл бұрын
Where is the Double LIKE / Double Thumb UP button ? :) I need to discover the code for a function of the remote and had not a clue how to do it. You saved me hours of head scratching. An now i know to emulate the command. Thank you !
@foldi001
@foldi001 11 жыл бұрын
Hello Dave, a great video!! For me it was always something mystical, when I read of decoded protocols. Thanks for your explanations.
@EEVblog
@EEVblog 11 жыл бұрын
So that people can just cut'n'paste setup routine into other code, it's more portable. setup is an Arduino specific thing. The while loop at the end stops it from running more than once. It's example code.
@worldgeektube
@worldgeektube 11 жыл бұрын
@bcsupport Dave programmed his Arduino with a 'sketch' written in the "processing" language (roughly speaking a subset of Java which is compiled to byte code and then interpreted on the device) - it's not ANSI C. It's possible to program the Arduino with pure C but mostly not necessary.
@alexanderet98
@alexanderet98 11 жыл бұрын
This wold make a great new weekly segment! Great video :)
@EEVblog
@EEVblog 11 жыл бұрын
This is a library, and I think it's simple enough beginners can use it.
@0LoneTech
@0LoneTech 11 жыл бұрын
The other fix would be to replace Arduino's digitalWrite routine with one that optimizes down to the single machine instruction it should be. Considering the "digitalwritefast" implementation is entirely source compatible and has been around for years, I've no idea why the Arduino team hasn't already included it.
@CryptoWorld2
@CryptoWorld2 4 жыл бұрын
Always great videos...ive watched you even before i started engineering and you're the real deal!
@JuanMaEle
@JuanMaEle 3 жыл бұрын
Great video, just what I needed to understand how IR remote controls work :)
@dalenassar9152
@dalenassar9152 6 жыл бұрын
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.
@EEVblog
@EEVblog 11 жыл бұрын
If you want to run for 1000us, and each loop is 26 us, you need to divide 1000 by 26 to get the number of loops.
@Blaff3tuur
@Blaff3tuur 11 жыл бұрын
For starters Arduino is perfect and I think a big part of viewers are starters so yeah. Not everyone is an electronics expert like you.
@Ruddy761
@Ruddy761 10 жыл бұрын
You could use one of the AVR timers to generate the carrier with an isr routine to blink the led, then just enable/disable the blinking in the isr for your bit times.
@timfairfieldAETestandMeasure
@timfairfieldAETestandMeasure 11 ай бұрын
Well explained and from many ways of capturing!!!
@EEVblog
@EEVblog 11 жыл бұрын
How? Isn't HIGH just a constant used as a passed variable? If so it would make no difference at all to the digitalWrite function speed.
@Laogeodritt
@Laogeodritt 11 жыл бұрын
To be precise, two clock cycles on the Atmega328, if the register and bit to set are immediate/constant. SBI instructions are nice. =]
@worldgeektube
@worldgeektube 11 жыл бұрын
Thanks @Vorsteven for the clarification. Yes I was confused by reading that the IDE is based on the Processing IDE and that Wiring was influenced by the Processing language. My bad, sorry.
@TheJMan11000111
@TheJMan11000111 11 жыл бұрын
What a bloody great video Dave.
@EEVblog
@EEVblog 11 жыл бұрын
What's wrong with my code? It's two small functions. How should I have written it?
@r1obyscar
@r1obyscar 5 жыл бұрын
the BEST EVER tutorial about IR works. TOP! thanks!
@sandermans15
@sandermans15 11 жыл бұрын
Hey Dave GREAT video! i just have three question about your code: Why did you make your own void IRsetup instead of using the normal void setup? you added your IRsetup to be called in your void loop and added commontary that you only need it to call setup once but what stops the loop from executing that setup over and over again? Also why do you prefer to use so many voids instead of putting all your code in the void loop? I'm not saying your code is wrong. I just wonder why you prefer this way
@Vorsteven
@Vorsteven 11 жыл бұрын
HIGH is just a macro that gets substituted by the preprocessor with "1" before comiling the code. So you will get exactly the same result, no matter if you use "digitalWrite(IRLED, HIGH)" or "difitalWrite(IRLED, 1)": avr/cores/arduino/Arduino.h:#define HIGH 0x1
@chemtype
@chemtype 11 жыл бұрын
More logic analyser videos!!! I'd love to see you decode some code on an older videogame console or an old PC.
@TheOriginalEviltech
@TheOriginalEviltech 11 жыл бұрын
You can also do it with an ISD1616BSY audio recorder at a high sampling rate. No programmer or programing required.
@NiranjanaMurthyC
@NiranjanaMurthyC 9 жыл бұрын
Really impressive, informative with full clarity. Thank you.
@EEVblog
@EEVblog 11 жыл бұрын
It recommends that for 8 bit data, but if you need 16bit address or 16 bit data, then you don't need to send the inverse.
@davidmarks509
@davidmarks509 7 жыл бұрын
We are going to do it the old fashion way ... Let me grab my digital scope lol. Good fun tutorial I think I have a few remotes I can play around with here.
@VintageLabSilvioPinheiro
@VintageLabSilvioPinheiro 11 жыл бұрын
Andy Collinson in your blog have a nice ir project.
@JamBassam
@JamBassam Ай бұрын
Do you have a list with all protocols ?
@bakadavid
@bakadavid 10 жыл бұрын
I'm I right in thinking that connecting a low pass filter to a simple photodiode would demodulate the carrier frequency?
@bakadavid
@bakadavid 10 жыл бұрын
it sure seems to
@bakadavid
@bakadavid 10 жыл бұрын
A bit more detail: since I only had a photodiode on hand and no TVs i could say goodbye to so I made a low pass filter with a cutout frequency of 4kHz (educated guess and I had all the parts) and inverted the signal with a PNP. Now I get consistent readings but still haven't managed to send the right signal to turn on the TV. I wish I had a scope...
@olaostehvel9763
@olaostehvel9763 9 жыл бұрын
bakadavid Why don't you build yourself a scope. At 38 kHz you can build a complete, integrated spectrum and logic analyzer for five bucks using your PC to represent the data. Just choose a µC with USB.
@claudiupanoiu6064
@claudiupanoiu6064 Жыл бұрын
Thank you for this video, it was explained very easily and simply. 🤝
@dmastuff
@dmastuff 11 жыл бұрын
I miss this kinda thing, awesome vid
@nathanschenk8886
@nathanschenk8886 7 жыл бұрын
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.
@nathanschenk8886
@nathanschenk8886 3 жыл бұрын
@Peter Mortensen The led was sourced from the data pin, and sinked into the pwm pin. Two pins, one driving the high side, the other driving the low.
@AMalas
@AMalas 5 жыл бұрын
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.
@kevinjohansson3923
@kevinjohansson3923 3 жыл бұрын
Amazing video with some nice tips here and there. Great stuff.
@EEVblog
@EEVblog 11 жыл бұрын
What's wrong with that? It means people know they can use it. What would you prefer?
@sysmatt
@sysmatt 11 жыл бұрын
Great real world project, simple approach. Loved it. Brace yourself for 1000 alternate opinions on how everyone else wants you to skin that cat.
@GameInterest
@GameInterest 5 жыл бұрын
Thanks for this! I love tutorials like this.
@sandermans15
@sandermans15 11 жыл бұрын
Aah I see! thx for your explenation and fast response! I learned a lot about the code and how to send it. I allready knew a bit of IR but not how to send the codes. I only used my arduino once to decode IR and turn a LED on and off via my logitech harmony wich i programmed for a old sony VCR wich are the easiest to decode. anyways thank you very much for the video and your quick respose really apreciate it : )
@GabrielStAngel
@GabrielStAngel 4 жыл бұрын
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?
@drood78
@drood78 11 жыл бұрын
Dave you should make more of these videos i am sure you would get loads of views MCU's are the bomb atm this setup is great to prank people with the tv too ;)
@bobhaha
@bobhaha 11 жыл бұрын
Dave you should have used DigitalWrite(IRLEDpin, 1) instead of using HIGH. It is considerably quicker than HIGH. That way you would not need to guesstimate the delay like you did. Give it a go and see if it helps... I suspect it would be much quicker.
@HansVanIngelgom
@HansVanIngelgom 11 жыл бұрын
I'm an embedded SW engineer, and I've been looking down a bit on Arduino, I must admit. But it's one of two things I've changed my mind on, recently: I've been playing with it, and it's really very fast to work with. In a few minutes you can get some things to work that would take you days otherwise. You don't get optimal performance in that time frame, but it works. And as Donald Knuth said: "premature optimization is the root of all evil". Then again, who the f is Donald Knuth ;-).
@noweare1
@noweare1 4 жыл бұрын
I know this is an old post but I felt the same way but then gave it a chance. It is really like a rapid application development environment. There are also very advanced people on the forum that can help if you get stuck. Great community.
@bloomtom
@bloomtom 11 жыл бұрын
Bit banging is sometimes cheap and effective. In non-critical applications like consumer remotes, I'd say slamming signals out of a GPIO is perfectly acceptable.
@thomaslenarz3195
@thomaslenarz3195 11 жыл бұрын
Thanks a lot Dave! Awesome video :-). I was surprised that connecting the IR LED directly to the output pin actually works. My readings said that one has to use a transistor, because IR LEDs draw more current than normal LEDs. So I went directly for a transistor circuit, but never brought it to work. Does your LED light up as bright as the original remote-control, when filmed with a digicam? I thought the brightness was my problem, but now I think I should look for the problem in the IR-Code...
@stuner1337
@stuner1337 11 жыл бұрын
Yeah. Learning how to use Git is quite difficult (even though Github helps a lot). Once you figured it out it's very useful for any kind of continued development (it works great with Eagle schematics for instance, or of course all kinds of source code).
@allbeit222
@allbeit222 7 жыл бұрын
Excellent video. Can you tell me does this relate in any way to the code number you have to enter in a universal remote to get it to work with your TV ?
@lordzeppo
@lordzeppo 11 жыл бұрын
Excellent point! Would you mind making a video about this particular topic? I was wondering how exactly to "port" a Arduino IDE sketch into using base functions instead.
@theemelex
@theemelex 11 жыл бұрын
Dave, when r u gonna get around to doing another series like the Lab Power Supply Design series?
@SomsakElect
@SomsakElect 5 жыл бұрын
What is the part number of infrared phototransistor?
@SaturdayScience
@SaturdayScience 11 жыл бұрын
I guess we all code differently. Thanks for using a unsigned long to hold the binary message and not int bits[32] as appears elsewhere on the web. Is it necessary to repeatedly call IRsetup()? Could that be put in Setup()? The LED is OFF at the end of IRCarrier(). Thanks for the fulsome explanation, clear readable code (not C obscure) and your comments on available libraries, Murphy's law and sampled waveforms.
@Vorsteven
@Vorsteven 11 жыл бұрын
If those "ppl" needed Dave's instruction here to do that, they probably won't be able to tell the hood from the trunk of a car. So don't worry, mate :)
@Mrkirill578
@Mrkirill578 11 жыл бұрын
Though the length of '1' and '0' is not the same, the NEC protocol defines that you should send an inverted message as well, so the length of the whole transmission is constant., 67.5mS
@LearningToFly77
@LearningToFly77 8 жыл бұрын
Cool Video... What kind of diode do i need, to receive the RAW infrared signal?
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
Reliable data transmission
43:54
Ben Eater
Рет қаралды 1,6 МЛН
Using IR Remote Controls with the Arduino
35:28
DroneBot Workshop
Рет қаралды 940 М.
EEVblog #505 - IR Learning Remote Control Hack
18:19
EEVblog
Рет қаралды 124 М.
EEVblog #859 - Bypass Capacitor Tutorial
33:28
EEVblog
Рет қаралды 810 М.
Tutorial: How to design a transistor circuit that controls low-power devices
21:41
EEVblog #221 - Lab Power Supply Design - Part 1
37:41
EEVblog
Рет қаралды 686 М.
PROTOCOLS: UART - I2C - SPI - Serial communications #001
11:58
Electronoobs
Рет қаралды 1,4 МЛН
Using Inexpensive 433 MHz RF Modules with Arduino
29:50
DroneBot Workshop
Рет қаралды 580 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН