Welcome to WeetHet!


Managed Web Hosting by Liquid Web

Your IP address:
44.201.94.236
     
 
Print this page
- use Landscape
Search the
WeetHet Pages
WeetHet is being updated! - Current articles will slowly move to www.tweaking4all.com
For excellent webhosting that is reliable and affordable, we highly recommend: LiquidWeb

On this page ...

This serie of pages on this website will help you on your way with the Parallax (OEM) Basic Stamp II microcontroller.

On this particular page you will find a brief instruction on how to build your own homebrew Basic Stamp II. Keep in mind that this is a VERY brief instruction based on my personal experiences. Read the disclaimer!

Note: This design on the original design by Peter H. Anderson (Jan. ‘98). On his website you can order kits for this: http://www.phanderson.com.

Note: at http://www.osmanardali.com/pcb.htm you can find a very useful single layer PCB for this!

Parallax: Basic Stamp II

Before you start

The Parallax Basic Stamp 2 is a very conveniant way to get started with PIC's,... however, the price can be rather steep. Usually such a package deal costs app. $49 and up.

You can create you own "homebrew" BasicStamp and save some money and makes it attractive for hobbyists and academic users. This approach can be done on a breadboard or on a PCB you (later) create your self.

The kit by Peter Anderson offers all the required part, except for the breadboard, for app. $25. For an additional $2 you get a logic probe which we will discuss later.

Just like the kits from Parallax, it does not include a power supply either. We will need a regulated 5V (DC) powersupply. Make sure the power supply does not exceed 5V as it will otherwise damage the chips! There are lot's of stores out there selling cheap and simple 5V power supplies. You could try for example Conrad.

Assembly time is somewhere between 20 minutes and an hour, depending on your skills.

Required parts

Before we can start creating a homebrew BasicStamp, we will need to get the individual components.

We will need these parts;

Number Part
1
Parallax PBasic2 Interpreter (a Microchip PIC16C57)
1
EEProm (24LC16B)
1
Max232 IC
1
20 Mhz crystal
4
1.0 µF Electrolytic Capacitor
2
20 pF (ceramic) Capacitor
4
4.7 K Ohm resistors (color code: yellow, violet, red)
1
1N4004 Diode
1
Breadboard
1
Powersupply 5V DC

 

Getting Familiar with the parts

Before you can start assembling the kit, you might want to get familiar with the components first;

1.

RESISTORS

The resistors used are 4.7K Ohm (Yellow, Purple, Red - and Gold band). Resistors are polarity insensitive, which means that it doesn’t matter which end goes where.

 

Resistor
Resistor
2.

CAPACITORS

Two 20 pF ceramic capacitors (little brown components with 2 pins) are used. Like, the resistors, it doesn’t matter which way these are installed.

 

Condensator (ceramic)
Ceramic Capacitor
3.

CHIPs

Nearly all ICs have a ‘Pin 1’ marker, that denotes the location of Pin 1. It is important to install chips with the proper orientation!

In the image on the right, the red arrow indicates the orientation notch or dot. The blue arrow indicates pin 1.

 

IC orientation notch (red arrow) and pin 1 (blue arrow)
CHIP/IC
5.

RESONATOR or X-TAL

A ceramic resonator, a brown or blue component with 3 pins, is polarity insensitive. It doesn’t matter which way it is installed, it will still work OK. Install the ceramic resonator on the PCB at the location called "XTAL".
There are also resonators with only 2 pins, which are polarity insensitive too.

Ceramic kristal
X-Tal/Resonator
6.

ELECTROLYTIC CAPACITOR

The electrolytic capacitor looks like a small cylinder with two long pins on one end. The electrolytic capacitor will have the negative lead marked with one or more ‘-’ signs. Install the leg NOT marked with the ‘-’ signs to the plus in the scematics.

 

Electrolytic capacitor
Electrolytic Capacitor
7.

DIODES

Diodes, the 1N4004 in this case, are indeed orientation sensitive. In the drawing below you see the scematic drawing versus the diode drawing. You'' notice that the marking line on the diode matches the vertical line in the scematics drawing.

1N4004: Drawing versus Diode
Diode

1N4004 Diode
1N4004 Diode

 

Scematics and assembly

Below you will find a scematics drawing of the homebrew BasicStamp;

Homebrew BasicStamp scematics
Homebrew BasicStamp scematics

Use this drawing to guide you through assembling the homebrew BasicStamp.

Tip: Usually I print out such a scematic and put it into a transparant sleeve. Then for each connection I make on the breadboard, I draw a line on the transparant sleeve over the connections I just made. This way you can keep track of which connections you completed and which ones still have to be done.

Some notes here:

1. The S1 switch (and the blue colored lines) are optional. S1 is used to reset the PIC if needed. So you can use a simple contact bridge aswell, which you simply shortcut when you want a reset. Or: you simply unplug the power supply, which results in the same effect.
2. Pins 7 and 10 of the MAX232 ic are NOT connected.
3. C1, C2, C3 and C4 are polarity sensitive!
4. The PIC16C57 is the Parallax PBasic interpreter, the largest chip of them all.
5. The 24LC16B is the EEPROM, the smallest chip of them all.
6. The GND - GROUND Symbol-symbol indicates GROUND, which in this case is the same as the MINUS of the powersupply.
7. The PC Serialport connector is usually a so called DB-9 (also Sub-9) or DB-25 (known as Sub-25) connector. This port is being used to program the BasicStamp ones it's operational.
8. Before connecting the powersupply VERIFY the +5V and the GND!

Verifying you homebrew

Using a so called multi-meter or volt-meter (you don't need a high-tech one, just a simple one will do), we can verify if (most of it) is connected properly.

In the drawing below, you will see red balloons indicating the power that should be measured on these point. This drawing shows only that part of the design that is relevant for the measuring points;

Measuring point
Measuring points

 


 

 


Klik hier om te wisselen naar nederlandstalige pagina's You are currently on the English pages.
Help & AboutWelcome ... !!GuestbookWeetHet HelpGlossary ...Searching the InternetSearching WeetHetAvailable downloadsNews & UpdatesStatisticsDisclaimer!AdvertisingJoin us !!!AwardsAbout WeetHet ...Hansie goes USAWhere is Hansie?First monthsMy new homeGoing outPuck goes USAMy new carSnapshots PuckRandom snapshotsFinally: Spring!Nice warm summerFirst Family visit!CD's and DVD'sMusicAudio-DVD to MP3Music CD to MP3Music CD to WAVCopy Music CDYour own Music CDMusic from the InternetChanging MP3 VolumeNero Burning RomBurn BIN/CUE filesConvert BIN to ISOComputer CDRomBurn ISO filesPhoto VCDPhoto SVCDNero vs Nero ExpressNRG to ISOBurn SVCDSVCD with menuBurn VCDVCD with menuDVD VideoWhat are RegionCodes?What is MacroVision?Video formatsDIKO: 3 AVIs - 1 DVDHow does a CD work?How to burn a CDCreating a DVDConvert BIN to ISONRG to ISOCreating a disk catalogComputer InfoHow does a CD work?Netiquette: E-MailWhat is DivX?What is MP3?What is RAID?What is USB?What are PAR files?Wireless LAN introPC to TV cablesStart XP fasterBoot from USB driveFireWire connect 2 PC'sPhoto SizingGraphics / PhotosPhotoshopPhoto SizingFast car3D buttonsDraw lightningPhotos on CDPictureToTVVideoCD with NeroSVCD with NeroMagix Pictures on CDDVD PictureShowPhoto SizingPhoto SizingGSM / PDAsCompaq iPAQReplace batterySerial craddle to USBGarmin eTrex cableGarmin eTrex plugRound Garmin plugPalmPilotConnect Ericsson GSMGarmin eTrex GPSMobile phonesEricsson RingtonesMusicBoxRingtonesMasterA edit SIMSMSC numbersConnector pinoutsHardware & HacksOverclocking CPU'sGenericAMD CPU codesAMD Slot-AAMD Socket-AProgr. SmartcardsMillenniumAlcatel HackLCD display to PCNetwork cablesBoot from USB drivePC to TV cablesPromise Ultra -> RAIDSoundblaster MIDIResistor colorcodeFireWire NetworkInternetNetwork genericEnabling DHCPWin95/98/ME ClientWin2000/XP ClientMac OS 7/8 ClientMac OS X ClientWell known IP-portsDNS addressesNetwork cablesWireless LAN IntroFireWire NetworkDialup connectionTCP/IP optimized for Win9xPublic IP Address?ADSL / MxStreamADSL in generalHow ADSL worksDNS addressesMXStreamInstallingPSTN EthernetISDN EthernetRouter for MXStreamSMC 7404 WBRA/BeTech ModemRoutereTech RouterSitecom 4S routerVigor 2200E routerSolving problemsAlcatel HackHack the modemPassword CalculatorPurpose of the LEDsSolving problemsFirmware upgradeDNS addressesWell known IP-portsMapping PortsAutoPortMappingConnection sharingPossibilitiesWinRoute (software)Network Win95/98/MENetwork Win2000/XPNetwork Mac OS 7/8Network Mac OS XWell known IP-portsWireless LAN IntroNetwork cablesRoutersSMC 7404 WBRA/BeTech ModemRoutereTech RouterSitecom 4S routerVigor 2200E routerInternet by SatelliteHow does it work?Brief intro ...Overview variantsStandardBySky methodTwo-Way InternetInstalling cardsWhich satellite-card?PC requirementsHarmonic CyberstreamPentam. Pent@VisionHauppauge DVBs NexusTechnotrend PCLineEOL problemsNew driversMounting a dish (Astra)Dish size?EON ChecklistTransponders EOLRamdisk for FazztYour own webpageNavigation solutionsInsight and solutionsApyCom apPopupMenuD.Binard PopupMenuPopupMenu generatorPopupMenu flatTips and TricksE-Mail linkE-Mail FORMBookmark this pageIcon for my webpage'Page back' link?Jumping within a pageEscape from framesUse frametitleControlling framesAuto redirectFixing 100% problemChange link colorText in the statusbarFixed backgroundText over imagesBrowser safe colorsUsing the .htaccess fileSpecial charactersWhere to downloadIRC using mIRCInstalling mIRCDownload Movies etcFAQMovies from InternetMovie QualityWhat are PAR files?LeechGuyLeechGuy editoreMuleWinMXE-MailNetiquetteQuote of the dayMiscellaniousHack Arescom NetDSLWireless LAN IntroFireWire NetworkWell known IP-portsWhat is my IP Address?Search (WeetHet)Searching (Internet)WeetHet DownloadsA few great websitesDNS addressesMicroControllersBasic Stamp IIStarting with the BS2Assembling the kitFullsize scematicsConnection to your PCBS2 to 44780 LCD44780 LCD SnapshotsBS2 to M50530 LCDM50530 SnapshotsHomebrew BS2Smartcards/SIMProgrammer Softw.CardMasterInfinityUSBMasterBurnerMilleniumCard TypesEdit GSM SIMResistor colorcodeMusic / AudioMusic from InternetIntroductionLeechGuyLeechGuy editorWinMXeMuleUsing mIRCBurn BIN/CUE filesConvert BIN to ISOAudio-DVD to MP3How does a CD work?Copy music CDYour own music CDWhat is MP3?Music CD to MP3MP3 CD for Yamakawa?Changing MP3 VolumeMusic CD to WAVSB MIDI interfaceAC3 to WAV/MP3ProgrammingBorland DelphiHansies Delphi ToolsAYeah!CatalogQuote of the dayPopupMenu generatorOverview ASCII chars.Satellite (TV & GPS)Satellite TelevionSatellite TV on the PCTV reception on your PCPC requirementsNew driversPentam. Pent@VisionHauppauge DVBs NexusTechnoTrend PCLinePVA file to MPEG2DirecTV TiVoRemote ControlDirecTiVo to OS6.21: Intro & Images2: TiVo disk in PC3: Install OS 6.24: OS6.2 first start5: SuperPatch & More6: Recordings to PCTyTools - Movies to PCOld: DirecTiVo to OS4Old: Sleeper HackSmartcardsProgrammer Softw.CardMasterInfinityUSBMasterBurnerMilleniumCard TypesWhat is DiSEqC?Mounting a dish (Astra)Dish sizeSRT8000 firmwareGPS NavigationGarmin eTrexDiagnostic modeSerial connectionConnect to iPAQ 36/38xxConnect to PalmPilotThe eTrex connectorThe round connectorHow GPS worksGeoCaching explained ...Internet by SatelliteHow does it work?Brief intro ...Overview variantsStandardBySky methodTwo-Way InternetInstalling cardsWhich satellite-card?PC requirementsHarmonic CyberstreamPentam. Pent@VisionHauppauge DVBs NexusTechnotrend PCLineEOL problemsNew driversMounting a dish (Astra)Dish size?EON ChecklistTransponders EOLRamdisk for FazztVideoVideo guide - start hereIntroductionGSpot: AVI InfoDIKO: 3 AVIs - 1 DVDDownload QualityVideo in generalWhat is DivX?Video formatsRecording TypesWhich AVI codecs?Intro K(S)VCD/KDVDDVD+RW IssuesAbout bitratesVideoServer pluginWhat are RegionCodes?What is MacroVision?RippingAudio-DVD to MP3Photo SizingAVI to MPEGGSpot: AVI InfoDIKO: 3 AVIs - 1 DVDAVI to DVD/(S)VCDWithout SubsD.I.K.O.MainConcept (S)VCDNero Vision Express 2TMPGEnc (S)VCDTMPGEnc K(S)VCDTMPGEnc with AC3With SubTitlesD.I.K.O.MainConcept (S)VCDNero Vision Express 2TMPGEnc (S)VCDTMPGEnc K(S)VCDTMPGEnc with AC3Burning CD NeroBurn VCDVCD with menuBurn SVCDSVCD with menuBurn BIN/CUE filesDVD PlayersCompatibilityAdd DVD playerDVD+RW IssuesIntro K(S)VCD/KDVDVideo ToolsBitrate CalulatorDVD RippingGSpot: AVI InfoFlaskMPEG and CCEVideoServer pluginDVD to DivXIntroductionCalculating bitratesRippingDVDx and SmartRipperDVDx settingsFlaskMPEG method 1FlaskMPEG method 2FlaskMPEG method 3DVD to (S)VCDIntroductionCalculating bitratesRippingDVDx and SmartRipperDVDx settingsFlaskMPEG 0.6 and CCEDVDx and Video ServerDivX to (S)VCDDVD to DVDDVD2OneDVDShrinkDVD+RW IssuesTMPGEnc & CoDIKO: 3 AVIs - 1 DVDMovie Cut & PasteGSpot: AVI InfoMergingMPEG1 and MPEG2Using TMPGEncWomble MPEG2VCRAVI with VirtualDubCuttingNewWith TMPGEncWomble MPEG2VCREasy Video SplitterAVI en DIVXAVI with VirtualDubEasy Video SplitterMovies from InternetIntroductionLeechGuyLeechGuy editoreMuleWinMXUsing mIRCWhat are PAR files?Burn BIN/CUE filesConvert BIN to ISOPictures on CDPictureToTVVideoCD with NeroSVCD with NeroMagix Pictures on CDDVD PictureShowRipping SubtitlesVobsub: fast and easy!SubRip (OCR)Sync subtitlesDisplaying subtitlesDisplaying with VobSubSync subtitlesCreate a MicroDVDPC connected to TVPC to TV cablesATI softwarenVidia softwareTiVo - Harddisk VCRTiVo Series 1What is a TiVo?Opening a TiVoSerial accessDebug Mode accessLinux Bash shellSet the clockDisable dialupDirecTV TiVoRemote ControlDirecTiVo to OS6.21: Intro & Images2: TiVo disk in PC3: Install OS 6.24: OS6.2 first start5: SuperPatch & More6: Recordings to PCTyTools - Movies to PCOld: DirecTiVo to OS4Old: Sleeper HackYamakawa 713/715IntroductionFAQThe Remote ControlSecret codesSet regioncodeSet regionfreeDisable MacroVisionFactory-settingsWhich DVDRom driveFirmware versionChange firmwareDownload firmwareChange backgroundCreate MP3 CDM.U.F.Y. MP3 CD'sHelpForumSearch (WeetHet)Search (Internet)News & UpdatesGlossary ...DownloadsLinksStatisticsAdvertisingJoin us !!!Guestbook

Liquid Web Fully Managed Web Hosting