Search found 28 matches

by Rabbit
Mon Jul 28, 2014 12:28 pm
Forum: Flowcode V5
Topic: PWM with PIC16F877A
Replies: 4
Views: 4731

Re: PWM with PIC16F877A

Hi Martin,
Thank you for your answer. In my future flowchart the loop will be much longer. So I will try to read the ADC without Delay.

Klaus
by Rabbit
Mon Jul 28, 2014 8:03 am
Forum: Flowcode V5
Topic: PWM with PIC16F877A
Replies: 4
Views: 4731

Re: PWM with PIC16F877A

Hi Medelec35, Have many thanks for your fast solution. You are right, I tested the EB006-board with a 1Hz flashing LED. All ok - only the PWM-part of my programm do nothing. So I downloaded your modified flowchart. Yes, it's running well. But I have a question: First I'm testing your programm with t...
by Rabbit
Fri Jul 25, 2014 10:53 am
Forum: Flowcode V5
Topic: PWM with PIC16F877A
Replies: 4
Views: 4731

PWM with PIC16F877A

Hello experts,
I modified a PWM-Programm from the forum. The ADC-input is correctly 0...5V at AN0 = Pin2.
But there is no output at Pin 17 (CCP1).
Project-Options and fcf-file are at the attachments.
I would be pleased about your help.

Best Regards
Rabbit
by Rabbit
Wed Feb 19, 2014 7:03 am
Forum: Flowcode V5
Topic: clr_wdt compiler error
Replies: 4
Views: 3981

Re: clr_wdt compiler error

Hello everybody, Please note: for correct working with the WatchDogTimer the OPTION_REG Register use 4 bit, bit 2-0 (prescaler rate select bit) and bit 3 (1 = presclaer is assigned to the WDT; 0 = presclaer is assigned to the Timer0 module) The table is showing the bit assignments with the devision ...
by Rabbit
Tue Feb 18, 2014 10:47 am
Forum: Flowcode V5
Topic: clr_wdt compiler error
Replies: 4
Views: 3981

Re: clr_wdt compiler error

Hello Martin,
I tested your command and all is well.
Have many thanks
Rabbit
by Rabbit
Wed Feb 12, 2014 11:31 am
Forum: Flowcode V5
Topic: clr_wdt compiler error
Replies: 4
Views: 3981

clr_wdt compiler error

Hello experts,
I use:
- PIC16F877A
- Flowcode V5.5.2.1
- Compiler Version 7.04
- C-code-icon line: clr_wdt();

The C-compiler generates an error: error: unknown identifier 'clr_wdt()'
I don't know why.

I would be pleased about your help.

Rabbit
by Rabbit
Thu Feb 06, 2014 2:45 pm
Forum: Flowcode V5
Topic: Interrupt problem
Replies: 1
Views: 2567

Interrupt problem

Hello, I need a clock-signal with variable low frequency. "TasterStart" should activate the clock-signal with Interrupt TMR2. With every interrupt the output pins B0 and C1 changes status. The waiting 300ms instruction is only for better visual debugging. My problem: a push down "TasterStart" (varia...
by Rabbit
Wed Nov 20, 2013 6:26 am
Forum: E-blocks
Topic: EB022 circuit diagram not complete
Replies: 2
Views: 3590

Re: EB022 circuit diagram not complete

Hello Benj,
I downloaded the page and all is well- Thanks a lot.
Rabbit
by Rabbit
Tue Nov 19, 2013 1:32 pm
Forum: E-blocks
Topic: EB022 circuit diagram not complete
Replies: 2
Views: 3590

EB022 circuit diagram not complete

Hello experts,
I'm searching for the second page of the circuit diagram of the EB022 motor driver board.
At the datasheet of the EB022 I can only find page one.
I'm looking foreward to a helpfull answer.
Rabbit
by Rabbit
Wed Dec 12, 2012 12:59 pm
Forum: Flowcode V5
Topic: PIC12F1822 is not running
Replies: 9
Views: 4729

Re: PIC12F1822 is not running

Hi Martin,
Have many thanks for your help. First I will do some application-tests.
Best Regards Rabbit
by Rabbit
Wed Dec 12, 2012 8:35 am
Forum: Flowcode V5
Topic: PIC12F1822 is not running
Replies: 9
Views: 4729

Re: PIC12F1822 is not running

Hi Martin,
I forgot something: Test-12F1822-#3.fcf is running.
Rabbit
by Rabbit
Wed Dec 12, 2012 8:32 am
Forum: Flowcode V5
Topic: PIC12F1822 is not running
Replies: 9
Views: 4729

Re: PIC12F1822 is not running

Good morning Martin, Have than's for your work. It's well, the LED's are lighting up as expected. It was my bug, i look again to the EB006 circuit diagram and change the LED-board to Port B and all is right! But there is one thing i don't understand: the Oscillator Control Register. You set OSCCON t...
by Rabbit
Tue Dec 11, 2012 3:49 pm
Forum: Flowcode V5
Topic: PIC12F1822 is not running
Replies: 9
Views: 4729

Re: PIC12F1822 is not running

Hi Martin, I tested your flowchart, but without success.
Thans for your help.
Rabbit
by Rabbit
Tue Dec 11, 2012 2:34 pm
Forum: Flowcode V5
Topic: PIC12F1822 is not running
Replies: 9
Views: 4729

Re: PIC12F1822 is not running

Hi Martin,
Many thanks for your answer.

Why should I disable watchdog timer? The later application should run without any problems.
Yes you assume right: I want to use internal OSC with 16MHz
Best regards Rabbit
Test-12F1822-#2.fcf
(13 KiB) Downloaded 292 times
by Rabbit
Tue Dec 11, 2012 11:50 am
Forum: Flowcode V5
Topic: PIC12F1822 is not running
Replies: 9
Views: 4729

PIC12F1822 is not running

Hi experts, In the pased I used the PIC16F877A with success. Now I use the "little" PIC12F1822. Therefor I wrote a little test programm (LED on/off with waiting 1 sec.). The simulation is running well. But the LED on the LED-board connected to EB-006/Port-A will not flashing. I think the problem is ...
by Rabbit
Mon Sep 17, 2012 9:45 am
Forum: Flowcode V5
Topic: error-account
Replies: 4
Views: 4678

Re: error-account

Hello experts,

The problem is solved. Specially thanks to David.

Regards rabbit
by Rabbit
Mon Sep 17, 2012 9:02 am
Forum: Flowcode V5
Topic: error-account
Replies: 4
Views: 4678

error-account

Dear expert, I get an error on "Register Flowcode" V5.4 The message of the RegMe-box is: ERROR_ACCOUNT_DISABLED The key is an upgrade key, and the user does not have an existing upgradable key installed. The key was running in the past, but now with a new PC and new installing Flowcode V5.4 I have n...
by Rabbit
Mon Apr 23, 2012 12:21 pm
Forum: Flowcode V5
Topic: variable read/write to the PIC-EEPROM
Replies: 4
Views: 4453

Re: variable read/write to the PIC-EEPROM

Hi dazz,
Thank's a lot for your answer. Your example is exact what I'm looking for.

Best Regards
Rabbit
by Rabbit
Fri Apr 20, 2012 1:41 pm
Forum: Flowcode V5
Topic: variable read/write to the PIC-EEPROM
Replies: 4
Views: 4453

Re: variable read/write to the PIC-EEPROM

Hi Ben,
Many thanks for your answer. I know this EEPROM component in the Misc section. My question was inexactly. I'm looking for an example or an instruction for using this component.

Have a nice weekend

Rabbit
by Rabbit
Thu Apr 19, 2012 2:11 pm
Forum: Flowcode V5
Topic: variable read/write to the PIC-EEPROM
Replies: 4
Views: 4453

variable read/write to the PIC-EEPROM

Dear experts,
Are there any macro available for data (variable) read/write to the PIC-EEPROM?

For a answer thank you very much in advance.

Best regards
Rabbit
by Rabbit
Tue Apr 17, 2012 9:54 am
Forum: Flowcode V5
Topic: Problem with interrupt timer
Replies: 7
Views: 5657

Re: Problem with interrupt timer

Hello Ben,
You got it! Many thanks to you. The internal clock (CLKO) is it. Now the program running with correct speed on the hardware.
Only the simulation is very slow.

Many thanks and best regards from Rabbit
by Rabbit
Tue Apr 17, 2012 8:57 am
Forum: Flowcode V5
Topic: Problem with interrupt timer
Replies: 7
Views: 5657

Problem with interrupt timer

Hello, The example "Interrupt every second" will not run exact in simulation and at the EB-06. Simulation: if I change the prescaler rate from 1:256 to 1:16 the LEDs increase in about 1 sec. interval. EB-06: no action, only LED D0 is lighting constant. Is my configuration correct? Please look to "PI...
by Rabbit
Tue Apr 10, 2012 1:11 pm
Forum: Flowcode V5
Topic: Loop problems?
Replies: 4
Views: 3424

Re: Loop problems?

Hello,
I've found my bug: the missing OUT-channel RB3 was used as ICSP-programming-pin in the project options.
I disabled low-voltage-programming and all output-pins at Port-B are available.

Regards Rabbit
by Rabbit
Tue Apr 10, 2012 12:55 pm
Forum: Flowcode V5
Topic: Simulation well, PIC do nothing
Replies: 4
Views: 3536

Re: Simulation well, PIC do nothing

Hello David,
thank's for your exact answer. The "bug" are the not available pins at the PIC16F88. At Port-A are only I/O-Pin 0-4 available.

Best Regards
Rabbit
by Rabbit
Tue Apr 10, 2012 9:51 am
Forum: Flowcode V5
Topic: Simulation well, PIC do nothing
Replies: 4
Views: 3536

Re: Simulation well, PIC do nothing

Hello David, Thanks a lot for your answer. My hardware-settings on the EB006 with PIC 16F88 are: - LED-Board connected at EB006 - PORT B - Switch-Board connected at EB006 - PORT A - USB and PSU are connected. - J11 connected PSU - J12, J13, J14 connected USB - J18, J19 connected OSC - Sw2 on XTAL - ...