Arduino Tutorial 64: Understanding and Using the Infrared (IR) Remote to Control a Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2024
  • You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
    / paulmcwhorter
    In this tutorial we show you had to add an Infrared (IR) remote to your arduino project. This lesson gets you stated, and then we will add features in the next lesson.
    You can get the kit I am using for this series at the following link:
    amzn.to/2I7N4Ek
    I strongly suggest picking up an arduino nano, since it can plug directly into the breadboard, making a portable system more practical. You can pick one up here:
    amzn.to/2WXTC2M
    As projects get more complicated in these lessons, you guys really need to get a set of breadboard jumper wires which allow you to make neater connections on the board in your projects. You can pick a pack of these wires up here:
    amzn.to/2XrY5Kq
    In addition as projects get more complicated, you are going to need a bigger breadboard. This is a reasonable one here:
    amzn.to/2IY4d3M
    You can find more resources on our WEB site:
    toptechboy.com/arduino-tutori...
    [Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]
    #Arduino
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 561

  • @eancarris3850
    @eancarris3850 ปีที่แล้ว +15

    I was getting FFFFFFFF for every reading. Checked my very short, very simple code 1000 times and even burned up my IR receiver by wiring it backwards while troubleshooting. I finally discovered that the IRRemote library version I was using (4.1.2) has a problem. I reverted back to IRRemote v3.5.2, stole an IR receiver from an old heater, and I'm back in business!

    • @shokdj1
      @shokdj1 3 หลายเดือนก่อน

      I'm glad you said that

  • @libbytardalo2071
    @libbytardalo2071 3 ปีที่แล้ว +22

    I have a fix for those of you getting nothing but zeros!! It's the library!
    I pulled my hair out for hours, then went back to where Paul downloaded his OLDER version (2.2.3). I deleted the newer version, installed 2.2.3 and everything worked properly!!

    • @laxmanrao4554
      @laxmanrao4554 3 ปีที่แล้ว

      Thanks it worked!

    • @jonathangross4870
      @jonathangross4870 3 ปีที่แล้ว

      Thank you for saving me a lot of time.

    • @rileyparker678
      @rileyparker678 3 ปีที่แล้ว

      You are a hero

    • @geraldinecommowick
      @geraldinecommowick 3 ปีที่แล้ว +1

      Thanks for that. I was getting a message to use "decode()" but couldn't make it work.

    • @tobinsexton6246
      @tobinsexton6246 3 ปีที่แล้ว

      I struggled with this too! I found that I had to use quotation marks around the library name rather than the

  • @nithinsai2250
    @nithinsai2250 3 ปีที่แล้ว +26

    Only a few number of people are watching your videos :(
    Remember one thing grandpa,u are sharing a lot of knowledge to us, and we are very grateful :)

  • @JustinS06
    @JustinS06 2 ปีที่แล้ว +18

    For everyone who got a strange error regarding a "deprecated" function, try switching the IR library to an earlier version (for example, 2.8.0)!
    Great video by the way Paul!

    • @iseecrap
      @iseecrap ปีที่แล้ว

      thanks for this Justin, my project just wouldn't work!

    • @thapaharis
      @thapaharis ปีที่แล้ว +1

      thanks. didn't read your comment earlier. After figuring out it for myself, read your comment.

    • @mehdibmc9508
      @mehdibmc9508 7 หลายเดือนก่อน +1

      yoo man thank you so much I kept getting ffffff and I thought maybe the hardwrae was faulty

    • @jacobpilegaard9196
      @jacobpilegaard9196 5 หลายเดือนก่อน

      Great tip - thanks a lot :)

  • @laurakav1202
    @laurakav1202 3 ปีที่แล้ว +20

    Paul -- I am so grateful to you for making all these great lessons. The IR sensor is really fun. I listen to every single one of your videos all the way through. You are LEGEND!! P.S. Agree that gas station coffee is not as good as homemade. For students - the library has been changed since this video was made. You have to download the older library that Paul uses.

  • @davidbuckley4912
    @davidbuckley4912 ปีที่แล้ว +9

    I am legend. I was able to finish this homework. Also, the IRreceiver library has been updated since you did this lesson, and the code you provided threw an error message saying that the code might give unreliable results. I was able to track down the changes and modify the code as required, and got it working without asking others for assistance. Thank you Paul for your lessons and your encouragement. In the past when I have tried to learn programming I would have given up long before this. You are also a legend! Thank you

    • @gairikdhar5175
      @gairikdhar5175 ปีที่แล้ว +4

      can you please upload the code of receiving th ir signals

    • @shakhobiddinnakiev6767
      @shakhobiddinnakiev6767 ปีที่แล้ว

      @@gairikdhar5175 #include
      const byte IR_RECEIVE_PIN = 10;
      void setup()
      {
      Serial.begin(115200);
      Serial.println("IR Receive test");
      IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK);
      }
      void loop()
      {
      if (IrReceiver.decode())
      {
      Serial.println(IrReceiver.decodedIRData.command, HEX);
      delay(500);
      IrReceiver.resume();
      }
      }
      //upload IRremote.h to 4.1.2, the accuracy is waaay better !))

  • @opalprestonshirley1700
    @opalprestonshirley1700 4 ปีที่แล้ว +4

    This is going to be a great series. I've been working OLED displays and PIR sensors and this should work well with this IR pad. Have a great week.

  • @adamcurtice3584
    @adamcurtice3584 2 ปีที่แล้ว

    I am legend. I have completed the homework as assigned. Thank you once again for the great lesson. My knowledge and experience with the Arduino just keeps growing. Thanks for all that you do Paul. You are one of the greats.

  • @HeatherJordanJewelry
    @HeatherJordanJewelry 3 ปีที่แล้ว

    I am legend! You really are a gifted teacher. I haven't been bored at all and your enthusiasm for the subject is contagious!

  • @anthonyskilton8634
    @anthonyskilton8634 3 ปีที่แล้ว

    We are grateful Paul, thank you. I've jumped a few lessons but now need to find your hexadecimal tutorial.

  • @rondeacon2556
    @rondeacon2556 2 ปีที่แล้ว +1

    Thank you for not editing out your mistakes. I learn a lot by just watching them pop up and you figuring out what they are and correcting them.

  • @artursrikmanis
    @artursrikmanis ปีที่แล้ว

    We are still watching. Lovely videos, thank you, Paul. Newbies will appreciate your detailed method of tutoring more after watching other videos that don't explain anything as neat as you do

  • @MrOregonteacher
    @MrOregonteacher ปีที่แล้ว

    I'm just getting started on adding my Arduino remote to a sound sensor circuit. I'm creating a box to control some lights that will flash with music, but also go into other sequences when called up by the remote. I'll keep you posted! Thanks for all your had work on this!

  • @kirubeltekle9553
    @kirubeltekle9553 ปีที่แล้ว +1

    I did my homework and I have come all the way through lesson number one; Paul, your lessons are pretty darling. Long live Paul!.... fan from Ethiopia

  • @vinsensiusreinard2859
    @vinsensiusreinard2859 3 ปีที่แล้ว +1

    Thank you so much for making a refreshed tutorial I've learned many Arduino from you and I've been in countless electronics competitions thanks to your knowledge. also I got an offer to teach at my high school which became my first job. I wish for you to have THE BEST DAY for giving this information for free. I really don't know what or, where I am now if I didn't watch your Arduino tutorials 3 years ago. this really means a lot to me. I can't stop thanking you :D.

  • @hertzmaddentv8304
    @hertzmaddentv8304 3 ปีที่แล้ว +9

    The amount of knowledge you’ve been sharing with us is impeccable!

  • @simr6493
    @simr6493 4 ปีที่แล้ว +5

    I was literally wondering if this was possible yesterday!
    I am only on lesson 20, but I look forward to this one!!

  • @robertnelson1802
    @robertnelson1802 3 ปีที่แล้ว

    Did the homework, been frustrated as not been able to get my PMcW fix due to nonsense distractions. Back now and loving it even more.

  • @mikekeller7342
    @mikekeller7342 4 ปีที่แล้ว

    Great lesson. Glad you were getting the same intermittent glitchy results and not just me.

  • @RobQtech
    @RobQtech 11 หลายเดือนก่อน +2

    hi Paul for some reason my readings on the serial monitor are just FFFFFF not sure if it's my remote or the irrecv, but overall I have truly been educated on this channel, lots of gratitude for your lessons in this Arduino series

    • @ouicmoijim3549
      @ouicmoijim3549 5 หลายเดือนก่อน

      I have the same problem! Did you found the solution?

    • @user-md3qr6lt6e
      @user-md3qr6lt6e 5 หลายเดือนก่อน

      @@ouicmoijim3549 Change to an older library, 02.8 will work with Paul's commands. FYI, I had the same problem when I first rand Paul's program. Good Luck!!

  • @axelbergmann4040
    @axelbergmann4040 4 ปีที่แล้ว +1

    Hi Paul, as always, great lesson, thank you. I did the homework by using the switch..case command, made it very easy.

  • @cryptikkcries
    @cryptikkcries 3 ปีที่แล้ว

    thank you! i'm doing a project for school making a box that opens using a remote control. it's my second or third arduino and your tutorials are really helpful!

  • @nwsmoat2674
    @nwsmoat2674 3 ปีที่แล้ว +2

    Hooked a brother up with these tutorials. You're an amazing teacher. Thanks Paul :)

  • @rc45satx
    @rc45satx 3 ปีที่แล้ว

    I am legend. This is the first time I've been able to actually do all the homework before the next session. Life is good.

  • @aynursunagatullin7029
    @aynursunagatullin7029 3 ปีที่แล้ว

    Thank you Mr.McWhorter, you explain so easily!

  • @hughpatterson1480
    @hughpatterson1480 2 ปีที่แล้ว +6

    Happy Holidays Paul! Another great lesson to pass on to my students. This is a great tutorial because it deals with a real life application, our television remote control. Students tend to show greater interest in lessons that explain real life technology they interact with every day. Also, adding a remote to your project takes things to an entirely new level. Thanks again and Marry Christmas. I have found that electronics is a nice shelter from the craziness of the world. I may not be able to solve the world's problems but I can solve my project problems!

    • @hughpatterson1480
      @hughpatterson1480 2 ปีที่แล้ว

      I forgot to say "I am legend" (with a small "l" due to a lot of extra work due to error messages in order to make it work properly)

  • @stephenmarshall1286
    @stephenmarshall1286 4 ปีที่แล้ว +5

    Paul, I posted a review on Amazon regarding the Arduino mega 2560 and in the comments I mentioned your lessons, hopefully this will get more subscribers.

  • @liamm729
    @liamm729 3 ปีที่แล้ว

    You most likely saved me regarding a college assignment I have haha. So far got 100% on everything, your videos playing their part in that. Arduino and Microcontrollers are definitely things I enjoy, will for sure invest time into personal projects and things.

  • @snehashishbanerjee2575
    @snehashishbanerjee2575 4 ปีที่แล้ว +3

    It's good to see ya after a long time. Wonderful tutorial. Wanna see more interesting projects like this! God bless you for doing such an amazing work, for the students from all over the world..!

  • @jimlabissonniere7400
    @jimlabissonniere7400 3 ปีที่แล้ว

    Thanks again Paul....Amazing possibilities with IR technology....Had some issues downloading the library but ..I AM LEGEND!

  • @bertmouthaan
    @bertmouthaan 3 ปีที่แล้ว

    It's getting more interesting every time ... and I am a legend, but still humble ... unfortunately I see these lovely series comming to an end ...

  • @larrysmart4755
    @larrysmart4755 4 ปีที่แล้ว

    Love your videos. thank you!
    I have several of these remotes and IR modules but have done nothing with them yet.
    I think I'll start building some things now.

  • @marcomoriarty7692
    @marcomoriarty7692 3 ปีที่แล้ว

    I don't even watch any other arduino videos anymore. The risk/reward benefit just doesn't compare to this man's consistency.

  • @CarolinaDGF
    @CarolinaDGF 2 ปีที่แล้ว

    Another great lesson, Paul. I did the homework without going to the next lesson. Instead of using a bunch of if statements, I used a switch statement. The default case prints, "I didn't get that...." if it does not understand a button press.

  • @jasonvictor9542
    @jasonvictor9542 ปีที่แล้ว

    Wow, finally got it working, libraries are updated and commands also updated, but i did what you taught us to debug one thing at a time. Thank you Paul you are still "LEGEND"!!!

    • @anishpinto1
      @anishpinto1 8 หลายเดือนก่อน

      Did you get it to work by using the updated library commands? Or did you downgrade your library and use the commands that Paul used in the video?

  • @larrygold144
    @larrygold144 3 ปีที่แล้ว

    Hi Paul, "I Am Legend". You have spoken about the power of Arduinos. Well, this tutorial has given me a glimpse into the world of possibilities I now have at my finger tips to control the magic of IR. I am so excited to get started on my homework! Thank you so much for your knowledge of IR and the beautiful way you share it.
    Your disastrous episode with your "gas station" coffee, reminded me of a marquee along side a southwest Texas highway in front of a truck stop several years ago. The marquee was too small to hold all the words the sign was intended to convey to the passing truckers.. The last line of the marque read " DIESEL FRIED CHICKEN". Paul, that scrumptious chicken would have gone well your "gas station" coffee.

  • @pointer333
    @pointer333 ปีที่แล้ว +1

    Man, this was a journey, but I AM LEGEND! Using the very latest library. Was up til 3am last night and couldn't get any meaningful prints. At a complete loss today, I removed everything from the breadboard, put it all back, and rewired it. Like nothing was ever wrong, it worked! Stole code from various sources since I couldn't find a very concise official documentation... Probably didn't look hard enough.... But after tinkering for a while, seeing what was really needed, and what wasn't, I have a code structure that looks exactly like Teach's, but uses updated commands and gets rid of unnecessary and deprecated lines.
    Although Teach probably doesn't like us giving away answers, due to the number of folks who have, with recent library versions, had loads of trouble, below is the very simplest version I could make work as expected. There have been a few versions posted in these comments (big thank you to you folks!). Only giving away what's needed to set up the receiver and get a serial mon print. IRRemote library version 3.7.1 (July 2022).
    NOTE: Oddly, I am only able to read 2 digit hex values from this remote and receiver combo... If anyone can explain that, I would love to know! The code below works for me, though!
    #include
    int IRpin = 9;
    int cmd;
    int dt=250;
    void setup() {
    Serial.begin(9600);
    IrReceiver.begin(IRpin);
    }
    void loop() {
    while (! IrReceiver.decode()) {
    }
    cmd=IrReceiver.decodedIRData.command;
    Serial.println("HEX: " + String(cmd, HEX));
    delay(dt);
    IrReceiver.resume();
    OTHER NOTE:
    I tried using IrReceiver.decodedIRData.decodedRawData to store in our "cmd" variable, but every remote button would read the same value. It was a lot longer than the 2 digits I was getting, though which was almost interesting...

  • @coasterbp
    @coasterbp 2 ปีที่แล้ว

    I'm LEGEND! I cleaned it up a little by saving the Serial.println until AFTER all the if statements. Saves a bit of typing and keeps the size down a bit. Thanks for the lessons, Paul!

  • @muhammadrafiqulislamkhan6994
    @muhammadrafiqulislamkhan6994 ปีที่แล้ว +1

    I need to watch this video over and over again fully understand what is happing here. I must say again, you are the greatest legend in Arduino Teacher for me. My request to you that you make another new session about Arduino projects. I guess your 68 videos are primary level projects and programming. We need a little advance level after finishing your 68 classes. Where we go then? I would say, you make another 32 classes about Arduino advanced level projects the basis of your 68 videos. Then your 100 videos will complete us a Arduino programmar.

  • @panzerblitz8226
    @panzerblitz8226 2 ปีที่แล้ว

    Thanks Paul! Always great trainings. did the HW " I am legend" I am so glad that you teach. You have a great gift.

  • @doverivermedia3937
    @doverivermedia3937 ปีที่แล้ว +1

    LEGEND ! oooh loving this one. mapped it out a treat. Cut & paste from the serial monitor was a handy method ... I noticed my spare TV controllers created a HEX signal too. Very interesting. Most excellent video as always. Thank you.

  • @SSchumacherCO
    @SSchumacherCO 3 ปีที่แล้ว

    This lesson could not have come at a better time. The day after I completed it, I was able to debug a problem with the remote to my treadmill.

  • @bigbear333uk1
    @bigbear333uk1 4 ปีที่แล้ว

    That was a really nice lesson Paul and looks like it will have some good uses

  • @richardalexander633
    @richardalexander633 2 ปีที่แล้ว +2

    I am legend. One of the things that this lesson taught me was the value of looking at the community comments and support below. I too couldn't get the library that the tutorial uses 2.2.3 to work with the commands, as Paul had given them, but you guys helped, and I was able to use the latest IRremote library 3.6.1. and the code changes suggested by you out there in the community kind enough to share. You guys are so cool - all help greatly appreciated Thank you. I'm sure Paul would appreciate the support network being so robust too.
    Fun to play with the remote control.

  • @calebsuit5390
    @calebsuit5390 5 หลายเดือนก่อน

    I love your videos man. I’m working on an IR project now and this is clutch. Thank you!

  • @horamflyers3839
    @horamflyers3839 4 ปีที่แล้ว

    Hello Paul. Yes I did the homework using a for loop for every button.
    I expect you have a neater way. Just seen your preview on the robot car.
    Looks interesting. Have a kit on order. Thanks for all the lessons.

  • @israeltola9627
    @israeltola9627 2 ปีที่แล้ว

    I AM LEGEND .So far your the best teacher i have come across that makes Arduino projects easy👌👌

  • @deathmetallica2nd
    @deathmetallica2nd 3 ปีที่แล้ว

    I am legend....Thank you Paul for making so many legends and creating this legendaryyyy series

  • @bhushansurve3503
    @bhushansurve3503 4 หลายเดือนก่อน

    i was a victim of software update, so, none of the code shown here worked with updated IR library.. Had to figure out how the new code worked. I did not have a remote or IR receiver.. bought the IR receiver from amazon.. stole an old tv remote and got going.. happy that i was able to do that and stay with the lesson.. (i had to drop the Humidity and temp lesson because of the same SW update issue i think..) i will go back and figure out a way to make that work too.. But, yes Paul, you made me think... Thank you for all your efforts. I see that I am 3 years late, and you are onto new video lessons.. eager to join you there.. after i get to the end of this series.. till then adios...

  • @phillovegrove4704
    @phillovegrove4704 4 ปีที่แล้ว +4

    I am legend, not bad for a 69 year old. Too cold in N.Z for iced coffee, as below zero here, red wine works.
    Great series Paul.

  • @martinlewis645
    @martinlewis645 2 ปีที่แล้ว

    Hi Paul. I came back to this lesson and several others to help my son with a project. It is great to see all the new comments and all the interesting feedback. Thanks again!

  • @lefterisdagkalakis3016
    @lefterisdagkalakis3016 11 หลายเดือนก่อน

    Paul, you are a true legend. Words cant describe how much these tutorials have helped me make whatever I want. THANK YOUUUUUUU!!!!!!!!!

    • @paulmcwhorter
      @paulmcwhorter  11 หลายเดือนก่อน +1

      Great to hear!

  • @karelenmarritkruyswijk393
    @karelenmarritkruyswijk393 4 ปีที่แล้ว +1

    it's simple after you explain. thank you very much!

  • @legendarycraft5499
    @legendarycraft5499 4 ปีที่แล้ว

    I did the homework in a nice way (using functions and creating lists of elements in order to compare them and avoid writing many "if" statements). :)
    Thank you very much for the amazing tutorials. I followed them from the first one and with them it was much better and easier to get into Arduino (Computer Science Student). Once I finish my exams, I will start to watch the other tutorials that you have because I am sure that they are amazing. :D
    Again, thank you very much for doing these videos.

  • @drbirdleaf2574
    @drbirdleaf2574 8 หลายเดือนก่อน

    With the amount of time that has passed since this lessons upload and now, there have been many changes to libraries and things. I spent three frustrating days on this and somewhat have it working but most of the commands from the library are very different.
    As frustrating as it was, it helped me learn a lot, both through practice as well as all the reading and research I did while figuring it out.

    • @jazibi786
      @jazibi786 5 หลายเดือนก่อน

      Post the code plzz

  • @glennfelpel9785
    @glennfelpel9785 4 ปีที่แล้ว

    Super project...Love it. Just what I was waiting for....Thank You

  • @klrwhizkid
    @klrwhizkid 3 ปีที่แล้ว +1

    After the Stranahan's, I got a little wild and decided to play around. I dug out the LCD Display and calculator code from Lesson 48 and made an IR remote calculator with an LCD display.

  • @johnellick7778
    @johnellick7778 ปีที่แล้ว

    My Elegoo remote only showed F's decoded. I ended up using a Github updated code. Sounds strange but it worked with a Sharp TV remote. The rest of Paul's projects worked out great. He is a great instructor 😊

  • @justinjones8744
    @justinjones8744 2 ปีที่แล้ว

    Great videos the best ive seen i am trying to do some projects for my car and your tutorials are helping me learn Arduino and develop my projects thanks.

  • @RavensHammer00
    @RavensHammer00 2 หลายเดือนก่อน

    Okay! I am Legend, having used a backdated library, everything is working great, now, on to the next lesson!!! Thanks, Paul!

  • @skmplanet9591
    @skmplanet9591 2 ปีที่แล้ว

    This is amazing. It opens up new vistas for all. You are the superstar.

  • @PedroLuis-yp9ed
    @PedroLuis-yp9ed 3 ปีที่แล้ว

    I am legend. Completed the homework. Excited on what we're going to do with this.

  • @rickbonari4493
    @rickbonari4493 4 ปีที่แล้ว

    Hello Paul,
    Great arduino tutorial and looking forward to your robotics series !!!!!

  • @picklefish71
    @picklefish71 2 ปีที่แล้ว +1

    This lesson almost had me giving up on learning to program Arduinos. I uploaded the program and every time I pressed the remote button it gave me a different number...completely different and never repeated. Also, it was a 7 digit number instead of a 5 digit like you got. Then I read about the library version issue. I converted from 2.X to 3.X, thanks to someone's excellent comment below. Same exact result. Then I went back to version 2.8.1 as someone else suggested. Same exact result. Then I went back to 2.2.3 like you used. Same exact result. I checked, rechecked, re-recheck, re-re-rechecked and re-re-re-re-re-rechecked my code. It was exactly the same as yours. Hours trying to research on the internet did not help. Finally, it just happened that a new IR sensor just came in the mail. I had ordered it for a project I'm going to build once I learn Arduino programming a little better. Out of curiosity, I plugged the new one into my circuit and BOOM! it started working perfectly. Each button on the remote is now giving a single, discrete 5-digit number. I can only assume the Elegoo IR sensor was not working properly. Now I need to work on regrowing all the hair I pulled out trying to figure this out.

    • @MrBartallica
      @MrBartallica 2 ปีที่แล้ว +1

      Thanks, I also have this issue. Always getting different results when pressing the same button. Which IR sensor did you get?

  • @narasimharaomotupalli8599
    @narasimharaomotupalli8599 4 ปีที่แล้ว

    I am Legend. Thanks Sir.. Whenever I complete an assignment, I feel so elated that I got a feeling that I can control anything :)... I know that still lot to learn for me and do. I am very Happy.. Thanks Sir!...

  • @hillarymapondera4122
    @hillarymapondera4122 2 ปีที่แล้ว

    I am Legend all 17 commands are now fully operational. Thank your Mr Paul 🤓

  • @niceguy5772
    @niceguy5772 3 ปีที่แล้ว

    you are real change maker to the world , look how old are you but despite your age look what you do ,great job uncle

  • @suramyadidwania623
    @suramyadidwania623 2 ปีที่แล้ว

    I am legend, I did the homework without you describing it as just an experiment and a small setup sort of thing with intentions to make my commands and functions easier and faster with this sensor. Thanks a lot and I really like your videos. 😄

  • @Rtech98
    @Rtech98 4 ปีที่แล้ว

    I am legend. Glad I finally caught up with all the videos.

  • @vincecouldrey2370
    @vincecouldrey2370 3 ปีที่แล้ว

    I am legend, I had a few issues getting this code to work with the latest library version. Had to downgrade to an earlier version to work.
    Another great video Paul.

  • @vihashah5975
    @vihashah5975 4 ปีที่แล้ว

    Mr Paul McWhorter You are a GOD!!!! Thank you so much now I can resume working on my arduino robot car project because I was stuck on this for a very loooong time!!!! also instead of an if statement you guys should use the switch case statement and it s easier and faster.

  • @petergawthorne4660
    @petergawthorne4660 4 ปีที่แล้ว +1

    Hi Paul, I am legend! looking forward to seeing where this project goes next.

  • @rayboutin6642
    @rayboutin6642 3 ปีที่แล้ว

    Keep up the great work. Very inspirational!

  • @theteenengineer7589
    @theteenengineer7589 4 ปีที่แล้ว +1

    I just made a project like this yesterday!! Nice video, was wondering when you would do it 👍👍👍I am Legend

  • @Hino_55
    @Hino_55 4 ปีที่แล้ว

    I like putting the IR.resume() command at the very first line inside the void loop()
    I think of it as a command that is used to start the detection-and-decoding of IR signals by the IR sensor.
    and I'd like to think of the IR.decode(&cmd) as the command that instructs the sensor if the cmd variable already
    contains an IR signal.
    Great great lesson Sir Paul.
    Thank you for this!

    • @Hino_55
      @Hino_55 4 ปีที่แล้ว

      P.S. I am Legend

  • @dukanvasnygg
    @dukanvasnygg 4 ปีที่แล้ว +6

    Loved This series so much!! Thank you so much for everything so far... Would it be possible for you to do a RFID reader tutorial at some point ??

    • @TheParksy72
      @TheParksy72 3 ปีที่แล้ว

      id love an RFID Reader tutorial :D

  • @56Victorine
    @56Victorine ปีที่แล้ว

    Thank you Paul great lesson!

  • @israelkolawole7144
    @israelkolawole7144 ปีที่แล้ว

    I am a Legend, I also included LEDs to turn it on and off with the remote, Thank you so much Mr. Paul for this great tutorial

  • @wallaceshackleton1889
    @wallaceshackleton1889 4 ปีที่แล้ว

    I am legend.
    Well that was interesting a bit laborious but I guess telling us were we could include a library wouldn't be so much fun.
    Roll on the next lesson!

  • @marianocapone8576
    @marianocapone8576 ปีที่แล้ว

    Greetings Paul, I always enjoy your lessons.
    Ciao

  • @billbell745
    @billbell745 17 วันที่ผ่านมา

    Same problem without the burn. Reverted to and seems to work. Got a deprecated msg on compile first time. Also am using my TV remote to test values and ensure the remote receiver is working. Did the same thing with my Crunchlabs IR Turret robot. Cool.

  • @jeffchisholm8023
    @jeffchisholm8023 3 ปีที่แล้ว

    Your right they are a lot neater , they came last week with my second working nano

  • @jasoncliffe1959
    @jasoncliffe1959 4 ปีที่แล้ว

    very good series watching all video and learnt a lot

  • @keyboardlearning7552
    @keyboardlearning7552 2 ปีที่แล้ว

    Another Great Video (as always). Many thanks. I've got the latest header file which makes the comment "The function decode(&results)) is deprecated ...", but I'm making it work, and will do for the homework.

  • @jabber2824
    @jabber2824 หลายเดือนก่อน

    I AM LEGEND. I had a message from the library that the code used is not supported. Downgraded to version 2.6 and it works as shown. I’m glad it’s not a bigger remote with more buttons ;-)

  • @KingsleyTart
    @KingsleyTart 11 หลายเดือนก่อน

    Great tutorial Paul, thank you so much.
    My first Arduino was delivered today and my first program was to print out IR codes on the serial monitor when I pointed remote controls at it and pressed buttons.
    I tried it with a few IR remotes we have in the house. Some results were great, some were confusing.
    A Sony controller always transmitted the same code for any given button.
    A Roku controller registered nothing - perhaps it's on a different frequency.
    Two Panasonic controllers I tried (different Panasonic products) were strange. Pressing the same button multiple times transmitted different codes for most repeated presses of the same button, though some codes were repeated.
    Another controller (for a Humax PVR) always seemed to transmit 0xFFFFFFFF regardless of which button was actually pressed, which clearly can't really be the case because the PVR knows which button is actually pressed.
    I guess there's a lot more to these IR controllers than I originally hoped.

  • @ovgdigitorial
    @ovgdigitorial 3 ปีที่แล้ว

    Thank you for teaching excellent arduino.

  • @lakmithanadun1853
    @lakmithanadun1853 2 ปีที่แล้ว

    Thank you Paul. You're a great teacher.

  • @2006death2006
    @2006death2006 4 ปีที่แล้ว

    100% like me with all the tabs open and hope there's no more gas station coffee another great video always helpful and useful

  • @sagaradissanayake
    @sagaradissanayake 3 ปีที่แล้ว

    I am legend!
    Thank very much for the all the knowledge you are giving us. God bless you Sir.

  • @haneen3731
    @haneen3731 2 ปีที่แล้ว

    Awesome tutorial!

  • @romycruz4498
    @romycruz4498 3 ปีที่แล้ว

    Hi Sir, watching from the Phils. Thanks for your tutorials. :)

  • @radioxpert
    @radioxpert 3 ปีที่แล้ว +3

    Well the problem is with the Library ver 2.8.1, I tried ver 2.8.0 and it works!!!

    • @georgeeaton4948
      @georgeeaton4948 3 ปีที่แล้ว

      This worked for me too, thank you!

  • @ronaldk4225
    @ronaldk4225 3 ปีที่แล้ว +1

    Thanks! Great video! Also, the comments here were helpful too. e.g. some of the commands are deprecated with the older library - found that from comments below. (current library v3.0.1 as of now) My 2 cents in case it helps anyone..... I found out the remote that comes with this kit is kinda junky with very poor inconsistent results even at only a few feet away, but my old TV remote works MUCH better with no misses, no lag or delays and that's from about 20-30 feet away. That's IR for you I guess, good for small fun projects.

  • @MSMEHYDRO
    @MSMEHYDRO 4 ปีที่แล้ว

    I am legend! Also figured out that if my phone is near the sensor, it will spit out random numbers! Hope all is well Paul!

  • @tiberiumihaescu7348
    @tiberiumihaescu7348 3 ปีที่แล้ว

    I am legend! It's good to be back!

  • @armandine2
    @armandine2 2 ปีที่แล้ว

    looking forward to trying this type of programming when my IR module arrives - I'd also want to see (or test) my Siemens IR remote programmer's output code (a device for use with the HydroRanger - ultrasonic Well Level control ).

  • @yepitsmebob88
    @yepitsmebob88 ปีที่แล้ว

    I am legend and so are you. Great work you're doing here, keep it up.

  • @CodingScientist
    @CodingScientist 4 ปีที่แล้ว +1

    Great I am really keen to implement these in Jetson Nano or NX

  • @blansettj
    @blansettj ปีที่แล้ว +2

    I've been with you since lesson 1. I really appreciate the way you go in depth to help us learn so much more than just what we need to do, but why we're doing it. I always do my homework, I usually throw in a few extra challenges for myself when your lessons inspire me to do so.
    I never have commented since the videos are a few years old, but now that I see how many people are still actively involved I wish I'd been commenting all along.
    I loved seeing that you also have a site involving Bible studies. I haven't checked it out yet, but I plan to at some point. I'm actually working on a book, slowly, that will hopefully help inspire people to read The Bible for themselves. The book, if I ever finish it, will address several widely taught topics that scripture teaches very differently from the mainstream views. I believe that too many teachers just repeat the scriptures that have been ascribed to the same views they've supported their whole lives. Instead we should be searching out the scriptures for ourselves to find out what God is teaching us and adjust our beliefs accordingly. Just like Arduino and other electronic devices can seem beyond the average person's understanding until they jump in and spend some time with them. God's word can feel out of reach for many, but nothing is more worthy of our time and effort than finding out the truth about why we exist, and what awaits us once we find the truth and live our lives according to those findings.
    I, like many others, would love to see you continue this series with many of the other peripherals included in The Most Complete Starter Kit. I have the set that includes the Mega 2560, but I believe the Complete Uno kit has all of the same attachments. We're ALL holding our breath waiting to see if you upload more lessons for our Arduinos while we wait for the price of the Raspberry Pi to come back down to earth, SCHHHHHHHH... Boom!

    • @paulmcwhorter
      @paulmcwhorter  ปีที่แล้ว

      Excellent. Check out the Bible videos . . . sounds like we have a similar perspective on things.