microbit IR REMOTE AND RECEIVER

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
asaf
Posts: 18
Joined: Sat Dec 29, 2018 4:32 pm

microbit IR REMOTE AND RECEIVER

Post by asaf » Mon May 18, 2020 3:57 am

i want to use ir on my microbit with python, like here - https://www.circuitbasics.com/arduino-i ... -tutorial/
do u have example for this ?
Thanks a lot

OutoftheBOTS_
Posts: 763
Joined: Mon Nov 20, 2017 10:18 am

Re: microbit IR REMOTE AND RECEIVER

Post by OutoftheBOTS_ » Mon May 18, 2020 6:46 am

I have used this bit if hardware https://www.ebay.com/itm/1Pc-Portable-I ... SwT2daRZgF just recently for something similar but it was for my 6yrs robot which is a Mbot (ardunio MCU programmed with scratch). It is cheap and works very well and comes with a really nice little reciver with LED that flashes when receiving a command from and IR remote. If you want to see it in action click here https://www.youtube.com/watch?v=YMagc97np-M

I have in the past wrote python code to receive and decode all these IR remotes but didn't keep the code (pity so many people have asked for it :( )

You may need to write your own code. I did write a short tutorial ages ago for doing this on RPi see https://www.youtube.com/watch?v=zDErQPXtMyU&t=53s

I also did a little googling and here also good info for doing this in python https://fishandwhistle.net/post/2016/ra ... e-control/

asaf
Posts: 18
Joined: Sat Dec 29, 2018 4:32 pm

Re: microbit IR REMOTE AND RECEIVER

Post by asaf » Mon May 18, 2020 11:02 am

thanks.
but i need it to microbit.
do u have python code for this ir to microbit ?
Thanks

OutoftheBOTS_
Posts: 763
Joined: Mon Nov 20, 2017 10:18 am

Re: microbit IR REMOTE AND RECEIVER

Post by OutoftheBOTS_ » Mon May 18, 2020 8:13 pm

I am not sure if you will find code for microbit but from the links above you can understand how it works and write your own code

Post Reply