Baker Steve
Member
I had one of these lying around, and during a dispute with my energy supplier over when my low-rate tariff was active on my recently fitted 'smart' (not smart at all) meter, it occurred to me that I could put it to use to monitor the lit state of the neon that shows when the circuit is active – as opposed to staying awake all night.
Sometime I wish I didn't get these bright ideas. Here's what I did. I got hold of a DS1307 and a 24LC256 and fitted them to the AXE110, together with a CR2032. I then scanned the forums and found that setting the DSD1307 didn't work at 4.5 volts, so I fired the whole thing up at 5 volts. I then used the wizard to generate a DS1307 setting program and downloaded it. It downloaded – but no flashing green LED.
So I then generated a logging app using the relevant wizard, but set it to use pause for timing in case the DS1307 wasn't working. I downloaded it, and it appeared to work. So I then generated a logging app to use the DS1307 for timing. This also appeared to work, even though there was still no flashing from the green LED.
Perhaps naively, after a DS1307 was fitted and set to the correct time, I expected the time to be logged to the AXE110's EEPROM with each reading. But it seems not, so to make the module do what I need looks as if it's going to require a significant programming effort over and above the logging program that the wizard generates.
So my questions are:
. Has anyone already done this, and if so could I steal your code?
. Do I need to worry about the flashless green LED?
I suppose that as it stands I could set the logger to start at a prescribed time and monitor the LDR once a minute, then add the timing data later, but this strikes me as less than elegant and, knowing me, error-prone.
Sometime I wish I didn't get these bright ideas. Here's what I did. I got hold of a DS1307 and a 24LC256 and fitted them to the AXE110, together with a CR2032. I then scanned the forums and found that setting the DSD1307 didn't work at 4.5 volts, so I fired the whole thing up at 5 volts. I then used the wizard to generate a DS1307 setting program and downloaded it. It downloaded – but no flashing green LED.
So I then generated a logging app using the relevant wizard, but set it to use pause for timing in case the DS1307 wasn't working. I downloaded it, and it appeared to work. So I then generated a logging app to use the DS1307 for timing. This also appeared to work, even though there was still no flashing from the green LED.
Perhaps naively, after a DS1307 was fitted and set to the correct time, I expected the time to be logged to the AXE110's EEPROM with each reading. But it seems not, so to make the module do what I need looks as if it's going to require a significant programming effort over and above the logging program that the wizard generates.
So my questions are:
. Has anyone already done this, and if so could I steal your code?
. Do I need to worry about the flashless green LED?
I suppose that as it stands I could set the logger to start at a prescribed time and monitor the LDR once a minute, then add the timing data later, but this strikes me as less than elegant and, knowing me, error-prone.

