Using PIC18F66K80 and Flowcode 5

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

Using PIC18F66K80 and Flowcode 5

Post by Lord Grezington »

Hi

I am going to start off saying that I have no idea about C coding.

I need to start a new project and I am going to need at least 4 PWM channels. Pic PIC18F66K80 has 5 although I have had problems trying to use them in V4, although apparently in V5 they should work fairly easily - is this true?

The second thing was I also need to use a Dual channel encoder as feedback, V4 does not have a macro for this but I believe V5 does. Will I be able to reliable detect around 200 pps from both channels? Do i need any special clock settings to achieve this?

Thanks in advance
Graham

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Using PIC18F66K80 and Flowcode 5

Post by Enamul »

In FCV5, you will be able to use encoder and should be able to use 4 PWM channel in Pic PIC18F66K80. If there is any problem in using PWM, I believe it is sort-able. Are you going to upgrade you to FCV5 or want to have help in FCV4?
Enamul
Enamul
University of Nottingham
enamul4mm@gmail.com

Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

Re: Using PIC18F66K80 and Flowcode 5

Post by Lord Grezington »

Thanks

I was going to upgrade to V5 due to the Encoder Macro. Will I be able to get all 4 of the PWM Channels working on V4 without the upgrade?

Graham

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Using PIC18F66K80 and Flowcode 5

Post by Enamul »

Hi,
I have just tried to change in FCD but seems that not just FCD; you have to change in c code quite a lot to adopt that in FCV4. I have checked in FCV5 which already done here. So my suggestion would be to upgrade to FCv5.
Thanks,
Enamul
Enamul
University of Nottingham
enamul4mm@gmail.com

Lord Grezington
Flowcode V4 User
Posts: 288
Joined: Wed Nov 02, 2011 11:15 pm
Has thanked: 29 times
Been thanked: 30 times
Contact:

Re: Using PIC18F66K80 and Flowcode 5

Post by Lord Grezington »

Hi

Enamul - thanks for your response. I have now upgraded.

Graham

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Using PIC18F66K80 and Flowcode 5

Post by Enamul »

Hi Graham,
Can you please upgrade you to V5 forum in the following link..
http://www.matrixmultimedia.com/forum_upgrades.php
Enamul
University of Nottingham
enamul4mm@gmail.com

Post Reply