ds1307

Interfacing of PIC12F675 with DS1307

Interfacing of PIC12F675 with DS1307 (RTC) code and Proteus simulation

This post provides the code for interfacing DS1307 RTC with PIC12F675 microcontroller. This DS1307 RTC has i2c based interface and PIC12F675 doesn’t have any built in i2c modules, so software i2c module is created in the code. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom of …

Interfacing of PIC12F675 with DS1307 (RTC) code and Proteus simulation Read More »

Interfacing of PIC16F877 with DS1307 (RTC)

Interfacing of PIC16F877 with DS1307 (RTC) code and Proteus simulation

This post provides the code for interfacing DS1307 RTC with PIC16F877 microcontroller. This DS1307 RTC has i2c based interface. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom of this page. It is assumed that you know how to interface LCD with PIC16F877 microcontroller in …

Interfacing of PIC16F877 with DS1307 (RTC) code and Proteus simulation Read More »

DS1307 Based Hand Clock with seven segment display using PIC16F877A

DS1307 Based Hand Clock with seven segment display using PIC16F877A (Code) //——Project by { ZAKI }–“facebook.com / Zaki Semel”———-// //——Project { Clock Hand }—For Pic16f877a & 7 Segment 4, Anode——-// //*****************************************************************************// char second, minute, hour, day, date, month, year; char second_d1, second_d2, minute_d1, minute_d2, hour_d1, hour_d2; char date_d1, date_d2, month_d1, month_d2, year_d1, year_d2, year_d3, year_d4; …

DS1307 Based Hand Clock with seven segment display using PIC16F877A Read More »

Interfacing Real Time Clock (RTC) DS1307 with PIC Microcontroller

Interfacing Real Time Clock (RTC) DS1307 with PIC Microcontroller

DS1307 is a low power serial real time clock with full binary coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM (Non Volatile Static Random Access Memory). Data and Address are transferred serially through a bidirectional I2C bus. The RTC provides year, month, date, hour, minute and second information. The end date of months is automatically adjusted …

Interfacing Real Time Clock (RTC) DS1307 with PIC Microcontroller Read More »

Interfacing of PIC16F84A with DS1307

Interfacing of PIC16F84A with DS1307 (RTC) code and Proteus simulation

This post provides the code for interfacing DS1307 RTC with PIC16F84A microcontroller. This DS1307 RTC has i2c based interface and PIC16F84A doesn’t have any built in i2c modules, so software i2c module is created in the code. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom …

Interfacing of PIC16F84A with DS1307 (RTC) code and Proteus simulation Read More »