Control LED on EDU:BIT Using IoT Blynk App and Raspberry Pi

Control LED on EDU:BIT Using IoT Blynk App and Raspberry Pi

Introduction

Continue from previous tutorial, since the Raspberry Pi has WiFi, I will try to control the LEDs in EDU:BIT using the Blynk app. The idea is, I will program the Raspberry Pi to read data on the Blynk server, and then send the data to EDU:BIT via serial USB communication. Then the EDU:BIT will control the LED based on the data received.

Video

This video shows how to control LED on EDU:BIT using IoT Blynk app and Raspberry Pi.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is python sample program for micro:bit (top) and Raspberry Pi (bottom). You can use mu editor to program micro:bit and Thonny Python IDE to run program in Raspberry Pi. Please install python Blynk library with following command.

sudo pip3 install blynk-library-python

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Control LED on EDU:BIT Using IoT Blynk App and Raspberry Pi
EDU:BIT Pedestrian Crossing Traffic Lights
USB Serial Communication Using Raspberry Pi and Microbit
Record QR Data Into CSV Format Using Raspberry Pi
Reading QR Code Using Raspberry Pi Camera
Scroll to Top