Infrared microbit code

I’m wondering what type of infrared sensor would work best for a Micro:bit and if anyone has code that will work for the sensor? I’d like to build a Micro:bit thermometer that can test people’s temperature and need some advice. Many thanks!

1 Like

Hi Melissa,

Sounds like a very interesting project. My personal preference in these kinds of projects incorporating the MicroBit with various sensors is to use a common protocol such as I2C which I’ve also linked some tutorials to getting started with below. As for the IR sensor Gravity has a sensor which is not currently available but should be suitable for the project when it arrives, but any I2C based IR thermometer should be a good fit too! All the best with your project!

https://tech.microbit.org/hardware/i2c/

https://microbit-micropython.readthedocs.io/en/latest/i2c.html

Bryce
Core Electronics | Support