Raspberry Pi Pico W LESSON 76: MicroPython Program to Use an Infrared IR Remote in Projects

Поділитися
Вставка
  • Опубліковано 5 жов 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 class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in this entire class.
    amzn.to/3ubMRs1
    In this video, I will show you how to use an IR remote with the Raspberry Pi Pico 2. This lesson shows how to read button presses from the remote control unit, and how to create a command that is usable in a microPython program I then give a homework to control the servo using the IR remote. The video will take you through the process step by step. Enjoy!
    More great content at:
    toptechboy.com
    [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. ]
    #raspberrypipicow
    #micropython
    #IRremote
  • Наука та технологія

КОМЕНТАРІ • 39

  • @ArielDelgado-b2q
    @ArielDelgado-b2q 3 місяці тому

    Thanks Paul! Your videos are great! In the future I'd love to see some tutorials that focus on going beyond the breadboard. Like how to take a nice little project and put it in a box/enclosure. I could not find many tutorials that discuss how to do all this without a breadboard.

  • @anshgoel131
    @anshgoel131 3 місяці тому

    I feel like teachers (gurus) deserve the highest pedestal in our lives. Thank you sir. I have been following your channel. It hasn't been the longest time, but you have taught me a lot. I want to be a great guru and an even better human like you one day. Thank you loads.❤❤❤❤

    • @isaacosaretin
      @isaacosaretin 3 місяці тому

      Same here ❤️❤️❤️❤️

  • @bigbogeyface
    @bigbogeyface 3 місяці тому +3

    Brilliant brilliant lesson.
    Super useful and powerful 👏
    Thanks Paul 😀 👍

  • @edSabio572
    @edSabio572 3 місяці тому

    Thanks Paul!!! Lesson are not hard. They are worth grasping the complexity of them. Working on homework....

  • @larryplatzek9017
    @larryplatzek9017 3 місяці тому +1

    Great lesson Hope lesson 79 will not be end of this series!

  • @basiceducation1131
    @basiceducation1131 3 місяці тому +1

    Good morning sir

  • @peterdegraff8032
    @peterdegraff8032 3 місяці тому

    way behind the learning curve

  • @nigelworwood8530
    @nigelworwood8530 3 місяці тому

    Boom! He has done it again.

  • @crs1548
    @crs1548 2 місяці тому

    Fantastic lesson!!!

  • @scottwait3585
    @scottwait3585 3 місяці тому

    Thank you Paul!

  • @shawnlowe1392
    @shawnlowe1392 3 місяці тому

    Great video Paul. You were talking about working through the program, well finding bugs is an excellent way. Mine WOULD NOT print out the newCommand list. Oh it would if I printed it in the callback module, but not in the main program. I went over it....again...again....and found out that cmdReady == True doesn't set it to true! DOH! lol

  • @peterkarlsson7801
    @peterkarlsson7801 3 місяці тому

    The remote control in this kit, and one from an Elegoo kit always give addr 0000.
    I tried other remote controls, and also one that can control multiple things like TV, DVD and VCR. I then get different addr values, like 0505, 0707, 0909 and 00ff. I think the purpose of the addr is to be able to have many different remote controls in a living room, only controlling the intended equipment.
    The remote control in the kit is using the NEC protocol. The NEC protocol can have 8 or 16 bit commands "IRBit" and 8 or 16 bit addresses, "addr".

  • @gregormurray314
    @gregormurray314 3 місяці тому

    Hi paul, love your content, i have learned a lot from you and enjoyed it in the process. wondering if there are any plans to do a most excellent deep dive into PIO on the pico. Its a bit of a difficult one to get to grips with and there isnt much out there that explains it well. might be a 2 coffee topic though. hot coffee for me though as i am in rainy scotland.

  • @AshrayJK
    @AshrayJK 3 місяці тому

    What a legend

  • @patrickfox-roberts7528
    @patrickfox-roberts7528 3 місяці тому

    👍👍👍thanx

  • @VeryUsMumblings
    @VeryUsMumblings 3 місяці тому +2

    I'm going to have to take a lawn chair on the last one, but i did this weeks homework! Thanks for another great lesson! 👍
    ua-cam.com/video/Z5g0i-kbpNo/v-deo.html

  • @charlotteswift
    @charlotteswift 3 місяці тому

    Here's a comment about my homework without a link in case the other one gets deleted.
    I've found another IR receiver so I've made a video in case anyone is interested.

  • @rogersanderson8538
    @rogersanderson8538 3 місяці тому +1

    You need to make beginRecord FALSE once your command is done.

  • @edSabio572
    @edSabio572 3 місяці тому

    I'm Legend!

  • @DrDave327
    @DrDave327 3 місяці тому

    I am embarrassed that I wasn't able to achieve a homework solution because I attempted to use two cores, which seemed to me to be necessary. Lesson learned, once again, use the K.I.S.S. rule: Keep it simple, stupid. LOL

    • @paulmcwhorter
      @paulmcwhorter  3 місяці тому +1

      Just because you have a new tool, does not mean you need to use it! I figured many people would try to do that. So, we continue to learn.

  • @borufight7141
    @borufight7141 6 місяців тому

    Sir, can u help me how to send json data from Arduino to raspberry pi using hardware serial?

    • @larryplatzek9017
      @larryplatzek9017 3 місяці тому

      If Paul would help 1/100 of subscribers he would have no time for doing a series or his other work that should be done. Just explaining why request is being ignored. Have a Great day!

  • @keithlohmeyer
    @keithlohmeyer 3 місяці тому

    Homework submitted with some extra credit too. ua-cam.com/video/OUsQZULEXkI/v-deo.html
    Thanks Paul for all you do!

    • @paulmcwhorter
      @paulmcwhorter  3 місяці тому +1

      Excellent. Had not thought about using the -1 in a useful way, had just been using it to solve timing problem on button pushes.