Brittany Bull
Published © MIT

NO Fuss Micro:bit Temperature Monitor

Using the Micro:bit & xCHIPs assembly of this temperature monitor is effortless. Coding is a piece of cake with the blocks of software too!

EasyFull instructions provided5 minutes688
NO Fuss Micro:bit Temperature Monitor

Things used in this project

Hardware components

BBC micro:bit board
BBC micro:bit board
×1
XinaBox IM02
×1
OD01
XinaBox OD01
×1
SW01
XinaBox SW01
×1
MD01
XinaBox MD01
×1
PB04
XinaBox PB04
×1
XC10
XinaBox XC10
×1
AA Batteries(Generic)
×2

Software apps and online services

pxt.microbit.org
micro:bit pxt.microbit.org

Story

Read more

Code

Micro:bit `Temperature Monitor

JavaScript
JavaScript code for Micro:bit Temperature Monitor. You could copy and paste as mentioned in the STORY then convert it to blocks.
let TemperatureCelsius = 0
basic.showLeds(`
    # . . . #
    . # . # .
    . . # . .
    . # . # .
    # . . . #
    `)
OLED.init(64, 128)
weatherbit.startWeatherMonitoring()
OLED.showString("Temperature Project")
TemperatureCelsius = weatherbit.temperature() / 100
basic.forever(() => {
    basic.showString("C:")
    OLED.showString("Temp_C:")
    basic.showNumber(TemperatureCelsius)
    OLED.showNumber(TemperatureCelsius)
})

Credits

Brittany Bull

Brittany Bull

12 projects • 4 followers
A student exploring the world of coding and IoT from a beginners' perspective

Comments

Add projectSign up / LoginAbout BBC micro:bit