PIC16F1787 Programmer Board (for Almost All 40 Pin 16Fxxx)





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

Items Needed:-

Must needed:-

  • 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


  • LED
  • 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.



  • Epilog Challenge 9

    Epilog Challenge 9
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
  • Gluten Free Challenge

    Gluten Free Challenge

We have a be nice policy.
Please be positive and constructive.




Good Work Hamza..........Have you done its CCP mode???

Yes I'm currently working on it. Its almost done

Same here..I just built a 555 and CD 4017 just to get a 3 phase signal.. I had originally looked for a PIC solution..

I will be happy to see your external circuit of 3 phase. Kindly mail me at


Also I would be happy to help you in that PIC solution :)

I started with the attached link to a schematic. It was a link from a youtube video of HD motor driver. Instead of using the totem pole transistors, I am using a ULN2003 driver for the output to my device under test.


Yes this is an inverter in which transistors are connected in such a way that 3 phase is obtained at the output. Thankx man. I have made single phase power inverter using 555 and 4047. Now i'll make it 3 phase as well. You should use power Mosfets to increase the output wattage.

I only needed 5Vp-p as a 3 phase reference for a board that provides SCR pulses for a 36,000 Amp / 126Vdc 3 phase DC power supply. And no we won't be testing that part locally.

I will be very interested in the 3 phase inverter :)

I will be completing it at the end of this month. Will make an instructable about it too.