LUA

AT24C32 – I2C External EEPROM Data Looger

As you remember from our previous article about DS3231 RTC Module, we have identified onboard an EEPROM chip, a 32k AT24C32 one. It is independent from the RTC circuit and conected on the I2C bus, perfect companion for a Data Logger System 🙂                                                        AT24C32 EEPROM The AT24C32 provides 32,768 Read more…

LUA

Time sync with Google page

How  we will do it:  Connect to Google server, fetch the page header that contain the Timestamp and do some string manipulation to obtain the Date & Time information in the format that we need to be able to update our Real Time Clock:  getTime = function()      conn=net.createConnection(net.TCP, 0) Read more…