<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.diychristmas.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Archived_ChristmasWiki%3ABeginners_Guide_To_Programming_A_PIC</id>
	<title>Archived ChristmasWiki:Beginners Guide To Programming A PIC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.diychristmas.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Archived_ChristmasWiki%3ABeginners_Guide_To_Programming_A_PIC"/>
	<link rel="alternate" type="text/html" href="https://www.diychristmas.org/wiki/index.php?title=Archived_ChristmasWiki:Beginners_Guide_To_Programming_A_PIC&amp;action=history"/>
	<updated>2026-09-24T15:21:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://www.diychristmas.org/wiki/index.php?title=Archived_ChristmasWiki:Beginners_Guide_To_Programming_A_PIC&amp;diff=5623&amp;oldid=prev</id>
		<title>ErnieHorning: Restored from the archived ChristmasWiki backup. Image references updated where required.</title>
		<link rel="alternate" type="text/html" href="https://www.diychristmas.org/wiki/index.php?title=Archived_ChristmasWiki:Beginners_Guide_To_Programming_A_PIC&amp;diff=5623&amp;oldid=prev"/>
		<updated>2026-08-06T22:13:07Z</updated>

		<summary type="html">&lt;p&gt;Restored from the archived ChristmasWiki backup. Image references updated where required.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here you will find guides on how to perform basic programming of a PIC.&lt;br /&gt;
==How to guides and videos==&lt;br /&gt;
[[Image:ArchivedChristmasWiki_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&amp;#039;s and programmers.&lt;br /&gt;
&lt;br /&gt;
[[File:ArchivedChristmasWiki_PICKit III.pdf]]: Guide for using a PICKit III to program a PIC using a &amp;quot;HEX&amp;quot; file. The first few screens would be the same for the &amp;quot;ASM&amp;quot; file but then you should be able to use [[Archived ChristmasWiki:WayneJ&amp;#039;s video series on PIC programming| Waynes videos]] for the &amp;quot;project creation&amp;quot;. 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]&lt;br /&gt;
&lt;br /&gt;
[[Archived ChristmasWiki:WayneJ&amp;#039;s video series on PIC programming|WayneJ&amp;#039;s video series on PIC programming]]: For those that prefer to see it done in a video.&lt;br /&gt;
&lt;br /&gt;
[[Archived ChristmasWiki:Microchip PIC References|Microchip PIC References]]: Other information and tutorials on PICs.&lt;br /&gt;
&lt;br /&gt;
[[Archived ChristmasWiki:PIC Programming Hints|PIC Programming Hints]]: Hints to programming PICs.&lt;br /&gt;
&lt;br /&gt;
[http://www.gooligum.com.au/tut_baseline.html Gooligum] PIC Programming tutorial series&lt;br /&gt;
&lt;br /&gt;
==Where to buy Programmers==&lt;br /&gt;
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. &amp;lt;br/&amp;gt; &lt;br /&gt;
[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]&amp;lt;br/&amp;gt; &lt;br /&gt;
[http://www.diyledexpress.com Pickit2 clone with built in ZIF socket] from DIYC user [http://doityourselfchristmas.com/forums/member.php?2860-tjetzer tjetzer]&amp;lt;br/&amp;gt; &lt;br /&gt;
[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&amp;lt;br/&amp;gt;  &lt;br /&gt;
[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.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Software to Program PICs==&lt;br /&gt;
The PICKIt2 is used to download a .HEX file to the PIC.  Frequently the software is availble in .ASM format, that will need to be compiled using a compiler as shown above in the documents and videos.  If firmware is available in an assembly file (.asm) file that needs to be compiled and built with Microchip&amp;#039;s free [http://www.microchip.com/Microchip.WWW.SecureSoftwareList/secsoftwaredownload.aspx?device=en019469&amp;amp;lang=en&amp;amp;ReturnURL=http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en019469# MPLAB IDE software] or [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;amp;nodeId=1406&amp;amp;dDocName=en019469 MPLAB X IDE].  &lt;br /&gt;
&lt;br /&gt;
If you have never compiled firmware before, there is an excellent series of tutorials available above.&lt;br /&gt;
&lt;br /&gt;
Older versions of MPLAB IDE may not support some of the newer PICs like the 16F1825 PIC and you my need to update the MPLAB IDE to a later version.  &lt;br /&gt;
&lt;br /&gt;
If you are just looking to download a .hex file to a PIC, you can use the easier [http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20v2.61.00%20Setup%20A.zip  PICKIT2] software.  You may also have to update the PICKIT2 software to support the 16F1825.  [http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit%202%20v2.61.00%20Setup%20A.zip Version 2.61] supports the 16F1825 PIC and allows you to program the firmware into the PIC.  While you are updating the PICKIT 2 software, you might want to also download the latest device file [http://ww1.microchip.com/downloads/en/DeviceDoc/PK2DFUpdate-1-62-14.zip Version 1.62.14] and replace the file in the PICKIT 2 program directory with this file. &lt;br /&gt;
&lt;br /&gt;
[[Category:Archived ChristmasWiki:How To]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:PIC Info]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:Beginners Info]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:General Info]]&lt;br /&gt;
[[Category:Archived ChristmasWiki:DIYC Index]]&lt;/div&gt;</summary>
		<author><name>ErnieHorning</name></author>
	</entry>
</feed>