Posts

Showing posts from August, 2020

Real Time Clock

Image
 Here are a few reasons why you might want "real" time on a microbit: if you are recording measurements ( data logging) you probably want to record the time you made them - this is known as a timestamp . if you are automating something, such as a security light, you might need to do things at a particular time. The microbit can measure elapsed time, which can be useful, but you need to know the date and time when you started the timer. You can use the data logging feature in MakeCode but that (at the moment) doesn't make a timestamp, and your microbit would have to be connected to a computer running MakeCode. I want to run data logging without connecting to a computer, so that the microbit is a self-contained module. So adding a small Real Time Clock module solves the problem. I can upload measurements, with their timestamps, from the microbit, once a day or once a week, for example. This project uses the Tiny RTC module which is really small (23 x 27 mm)! It includes a...