Introduction: PIC16F1787 Programmer Board (for Almost All 40 Pin 16Fxxx)
This is my first Instructable so I'm sorry for mistakes. Critics are always welcome :)
So in this project I made a development board for PIC16F1787. Now most of you guys aren't familiar with this particular model. Some might even think why I chose 16Fxxxx series IC when I could have easily used 18Fxxxx series and had more fun.
Well for my project DC to 3 phase AC pure sinewave Inverter (I'll try to make an instructable for that also), I found this IC very interesting indeed. You guys should check out its datasheet for its applications. It has built in 3 phase PWM generator and other cool stuff. Im attaching its datasheet.
Step 1: Items You Will Be Needing
- PIC16F1787 (ofcourse)
- Ready made PCB board
- 5v Regulator (LM7805 in my case)
- 40 pin jack
- Male and Female connecting pins
- Push Button
- 8.7k Resistor
- Connecting wires
- Computer's Jack
Step 2: Circuit
The connections are all described in the picture attached. So feel free to observe it and ask where you don't understand something.
MCLR, Vdd, Vss, PDAT, PCLK are needed to program the IC and they are connected to a male header/connecter so that Picket 3 can be used.
+5V DC are to be applied for PIC to work, remember NO MORE THAN 5 Volts. It will permanently damage the IC.
LED is optional as it is applied just to check whether the PIC IC is working or not by using a toggling code.
Female headers are connected with the 40pin jack. These can be used in switching of many programs.
Step 3: Programming
Use Picket 3 for Programming. It is the best and trouble free programmer :)
I made a C++ based code for LED toggling. The compiler used my me is MPLAB X. It is user friendly and easy to make C programs.
My LED toggling Program is attached below.
Step 4: Finished!!!
This is the final form after soldering the parts altogether. Hope you liked it. I will add more details in my future instructables. Stay tuned...........
Thankx for reading
P.S= 16F877 and 16F877A were also programmed by the same board. Consult datasheet before using this board for other 40 pin PIC controllers.