JeremyCorkery
New Member
Has anybody had problems setting time and retrieving time from a DS1307 when it's in the AXE033?
I have the AXE033 in I2C mode and can send text to it, but can't get a response from the DS1307.
I'd put a DS1307 in the AXE033 and I've been trying to set the time and retrieve it (using sertxd first). Instead of values I'm just getting ?? (question marks)
I'm using a 28X2 as my micro.
I don't believe the clock is being set at all, because I'm not getting pulses out on AXE033 board. I have a 3v battery coin cell from a working PC. I don't think it's the Vbat.
If I take out the DS1307 and wire it up it elsewhere on the bus and it works fine.
I used the sample code written by BCJKiwi as he had done all the BCDtoAscii work, http://www.picaxeforum.co.uk/showthread.php?t=8078
.. using the first example.
I was a little unsure of the function of the clk jumper (I was robbed of a jumper in the kit too!). I thought it might also be a R / RW function with the DS1307 so tried a program just to set the time with this jumpered and not jumpered. Still not getting any results, so leaving this out as instructed in i2c mode.
Have I got a faulty AXE033? I've been searching the forums but haven't found any similar problems.
I have the AXE033 in I2C mode and can send text to it, but can't get a response from the DS1307.
I'd put a DS1307 in the AXE033 and I've been trying to set the time and retrieve it (using sertxd first). Instead of values I'm just getting ?? (question marks)
I'm using a 28X2 as my micro.
I don't believe the clock is being set at all, because I'm not getting pulses out on AXE033 board. I have a 3v battery coin cell from a working PC. I don't think it's the Vbat.
If I take out the DS1307 and wire it up it elsewhere on the bus and it works fine.
I used the sample code written by BCJKiwi as he had done all the BCDtoAscii work, http://www.picaxeforum.co.uk/showthread.php?t=8078
.. using the first example.
I was a little unsure of the function of the clk jumper (I was robbed of a jumper in the kit too!). I thought it might also be a R / RW function with the DS1307 so tried a program just to set the time with this jumpered and not jumpered. Still not getting any results, so leaving this out as instructed in i2c mode.
Have I got a faulty AXE033? I've been searching the forums but haven't found any similar problems.