Search Engine www.edaboard.com

87 Threads found on edaboard.com: Code For ds1307
hello, maybe this test for MCP23017 ( + ds1307) can inspire you ... sur le bus I2C ? 100Khz // Fosc =16Mhz #include "p18f26k22.h" #define OSCILLATEUR_INTERNE // voir Help // Topics // Pic18 // config bits settings // choisir PIC18F26K22 #ifdef OSCILLATEUR_INTERNE #pragma config FO
hi all, i have tried so much but PIC 18F458 is not reading RTC ds1307, PLz help me oscillator -HS 20Mhz complier-micro c pro for pic here is code // LCD module connections sbit LCD_RS at RB7_bit; sbit LCD_EN at RB6_bit; sbit LCD_D4 at RB5_bit; sbit LCD_D5 at RB4_bit; sbit LCD_D6 at RB3_bit; sbit LCD_D7 at RB2_bit; sbit LCD_RS_Dire
hi all, i have tried so much but PIC 18F458 is not reading RTC ds1307, PLz help me oscillator -HS 20Mhz complier-micro c pro for pic here is code // LCD module connections sbit LCD_RS at RB7_bit; sbit LCD_EN at RB6_bit; sbit LCD_D4 at RB5_bit; sbit LCD_D5 at RB4_bit; sbit LCD_D6 at RB3_bit; sbit LCD_D7 at RB2_bit; sbit LCD_RS_Dire
hi i am using RTC ds1307 with pic16f887. using very common code for mikro c, avilable on net. problem is when i run the code on debugger, "read_time" routine sticks on "I2C1_start();" can anybody help? code is: // LCD module connections sbit LCD_RS at RB3_bit; sbit LCD_EN at RB2_bit; sbit (...)
i tried my own code with that i can able to read the RTC timing. but now i want to change the timing in RTC. im trying C language.
I want to convert 24Hr-to-12 mode in RTC ds1307 with atmega16(11.0592Mhz). Its ok with 24Hr mode. for its solution i had referred its datasheet....and read about 24/12 hour bit but in my code i cant find that where i have to make that change so that i can convert that time in 12HR. Compiler AVR GCC. #include #incl
Here I am posting mikroC PRO PIC code for multiple I2C LCDs. With this you can have a device like ds1307 of I2C bus and also 8 I2C PCF8574T based LCDs. I didn't post this in my previous thread in DIY section because its title had CCS C Project but this is mikroC PRO PIC project. I have used these I2C LCDs
hello I am interfacing RTC with microcontroller and LED. actually I have prototyping KIt (cortex m0). I only need c code. I want to control LED using real time clock via I2c pins Set alarm for 5 second (automatically turn on LED for 5 second ) Set alarm for 3 minute (automatically turn on LED (...)
Hi to all, I am into a project of "programmable timer" using real time clock with ds1307, for that I am working with Pic16f1847 and using Mikroc pro compiler for programming. I am using 16Mhz internal oscillator for clocking the device. I am using PICKIT3 programmer for building the code. My (...)
hi..i am work with RTC ds1307..with PIC18F4520..compiler MikroC..i was connected that keypad ,RTC code is compiling good ...but in Proteus time not display...pls check my code... add my i2c.rar look forward response...
i need c code for rtc ds1307 for pic18f4550
Dear the new code is fetch date and time from ds1307 once every seconds for few ms then display it in 7 segment for the rest of seconds but i notice a very simple blink in 7 segment Why the led that indicate the PM not work ok i connect it to 74595 output as the 7 segment Kindly need help Perhaps your method o
Here is sample code for pic18f by using C18 compiler. Before this, once go through the ds1307 data sheet and pic i2c registers How to start & stop i2c....... void rtc_setTime() { //i2c_Wait(); i2c_start(); i2c_write(0xa2); i2c_write(0x02); i2c_write (0x00) ; //set sec i2c_write( 0x00); //min i2c_write(0x10); //hou (...)
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
Hai, now i am doing program for interfacing ds1307 with lpc2148 using I2C communication protocol. i got this code from net but it is not working properly. the output is like 00:00:00 then in next line 00-00-00. i think that program have some minute error please clear that. or else if u have some other program kindly (...)
Hi I have a code for interfacing the ds1307 time IC with pic and LCD the code works fine and it has 3 buttons to adjust the time and other what I want to do is to add 3 buttons to allow user to enter the wake up time and compare it with the real time so that it can start a buzzer when there is a match the problem is (...)
you have many sample codes on
Hello there, I am working on RTC ds1307 using pic18f87k22 controller from few days but i dont know where i go wrong. I search most of the website but didnt get the solution. Here i post my code can you please trace out where are the problems. #include #include void delay(void); signed char ack=0; unsigned char
Year 1989 You can set only 00 to 99 19 set in manually in the source code There is no "19", the year settings refer to 2000 - 2099 and the programmed leap years are for 2000-2099, not 1900-1999
Hello and good after noun everybody, i was started to do things with RTC ds1307 and PIC18F458. I need a help for that, hardware and as-well as CCS C code. I am using PCW C compiler.