DS1307 Archives - electroSome https://electrosome.com/topic-tag/ds1307/ You Inspire.....We Create..... Thu, 19 Nov 2015 04:50:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 INTERFACING OF DS1307 WITH PIC16F877A WITHOUT USING LIBRARY FUNCTIONS https://electrosome.com/topic/interfacing-of-ds1307-with-pic16f877a-without-using-library-functions/ Wed, 18 Nov 2015 06:05:21 +0000 https://electrosome.com/topic/interfacing-of-ds1307-with-pic16f877a-without-using-library-functions/ */use pull up resistors of 330k ,crystal freq:32.768/* Program: #include "uartfun.h" //created myown header file for uart functions void i2c_intialise(int); void i2c_start(); void i2c_stop(); void i2c_restart(); void i2c_ack(); void i2c_nack(); void WaitSSP(); void i2c_send(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int); unsigned int i2c_readx(int); void wait(); void main() { unsigned char time[20]="Time:00:00:00"; unsigned char dayx[20]="Day:__"; […]

The post INTERFACING OF DS1307 WITH PIC16F877A WITHOUT USING LIBRARY FUNCTIONS appeared first on electroSome.

]]>
Digital Clock using PIC microcontroller and ds1307 https://electrosome.com/topic/digital-clock-using-pic-microcontroller-and-ds1307/ Sun, 05 Jul 2015 13:36:10 +0000 https://electrosome.com/topic/digital-clock-using-pic-microcontroller-and-ds1307/ I try to change PIC16F877. I need use PIC16F887, but i can’t get properly data of time/date.  Although for PIC16F877 everything fine. What i need to do to use PIC16F887 microcontroller?

The post Digital Clock using PIC microcontroller and ds1307 appeared first on electroSome.

]]>