By Kevin McAleer, 4 Minutes
Page last updated November 24, 2026

By the end of this lesson you will be able to explain what the course builds, what the Pico’s built-in temperature sensor can and cannot do, and check you have the kit you need.
Ahoy there makers! Did you know your Raspberry Pi Pico already has a thermometer inside it? There is nothing to buy and nothing to wire up. In this course we’ll read that sensor, turn the numbers into degrees Celsius, make the readings steadier and more accurate, and finish with a temperature alert that lights the on-board LED when things get too hot.
The sensor sits inside the Pico’s microcontroller chip and measures the temperature of the chip itself. That makes it perfect for learning, because you meet three big ideas without any extra parts: analogue-to-digital conversion, turning a raw number into a real-world unit, and acting on a sensor reading.
flowchart LR
A["Set up Thonny and MicroPython"] --> B["Read the raw ADC number"]
B --> C["Convert to degrees Celsius"]
C --> D["Format and smooth the readings"]
D --> E["Alert when too hot or too cold"]
E --> F["Extend and troubleshoot"]
By the end of this course you will be able to:
machine.ADC(4)No soldering is needed unless your Pico came without header pins and you want to use the optional OLED.
If you have never written any Python, our MicroPython course is a gentle companion. Once you finish here, MicroPython GPIO shows you how to control LEDs and buttons.
Code you can run. Every program is complete, so you can copy it into Thonny, save it and press Run. Short fragments that are not whole programs are marked clearly.
MicroPython, not desktop Python. Some things you might know from Python on a computer are missing or different on the Pico. We point out each trap where you meet it.
Quizzes and exercises. Every lesson ends with a short quiz, a Try it Yourself list and a Common Issues list. Your quiz score is kept in your browser and shown in the sidebar.
One project, built up. Each lesson adds a little to the same script, so by lesson 10 you have a working temperature monitor.
Teachers: this course suits learners aged about 11 and up, including complete beginners to text programming. Allow 30 to 45 minutes per lesson. You need one Pico and one computer per learner or pair. Lesson 2 installs software, so check whether your school lets learners install Thonny or ask IT to install it beforehand. Lesson 1, and the reading parts of lessons 4, 5, 9 and 12, work with no hardware at all. A room thermometer shared between a group is enough for the calibration in lesson 9.
Ready? Let’s get your Pico set up.
Comments