Get Started with Blynk 2.0 on micro:bit | IoT for Beginners

Get Started with Blynk 2.0 on micro:bit | IoT for Beginners

Blynk is an IoT platform that is used to control hardware remotely, it can display sensor data, it can store data, visualize it, and do many other cool things. In this tutorial, we will learn how to get started with the new platform of Blynk on micro:bit using the Grove WiFi 8266 module.

 

Video Tutorial

 

Components Required

 

Connection

By following the diagram above:

  • Connect the grove wifi module to P15 and P16

 

Blynk Setup

  1. go to Blynk website, create a new account and log in
  2. create a new template


     
  3. from datastream add a virtual pin 


     
  4. then add a new device



     
  5. select the template that you have created
  6. from web dashboard add a switch






     
  7. now copy the token and let’s start making the code for micro:bit

 

Code

Connect your micro:bit to your computer and open MakeCode editor to start programming.

  • Add “ESP8266 Cytron” extension and follow the code block in the picture above
  • Type in the name and password of your WiFi
  • Paste the Token that you have copied from Blynk, and type in "V0" in Pin section
  • After completing the code, download it on microbit

You can also view and edit the code by clicking here!

 

Project Complete

Now you can control the micro:bit via Blynk, go ahead and improve this code and make great IoT projects.


โพสต์ที่เกี่ยวข้อง

How to get Auth Token from Blynk

How to get Auth Token from Blynk

This guide will show you how to start up a Blynk Project and to get the Auth Token of your Blynk Project.....