Get Microbit Temperature

Dear Sir/Madam,

I want to connect Blynk with Microbit, I find the temperature interface from http://docs.blynk.cc/ but I can’t find it from Blynk App, my Blynk App is version 2.23.1, please advise how I can get the Microbit temperature.

Best regards,

Kelvin.

this board isn’t supported by Blynk library :sunglasses:

It is not actively supported, but you can find examples on the internet. Google.

Dear Alexis_Cabrera,

What does it mean not actively supported? I do find the Microbit connection from Blynk App > Project Setting > Device

Best regards,

Kelvin.

More along the lines of “it may work with some examples out in the wild (AKA not in active Blynk example files) but is uncommon and or old hardware thus is acknowledged, but not being actively developed on.”

That setting is primarily used to show the pin designations for using digital pins in the widget settings.

But when using virtual pins you could actually run code on a UNO even if the App “thinks” it is a Raspberry Pi… in other words doesn’t really matter outside of its specific intent.

hi @Kelvin_Lee
there is a doc and a how to start :slight_smile:

http://help.blynk.cc/how-to-connect-different-hardware-with-blynk/arduino/bbc-microbit-arduino-ide

2 Likes

Dear Alexis_Cabrera,

Thanks for your information, may I know whether we can code at Arduino instead of Microbit? How can I get the information from Microbit itself sensor when I create the Blynk?

Best regards,

Kelvin.

According to this:


you can install the Adafruit Micro:Bit library which then gives you a temperature_data_get() method to read the internal Micro:bit temp sensor.
Note that it says “It’s not precise at all but it does go up when it gets hotter and down when it gets cooler”.

Also, the example shows how to upload the data to AdafruitIO and uses a delay(5000) which isn’t the way to do it if you’re trying to use Blynk instead.

Pete.

Thanks PeteKnight.

Dear Alexis_Cabrera,

I follow the step from https://github.com/sandeepmistry/arduino-nRF5#installing

For Microbit, the SoftDevice should be nRF51 but no idea S110 or S130 should be selected.

Under Flashing a SoftDevice point 7, which one is better? Point 8, I can’t find the Tools -> nRF5 Flash SoftDevice from Arduino IDE, my Arduino IDE is 1.8.3.

Is there any drawback after flashing the board if I need to code the Microbit with Block code again? Can I backup existing board before I flash?

Hope you can instruct me a bit to this. Many thanks.

Best regards,

Kelvin.

I think you should read this guide:

Pete.