To expand controller capability, sometimes it is necessary to communicate with other controllers. There have few common protocols in controller communication e.g. UART, I2C, SPI and etc. This tutorial will share on how to do the UART serial communication between Raspberry Pi and micro:bit through USB connection.
This video shows how to do serial communication between Raspberry Pi and micro:bit over a USB connection.
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.
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.“