Thermometer - Micro:Bit
by Aidan-Corrales in Circuits > Electronics
902 Views, 2 Favorites, 0 Comments
Thermometer - Micro:Bit
![IMG_1176.png](/proxy/?url=https://content.instructables.com/FQI/WNBL/KBKSQX4N/FQIWNBLKBKSQX4N.png&filename=IMG_1176.png)
Use your Micro:Bit to read the temperature of your surroundings!
Supplies
- Yourself
- Micro:Bit
- Battery Pack (Optional)
- Mirco USB
- Computer
Thermometer
![20200622_144743.jpg](/proxy/?url=https://content.instructables.com/FVA/YDAB/KBRXXEH4/FVAYDABKBRXXEH4.jpg&filename=20200622_144743.jpg)
You be needing
- Heat or cold air
- Micro-bit
- Micro-USB
- Battery
Connecting to Your Computer
![20200622_144721.jpg](/proxy/?url=https://content.instructables.com/FOX/Z9LV/KBRXXENK/FOXZ9LVKBRXXENK.jpg&filename=20200622_144721.jpg)
Put your your micro-USB into the computer and the micro-bit.
Getting the Main Blocks Needed
![Screenshot (8).png](/proxy/?url=https://content.instructables.com/FJ6/LQNW/KBRXXESF/FJ6LQNWKBRXXESF.png&filename=Screenshot (8).png)
Get the block name on button a pressed get it from the input tab on your left and the forever block should be given to you already.
Adding More
![Screenshot (9).png](/proxy/?url=https://content.instructables.com/FFM/7I8Q/KBRXXF8P/FFM7I8QKBRXXF8P.png&filename=Screenshot (9).png)
Get a "show number" block from the basics tab and place it in forever block.
Making a Variable
![Screenshot (11).png](/proxy/?url=https://content.instructables.com/FHT/SZMS/KBRXXFT8/FHTSZMSKBRXXFT8.png&filename=Screenshot (11).png)
Look for a variable tab and make one type in converted.
Once you have the variable and grab a bubble that just say converted and place it into show number block ,also get the "set converted to 0" block out to.
Finding the Math Problem
![Screenshot (21).png](/proxy/?url=https://content.instructables.com/F3M/9UHI/KBRXXL0F/F3M9UHIKBRXXL0F.png&filename=Screenshot (21).png)
Get three bubbles of adding signs and put them together and place in the "set converted" block.
Figuring the Math
![Screenshot (16).png](/proxy/?url=https://content.instructables.com/FYX/GLEZ/KBRXXIM2/FYXGLEZKBRXXIM2.png&filename=Screenshot (16).png)
Get the temperature from the input tab in place it in the math bubbles.
Putting the Numbers and Math Symbols
![Screenshot (22).png](/proxy/?url=https://content.instructables.com/FEA/V2MO/KBRXXLLZ/FEAV2MOKBRXXLLZ.png&filename=Screenshot (22).png)
For the numbers put 9 on the first one second 5 and 32 for the last one
The symbols are going to be the first one to temperature and 9 is X for multiply second dividing and last is (+) plus.
Place in the Forever Block
![Screenshot (23).png](/proxy/?url=https://content.instructables.com/F2N/48IB/KBRXXLPW/F2N48IBKBRXXLPW.png&filename=Screenshot (23).png)
Lastly place the whole thing into the forever block.
Download the File to the Microbit
![Screenshot (2).png](/proxy/?url=https://content.instructables.com/FF8/EXC4/KBRXXM3B/FF8EXC4KBRXXM3B.png&filename=Screenshot (2).png)
![Screenshot (6).png](/proxy/?url=https://content.instructables.com/FA0/O52E/KBRXXM3C/FA0O52EKBRXXM3C.png&filename=Screenshot (6).png)
There two ways of doing this you can either pair the device or bring the file to the micro-bit.
Here Are Video Instructions If You Prefer That! :)
![Microbit - Thermometer](/proxy/?url=https://content.instructables.com/FNB/HQDO/KCKIQTWJ/FNBHQDOKCKIQTWJ.jpg&filename=Microbit - Thermometer)