Encoder HELP

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
dereckn
Posts: 6
Joined: Sat Aug 25, 2012 7:28 pm
Contact:

Encoder HELP

Post by dereckn »

Hi all,
I am new to the flowcode and programming world. I have been able to use the tool effectively for simple tasks. However I would like to use an Encoder in a project, and all of the sample files I have tried are either not working with my hardware or will not simulate for me to debug. I think it is my lack of understanding somewhere. Does anyone have a basic encoder file I can use for testing and learning? I just need the encoder to be recognized and to control two LED's for know. i.e. CW motion turns on one LED and CCW turns on the other LED. If I can understand this I should be able to move forward. I am using a PIC18F87J10 and the encoder is Digikey PN GH7295-ND. I would like to eventually control a 4 digit 7 segment display.
Regards
Dereck

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: Encoder HELP

Post by Enamul »

Hi,
This example file works here on FC5 version 5.4
http://www.matrixmultimedia.com/resourc ... php?id=652
on the form here, you can find different examples. But, the rotary encoder component doesn't currently simulate. The Test file is for the E-blocks hardware.
http://www.matrixmultimedia.com/product ... PHPSESSID=
You can look at the datasheet of EB073 to check how it matches with yours one.
Enamul
University of Nottingham
enamul4mm@gmail.com

Post Reply