As you will have seen from yesterday’s video the surprise in box nine was a temperature sensor. This initially seemed a bit strange for an advent calendar based around things that light up but makes absolute sense when you see the project for it.
We are pairing the temperature sensor with the ring LED that we used in the day eight project. Have a look at the project in action in the following video.
This project was slightly different than previous ones in that it needed to have a third-party library installed on the Pico to interact with the temperature sensor. This is straightforward but does make showing the output from the sensor in the video a little tricky!
As you can see from the image below one of the tasks from today’s project was to setup the sensor and then get it to output the temperature and humidity.
From previous uses of similar sensors, I’ve found that the accuracy isn’t that great but is fine for simple projects such as this.