Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!

Micro:Bit Weather Station

A 2 min project (check the video), that builds you a weather station using Micro:Bit and β˜’SW01

BeginnerFull instructions provided2 minutes3,314
Micro:Bit Weather Station

Things used in this project

Hardware components

BBC micro:bit board
BBC micro:bit board
With Micro-USB cable to connect between the Micro:Bit and your computer.
×1
BM01
XinaBox BM01
This is the Micro:Bit interface
×1
SW01
XinaBox SW01
This is the BME280 based weather sensor
×1
XC10
XinaBox XC10
This is the β˜’BUS connectors.
×1

Story

Read more

Code

Weather Station Code

JavaScript
Simply copy and paste this code into the JavaScript editor in your browser.
basic.forever(() => {
    basic.showString("T:")
    basic.showNumber(weatherbit.temperature() / 100)
})
weatherbit.startWeatherMonitoring()

Credits

Thanks to Ryan Mortenson and Mary West.

Comments