Hi,
To get the max233 go to
http://www.maxim-ic.com/samplescart.cfm?Action=Step1 and under enter
part number put "max233". Then do complete order, and fill out the
rest of the forms as they ask.
You can find the datasheet here:
http://pdfserv.maxim-ic.com/arpdf/MAX220-MAX249.pdf
You can use the max233 to convert the RS232 signals from your PC's
serial port into the TTL signals that the PIC will expect. From there
on, it will be a matter of programming the PIC to read the serial
data.
For the free PICs, go to http://sample.microchip.com/ . You need to
register, and then log in. Under sample item search go to PIC micro
Microcontrollers. Then choose PIC18F8620, or PIC18F8720 . Both those
chips will have more than enough pins for you to play with! Then you
just need to click 'add' next to e.g. PIC18F8720-I/PT . By doing this
a few times you can sample 5 different types of microcontrollers, and
get up to 3 of each for a total of 15 free PICs. :)
You can try this programmer
http://www.newfoundelectronics.com/warp-13a.htm but a cheaper
alternative could be http://www.didya.com/PicProg.asp
You can then have a look here:
http://www.diyha.co.uk/electronics/comm1.html
For the PC's serial port you will only need to use two pins for this
project: pin 5 for ground, and pin 3 for transmit.
Check page 21 of this spec sheet for the max233 connections
http://pdfserv.maxim-ic.com/arpdf/MAX220-MAX249.pdf
As you can see, you connect pins 6/9 to ground and pin 7 to a+5v
supply. From my experience, using a molex connector from your PC's
power supply provides a very convenient power supply for the max233.
Now just connect the transmit pin from the serial port to pin 4 on the
max233, and on pin 3 you will see the TTL out. Also if things aren't
working as expected you might want to jumper pins 11&15, 16&10, 12&17
as suggested on the datasheet.
The 64+ pin PICs come in a package that will make programming
difficult.
i.e. You can't just drop the PIC into the ZIF socket of the
programmer.
You will need to use the ICP (in circuit programming) header, and need
to do some soldering to program it. The PIC's datasheet will contain a
section about ICP and will help you find the relevant pins to connect.
With the warp-13 it's very easy, just five connections to make and the
header's pins are clearly labeled Vdd, RB7, RB6 etc.
I highly recommend CCS PCWH compiler, but it costs hundreds of
dollars, unless your school can give you a license.
Hope you can work it all out, if you need any more information please
don't hesitate to ask.
Kind regards,
endo
I got most of the information from my cousin who has some experience
with this particular domain.
Search strategy:
max233 serial
://www.google.com/search?q=max233%20serial
PIC programming
://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&newwindow=1&safe=off&q=pic+programming
PIC programmer
://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&newwindow=1&safe=off&q=pic+programmer |