RTC

Blog, LUA, RTC

Mailbag Arrival !! DS3231 – I2C Real Time Clock Module

  What we will need: CBDB Board USB adapter (take a look on Part 1 for details how to connect them together) DS3231 Module – you can buy them at a very good price HERE, 1.62USD/pcs, a very good deal!! For programming and uploading the driver and the software we will continue to use the LuaUploader as before. If  you remember my article

LUA, RTC

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)      conn:on(“connection”,function(conn, payload)             conn:send(“HEAD

LUA, RTC

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 bits of serial electrically erasable and

ESPBasic, RTC

ESPBasic driver example for AT24C32 – I2C EEPROM

Do you remember the widely used DS3231 RTC Module ?As you might rememeber we have identified onboard an EEPROM chip, a 32k AT24C32 one and have written some driver examples for LUA I was looking a few days ago for a I2C EEPROM to do some tests with ESPBasic and the results…can be seen below 🙂 1. MAIN

Scroll to Top