This is the actual PROGRAMMING or DOWNLOADING A PROGRAM
section. This is what you have been waiting for. This is where you actually
put a program into the PIC chip and see what happens. Display
Project (fully built)
with 6v battery.
See construction HERE.
The things you need are:
- the 5x7
interface cable (the
components come with the 5x7 Display Project). Click
It is in a file called: PIP-02.zip Download it HERE. (See below
- Hex files for experiments 1 to 28, Testing, Piezo Experiments etc are all
in a .zip file: 5x7HexFiles.zip Download
it HERE. (See
- a computer.
1. Build the 5x7
Display Project, insert the PIC chip and switch ON. The TEST ROUTINE in the
chip will display features on the screen to test each of the LEDs and also the
correct wiring of the components. Go to: Test
Routine to see the test routine program.
If the Test Routine produces the correct display on the screen you are ready for the
2.To load the experiments into the PIC chip you need a program called:
- PIP-02 programming routine. See above for downloading.
Create a new folder and call it PIP-02. Put it on "C" drive. Place
the PIP-02.zip file in the folder. Unzip PIP-02.zip to create 6
files. The only file you need to click on is "run" the
other five files are: JDM84 Application file (this file is the driver file
for PIP-02 program), JDM84 Document file , PIP-02 Application file (this is
the actual programming file) PIP02 Config settings, PIP02 Text and the
"run" file. The "run" file will
automatically load the JDM84 driver then the PIP-02 program into a
All the .hex files for the project are in 5x7hexFiles.zip. See
above for downloading. Put the 5x7hexFiles.zip file in the
PIP-02 folder. This will put the .hex files and the PIP-02 program in the same folder and make it easy to load each .hex file
into PIP-02. Unzip the 5x7hexFiles.zip file in the folder. This will
produce more than 35 .hex files.
3. Open the
PIP-02 folder and click on "run." This will automatically
load the JDM84 driver file (it will flash on for a microsecond) and then the
PIP-02 file, into a window. The
PIP-02 program will appear in approx the middle of the screen. If it
doesn't appear in the middle, you should close-down other programs or
restart the computer. Sometimes, when PIP-02 is on the top left corner of
the screen, it does not program the PIC chips at all.
The next steps must be followed in this order:
4. Double click on Device edit. (bottom right-hand side). A window
will appear. On the right-side of the window is a "down arrow".
Click on it and the device list will scroll. Choose 16F84, by clicking on
it. It will go white. Click ok. On the right-listing, under Device, Part:
16F84, should be seen.
5. Click on
top-left File. A window will appear. Click on Load. All
the .hex files in PIP-02 folder will appear in the window. Click on
Expt1.hex to highlight it and it will appear in the address bar above. Click
on Open and the window will disappear. The .hex file will appear in the
on Fuse edit. Make sure a dot appears beside RC. Remove the X from
Watchdog Timer On. (Make sure a "dot" only appears beside RC and
"X" beside Power-up Timer On). Click ok.
The Device window will read: Part: 16F84, Osc: RC,
OFF, PWRT: ON, CP:
ID: FFFF (not important) CSum: (not important).
7. Make sure the
5x7 Display project is switched ON. Make sure the interface cable is
connected. Slide the run/pgm switch to pgm.
8. Click "F5
Program". A programming bar will appear on the screen and you will
be able to hear (via the piezo) the programming pulses entering the 5x7
9. Slide the run/pgm
switch to run and the screen will show the results of the program.
10. To select
another .hex file: File, Load, highlight the file, click on Open, double-click
on Fuse edit, remove X from Watchdog Timer On, click ok, slide
run/pgm switch to pgm, click on
"F5 Program", slide switch to run (on 5x7 Display) and view
the experiment on the 5x7 display.