Introduction: PIC16F1787 Programmer Board (for Almost All 40 Pin 16Fxxx)
Intro
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.
Attachments
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
Optional:-
- 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.
Attachments
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.
9 Comments
8 years ago on Introduction
Good Work Hamza..........Have you done its CCP mode???
Reply 8 years ago on Introduction
Yes I'm currently working on it. Its almost done
9 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..
Reply 9 years ago on Introduction
I will be happy to see your external circuit of 3 phase. Kindly mail me at
syedhamzahasan@hotmail.com
Also I would be happy to help you in that PIC solution :)
Reply 9 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.
http://www.hobbielektronika.hu/forum/files/61/61ef725373758910fd93d8498423b455.jpg
Reply 9 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 9 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.
9 years ago
I will be very interested in the 3 phase inverter :)
Reply 9 years ago on Introduction
I will be completing it at the end of this month. Will make an instructable about it too.