Your shopping cart is empty!
Displaying Real-Time Info on an LCD with micro:bit
- Abdulrahman Alhamed
- 11 Feb 2023
- Tutorial
- Beginner
- 1963
Hi everyone, in this tutorial, we're going to learn how to display real-time information such as date, time, and temperature on an LCD screen using micro:bit. Whether you're a beginner or an experienced programmer, you'll find this project both fun and educational. So grab your micro:bit and let's get started!
Video Tutorial
Components Required
- REKA:BIT with micro:bit
- Grove WiFi 8266 – IoT for micro:bit and beyond
- 3V3 I2C and SPI 1602 Serial Character LCD
Connection
By following the diagram above:
- Connect the grove Wi-Fi module to P15 and P16
- For the LCD, connect GND to VSS, 3V3 to VDD, SDA to SDA, SCL to SCK
Code
Connect your micro:bit to your computer and open MakeCode editor to start programming.
- Add “ESP8266 Cytron” extension
- Add "micro:bit + LCD" extension using this link: https://github.com/cytrontrainee/microbit-lcm1602-14-lcd-extension
- then follow the code block in the picture above
- Type in the name and password of your WiFi
- After completing the code, download it on microbit
You can also view and edit the code by clicking here!
Project Complete
Now the time, date, and temperature are displayed on your LCD