Beginners Guide To Programming A PIC: Difference between revisions

From doityourselfchristmas.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Here you will find guides on how to perform basic programming of a PIC.
Here you will find guides on how to perform basic programming of a PIC.
 
==How to guides and videos==
[[Image:How_to_program_a_PIC.pdf]]: Please note that this guide uses a PICKit2, The most common PIC programmer among DIYC members, but the process should be very similar for other PIC's and programmers.
[[Image:How_to_program_a_PIC.pdf]]: Please note that this guide uses a PICKit2, The most common PIC programmer among DIYC members, but the process should be very similar for other PIC's and programmers.


[[File:PICKit III.pdf]]: Guide for using a PICKit III to program a PIC using a "HEX" file. The first few screens would be the same for the "ASM" file but then you should be able to use [[WayneJ's video series on PIC programming | Waynes videos]] for the "project creation". You should also be able to use this for the diagnostic firmware, just change the file name that you select in the file browser. Made by [http://doityourselfchristmas.com/forums/member.php?u=53 Mmulvenna]
[[File:PICKit III.pdf]]: Guide for using a PICKit III to program a PIC using a "HEX" file. The first few screens would be the same for the "ASM" file but then you should be able to use [[WayneJ's video series on PIC programming | Waynes videos]] for the "project creation". You should also be able to use this for the diagnostic firmware, just change the file name that you select in the file browser. Made by [http://doityourselfchristmas.com/forums/member.php?u=53 Mmulvenna]


[[WayneJ's video series on PIC programming]]: For those that prefer to see t done in a video.
[[WayneJ's video series on PIC programming]]: For those that prefer to see it done in a video.


[[Microchip PIC References]]: Other information and tutorials on PICs.
[[Microchip PIC References]]: Other information and tutorials on PICs.
Line 12: Line 12:


[http://www.gooligum.com.au/tut_baseline.html Gooligum] PIC Programming tutorial series
[http://www.gooligum.com.au/tut_baseline.html Gooligum] PIC Programming tutorial series
==Where to buy Programmers==
Depending on the controller design you will either need just a programmer like the Pickit2 or you will also need a [http://en.wikipedia.org/wiki/Zero_insertion_force ZIF] socket to program the PIC.  If the controller has an [http://en.wikipedia.org/wiki/In_Circuit_Serial_Programming_(ICSP) ICSP] header then you do not need a ZIF socket, but it is a good idea to purchase one. <br/>
[http://www.ebay.com/itm/ICSP-Adapter-8-14-pin-PIC-w-PICkit-2-USB-Programmer-/230432419578 Pickit2 and 14pin ZIF socket] from DIYC user [http://doityourselfchristmas.com/forums/member.php?5441-j1sys J1sys]<br/>
[http://www.diyledexpress.com Pickit2 clone with built in ZIF socket] from DIYC user [http://doityourselfchristmas.com/forums/member.php?2860-tjetzer tjetzer]<br/>
[http://www.ebay.com/itm/iCA03-USB-Microchip-PIC-dsPIC-EEPROM-ICSP-Zif-Socket-Programmer-Set-PICkit2-SW-/390699614574 Pickit2 clone with ZIF socket] from EBay<br/> 
[http://www.ebay.com/itm/MCU-Universal-ZIF-socket-use-PICkit-2-3-Program-/350445510228 Zif socket only]  Useful if you want to buy the socket later and for multiple sizes.<br/>


[[Category:How To]]
[[Category:How To]]

Revision as of 23:48, 3 January 2014

Here you will find guides on how to perform basic programming of a PIC.

How to guides and videos

File:How to program a PIC.pdf: Please note that this guide uses a PICKit2, The most common PIC programmer among DIYC members, but the process should be very similar for other PIC's and programmers.

File:PICKit III.pdf: Guide for using a PICKit III to program a PIC using a "HEX" file. The first few screens would be the same for the "ASM" file but then you should be able to use Waynes videos for the "project creation". You should also be able to use this for the diagnostic firmware, just change the file name that you select in the file browser. Made by Mmulvenna

WayneJ's video series on PIC programming: For those that prefer to see it done in a video.

Microchip PIC References: Other information and tutorials on PICs.

PIC Programming Hints: Hints to programming PICs.

Gooligum PIC Programming tutorial series

Where to buy Programmers

Depending on the controller design you will either need just a programmer like the Pickit2 or you will also need a ZIF socket to program the PIC. If the controller has an ICSP header then you do not need a ZIF socket, but it is a good idea to purchase one.
Pickit2 and 14pin ZIF socket from DIYC user J1sys
Pickit2 clone with built in ZIF socket from DIYC user tjetzer
Pickit2 clone with ZIF socket from EBay
Zif socket only Useful if you want to buy the socket later and for multiple sizes.