Displaying Real-Time Info on an LCD with micro:bit

Displaying Real-Time Info on an LCD with micro:bit

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

 

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

Hardware Components

Grove WiFi 8266 - IoT cho micro:bit Bán chạy
x 1 đơn vị



Chat hỗ trợ
Chat ngay