Search Engine

46 Threads found on pic16f877a ds1307
i have interfaced pic and ds1307, along with displaying it in lcd. but no communication is happening between pic and rtc, neither transmission or reception.please help. assembly codes is attached herewith
The following video shows the interfacing of pic16f877a microcontroller with 1602 lcd display and ds1307 real time clock and dht11 digital humidity and temperature sensor. The ds1307 uses I2C protocol to communicate with the microcontroller and the dht11 uses One-Wire protocol. The results are displayed on the lcd display. The circuit (...)
Hello friends.. I want to inrerface Rtc ds1307 with pic16f877a.But before that i want to read fully about ds1307 and I2C. My question is can you please suggest me some useful links from where i can read about theae two ?
Sir, I m very new using c compiler as mikro-c pro v6.0.1. Please help me with c-code for 7 segment clock using PIC 16F887A & ds1307. My Proteus file as follows. 105919
hi, please help me to write program in embedded c code for interfacing RTC-ds1307 24bit ADC USB VIA serial UART interface FT232RL NAND FLASH memory-AT45DB642 SD CARD with pic16f877a. waiting for your replies..
I AM NEW TO INTERFACE OF ds1307 WITH PIC. can any provide the links for these interface and what is iic protocol ??
Examples (they are for PIC16F877 but you can easily use them for PIC18F46K20): A Simple Clock using ds1307 + pic16f877a ds1307RTC MikroC I?C Library
Please Some one help me to learn about the DS1703 (RTC). I read the Data sheet but still confusing ... please help to give some tutorial about ds1703 where using pic16f877a, LCD and MickroC Compiler. Thanks in Advance O_O
Hello guys, Do you guys have experience with ds1307 and PIC 16F877A ? I 'm using Hitech C and I can't use the example from compiler.... I stack with : unsigned short read_ds1307(unsigned short address) { //unsigned short dataa; I2C_Start(); I2C_Wr(0xd0); //address 0x68 followed by direction bit (0 for write, 1 for read) 0x68 follo
hello.....i want to build a real time clock using the internal timer(s) of the pic 16f877a and display the time on 16x2 lcd. I can handle the lcd commands but please upload and explain me the timer operations using the ccs pcw compiler......!
I'm making a timer in which I can input time using keypad and the numbers I pressed should appear in the the LCD.. And when I press ( * ),the countdown will start..Also the countdown timer should appear in the LCD.. Please help me with's my code.. unsigned short kp; unsigned short cnt; int hour_ones,min_ones,min_tens; char
which is the i2c devices - - - Updated - - - go through the following links u will get an
8220482203 this two is my circuit and my code for mikroc, and it can not be displayed on my lcd, and i dont know the problem, i really hope who can point out my mistakes. thanks for ur timme
For voltage sensing, you can use a voltage divider and sense the voltage using the PIC ADC module. For date and time, you can use a RTC chip and interface it to pic16f877a. You can use ds1307 and interface it to pic16f877a using I2C protocol. You may save the data on the PIC EEPROM or you may use an external memory for larger storage (...)
Dear All, I used ds1307 as a RTC and put the readings to LCD using pic16f877a via I2C bus. It is working fine.Backup battery also connected properly. only thing is when I removed the main power from My cct and reconnect after few minutes, unfortunately time was not increasing while backup battery is there. some times system also struck Please he
I had interface the RTC ds1307 with my PIC Micro-Controller... and using the internal I2C Module of PIC I had successfully write some bytes but not able to read the byte properly.. I had set the time as 06-05-00 (Hours-Min-Sec) Format. I tried reading the data and displaying on the LCD, but i get time as TIME:05:00:06 Means Minut
hi guys, i want to build an real time clock using ds1307 interfacing with pic16f877a...i think that i will have to use I2C.can u help me out in how to initialize I2C module..i m not able to understand how to configure the registers for I2C? also any suggestion for interfacing would be good too... any help would be appreciated
Dear All, This is I2C communication between RTC ds1307 and PIC 16f877a Please advice. This is not working properly. Please see attachment for files #include __config 3f39 ;RTC ds1307 cmd_byte RES 1 Main BANKSEL TRISC ; initialize MSSP module bsf TRISC,3 ; conf
Hi, Friends My RTC clock with ds1307 and pic16f877a as a master I2C using 16*2 LCD is working ok now i want an indication of AM/PM in LCD so requested friends that how to write code in Assembly.I have written 0x71 in hour location of ds1307 for 11pm and 12 Hrs mode and read hours are storing in TEMP Resistor and displaying the hour value usin
Hi, Friends My RTC clock with ds1307 and pic16f877a using 16*2 LCD is working fine. When I write following values in corresponding Location of ds1307 after 5 seconds it changes and displays all the calendar values and time accordingly which all are correct, EXCEPT HOUR display value. Second=0X55 After 5 seconds displays in lcd=00 Minute=0x5
Have a look at the link, you'll get the idea. BTW what is the error that you are getting? A Simple Clock using ds1307 + pic16f877a | PIC Microcontroller Note
Hello Everyone, I have been working on this code for a number of weeks and it is still not working. The area of concern is the PIC16877A interface to the RTC ds1307. With the Pic Kit2 debugger hooked up in MPLAB the program gets stuck the second time it enters the WaitMSSP loop waiting for btfss PIR1,SSPIF. When I press "F6" Processor R
Thanks for the reply, Yes, I've already used mikroC to display text on LCD with pic16f877a. I have no idea about RTC chips but I'll try about it. Maybe you still have more ideas bro? Cheerz!
Hello friends, My hardware for ds1307 is working on 8051uc but when i am connecting pic16f877a to it i got disturbed means at SCL pin 100khz frequency is not coming and at pin no. 2 of ds1307 33.768kHz frequencyis not coming. i am using 100khz clock rate. Confi for PIC i2c is TRISC3 = 1; /* SDA and SCL as input pin */ (...)
i'm working on i2c comunication between pic 16f877a and ds1307. I'm done but i have a you can see, when the i2c debugger is employed, my circuit work so well! But when i remove the
A Simple Clock using ds1307 + pic16f877a | PIC Microcontroller Note check this link
Hi, I am new to Embedded programming, My project is about moving message display in which i am using PIC 16F877A, 5x7 dot matrix display, ds1307 RTC. Already the program is written for this project, i wanted to change time from 24 hour format to 12 hour format. I am sending that code in attached file, please verify this one and suggest me the mod
this is a project mesurement and control temp, humidity for a glass house. I used pic 16f877A with LM35 and RH humidity HS1101+ keyboard Humidity is a RH base on Capacitor --> frequency with LM555 LM35 is input for AN0 You can enter temp min and max and delta temp. the same for RH with key board(4X4) My project is simulated with Protues v6.
hi to all, this is siddhu................ iam doing a project of digital calender using pic16f877a and ds1307 and 7-segments............ iam not getting how to read the time and date from the ds1307............. when i tested on proteus the ds1307 showing current time and date......some times it is working (...)
hi to all, this is siddhu........... iam doing a project on digital calender using pic16f877a and ds1307, and 7-segment LED's (not LCD)......................................... iam not getting the output not at all, the problem is how to send the secs,mins,and hrs to led driving port(iam using portb)..,,,,,,,,,,, i want source code v
There is an example of building a digital clock using this chip. You can take the LCD part from there and compare it to yours. Check the code of picnote . It contains LCD code in C. You can download MikroC evaluation and it will work with the code. -- Amr
Why do not u use C code. It is more handy. Check the code of picnote . It contains LCD code in C. You can download MikroC evaluation and it will work with the code.
What is your circuit connection? Added after 22 minutes: Check Code is in C. Try to convert it to assembly with any PIC C compiler.
Hi, Also take a look at:
Hi all, I create a simple project to change the start time of ds1307 using I2C interface and pic16f877a is the master! But when i start the simulation. The time in ds1307 always starts at 00:00:00 , it doesn't change anything. Any suggestion? Thank you! The source code was written by mikroC void main() { Delay_ms(10
see makri
Hi, Take a look at: Hope it helps. Tahmid.
can anyone send to me the source code for digital alarm clock with alarm using pic16f877a,ds1307 and lcd. i also need the schematic diagram for the circuit.i`m using mplab ide..thank you very much.
Dear Friends, I have bought 32.768Khz as shown in picture.what value i need to use ?I used 33 pf and also 22 pf it is not generating correct frequency.please give me the connection for this crystal. With Thanks and Regards, Eswaramoorthy K V
check this A Simple Clock using ds1307 + pic16f877a | PIC Microcontroller Note
HI im trying to construct a RTC using ds1307,DS1305 and pic16f877a Can any one help with this?im using Protues7.4 as my simulation software and Microc for the programmer! thanks
Hi every one, i need idea or if possible code. I need to display rtc value on lcd. i am using pic16f877a and ds1307 series RTC and lcd JHD162A i am using MPlab ide with hitechc c compiler I am attaching sorce code which i have written which make rtc run. #include extern void I2C_start(void); extern void I2C_stop(void); extern void I2
see this site
i have done RTC (ds1307) Interfacing with pic16f877a in 'C'.But at this time i m working on 8051 and i want to RTC (ds1307) Interfacing with 8051.plz help me
Hello See this site Real Time clock ith ds1307 , pic16f877a and CCS C Real Time Clock (ds1307) Using pic16f877a and CCS C
I want to interface with a ds1307(real time clock) and display the date and time on a LCD(model HD44780) with pic16f877a. Could anyone of you show me a sample program, please. Thanks a lot.