Thread: BASIC stamp BS1
View Single Post
  #7   Spotlight this post!  
Unread 07-08-2005, 23:08
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: BASIC stamp BS1

Quote:
Originally Posted by sparksandtabs
where do i get PIC's? and how do i programm them?
First I have to mention that writing code for PICs (in assembly) isn't for everyone. It's a little daunting at first, but after awhile, it isn't that hard. You have to realize that it's very different from C, Java, or whatever other high level languages you use. You have to personally keep track of the memory that you use, it's hard to work with numbers larger than 8 bits, there's not much meaningful output while trying to debug... But, if you want to learn how computers work, it's a great way. PICs are also a cheap/small processor to use in whatever electronic project you have going. Keep all that in mind if you decide to take this on.

My favorite source for electronics is Mouser. You can get some PICs and parts to build yourself a programmer. The 16F84 seems to be the standard "newbie" chip. You can get a schematic for the JDM programmer here. IC-Prog is a nice loader. Unless you intend on buying a compiler, you'd have to write all your code in assembly. There's lots of tutorials online. The datasheets also make a nice reference manual. I think MPLAB will work to assemble the code, but I don't use it so I'm not 100% sure.

After you have some code, you assemble it and it spits out a hex file to be loaded onto your PIC. You put the PIC in the programmer, connect it to your computer and use your loader to write to the PIC. After that, it's ready to go.

If you decide to get some PICs, don't forget to buy some crystals and a voltage regulator. I made that mistake and had to place a second order.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------