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

About: I'm an Electrical Engineer I love instructables and making things so its a good mix. I have been using this site for a long time. Finally thought of making an account and see where it leads :) Hope to post s...


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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    9 Discussions


    5 years ago

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

    4 replies

    Reply 5 years ago on Introduction

    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 :)


    Reply 5 years ago on Introduction

    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.



    Reply 5 years ago on Introduction

    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.


    Reply 5 years ago on Introduction

    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.


    5 years ago

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

    1 reply