Posts

Showing posts from November, 2020

A better Real Time Clock

Image
 A better Real Time Clock The DS3231 RTC is much more suited to the micro:bit than the DS1302. That's because it is designed to work with 3V devices (the DS1302 backup wasn't very reliable at 3V).  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's editor 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 mod