Display Internet Time (NTP) on micro:bit

Display Internet Time (NTP) on micro:bit

Introduction

Grove WiFi 8266 module is designed to enable your micro:bit (and other controllers too) to send/receive data over the internet through the Wi-Fi network. It is based on the Ai-Thinker’s ESP-12F module and comes preloaded with the new Espressif ESP-AT firmware v2.2.0.

Video

This video shows how to add WiFi module on micro:bit. It will get time from NTP server and display it on micro:bit.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is MakeCode sample program. You need to edit the WiFi SSID and password in the program. FYI, this program requires the extension of “esp8266 cytron”.

MakeCode NTP
*Click on the photo to open the program.

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 a better application."

Related Products