In this instructable , I 'll show you how to build a PIC 16F917 Microcontroller programming circuit. This Microcontroller is a very nice Microcontroller chip form the famous chip manufacturer Microchip.
This Microcontroller is easy to program and powerful to use.
The photo above shows the programmer circuit after completion.
This circuit uses the serial port on the PC . You must use this circuit on a PC having a standard RS-232 serial port.
The USB-to-RS-232 converter will not work as this circuit is power from the +12 volts form the serial port
Step 1: Build the circuit
Here is the programming circuit. It is very simple and easy to build. It is called PicProm
I got it from that website.
The website contains the programming circuit and the programming software.
The circuit and the software supports many Microcontroller chips other than PIC 16F917. You may try it with other chips.
Just build the circuit on a copper board or on a bread board.
Start welding the components together as shown on the schematics.
Step 2: Test your circuit
Now , after you 've completed your circuit . You must start to test it with a programming software.
The circuit would be working fine if you could download any sample Firmware on your chip.
I made a flasher program that flashes an LED using the Microcontroller.
The LED flasher program in embedded systems world is comparable to " Hello World " in PC programming world.
The flasher program is written in C language and compiled with HiTech-PIC software.
The simulation model is made with Proteus 7 simulation software.
The Firmware is saved in the flasher.HEX file.
If you could start the PicProm software and download the flasher.HEX file on the Microcontroller chip using the circuit , then you 've just completed the circuit successfully.
You may proceed to the next step if you like to see the Firmware running on the Microcontroller.
16F917 Flasher.zip13 KB
Step 3: Flasher Program
Here is the flasher program and circuit to test the Microcontroller.
The circuit consists of the Microcontroller chip , battery and an LED.
The Microcontroller uses the internal oscillator by the default setting in the loader software.
You can see a post about this project on my blog :
You can find more posts about Microcontroller projects on my blog : Embedded Egypt