Remove these ads by
Signing UpStep 1: What you need for the project
Look at the list of stuff you need below. Then look at the picture I made below. It has everything on it you need to get started with Pic micros. You can see how to make a simple circuit with the PIC and an LED, you can see code for a simple program, and you can see instructions on how to put the code onto your PIC. Once the code is downloaded onto your PIC, put your PIC back into the LED circuit, give it power, and watch the LED blink, whee!
#################################################################
TO BE ABLE TO READ THE DIAGRAM, CLICK ON THE 'i' IN THE TOP LEFT CORNER OF THE PICTURE, THEN CLICK 'largest' (ON THE LEFT OF THE PAGE), THEN CLICK THE PICTURE.
Also, download the PIC16F877StarterProject.zip It contains a more detailed picture.
#################################################################
==========Stuff used in this project:==========
(I am in no way saying you have to buy the things below, they just happen to be what I used when I started with PICs)
a PIC16F877
This is a PIC microcontroller. It's a mini-computer.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=74
a PIC-PG2B JDM programmer
This is a circuit board which interfaces your computer to your PIC so you can program it (I bought one off ebay for around $15).
http://www.olimex.com/dev/pic-pg2b.html
PICBasic
This is the compiler used in this demo to (similar to Basic language) program the PIC.
http://www.picbasic.co.uk/
You could also use the -free- PICClite compiler (similar to C language).
http://www.htsoft.com/products/PICClite_comparison.php
You could also use a free assembly language compiler (assembly language is annoying).
IC-Prog
This program allows you to download your code to the PIC.
http://www.ic-prog.com/
USB to Serial Adapter
If you're using windowsXP you'll probably have problems using your serial ports (I did). A USB to serial converter (I have the 'Aten USB to Serial Adapter') may help.
one LED
one 4mhz chrystal oscillator
two 22pf capacitors
one 4.7k resistor
one 470 ohm resistor
one 5v power supply
###########################
Here's a Great PIC Intro Book
###########################




































Visit Our Store »
Go Pro Today »




http://pp06.sourceforge.net/index.html
But windows just keeps getting sicker and less useful.
I'm searching for a technical bootable-linux-CDROM-distro. For free, of course!
you can get them here though:
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=PIC16F877A-I/P-ND
here is some pic asm tutorials to get you started. if you hawe some other chip then you only hawe to change som file registers according to data sheets.
newb' questions but what can I say, Imanewbie at this stuff =) Appreciate the input and will let ya know how my 'first attempt' goes ;)
http://www.josepino.com/pic_projects/index?aaa-getting-started.jpc
and download the software(it is PIC programming software!!! for PIC18 family) there is a program callled allowIO.exe that uses porttalk to allow programs to use IO ports under NT/XP/Vista
here is a segment from the installation instructions for the program: INSTALLING PP18 under Windows 2000/NT/XP:
- Copy "porttalk.sys" to your "C:\WINDOWS\system32\driver" directory.
- Execute "porttalk.reg" to register the new driver.
- Reboot your computer to start the driver after booting.
- Copy AllowIo.exe in the same directory than PP18.exe.
- Open a DOS window at this directory.
- Type "AllowIo.exe 0x378 PP18.exe" to allow PP18 a full access to LPT1.
Note :
During installation process you must have root privileges.
You can creat a batch file to launch AllowIO.exe and PP18.exe.
this will work with ne program just as long as you run it from a batch script and you know the port addressin hex!!!
hope this helps!!!
haven't used anything other than those.