This project is
going to get you into PIC programming for $5.00. This whole concept has some advantages and some disadvantages. The advantages are these: 1. It will get you onto PIC programming. 2. It will introduce the concept of "In Circuit Programming." 3. It will introduce surface-mount technology. The disadvantages: 1. The chip is difficult to solder to the board. 2. The chip cannot be removed and put into another project. 3. You need to buy another chip if you want to use the program in another project. The decision is yours. But there is no cheaper way to start with microcontrollers. Buying the PIC12Fxxx Proto Board is just the start. There are other things you will need. 1. A "Burner." You will need a device that "loads" or "burns" the program into the chip. The best programmer is PICkit-2 from Microchip. (cost $50.00 USD plus postage). 2. A 5/7 pin connector to fit between the programmer and the board. This can be purchased from Talking Electronics for $2.50. 3. A set of surface-mount components including 6 pins, resistors, capacitors, battery holder, 2 lithium cells, 10-LEDs, piezo, LDR, 10mH inductor, 6 surfeace-mount transistors and 5-mini PCB mount switches. This kit of parts can be purchased from Talking Electronics for $20.50 4. The PIC12Fxxx Proto Board. FIRST PROJECT see Hello world .pdf EXPERIMENTS Before carrying out any of the experiments, you will need to install software from the CD's that come with PICkit-2 and place a number of icons on your desktop. 1. Create a folder called AllPICkit-2Files. Click on the folder and create a shortcut to desktop. 2. Install Notepad on your computer (NotePad.exe NotePad.zip) and create a shortcut to desktop. 3. Install MPASM and create a shortcut to desktop. 4. Install PICkit-2 and create a shortcut to desktop. Places these 4 icons in a row in the same order. Download expts.zip and unzip them into AllPICkit-2Files folder. Here are additional things you will need: Read the article: Start Here with PIC12F629 Look at: Library of Routines. Read: PIC12F629 Datasheet blank12F629.asm template Look at: PIC12F629 Instruction Set You can jump off the "deep end" and
start the experiments, or read-up about the chip in the documents above.
FLASH A LED |