03-15-2016, 11:24 PM
(This post was last modified: 03-15-2016, 11:43 PM by carlosviansi.)
(03-15-2016, 09:36 PM)MichaelMeissner Wrote: As I understand it, the wifi card with i2c is based on the ESP8266 chipset. I don't know how much these things are programmable or whether you've programmed them before, but you can get DS3231 real time clocks (i2c based) for under $5 from US vendors (and of course cheaper from China vendors). You could sync up the clock on a pine64, and move it over to the wifi (with the battery to keep the time running), and then the ESP8266 can poll the rtc to find out what time it is.
Alternatively, since the ESP8266 is wifi based, I imagine you could sync clocks via the internet such as with this Arduino example (http://www.instructables.com/id/Arduino-...me-Client/).
You could also plug in a gps, but I suspect either of the above methods of keeping time will be sufficient.
Thanks! I guess this opens the question then if I can program the wifi module and connect this. (edit it seems this can be done but I need to add in another piece for that:
In this set-up (found it on the backkerkit photos for the wifi remote):
So the suggestion is then to buy that part and given its I2C its guaranteed to work? Could you confirm? I would like to hear from khgoh if he there would be any issues too. Just to be clear: With this clock attached to it, then the intention would be to hook in this usb serial and make it add timestamps on top of logging the sensor readings? Therefore I wouldn't have the issues of loosing the timestamps? That would be great.. I imagine that if I could hook up the EEPROOM or something for it to log the data, then I could turn into a data logger such that I could have it storing the readings at a second resolution and making the server empty it out from time to time. But again, I am still a bit clueless on the EEPROOM. I need a bit more guidance here :-(
I didn't follow on the connect to internet part, Ii thought the remote could only make itself visible to a pine and nothing else?