I’ve received some RTC ICs from aliexpress and I started investigations. Warning! Here I’m going to work only with time, not date.
Goals: Read/write time from DS1307 and pushing it to pc by uart.
What we have: PIC16f628a, DS1307, MAX232 level converter, devboard, proteus.
Lets look at USART module in pic microcontroller (uart module).
I’m going to move by two ways:
1. Using existing functions from hi-tech compiler.
2. Writing my own functions.
As you can understand from title, this article is short manual about assembling of device which allows to make connection between your uart device and a PC by COM port.