44-pin demo board with PIC16F887 With PICkit 2

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

44-pin demo board with PIC16F887 With PICkit 2

Post by medelec35 »

This is for anyone who has Microchip 44-pin demo board with PIC16F887.
Attached is a flowchart I created to help people get the demo board working.
The LED's have 5 different patterns. Pattern changes each time switch SW1 is pressed until LED's stop.
In Flowcode SW B0 is closed for normal running, and open to change pattern.

Pattern 1. LED's chasing from left to right.
Pattern 2. LED's chasing form right to left.
Pattern 3 LED's chasing form right to left, then back to right. Like car Knight Rider.
Pattern 4 LED's in pairs going from inside to outside
Pattern 5 LED's in pairs going from outside to inside

I have also included a variable speed control adjustable by POT RP1.
This can can be a starting block for those wishing to experiment with the demo board and Flowcode.
Patterns 1 - 3 will simulate in Flowcode.
patterns 4 & 5 read data in C therefore will not be correctly simulated.
It is possible to compile this Flowcode to hex and load hex into programmer without setting up configuration settings, since these are included within the Flowcode file.
Hope You will find this useful.
Attachments
16f887_demo3.fcf
(10.5 KiB) Downloaded 637 times
Martin

Post Reply