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.
This video shows how to control LED on EDU:BIT using IoT Blynk app and Raspberry Pi.
This is the list of items used in the video.
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
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.“