Two RS (hardware and software) in PIC16F628A
Hello
I have a question to colleagues. I would like to take advantage of the processor PIC 16F628 two RS232 serial ports - hardware and software. In the simulation FLOWCODE such a solution works. After building a real system that does not work at ...
Search found 39 matches
- Wed Dec 07, 2016 12:34 am
- Forum: Flowcode V4
- Topic: Two RS232 PIC16F628A - a problem with the software RS
- Replies: 0
- Views: 16129
- Thu Aug 18, 2016 12:24 am
- Forum: General Programming
- Topic: Error using EEprom PIC16F648A FLOWCODE v5.5.2.1
- Replies: 1
- Views: 4094
Error using EEprom PIC16F648A FLOWCODE v5.5.2.1
Hello
When compiling the program appears compile error associated with the use of the internal EEPROM in a PIC16F648A. This error occurs only for that uP, if you change it to PIC16F628A does not cause the appearance of this error.
Can it go.
Natalie
Błąd użycia pamięci EEprom PIC16F648A Flowcode ...
When compiling the program appears compile error associated with the use of the internal EEPROM in a PIC16F648A. This error occurs only for that uP, if you change it to PIC16F628A does not cause the appearance of this error.
Can it go.
Natalie
Błąd użycia pamięci EEprom PIC16F648A Flowcode ...
- Fri Jul 08, 2016 8:06 am
- Forum: Flowcode V4
- Topic: Counting interrupts depending on the level
- Replies: 0
- Views: 16637
Counting interrupts depending on the level
Hello
I wrote a short program on the processor PIC 16F84A, on the basis of a program with PIC 16F648A. The program acts as a pulse-width ratio DCF77. The problem is that he loses pulses from the input. While the original program 648A of the LCD does not do that, in the case of 84A'm surprised. The ...
I wrote a short program on the processor PIC 16F84A, on the basis of a program with PIC 16F648A. The program acts as a pulse-width ratio DCF77. The problem is that he loses pulses from the input. While the original program 648A of the LCD does not do that, in the case of 84A'm surprised. The ...
- Mon Feb 15, 2016 4:20 pm
- Forum: Flowcode V4
- Topic: how to properly set the transmission parameters RS
- Replies: 1
- Views: 16087
Re: how to properly set the transmission parameters RS
Hello
I gave partly cope with this problem. (drawing)
In spite of this, please, and I'll be grateful for a broader representation of the method of calculation and correct setting of the RS232 port.
Witam
Częściowo dałam sobie rady z tym problemem. (rysunek)
Pomimo tego proszę i będę wdzięczna, za ...
I gave partly cope with this problem. (drawing)
In spite of this, please, and I'll be grateful for a broader representation of the method of calculation and correct setting of the RS232 port.
Witam
Częściowo dałam sobie rady z tym problemem. (rysunek)
Pomimo tego proszę i będę wdzięczna, za ...
- Mon Feb 15, 2016 12:39 pm
- Forum: Flowcode V4
- Topic: how to properly set the transmission parameters RS
- Replies: 1
- Views: 16087
how to properly set the transmission parameters RS
Hello
How should I set the correct transmission parameters for the serial port?
Exactly interested in serial transmission on the bus 485. In my program I want to send 14 characters at 1200 bps. UP is used PIC18F46K22 with quartz 3,2768MHz, the program is set to interrupt TMR0 - 100Hz I know (diagram ...
How should I set the correct transmission parameters for the serial port?
Exactly interested in serial transmission on the bus 485. In my program I want to send 14 characters at 1200 bps. UP is used PIC18F46K22 with quartz 3,2768MHz, the program is set to interrupt TMR0 - 100Hz I know (diagram ...
- Tue Jan 12, 2016 7:16 pm
- Forum: Flowcode V4
- Topic: warning at compile
- Replies: 2
- Views: 18161
Re: warning at compile
Hello!
Thank you for the quick reply. That's what I thought , with the result of the use of variable Uint the interruption . But I was not sure .
Natalia
Thank you for the quick reply. That's what I thought , with the result of the use of variable Uint the interruption . But I was not sure .
Natalia
- Mon Jan 11, 2016 3:56 pm
- Forum: Flowcode V4
- Topic: warning at compile
- Replies: 2
- Views: 18161
warning at compile
Hello
Dear Colleagues have a problem with compiling the program. There is a mistake but rather a warning of the possibility of error " Building CASM file
Serious Warning : Possible s stack corruption , function ' __mul_16u_16u__16 ' called by more than one asynchronous thread ( main / Task ...
Dear Colleagues have a problem with compiling the program. There is a mistake but rather a warning of the possibility of error " Building CASM file
Serious Warning : Possible s stack corruption , function ' __mul_16u_16u__16 ' called by more than one asynchronous thread ( main / Task ...
- Tue Sep 29, 2015 6:38 am
- Forum: Flowcode V4
- Topic: mathematical calculations in the simulation and the real pro
- Replies: 7
- Views: 25678
Re: mathematical calculations in the simulation and the real
Hello
It works ! Cause trouble was bad code word processor , and two variables that introduce errors in the calculation day of the week , which varied ranges of numbers used in the program . Thank you all for your help, especially colleague " medelec35 " - (Algorithm - day of the week ) - for the ...
It works ! Cause trouble was bad code word processor , and two variables that introduce errors in the calculation day of the week , which varied ranges of numbers used in the program . Thank you all for your help, especially colleague " medelec35 " - (Algorithm - day of the week ) - for the ...
- Mon Sep 28, 2015 9:41 am
- Forum: Flowcode V4
- Topic: mathematical calculations in the simulation and the real pro
- Replies: 7
- Views: 25678
Re: mathematical calculations in the simulation and the real
Hello
Replacing an algorithm that calculates the day of the week helped , now and simulation and realistic program calculate correctly . The above error dimmed further problems in the operation of the program. The problem is now interrupt TMR0 and faulty billing days during data input by the user ...
Replacing an algorithm that calculates the day of the week helped , now and simulation and realistic program calculate correctly . The above error dimmed further problems in the operation of the program. The problem is now interrupt TMR0 and faulty billing days during data input by the user ...
- Sun Sep 27, 2015 1:57 pm
- Forum: Flowcode V4
- Topic: mathematical calculations in the simulation and the real pro
- Replies: 7
- Views: 25678
Re: mathematical calculations in the simulation and the real
Hey
Cool algorithm. And could I bring it more mathematically?
Since my English is at the level of buying flowers. It is rather simple - Sunday? - Number Monday? - number
if so, I mean?
2015 years - (15 + 1) - year
27 days of the month - date
09 months - MonthCode
the extent to which year is this ...
Cool algorithm. And could I bring it more mathematically?
Since my English is at the level of buying flowers. It is rather simple - Sunday? - Number Monday? - number
if so, I mean?
2015 years - (15 + 1) - year
27 days of the month - date
09 months - MonthCode
the extent to which year is this ...
- Sun Sep 27, 2015 1:12 pm
- Forum: Flowcode V4
- Topic: mathematical calculations in the simulation and the real pro
- Replies: 7
- Views: 25678
Re: mathematical calculations in the simulation and the real
Hello
I'm sorry not clarified questions. As for the calculation of the date of the macro "DZIEN_TYGODNIA" - a processing algorithm of calculating the day of the week based on the date. In the simulation, the algorithm correctly computes flowkode day of the week and the real program on the processor ...
I'm sorry not clarified questions. As for the calculation of the date of the macro "DZIEN_TYGODNIA" - a processing algorithm of calculating the day of the week based on the date. In the simulation, the algorithm correctly computes flowkode day of the week and the real program on the processor ...
- Sun Sep 27, 2015 11:57 am
- Forum: Flowcode V4
- Topic: mathematical calculations in the simulation and the real pro
- Replies: 7
- Views: 25678
mathematical calculations in the simulation and the real pro
mathematical calculations in the simulation and the real program - different results
Hello
What is the difference between the simulation and the actual operation of the program in the CPU in mathematical calculations? In my program I set day of the week based on such date: 01.01. (20) 00 this ...
Hello
What is the difference between the simulation and the actual operation of the program in the CPU in mathematical calculations? In my program I set day of the week based on such date: 01.01. (20) 00 this ...
- Sun Aug 09, 2015 10:06 pm
- Forum: Flowcode V4
- Topic: UART COMM
- Replies: 10
- Views: 32204
Re: UART COMM
Hello
Yes RTS and CTS select the properties of the component. (for pictures). when it comes to SPI interface I am far not figured him. Far enough for me to RS232 and RS485.
Witam
Tak RTS i CTS wybieramy przez właściwości komponentu. (na obrazkach). jeśli chodzi o interfejs SPI to narazie do niego ...
Yes RTS and CTS select the properties of the component. (for pictures). when it comes to SPI interface I am far not figured him. Far enough for me to RS232 and RS485.
Witam
Tak RTS i CTS wybieramy przez właściwości komponentu. (na obrazkach). jeśli chodzi o interfejs SPI to narazie do niego ...
- Sun Aug 09, 2015 9:41 am
- Forum: Flowcode V4
- Topic: UART COMM
- Replies: 10
- Views: 32204
Re: UART COMM
Hello
So you will be able to communicate. The 232 properties FLOWCODE set the hardware flow control (disabled by default). Then you can choose the pins responsible for the RTS and CTS. Remember that uP operate on 5V or 3V3, and the standard RS232C typically at 12V. Therefore, the communication ...
So you will be able to communicate. The 232 properties FLOWCODE set the hardware flow control (disabled by default). Then you can choose the pins responsible for the RTS and CTS. Remember that uP operate on 5V or 3V3, and the standard RS232C typically at 12V. Therefore, the communication ...
- Mon Aug 03, 2015 7:30 pm
- Forum: Flowcode V4
- Topic: how to configure the processor PIC18F46K22
- Replies: 2
- Views: 18386
Re: how to configure the processor PIC18F46K22
Hello
MCRL pin is connected to the DS1813. Thank you for the suggestion, changed in the program. The cause of failures in the simulator was a fragment of program code which, for the real system should work well (but more on that to convince assemble as a whole) and it does not work simulations. As ...
MCRL pin is connected to the DS1813. Thank you for the suggestion, changed in the program. The cause of failures in the simulator was a fragment of program code which, for the real system should work well (but more on that to convince assemble as a whole) and it does not work simulations. As ...
- Fri Jul 31, 2015 4:04 pm
- Forum: Flowcode V4
- Topic: how to configure the processor PIC18F46K22
- Replies: 2
- Views: 18386
how to configure the processor PIC18F46K22
Hello
Can I ask for help in properly setting PIC18F46K22. In my program uses two USART ports with a maximum speed of 1200, LCD, RTC72421, a few buttons. FLOWCODE simulation program operates in accordance with my expectations. Real array or even a simulation in Proteus detached from the what shows ...
Can I ask for help in properly setting PIC18F46K22. In my program uses two USART ports with a maximum speed of 1200, LCD, RTC72421, a few buttons. FLOWCODE simulation program operates in accordance with my expectations. Real array or even a simulation in Proteus detached from the what shows ...
- Mon Jun 01, 2015 7:26 am
- Forum: Flowcode V4
- Topic: PROBLEM WITH EB006 V7 AND PPP
- Replies: 22
- Views: 46079
Re: PROBLEM WITH EB006 V7 AND PPP
Welcome
In my opinion if you don't want to exchange the resistor of the base of the BC337 transistor don't change. It should work from 22k. This resistor is responsible for the proper guidance of this transistor and it is possible to enumerate his accurate value. For LED diode nothing will happen ...
In my opinion if you don't want to exchange the resistor of the base of the BC337 transistor don't change. It should work from 22k. This resistor is responsible for the proper guidance of this transistor and it is possible to enumerate his accurate value. For LED diode nothing will happen ...
- Sun May 31, 2015 6:23 am
- Forum: Flowcode V4
- Topic: PROBLEM WITH EB006 V7 AND PPP
- Replies: 22
- Views: 46079
Re: PROBLEM WITH EB006 V7 AND PPP
Welcome
In my opinion you so connectivities . Activation of the relay will only accompany the lighting of the LED Nothing should happen. The control transistor may be any from the group npn .
Witam
Moim zdaniem możesz tak połączyć. Aktywacji przekaźnika towarzyszyć będzie tylko oświetlenie LED ...
In my opinion you so connectivities . Activation of the relay will only accompany the lighting of the LED Nothing should happen. The control transistor may be any from the group npn .
Witam
Moim zdaniem możesz tak połączyć. Aktywacji przekaźnika towarzyszyć będzie tylko oświetlenie LED ...
- Sat May 30, 2015 10:51 pm
- Forum: Flowcode V4
- Topic: flashing cursor on the LCD. How it off?
- Replies: 1
- Views: 16681
Re: flashing cursor on the LCD. How it off?
Welcome
It worked, after sending the command the cursor is no longer visible. In confirmation of my conjecture EtsDriver colleague helped me from this forum. By the way, which resulted in the appearance of the flashing cursor, use of atypical Oscillator 6.144MHz, the use of TMR2? Now I can only see ...
It worked, after sending the command the cursor is no longer visible. In confirmation of my conjecture EtsDriver colleague helped me from this forum. By the way, which resulted in the appearance of the flashing cursor, use of atypical Oscillator 6.144MHz, the use of TMR2? Now I can only see ...
- Sat May 30, 2015 7:05 am
- Forum: Flowcode V4
- Topic: flashing cursor on the LCD. How it off?
- Replies: 1
- Views: 16681
flashing cursor on the LCD. How it off?
Welcome
Playing in FLOWCODE with LCD display never with such a problem not met - a blinking cursor appears on the LCD. The program I use PIC16F648A processor clocked at 6.144MHz, interruption TMR2, RS232 communication and display LCD2x16. As the blinking cursor off - know the appropriate command ...
Playing in FLOWCODE with LCD display never with such a problem not met - a blinking cursor appears on the LCD. The program I use PIC16F648A processor clocked at 6.144MHz, interruption TMR2, RS232 communication and display LCD2x16. As the blinking cursor off - know the appropriate command ...
- Sat May 30, 2015 6:54 am
- Forum: Flowcode V4
- Topic: The self-exclude themselves interrupt TMR0
- Replies: 1
- Views: 16355
Re: The self-exclude themselves interrupt TMR0
Hello .
We managed to. I changed interrupt on TMR2 used . The program works . He appeared to be a different problem - a flashing cursor on the LCD. How it off?
We managed to. I changed interrupt on TMR2 used . The program works . He appeared to be a different problem - a flashing cursor on the LCD. How it off?
- Fri May 29, 2015 6:38 am
- Forum: Flowcode V4
- Topic: The self-exclude themselves interrupt TMR0
- Replies: 1
- Views: 16355
The self-exclude themselves interrupt TMR0
Welcome
Do you support the display LCD4x16 can cause disabling interrupts from TMR0?
I use PIC16F628A, the program I got from TMR0 interrupt handling, maintenance LCD4x16, and the RS232 port. For startcie program TMR0 service it is what you see in the simulation During operation shuts down TMR0 ...
Do you support the display LCD4x16 can cause disabling interrupts from TMR0?
I use PIC16F628A, the program I got from TMR0 interrupt handling, maintenance LCD4x16, and the RS232 port. For startcie program TMR0 service it is what you see in the simulation During operation shuts down TMR0 ...
- Fri May 08, 2015 5:27 am
- Forum: Flowcode V4
- Topic: properly set PIC18F46K22
- Replies: 0
- Views: 15964
properly set PIC18F46K22
Welcome
How to properly set PIC18F46K22 for my project. I will use I / O only as digital. And the only communication ports RS. Previously, I've used the PIC16F877A for which settings are 3F32. When PIC18F46K22 to'm lost.
Witam
Jak prawidłowo ustawić PIC18F46K22 dla mojego projektu. Będę ...
How to properly set PIC18F46K22 for my project. I will use I / O only as digital. And the only communication ports RS. Previously, I've used the PIC16F877A for which settings are 3F32. When PIC18F46K22 to'm lost.
Witam
Jak prawidłowo ustawić PIC18F46K22 dla mojego projektu. Będę ...
- Sat May 02, 2015 8:00 pm
- Forum: Flowcode V4
- Topic: help in simplifying the code
- Replies: 0
- Views: 15626
help in simplifying the code
Welcome
You can ask for help in simplifying the code. It is to be clock (RTC - hardware RS72421) with the function of positioning and synchronization DCF and cooperation with RS485 bus. I too grew setup functions - checking conditions carefully 28/29 days of February, leap years. I wanted to make ...
You can ask for help in simplifying the code. It is to be clock (RTC - hardware RS72421) with the function of positioning and synchronization DCF and cooperation with RS485 bus. I too grew setup functions - checking conditions carefully 28/29 days of February, leap years. I wanted to make ...
- Thu Apr 30, 2015 8:21 am
- Forum: Flowcode V4
- Topic: DS1307 RTC
- Replies: 31
- Views: 315344
Re: DS1307 RTC
Welcome!
Well, nothing has been done with the PIC communication to the DS1307. I gave up already DS1307 services (damage) to the RTC72421, losing the entire 1 port PIC. The program in the PIC little changed, but moved from 1 time. And there are no problems with communication. For now, thank you all ...
Well, nothing has been done with the PIC communication to the DS1307. I gave up already DS1307 services (damage) to the RTC72421, losing the entire 1 port PIC. The program in the PIC little changed, but moved from 1 time. And there are no problems with communication. For now, thank you all ...