Getting Started
----------------------
All Topics
Getting Started
Getting Started with Basic Stamps
In this class we are using the Stamp Stack 2sx microcontroller from HVWtech. Although it comes in a very different physical package, the Stamp Stack microcontroller is functionally compatible with the BASIC Stamp 2sx from Parallax. The basic stamp is programmed with a language called PBASIC.
There are some differences between coding stamps with a MAC and working with them on a PC. Initially these differences will seems large but they are, in the end, largely superficial. As we have both systems in our lab it will be to your benefit to learn how to code on both platforms.
I will indicate differences between the two systems as they arise. Macintosh specific steps will be prefixed with [MAC], while PC specific steps will be indicated with [PC]. If there are NO indications assume the steps are the same across platforms.
There are tons of basic stamp code examples on the web. Many of them are designed for the Basic Stamp 2. The 2sx is faster than the BS2 and will perform many tasks differently as a result. This is particularly true of critical timing tasks (eg. serial communication). If you are working with downloaded code from sites other than this one and things do not seem to be working well then check the timing differences for the stamp models and adjust accordingly.
Programming Environments
Before you can start coding you need to get the BASIC stamp programming environment.
Make sure you also install the Documentation and use it! [Manual, (5.3M, PDF version 2.2)]
[PC] Windows: (get the latest version) -- From Parallax
http://www.parallax.com/html_pages/downloads/software/software_basic_stamp.asp
[MAC] OSX only: (MacBS2 -get the latest version) -- From Murat
http://www.muratnkonar.com/otherstuff/macbs2/downloads.shtml
Buy a programming cable. This is a simple straight through 9-pin din male to female serial extension cable. It is $4.95 at Active Surplus (Toronto). You need one of these for mac and windows, in 2006 you got one with your kit.
[MAC][PC - new laptops] If you own a mac, or a new PC laptop without a 9 pin serial port, you will also need a KEYSPAN USB to 9-pin serial adaptor. They are cheapest at the UofT book store (about $40). Also available at Computer Systems Center (Spadina and College (about $65)) saved by Technology (about $70 last I checked). Make sure its KEYSPAN and then get the cheapest one you can. Install the driver (HS model). Check site for other models.
(This Page Last Updated: February 25, 2007 )