Air_Addict
New Member
Hi Hopefully some can help me out with this issue !
I've recently bought the AXE033Y and also added the DS1307 RTC chip so that i can display the time. The plan was just to use the unit in the serial mode and send signals to the OLED from an 18M2, nothing very complicated just as per the manual !
I loaded the following code into the remote 18M2 and set up the time on the DS1307, without the battery fitted, and then load code into the 18M2 to print the time as shown in the attached photo.
The problem/issue is: when I fit the battery the time does not incriment ! also if i fit the battery before setting the time then all i get on the date time field is 00/00/00 00:00. The battery does keep the RTC working during power cycles because all i do to get the clock back is to remove the battery ! how odd is that ???
What have I missed because i can not figure out why the request to print the time on the OLED do not work when the battery is fitted
Code to set time
init: pause 500
main: serout C.7,N2400, (253,0,”06/11/11 11:00 ”)
pause 1000
serout C.7,N2400, (0)
end
Code to print time onn the OLED
init: pause 500
main: serout C.7,N2400, (1)
pause 10
serout C.7,N2400, (0)
pause 490
goto main
I've recently bought the AXE033Y and also added the DS1307 RTC chip so that i can display the time. The plan was just to use the unit in the serial mode and send signals to the OLED from an 18M2, nothing very complicated just as per the manual !
I loaded the following code into the remote 18M2 and set up the time on the DS1307, without the battery fitted, and then load code into the 18M2 to print the time as shown in the attached photo.
The problem/issue is: when I fit the battery the time does not incriment ! also if i fit the battery before setting the time then all i get on the date time field is 00/00/00 00:00. The battery does keep the RTC working during power cycles because all i do to get the clock back is to remove the battery ! how odd is that ???
What have I missed because i can not figure out why the request to print the time on the OLED do not work when the battery is fitted
Code to set time
init: pause 500
main: serout C.7,N2400, (253,0,”06/11/11 11:00 ”)
pause 1000
serout C.7,N2400, (0)
end
Code to print time onn the OLED
init: pause 500
main: serout C.7,N2400, (1)
pause 10
serout C.7,N2400, (0)
pause 490
goto main
Attachments
-
44.6 KB Views: 45