Trying to get an AXE110 to be useful

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.
 
Every AXE 110 that I ever owned had the green LED fitted in reverse. If your LED is reversed, unsolder it, spin it 180 degrees and solder back in.

Attached is the code I used when messing about with AXE 110.
I think it will work OK even without AXE111 attached.

Written for 24LC512, but also works with 24LC256
 

Attachments

Last edited:
Doh - post removed

Note to self:- read whole post before replying :(
 
Last edited:
I just have to say that the DS1307 has been very problematic on many levels and additionally, it's not a very stable RTC at all.

Please use the DS3231 which is the preferable/reliable choice for RTC projects and your headaches will go away ;-)

Just my 2cents, of course you can google the DS1307 issues and see for yourself that it's the worst RTC in the world lol.
 
I just have to say that the DS1307 has been very problematic on many levels and additionally, it's not a very stable RTC at all.

Please use the DS3231 which is the preferable/reliable choice for RTC projects and your headaches will go away ;-)

Just my 2cents, of course you can google the DS1307 issues and see for yourself that it's the worst RTC in the world lol.
Good point. However, I cannot find the DS3231 in an 8-pin DIL.
 
Doh - post removed

Note to self:- read whole post before replying :(
I'm not sure what you removed, but did you intend to release loggerMON512.bas?

As for the reversed green LED, there is a post in the forum from RevEd to sya that all the incorrect stock was fixed. The green LED appears to have the orientation suggested by the PCB stencilling.
 
I'm not sure what you removed, but did you intend to release loggerMON512.bas?

As for the reversed green LED, there is a post in the forum from RevEd to sya that all the incorrect stock was fixed. The green LED appears to have the orientation suggested by the PCB stencilling.
No, I was pointing out that AXE110 wizard exists, but your original post makes it clear that you are already well aware of the wizard.

Post number 2 already has loggermon512.bas attached

Load and run loggermon512.bas, follow instructions in the file header text, type 'x' to reset the DS1307 and start up the 1 second output to make the green LED flash at 1 Hz.
 
No, I was pointing out that AXE110 wizard exists, but your original post makes it clear that you are already well aware of the wizard.

Post number 2 already has loggermon512.bas attached

Load and run loggermon512.bas, follow instructions in the file header text, type 'x' to reset the DS1307 and start up the 1 second output to make the green LED flash at 1 Hz.
Thanks – will try later today.
 
No, I was pointing out that AXE110 wizard exists, but your original post makes it clear that you are already well aware of the wizard.

Post number 2 already has loggermon512.bas attached

Load and run loggermon512.bas, follow instructions in the file header text, type 'x' to reset the DS1307 and start up the 1 second output to make the green LED flash at 1 Hz.
Ok, did that. Sending 'x' to the AXE110 app at 4800,8,n,1 gets the response:

[F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][F0][A5][DA]

...which looks like a bit of a digital raspberry to me. But no green LED flash.

Can you clarify 'follow instructions in the file header text'?

Note that I don't have a serial LCD display connected to the AXE110. Should I change the serout() calls to sertxd()?
 
Do not change anything in code. No serial LCD required
Get readable text to your favourite terminal program first, then worry about the other stuff

Is PC serial port connected to "datalink" using PICAXE cable?

You should see intro text at power-up without doing anything

Is green LED lit (but not flashing) before you type anything - it should be.

Can you clarify 'follow instructions in the file header text'?

Read the text at the top of the BAS file

Much more importantly: Stop putting jam on the scone before the cream.
Cornwall has it right, but I feel the need to support Devon Cream Teas :)
 
Last edited:
Is PC serial port connected to "datalink" using PICAXE cable?

Duh!

It is now.

You should see intro text at power-up without doing anything

Yes – it outputs help text and current time/date, as set by app (I guess). So far, so good.

It responds to, for example, the 'l' and 'n' commands, but only to output the strings up to '=' – no data.

'x' produces the response 'Time reset', but still no green LED.

Is green LED lit (but not flashing) before you type anything - it should be.

Sadly, nope. Maybe I should desolder it and reverse it?

Read the text at the top of the BAS file

I did. What am I missing? (Aside from the bit where you say you aren't responsible for anything ;-)

Much more importantly: Stop putting jam on the scone before the cream.
Cornwall has it right, but I feel the need to support Devon Cream Teas :)

The Cornish Split was invented for just this purpose. It is split vertically and the jam and cream inserted. It thus corresponds to your chosen method depending on which side of the Tamar you view it from.
 
I think I am going to throw Claude AI at my original issue.

But meanwhile, I have realised that I can achieve the results I want with my trailcam, which is normally used for badger watching. It should respond to the off-peak neon and logs time with videos/photos.
 
Seems I missed the REVED memo on reversed LED. I have 4 AXE110's and all 4 had reversed LEDs. Not all bought at the same time.

Flat on LED should be closest to DS1307 socket.

Working LED does indeed have flat on LED matching flat on silk-screen print.
I wonder how you know that flat on LED matches silk-screen. I had to unsolder and remove LED to see silk screen.

Simple solution is to ignore green LED completely and go with serial port as diagnostic tool.LEDaxe110.jpg
 
Last edited:
Flat on LED should be closest to DS1307 socket.
I think mine might be the wrong way around – it's very hard to see on my board.
Working LED does indeed have flat on LED matching flat on silk-screen print.
I wonder how you know that flat on LED matches silk-screen. I had to unsolder and remove LED to see silk screen.
From the pic in the supporting PDF. Attached below.
Simple solution is to ignore green LED completely and go with serial port as diagnostic tool.
Quite so.

Screenshot 2026-06-19 at 2.42.14 pm.png

Turns out that the green LED was the wrong way around. (Desoldering it was a b*tch.)

I now have green LED hard on – i.e. not flashing. Your app responds through the terminal. Green LED not flashing.

I think I will have to leave this now, but thanks for all your help.
 
PS Downloading the standard wizard-generated DS1307 setting program does cause the green LED to flash.

So something achieved today :)

I do think that not using the DS1307 to time-stamp readings is a major omission that greatly reduces the utility of the logger, but as the AXE110 has been discontinued I guess I will have to code that myself.
 
Last edited:
I just have to say that the DS1307 has been very problematic on many levels and additionally, it's not a very stable RTC at all.

Please use the DS3231 which is the preferable/reliable choice for RTC projects and your headaches will go away ;-)

Just my 2cents, of course you can google the DS1307 issues and see for yourself that it's the worst RTC in the world lol.
I'd just echo that, the DS3231 is way more accurate and a typical application board from Amazon or wherever has a flashing green LED of its own to confirm it's all working properly.
 
I'd just echo that, the DS3231 is way more accurate and a typical application board from Amazon or wherever has a flashing green LED of its own to confirm it's all working properly.
As I posted, I cannot find a DS3231 in an 8-pin DIL that is compatible with the AXE110.

The whole thing is now working as per spec. It's just not a very useful spec.
 
Good point. However, I cannot find the DS3231 in an 8-pin DIL.
By far the easiest option is to use a ready-made DS3231 RTC module. The header pins for the I²C bus and power match the relevant socket on the AXE110 board so it's literally just plug & play.
 

Attachments

  • IMG_20260619_154003.jpg
    IMG_20260619_154003.jpg
    584.9 KB · Views: 7
Just be aware that many of these ds3231 modules are using fake chips & don’t keep accurate time.
Buy from a reputable source.
 
Mission accomplished. I set the AXE110 to record the LDR at 1 minute intervals from a known start time, then added the time scale in Excel.

The DS1307 is adequate for my purposes.
 
Back
Top