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 - Наука та технологія
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.
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.❤❤❤❤
Same here ❤️❤️❤️❤️
Brilliant brilliant lesson.
Super useful and powerful 👏
Thanks Paul 😀 👍
Glad you enjoyed it
Thanks Paul!!! Lesson are not hard. They are worth grasping the complexity of them. Working on homework....
Great lesson Hope lesson 79 will not be end of this series!
I plan to keep going!
Good morning sir
way behind the learning curve
Boom! He has done it again.
Fantastic lesson!!!
Thank you Paul!
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
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".
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.
What a legend
👍👍👍thanx
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
LEGEND!
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.
You need to make beginRecord FALSE once your command is done.
I'm Legend!
LEGEND!
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
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.
Sir, can u help me how to send json data from Arduino to raspberry pi using hardware serial?
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!
Homework submitted with some extra credit too. ua-cam.com/video/OUsQZULEXkI/v-deo.html
Thanks Paul for all you do!
Excellent. Had not thought about using the -1 in a useful way, had just been using it to solve timing problem on button pushes.