Search found 39 matches

by siwo278
Tue Apr 28, 2015 2:50 pm
Forum: Flowcode V4
Topic: DS1307 RTC
Replies: 31
Views: 267591

Re: DS1307 RTC

Hello. Yes I understand that pull up resistors are needed. This is required by the standard I2C. But in my particular case, and specific systems where only those resistors there is no communication between the DS1307 and the PIC16F876. When installing additional resistors to GND appeared communicati...
by siwo278
Tue Apr 28, 2015 12:45 pm
Forum: Flowcode V4
Topic: DS1307 RTC
Replies: 31
Views: 267591

Re: DS1307 RTC

Hi there! Some fumbled on the Internet. I fell into such a thing to me, as a solution to the problem. Converter for I2C logic levels. Could this be the cause of problems in communication (voltage levels) between the DS1307 and the PIC16F876. According to the note sheet DS1307 should handle TTL stand...
by siwo278
Mon Apr 27, 2015 1:37 pm
Forum: Flowcode V4
Topic: DS1307 RTC
Replies: 31
Views: 267591

Re: DS1307 RTC

Hello! After a very long break, back to the topic. I have a few questions to colleagues. I was able to run the system but in a strange configuration. In the drawings. The system is working properly when the resistors R3 and R4 are connected (Figure 1) When is disconnected (Fig. 2), the system operat...
by siwo278
Sun Jul 13, 2014 7:01 am
Forum: Flowcode V4
Topic: DS1307 RTC
Replies: 31
Views: 267591

Re: DS1307 RTC

Hello After programming the PIC16F877A; the same thing happens. Faulty communication with the RTC. It's back to PIC16F876A. During testing I noticed some curiosity. When disconnecting the mass (GND) of the RTC module display (LCD) provides the correct reading of information. And this is no longer un...
by siwo278
Sat Jul 05, 2014 7:48 am
Forum: Flowcode V4
Topic: DS1307 RTC
Replies: 31
Views: 267591

Re: DS1307 RTC

Hello My Modulus DS1307 RTC is OK, I tested it on a different platform (Arduino). I'll try to replace PIC16F877A PIC16F876A on it can make a difference. I have noticed one interesting. SDA line is a constant state of 0, and disconnecting it from the processor - the clock showed 0:00:00 00/00/00. Is ...
by siwo278
Sat Jul 05, 2014 7:37 am
Forum: Flowcode V4
Topic: DS1307 RTC
Replies: 31
Views: 267591

Re: DS1307 RTC

Hello I'm working on a similar clock, with the possibility of downloading time with DCF77. Decoding the information I have more or less an refined. I only have a problem communicating with RTC DS1307, which in your project is used. My processor is a PIC16F876A clocked at 19.66 MHz, RTC1307 hooked in...
by siwo278
Sat Jul 05, 2014 7:33 am
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 65064

Re: DS1307 - RTC Time Keeper

Hello I'm working on a similar clock, with the possibility of downloading time with DCF77. Decoding the information I have more or less an refined. I only have a problem communicating with RTC DS1307, which in your project is used. My processor is a PIC16F876A clocked at 19.66 MHz, RTC1307 hooked i...
by siwo278
Sat Jul 05, 2014 5:54 am
Forum: User Components
Topic: DS1307 - RTC Time Keeper
Replies: 146
Views: 65064

Re: DS1307 - RTC Time Keeper

Hello I'm working on a similar clock, with the possibility of downloading time with DCF77. Decoding the information I have more or less an refined. I only have a problem communicating with RTC DS1307, which in your project is used. My processor is a PIC16F876A clocked at 19.66 MHz, RTC1307 hooked in...
by siwo278
Wed Jun 11, 2014 7:48 pm
Forum: Flowcode V4
Topic: PIC16F876 and 32,768kHz
Replies: 3
Views: 5646

Re: PIC16F876 and 32,768kHz

Witam Dziękuję za odpowiedź. Też tak myślałam że lepiej główny rezonator kwarcowy to 19.66MHz podłączony pod osc a zegarowy czyli 32,76kHz pod TSO. A to komplikuje układ a i tak w projekcie chcę użyć RTC ds1307, więc procesor będę taktować 19,66MHz, a czas odczytywać z RTC po wcześniejszej aktualiza...
by siwo278
Wed Jun 11, 2014 6:13 am
Forum: Flowcode V4
Topic: PIC16F876 and 32,768kHz
Replies: 3
Views: 5646

Re: PIC16F876 and 32,768kHz

Hello I can not set the PIC16F876A to work with 32.768 kHz quartz resonator. With 4MHz works well. It is at all possible that the PIC16F876A to work with 32.768 kHz crystal resonator? Is it better to leave 4MHz cause they will cooperate with the RTC, and only read the RTC? Witam Nie umiem ustawić PI...
by siwo278
Tue Jun 10, 2014 6:09 pm
Forum: Flowcode V4
Topic: PIC16F876 and 32,768kHz
Replies: 3
Views: 5646

PIC16F876 and 32,768kHz

Witam Jestem laikiem w programowaniu procesorów PIC w FlowcodeV5, a moja znajomość języka angielskiego jest słaba. Więc przepraszam za to. Chcę zrobić sobie zegar DCF na PIC16F876A. Opracowałam sobie wstępnie sposób rozkodowania informacji DCF i wiem jak do tego podejść. Przykład na PIC16F648A, z wy...
by siwo278
Sun Feb 24, 2013 8:46 am
Forum: Flowcode V4
Topic: Flowcode 4.5 and PIC16F648 - how to program
Replies: 5
Views: 2154

Re: Flowcode 4.5 and PIC16F648 - how to program

Witam Znalazłam źródło problemu. Nie były to przyczyny sprzętowe, jak na początku sądziłam. Przyczyna leżała w kodzie programu, a dokładniej w braku wcześniejszej definicji wartości czterech zmiennych tz1,tz2,tz3,tz4. Zmienne te w pierwszym momencie uruchomienia w realnym układzie przyjmowały dowoln...
by siwo278
Fri Feb 22, 2013 7:27 pm
Forum: Flowcode V4
Topic: Flowcode 4.5 and PIC16F648 - how to program
Replies: 5
Views: 2154

Re: Flowcode 4.5 and PIC16F648 - how to program

Hello PortA hardware is tucked up with the 5K1 resistor to GND. The program apparently detecting the level of H on the port. When current is applied to the processor and pass through a macro "demo", the outputs portuB there are signs, although port_IN_A has not been activated. The power su...
by siwo278
Fri Feb 22, 2013 6:41 pm
Forum: Flowcode V4
Topic: Flowcode 4.5 and PIC16F648 - how to program
Replies: 5
Views: 2154

Flowcode 4.5 and PIC16F648 - how to program

Hello My English is poor, for which I apologize and please bear with us. "I painted" his first program in FLOWCODE 4.5 on PIC16F648A processor. The program inside the simulation works properly. After generating the hex file and programmed physical processor, its action is consistent with t...