___________________________________________________ _____ __________________________________________________// L.O.S.A //_____ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- List Of Stamp Applications Date: 011005 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Contents _____________________________________________ 1.0 What is BASIC Stamp? 1.1 What is L.O.S.A all about? 1.2 How can I contribute to this list? 1.3 Where could I find L.O.S.A? 1.4 More information about BASIC Stamp 1.5 Why are some links dud's? 1.6 List of contributions. 1.7 BASIC Stamp resources on the net! 1.8 L.O.S.A Database Conversion Utility. 1.9 Copyright notice. 2.0 Credits and other things. _____________________________________________ 1.0 What is BASIC Stamp? ------------------------ This is being written for people who have no idea of what a BASIC Stamp is... BASIC Stamps are small reprogrammable single board computers (SBC) that run BASIC programs and are made by Parallax, Inc. in US. At first glance, they may seem fairly minimal - and in fact, they are. But with software that fully utilizes all available hardware, the Stamps give you powerful features - without the cost of hardware. Their low cost and simplicity make the Stamps perfect for many prototyping and control applications. It's suitable for electronics hobbyists as well as electronics professionals in many different areas. Typical application areas for BASIC Stamp's are... - General electronics - Home automation - Robotics - Mini PLC - Education - Prototyping - HAM related applications - Special effects in films - Industri control - Geological instruments - Computer peripherals - Scale model hobbyists - Model train hobbyists As an talent engineer and technical writer expressed it... - BASIC Stamp is the 555 of the 90's ! 1.1 What is L.O.S.A all about? ------------------------------ This list was started back in -95 when I heard about (more or less) uniqe problems that was solved by using a BASIC Stamp. Especially Guy Gustavson's story (see #001) about how he saved his beloved cat Kesha gave me the inspiration to start writing L.O.S.A. I hope Kesha still is alive and having a great life. Now 6 years later there are 225+ applications described and I hope you will enjoy reading all (or parts) of them. The main purpose of this list is to get an idea of what other people are using their BASIC Stamps for and maybe get some inspiration or hints for your own projects. Some of the projects described in the list also have links to source code and schematics for download. 1.2 How can I contribute to this list? -------------------------------------- If you have done something with the BASIC Stamp (big or small) that you are willing to tell others please use the form given below and write a short description, nothing fancy is needed just a simple explanation. If you have source code to share that's even better but it's not necessary. Then e-mail the contribution form (see below) to: cj@hth.com With the following as the subject: L.O.S.A Contribution Or you could point your Web-browser to the following URL and fill in the L.O.S.A form on the Web-page... http://www.hth.com/losa/ [--- cut ---] ===================================================================== - L.O.S.A Contribution Form - ===================================================================== New Contribution [ ] Update [ ] --------------------------------------------------------------------- Title : Author: Date: E-mail: (optional) --------------------------------------------------------------------- Stamp model : BS1-IC/BS2-IC/BS2E-IC/BS2SX-IC/BS2P24-IC/BS2P40-IC Code available: YES/NO Filename : (optional) URL : (optional) --------------------------------------------------------------------- Description : (5-50 rows describing your application) ===================================================================== [--- cut ---] 1.3 Where could I find L.O.S.A? ------------------------------- The index to the latest version of L.O.S.A is posted to the following mailing lists and news groups. Updated approx. 6 times/year (depends on how many contributions received). Mailing lists: BASIC Stamp Mailing List News groups: comp.robotics.misc comp.home.automation sci.electronics.misc rec.radio.amateur.homebrew The complete and latest L.O.S.A can be downloaded from the following URL's... WWW: http://www.hth.com/losa/ FTP-site: ftp://ftp.parallaxinc.com/pub/text/losa.txt If you don't have access to Internet you could send an SASE to the address given below and I will return you a 3.5" DOS-disk with the latest version in ASCII-format. HTH Attn: L.O.S.A Asbogatan 29 C S-262 51 Angelholm SWEDEN 1.4 More information about BASIC Stamp -------------------------------------- Visit Parallax, Inc. web-site for detailed information about BASIC Stamp and related products. http://www.parallaxinc.com If you lives in Scandinavia you can visit our web-site for more information about BASIC Stamps and related products. http://www.hth.com Also make sure to take a look at the BASIC Stamp resources available on Internet listed at the end of this document. 1.5 Why are some links dud's? ----------------------------- Since people changes their e-mail and web addresses some links may be dud's. If you previously contributed with one (or more) of the applications please take a quick look and check your e-mail address and/or web-links. I'm only able to keep the list updated if I'm informed about changes, thanks in advance. 1.6 List of contributions ------------------------- > = Indicates a new or updated application since last time. # 001 Robo-Cat # 002 Logic Rudder # 003 Interfacing MAX186 8 channel 12bit A/D # 004 Scrolling LED Sign # 005 Tone Decoder # 006 Pager # 007 HexWalker Mobile Robot # 008 Robo Bug # 009 EXPBOT Robot controlled by Stamp # 010 Andrews Ever Evolving Lego Robot # 011 Factory Monitoring System # 012 Wave to the Cats/Desk Temperature # 013 Gamer's Die Roller # 014 Stamp II Serial I/O # 015 Voice and CW Fox Hunt Transmitter IDer # 016 Lift (elevator) Controller # 017 Paging with the Stamp # 018 Switching Sytem # 019 Door Entry Card Reader # 020 Telephone Card Reader # 021 DTMF Decoder # 022 Ion chamber radiation monitor # 023 Barn Monitor # 024 Dallas one-wire interface # 025 Sculpture control # 026 Commercial clothes dryer controler # 027 Morse Code Keyer # 028 Traffic Light Controller # 029 Automotive Lamp Control # 030 Single Switch Scanning Device for Disabled # 031 Bell timer for school bell control # 032 RIMS controller for beer making # 033 Stamp 1 and ISD 25XX Sound Chip Application # 034 Camera Wireless Controller # 035 Simple Battery Check using the BS2-IC # 036 Photocell MIDI Controller # 037 DCF-Clock # 038 Radio-controlled Digital Clock # 039 Weather Station I # 040 Private Aid To Navigation # 041 Stamp II in Space # 042 MAT32 long integer math routines # 043 Distinctive Ring Detector # 044 Extended Stamp Memory # 045 Debate Stoplite # 046 Digital nametag # 047 ST506 Disk Seeking Demo Controller # 048 Robot: Multi-Stamps Communicate via Shared Memory # 049 NiMH Battery Charger/Conditioner # 050 555 Timer as A/D Converter # 051 Bits of Light # 052 Process Control # 053 Near Space Capsule # 054 PIC Debugger # 055 DS1820 Temp Sensor # 056 Air muscle hexapod robot # 057 Lights # 058 Caller-ID Interface # 059 Wind speed and wind direction measurement device # 060 Calibrated Dust Feeder for Air Cleaner Tests # 061 Use of a Serial EEPROM as a Lookup Table # 062 Displaying Quantities on a 200 mV Panel Meter # 063 Programmable Proportional Air Valve # 064 Basic Stamp machine control application # 065 Compass Interface for Navigation # 066 Truck + ? identification # 067 Meteoreological Station # 068 Stamp Controls Electronic Tester for flex circuits # 069 Game Timer ># 070 Photoghrapic light meter # 071 Data System Remote Control on unmanned aircraft # 072 Speaking Instructor # 073 Small Mobile Robot # 074 R/C helicopter altitude control unit # 075 Automobile Rally Odometer Interface to Laptop # 076 LCD drivers # 077 Stamp I / PC Interface Demo ># 078 Stamp Photo Meter # 079 Stiquito(TM) 97 HexaPod Robot # 080 XRaCS DTMF Radio X10 Control with Voice Response # 081 Interfacing the Basic Stamp 2 with I2C Devices # 082 The WeatherStamp Meteorological Station # 083 Maxxum 7000 Remote Release Widget # 084 Xs And Os games for college project # 085 Stamp II Mouse Emulator (Version 6) # 086 Basic Alarm System # 087 Interfacing with a Printer # 088 Dinosaur Quiz Game # 089 Chemical Injection System # 090 RS-232 connections between Stamp and host # 091 Video Character Overlay Generator Controller # 092 Suction tube depth measurement display # 093 Electronic Compass with Basic Stamp 2 # 094 Event Logger with 8K 24C65 I2C memory # 095 Fixing the depth of a suction-pipe with the BS 2 # 096 Superchaser # 097 Corky'z Robotz # 098 Cloudrider: analog network with BS2 and BS1's # 099 Yet Another Real Time Clock, Dallas DS1287 # 100 Amateur RadioSatellite Tracking (Az/El) Controller # 101 DTMF Decoder # 102 PC to STAMP via RS232 routines # 103 PC Frequency Counter # 104 Sub-Millisecond Reaction Timer # 105 Computerized Dynamics Cart # 106 Ham Radio Interface Using the Basic Stamp 2 # 107 Remote tempsensors communicates over the power lines # 108 Interfacing a BASIC Stamp to SRAM # 109 Stepper controller pulse generator # 110 Automatic rang caller # 111 Automatic emergency broadcast system # 112 BASIC Stamp I as an welding machine # 113 PLM-24 to X-10 Gateway # 114 Semi-Automated Combusitible Gas Indicator Tester # 115 Counter-rotating Servos # 116 Joystick Controlled Robotic Arm # 117 Anti Traction Control Device # 118 Cat Chasing Lego Robot and Other Circuits # 119 Camlift # 120 Control 15 Servos in Parallel # 121 8 Digit "Smart" Alphanumeric Display # 122 Cycle Testing AC Motor Controller # 123 Controlling an LCD by BS2 via I2C Bus # 124 The Newcastle Robotic Bilby Project # 125 The EM1 (Electric mule) # 126 Distance Measurement with GP2D02 SHARP Sensor # 127 TI82 Interface # 128 Operator Interface for Multiple Stamps # 129 Infrared Glucose (Blood Sugar) Monitor # 130 Fox For ham radio or Automated Propogation Beacon # 131 GPS Data Overlay on Video # 132 10Base-T Cable Tester # 133 Kodak DC40/50/120 camera control # 134 Implement S.N.A.P network protocol in a BASIC Stamp # 135 Stamp/PC RS-485 Network # 136 Easy-to-build BS keyboard/display w/ 10 keys/LEDs # 137 Joystick control: BS2, 2 motors & 2 HBridges # 138 Basic Stamp 2 Mobile Robot ># 139 Home Automation and Security System # 140 UM3750 Read Code # 141 Magnetic Stripe Reader # 142 Telephone Remote Control and Remote Alarm # 143 Tube preamplifier control section # 144 Interrupt for PBASIC # 145 dLOG # 146 Compass # 147 BS-2 serial VISCA interface # 148 Servo tester # 149 Small-bot # 150 Repeater Controller # 151 ESD Tester for Foot and Wrist Straps # 152 Beneficial Insect Dispenser # 153 Bugsey # 154 Vector2X Compass Module with the new BS2SX Stamp # 155 Serial Mouse to BS2 Interface # 156 Radio Repeater Controller # 157 Keypad reader # 158 Automatic Vehicle Location / Mobile Asset Tracking # 159 Interfacing a 4X4 keypad to the stamp II # 160 Interfacing a Max186 8 Channel ADC to a stamp II # 161 Realistic Manual Shifter for PC Driving Games # 162 Contact ID handshake board # 163 Basic Stamp II I2C protocol for several ICs # 164 Home Controller # 165 Coinmachine # 166 Navigation system for the blind # 167 Robot Fighters # 168 Octobot # 169 SPI interface chip # 170 Implementing TCP/IP functionallity # 171 Home Security System # 172 Garage Door Opener # 173 New Method Of Home Automation # 174 Water Volume Meter # 175 Table-Top Practice ROBOT for USFirst Competition # 176 Model-rocket acceleration measurement # 177 Interface to SPECTRON MICRO-50 2 Axis Inclinometer # 178 Interface for electromechanical coinpasser # 179 RCS (Remote Controlled Stepper) # 180 Making robots really small # 181 Basic Stamp Freezer Alarm # 182 X-10 Command Expander # 183 Slide Projector Timer # 184 Complete Traffic Light Controller - RS232 display # 185 Call Rejection Box # 186 A very simple DTMF decoder # 187 Supercomputer Node Board Diagnostic Tool # 188 Bipede # 189 Digital D.J mouse driven mixer # 190 Geiger Counter Interface/Display/Computer/Logger # 191 Stamp-1 as 6-Bit Serial A/D Converter # 192 Simple Robot for Table Area Coverage Competition # 193 IR Garage Parking Helper # 194 Archery Timer # 195 Fift Injector Controller # 196 PC diagnostic port decoder # 197 LED bar graph # 198 ZVEI 5 and 6 tone decoder # 199 Audio matrix controller # 200 Watch dog module # 201 Air Data Sensor (Test Set) # 202 Using the BS-2 to send MIDI note on/off # 203 Plant Engineer # 204 Specialty Frequency Generator # 205 Wireless Model Rocket Launch Controller # 206 8243 I/O Expander # 207 Autonomous Miniature Robot # 208 CW Keyboard # 209 Using a Maxim 3110 UART # 210 BASIC Stamp Wireless Serial Transmitt # 211 X-10 Multi-Housecode Transceiver # 212 Entrances and Exits # 213 Event Logger with 8k 24C65 I2C memory # 214 Step motor ctrl for Swibot-ST # 215 Smart PC-Case Cooling System # 216 Crosswire Alignment Sensors # 217 Modular Lab Automation and Control System # 218 Digital Speedometer/Tach # 219 Dynamometer # 220 Counter with memory # 221 Thunder and Lightning FX # 222 R/C Glider Flight Data Collection # 223 Stamp Teaching Interface ># 224 Controller for shootingrange # 225 Two Brained Robot # 226 Cheap accurate timing source # 227 ANODE, BS1 Video Game # 228 TOKEN-CATCHER/PUSHER for remote download to BS2SX ># 229 Hitachi 44780 LCD connected to BS2-OEM ># 230 Lead Acid Battery Desulfator ># 231 Direct voltage measurement using passive component ># 232 Snake Robots ===================================================================== Title : Robo-Cat [# 001] ===================================================================== Date : 950807 Author: Gustavson Guy W. E-mail: GWGUSTAVSO@mpg.norstan.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: N/A Filename : N/A URL : http://www.winternet.com/~bigfoot/cat.html --------------------------------------------------------------------- Description : My cat, Kesha, was recently diagnosed with Heptic Lipodosis. Or "Fatty Liver", basicly what this means is that for some reason he stoped eating and his liver started converting body to useable sugars. The fat deposists biuld up in the liver and cause severe liver damage. Because the liver isn't working well the cat feels crappy and wants to eat even less. The treatment for this disease is to run a tube down down the cats nose into his stomach, or a PEG tube through the abomine wall into the stomach and feed the cat a liquid diet this way. I love my cat, but I can't be there every three hours to feed him through the tube for a month. Something about work and deadlines and such. So I went to a local supplus house and got a tiny motor driven pump, a case, some switches, a micro switch, ect... The micro switch is mounted such that the switch trips for every rotation of the pump shaft. The stamp turns on the pump for on a single rotation at intervels programable from the controll switches on top. An alarm buzzer and LED flash if the pump fails to run for any reason. The unit is programable for 9 differents deleviery rates. Now he gets a slow continuious feeding and he seems to tolerate this better than the 100ml feeding every three hours. ===================================================================== Title : Logic Rudder [# 002] ===================================================================== Date : 950812 Author: Christer Johansson E-mail: cj@hth.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : LRUDDER.ZIP URL : http://www.hth.com/filelibrary/bs1-ic --------------------------------------------------------------------- Description : Many of the new and very realistic flight sims available today needs rudder to let you get full control. This one uses a digital pot from Xicor (X9104) and 10 other components. Connects to a standard IBM-PC game port and power is taken from the port. It uses two micro switches for controlling the rudders left or right and to indicate when rudders move there is a red LED that lights up when you press the micro switches and to indicate center there is a green LED. If you press the both micro swithes the rudder will auto- maticly return to center position. There is a trim pot to set the desired step rate from slow to very fast and the Xicor pot has 99 steps wich gives a fair resolution. ===================================================================== Title : Interfacing MAX186 8 channel 12bit A/D [# 003] ===================================================================== Date : 950925 Author: Helmut Fligge E-mail: h.fligge@asco.nev.sub.de --------------------------------------------------------------------- Stamp model : BS1-IC Code available: YES Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This Program interfaces the Stamp1 to the MAX186 A/D converter. Via RS232 2400bps the stamp is asked to measure channel numbern. After conversion the result will be returned to the host computer as an ascii string (0 .. 4096). Conversion rate is about 4 measures per second. ===================================================================== Title : Scrolling LED Sign [# 004] ===================================================================== Date : 950926 Author: Bob Blick E-mail: bob@ert.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : http://www.bobblick.com/bob/stamp/sign.html --------------------------------------------------------------------- Description : Scrolling LED sign, 35 super-bright LEDs in a 5-by-7 matrix in the prototyping area of a Basic Stamp rev D. A scrolling alphanumeric message moves one pixel at a time, just like real scrolling LED signs, except this one only displays one full letter or portion of two letters at a time as the message moves by. Schematic, code, and pictures available on web site. ===================================================================== Title : Tone Decoder [# 005] ===================================================================== Date : 950926 Author: Bob Blick E-mail: bob@ert.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : http://www.bobblick.com/bob/stamp/tonedec.html --------------------------------------------------------------------- Description : Listens for telephone touchtones, displays phone numbers on LCD screen and echos them out RS-232 port. Circuitry fits in prototyping area of rev D Basic Stamp: Microphone preamplifier, touchtone decoder IC. ===================================================================== Title : Pager [# 006] ===================================================================== Date : 971031 Author: Don McKenzie E-mail: don@dontronics.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : PAGER.BAS URL : http://www.dontronics.com/stamp.html --------------------------------------------------------------------- Description : This program for the Basic Stamp is used to monitor 4 hardware signals. If a change takes place, (after testing for a false trigg- er) then a cheap 2400 baud MODEM is used to dial into a Telecom Alpha-Numeric pager. It leaves a message which consists of a 2 digit I.D. (01 to 99) followed by the 4 signal levels of pins 3 to 0. Status of the signal levels message: 0=Low, 1=High. EG: "011110" means Unit "01" has pins 3, 2, and 1 high, and pin 0 is low. A "Ring-In" feature is also included. By ringing the MODEM for a short period, then hanging up, the Stamp will dial your Pager and report the current hardware status of these four signals. This program uses about half of the available memory, so if the user wishes to add enchancements such as "Multiple Ring-In's" say within a minute, for a command selection, there is plenty of program space left. ===================================================================== Title : HexWalker Mobile Robot [# 007] ===================================================================== Date : 960511 Author: Tom Thornton E-mail: mandtsys@ix.netcom.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D or BS1-IC Code available: YES Filename : WALK.BAS URL : http://www.netcom.com/~mandtsys/robots.html --------------------------------------------------------------------- Description : HexWalker is a hexapod robot that exhibits obstacle avoidance behavior. It is controlled by BASIC Stamp, BS1-IC, or Stamp chipset (PIC16C65 + EEPROM). Driven by three servos it is the simplest machine architecture that can walk forward and backward, and turn left or right. A kit is commercially available contact author for details. ===================================================================== Title : Robo Bug [# 008] ===================================================================== Date : 951003 Author: David Novick E-mail: dkn@cimar.me.ufl.edu --------------------------------------------------------------------- Stamp model : BS1-IC Code available: YES Filename : N/A URL : http://www.me.ufl.edu/~dkn --------------------------------------------------------------------- Description : Using two stamps, a robot with six legs (2 degrees of freedom each) was able to walk and turn (at this stage, not very gracefully). ===================================================================== Title : EXPBOT Robot controlled by Stamp [# 009] ===================================================================== Date : 951009 Author: Marvin Green E-mail: marvin@agora.rdrop.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : EXPBOT.BAS URL : E-mail author and he will send it --------------------------------------------------------------------- Description : This program allows a cool robot to move abound a room in search of light. Like a moth. Simple program changes can dramatically change the robots behavior. ===================================================================== Title : Andrews Ever Evolving Lego Robot [# 010] ===================================================================== Date : 951119 Author: Andrew H. Hochheimer E-mail: softarts@ciaccess.com --------------------------------------------------------------------- Stamp model : BS2-IC Code available: YES Filename : N/A URL : http://www.wincom.net/~softarts --------------------------------------------------------------------- Description : Currently the robot can only navigate to the brightest light source in a room. It's current operation mode has four major steps: - Scan a 180 Degree Field of "Vision" taking light level readings, and determining the brightest direction of light. - Decide if it needs to turn left, right, or continue moving forward. - Check for colli- sion with an object while moving, if a collision occurs, display the total travel distance on the display - Move forward for 1.5 Seconds and then repeat the process. Currently I am using Two Futaba FP-S128 Servos (any RC Car Servos would work) one to sweep it's "sensors" form left to right, and one to "stear" the robot. You can see pictures and more information on my homepage, just follow the lego robot link. ===================================================================== Title : Factory Monitoring System [# 011] ===================================================================== Date : 951120 Author: Paul Willemse E-mail: pjwill@merlion.singnet.com.sg --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : N/A URL : E-mail author --------------------------------------------------------------------- Description : The system presently consists of 4 Basic Stamp units. Each monitors up to 5 inputs. The inputs are 'digital' (switches) and/or analog (temp, airflow, current, etc using commercial sensors). All stamps communicate the results via serial mode to a Macintosh (Yes a Mac!) where the results are graphically displayed and monitored. Alarms are set for certain conditions. The transmission is simple, one way only. Each stamp sends the info at a 'random' interval not exceeding 2 seconds. The message format is fixed, the Mac will throw away any conflicts in case two or more stamps transmit at the same time. BTW this happens very seldom. The max time any stamp can be 'absent' from the chain before an alarm is raised is six seconds (failure, transmission collisons, etc). This is controlled by the Mac. The 'system' is presently in beta test, the client wishes to expand up to 20 stamps. At that point we will likely use the BS1-IC or BS2-IC on custom boards located around the facility. Code is available upon request (e-mail) partial, some is proprietory to my client. ===================================================================== Title : Wave to the Cats/Desk Temperature [# 012] ===================================================================== Date : 951121 Author: Paul Haas E-mail: paulh@hamjudo.com --------------------------------------------------------------------- Stamp model : BS1-IC Code available: Yes Filename : See web server URL : http://hogwild.hamjudo.com/cgi-bin/stamp --------------------------------------------------------------------- Description : The Stamp has a serial connection to web server, a cardboard hand, a servo motor to move the hand, and a DS1620 thermostat chip to meas- ure the temperature. The web server can request the current temper- ature or start the hand waving. See the web page for the source code for the temp and the web server. It's mostly useless. The cats ignore the hand. A few people find it entertaining. ===================================================================== Title : Gamer's Die Roller [# 013] ===================================================================== Date : 951122 Author: Larry Tremblay E-mail: ltremblay@domus.com --------------------------------------------------------------------- Stamp model : BS2-IC Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The Gamer's Die roller is a little thing I am putting together as my first Stamp Project. The Roller allows cumulative rolls of n dice up to 256 sides, so long as the sum does not exceed 99,999,999(!) It uses two 74HC161 4 bit counters cycling at 1MHz to draw random numbers off of. Input is achieved via a Grayhill model 38 keypad and a 74C922 keypad decoder. Display is on a Siemens PDSP-2111 8 character smart display (5x7 LED characters) fed by two 74HC164 serial to parallel shift registers cascaded so I can use Shiftout to feed 16 bits of control + data off of 2 pins. The code is very simple, the most exotic part being the random numb- er generation. In a nutshell, it is: Begin Loop S = 8 bit number drawn from the counter (random) if S < (255/N) x N (integer divide, N is number of sides on die) exit Loop End Loop This gets (pseudo) random numbers whose average is not skewed downwards by the counter's max of 256 (i.e. a 100 sided die is not affected by the extra 56 in the count maximum) Using gamer's dice notation, (5d6 = sum of 5 six sided dice, 3d10 = sum of 3 ten sided dice), the user can input whatever combination they wish, including just 'd6' for one six sider. The keypad I have has removeable keycaps with legends, so I have 0-9 plus 'd' and '=' on them. As noted earlier, since I am using an 8 bit counter, the maximum die size is 256, although that could be fixed easily by sampling two, three or more times for each die. Anyhow, that's it. When the code is done and debugged, I'll be happy to e-mail it to any who want it. ===================================================================== Title : Stamp II Serial I/O [# 014] ===================================================================== Date : 951128 Author: John Hansknecht E-mail: Hansknec@cebaf.gov --------------------------------------------------------------------- Stamp model : BS2-IC Code available: Yes Filename : HAL01.ZIP URL : http://www.hth.com/filelibrary/bs2-ic --------------------------------------------------------------------- Description : A bare-bones demonstation of 2 way serial communications between a PC running Qbasic and 1 or more Stamp II's. ===================================================================== Title : Voice and CW Fox Hunt Transmitter IDer [# 015] ===================================================================== Date : 951221 Author: Sam Guccione E-mail: sguccion@outland.dtcc.edu --------------------------------------------------------------------- Stamp model : Counterfeit Stamp Code available: Yes Filename : Revision of S. Edwards MORSE program URL : N/A --------------------------------------------------------------------- Description : An IDer based upon the MORSE program. Has 4 time delays as well as a random time delay. Circuitry includes selection of a voice id using the Radio Shack 10 voice board or the Walden bookstore 10 sec talking gift card. This is a very simple circuit and program but was developed by my students under my direction. May be of interest to someone out there. ===================================================================== Title : Lift (elevator) Controller [# 016] ===================================================================== Date : 951225 Author: Dave Bell E-mail: dbell@cup.portal.com --------------------------------------------------------------------- Stamp model : Faux Stamp (BASIC Stamp clone) Code available: Yes Filename : Upon request URL : N/A --------------------------------------------------------------------- Description : A simple control loop monitoring lift Call buttons (with debounce) and Limit switches, forbidding manual control past limits, and en- forcing a Stop before reversal of direction. This will be used in an owner -designed and -built single story platform lift for a home. ===================================================================== Title : Paging with the Stamp [# 017] ===================================================================== Date : 960104 Author: Kurt Clement E-mail: kclement@kraft.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : monitor.bas URL : N/A --------------------------------------------------------------------- Description : Use the Stamp to monitor several inputs, two temperature and two contact closures in this application. When inputs go outside set limits, dial pager and send coded message. Used to monitor power failures and temperatures for computer and network equipment since August 1994, running on 9 V power supply from one of the UPS units. ===================================================================== Title : Switching Sytem [# 018] ===================================================================== Date : 960109 Author: Alexander Avendano E-mail: aavendan@aros.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : I'm almost finishing a Basic Stamp Based Switching System (Small Phone system) which I consider very usefull for small companies that cant'n afford other brands. This is designed with a host computer which will have a vox-mail and all the functions like big ones to choose. I'm using BS1-IC's for the extensions process right now. As soon I have complete it I will give the code away for small Intelligent Switching phone system up to 2 Lines and 4 Extensions using the L.C.D serial circuitry for information display. I forgot to mention that the computer (Host for many processing functions) will be running under Windows 3.1 and Windows 95, making this way a usefull computer not only for the phone system but for ithers application at the office. Please be free to send me E-mail, about any suggestion. ===================================================================== Title : Door Entry Card Reader [# 019] ===================================================================== Date : 960110 Author: Ed Buckley/J J Barbarello E-mail: ed@milinst.demon.co.uk --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Stamp 1 based version of the Card Reader article by J J Barbello as described in the August 1995 edition of Electronics Now. This vers- ion uses the Stamp 1 as a local controller determining the card number and deciding whether or not to allow door opening. Optional serial comms back to a master controller and optional local message readout using an LCD Backpack. Lots of scope for further enhancement/experimentation. Circuit schematic and listing available. ===================================================================== Title : Telephone Card Reader [# 020] ===================================================================== Date : 960119 Author: Francesco Volpe E-mail: f.volpe@ee.mu.oz.au --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : TELEMARK.LZH URL : ftp://ftp.ix.de/pub/elrad/010/ --------------------------------------------------------------------- Description : The BS-II is used to read a German telephone card, which is a smart card. For more details see the German Electronic Magazine ELRAD (http://www.ix.de/el). The data is transfered via RS232 to any terminal program. ===================================================================== Title : Real-Time DTMF Decoder/Display/Driver Apps [# 021] ===================================================================== Date : 970808 Author: Joe Altieri E-mail: N/A --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : PAUL-BRM.BS2 URL : http://seasurf.com/~radioman/ --------------------------------------------------------------------- Description : Here is the latest in Ham Radio Application for the "decode.bs2" series of programs. This new application does three things at the same time ! First, it's a real-time DTMF to LCD display readout, Secondly it decodes a "selective call" sequence of "#753" whenever it occurs, and Thirdly, sends a ham radio callsign (WA6BRM) in Morse Code three times in succession as a "pager" alert. All the updates on the origional "decode.bs2" and "decode2.bs2" are at the website : http://seasurf.com/~radioman/ at the "DECODE" link (decode.html). Includes hardware (.PDF), software (decode.bs2 and paul-brm.bs2), newsletter, and updates ! The *new* version uses the SSI-202 DTMF chip successor, and proves better decoding and selective call - and the new software proves, once and for all - that several nested applications can all run on the Stamp BS2-IC at the same time ! ===================================================================== Title : Ion chamber radiation monitor [# 022] ===================================================================== Date : 960125 Author: Jeffrey L. Rothman E-mail: rothman@bnlls1.nsls.bnl.gov --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : RADMON12.BAS URL : N/A --------------------------------------------------------------------- Description : A Basic Stamp monitors the operation of an ion chamber radiation detector. The ion chamber and related circuitry produce a signal with a frequency proportional to the dose rate. The Stamp measures the frequency and calculates the dose rate and total integrated dose. The results are displayed on a log scale panel meter and an LCD respectively. The dose rate is also transmitted over RS-232 to a remote PC. A Front panel button allows the user to reset the total integrated dose. Another button allows the audio alarm to be muted at low dose rates. ===================================================================== Title : Barn Monitor [# 023] ===================================================================== Date : 960203 Author: Lynn A. Roth E-mail: lynnr@iname.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : MONITOR2.BS2 URL : http://penguin.nu/stamp --------------------------------------------------------------------- Description : The Barn Monitor checks the temperature at 5 points. The temperatures are taken by DS1620 chips. If the temperature goes outside the limits, the Stamp dials a pager using a 2400 baud MODEM. The same occurs if the power goes out. ===================================================================== Title : Dallas one-wire interface [# 024] ===================================================================== Date : 960212 Author: Daniel G. Clemmensen E-mail: dgc@shirenet.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : N/A URL : http://www.shirenet.com/~dgc --------------------------------------------------------------------- Description : As part of a furnace controller project, I've interfaced A Stamp II to a string of Dallas 1820 digital thermometers. The interface consists of three cheap IC's and some subroutines. A design note and a demo program are available on the web. I have successfully tested the interface with a string of twelve 1820's. I have not yet tested it with other one-wire devices, although I will update my web site when I do. ===================================================================== Title : Sculpture control [# 025] ===================================================================== Date : 960323 Author: Pierre Olivier E-mail: olipie@aei.ca --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : I have been working with sculptors for some time doing control cir- cuits for their works using 555 (limited), industrial controllers (expensive and hell to program) and lately Basic Stamp. Our latest piece deals with image deconstruction: it consists of 20 vertical cylinders on which an image is wrapped. Each has a photo detector to detect "position zero", and a custom basic stamp board with a MC3479 step motor driver that drives a step motor which turns one cylinder. Each cylinder can thus have its own routine which pos- itions it precisely (400 steps/rev motors) where we want it for any amount of time, at any speed (very interesting sonically at sub- second stepping speeds!). The stamp outputs direction, step and enable signals to the motor driver and a ready signal to a common line. It receives signals from the aforementionned ready line, and from the optical sensor. It would have been quite a bit more complicated, bulkyer and expensive to implement this project without the stamp. ===================================================================== Title : Commercial clothes dryer controler [# 026] ===================================================================== Date : 960401 Author: J Amy E-mail: Kuznjack@aol.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Detects drop of coin and increments time remaining register. Actuates main and heat relays. Checks temperature, and controles heat relay Periodically decriments time remaining register. Provides cool down cycle in last four minits. Replaces original controler which costs several hundred dollars, and is not reliable. ===================================================================== Title : Morse Code Keyer [# 027] ===================================================================== Date : 960415 Author: Richard Clemens E-mail: clemens@academ.wvwc.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : N/A URL : http://www.ccue.org/stamps/morse2_bs2.html --------------------------------------------------------------------- Description : This program provides a four message keyer for Amateur Radio. The user can input four different messages, their character counts, and use four buttons to display the output and/or key a transmitter. NB: the messages are limited to the upper and lower case letters, digits 0-9, space, period, comma, ? and / Program is based on the information in Stamp I - Note 8 and uses some code from that note. ===================================================================== Title : Traffic Light Controller [# 028] ===================================================================== Date : 960418 Author: M-Systems Inc. E-mail: mstems@aol.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : We have used a BS1-IC to control a simple two way intersection coordinate the timing and switching of a traffic light at a two way traffic intersection. ===================================================================== Title : Automotive Lamp Control [# 029] ===================================================================== Date : 960427 Author: Ron Woodward E-mail: RWoodward@gnn.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A (Will share concepts) Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This system involved connecting two BS2 units to a bank of 28 MOSFET drivers which controled the external lighting in a demonstration vehicle shown at the SAE expo in Detroit MI. The lighting control had to perform PWM modulation simultaniously on 10 different circuits while controling Turn, Stop, Tail, Backup Hi Beam, Low Beam and fog lamp circuits with a set of preprogrammed timing sequences. The timing was worked out so that the PWM of the lamps was flicker free throughtout the demonstration sequence. The BS2 units worked together in a master - slave relationship to maintain proper sequencing of lights on both hands of the vehicle. ===================================================================== Title : Single Switch Scanning Device for Disabled [# 030] ===================================================================== Date : 960508 Author: Chuck Benson E-mail: Chuck%6567006@mcimail.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : N/A URL : E-mail author --------------------------------------------------------------------- Description : This project modifies a Lanier VoiceWriter dictation device so that it can be operated by a person with a severe disability such as quadriplegia. The interface to the device is via the VoiceWriter's hand contro- ller. The connections to the external switches are removed and replaced with switch closures via reed relays driven directly by the PIC's (BASIC Stamp's) I/O. The user starts operation of the device by operating a SPST switch (typically with his or her cheek or jaw). The user then hears a series of five (5) tones which come from a piezo-electric speaker driven directly from an I/O pin. The tones correspond to 'Play', 'Stop', 'Record', 'Rewind','Fast Forward'. When the desired tone is heard, the user activates the switch again and a relay corresponding to that function is closed. This in turn provides the desired function from the dictation device. The code is a series of nested loops that provide the tone & the relay selection. Copies of code are available upon e-mail request. ===================================================================== Title : Bell timer for school bell control [# 031] ===================================================================== Date : 960511 Author: David Abineri E-mail: dabineri@tso.cin.ix.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : N/A URL : E-mail author --------------------------------------------------------------------- Description : This is a sytem which allows flexible control of bell schedules for schools. One may program up to seven different schedules of 30 different times each. Data entry is with a small keypad. Indicators show the schedule currently being used and the day of the week. Users may instantly select which schedule to follow and may even enter a special schedule in a matter of a minute or so. The system simply operates a relay that rings all the bells in the building. Editing schedules is allowed as well as manual operation. ===================================================================== Title : RIMS controller for beer making [# 032] ===================================================================== Date : 980301 Author: C.D. Pritchard E-mail: cdp@chattanooga.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : rims_ok.bs2 and r_mem.bs2 URL : http://chattanooga.net/~cdp/rims_inf.htm --------------------------------------------------------------------- Description : For homebrewers. Controls mash temperature on a recirculation infusion mash system (RIMS) and also controls the sparge water tank temperature. Uses thermistors to monitor temps- 2 on the RIMS and 1 in sparge water tank. Controls AC power supply to two 1500W heaters via optoisolators/ zero-crossing driven triacs. Setpoints are entered via keypad. Elapsed times, temperatures, setpoints and heater statuses are displayed on a 2x16 LCD. Sends data via RS232 to a PC for logging and analysis. ===================================================================== Title : Stamp 1 and ISD 25XX Sound Chip Application [# 033] ===================================================================== Date : 960605 Author: Ed Buckley E-mail: ed@Milinst.demon.co.uk --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : E-mail author --------------------------------------------------------------------- Description : Interfacing the Stamp 1 and the ISD 25xx series sound chips to give an intercative demonstration of the Stamp's ability. The ISD 25xx chips allow recording and playback of a number of discrete messages up to a total of 90 seconds long. The Stamp is used in this application to control the chips activities in Operational Mode- message cueing. The Stamp looks for one of four buttons to be pressed and then controls the ISD chip to play the approprate message. Great for simple demonstration boards exhibitions etc. ===================================================================== Title : Camera Wireless Controller [# 034] ===================================================================== Date : 960611 Author: David Kazdan E-mail: dxk10@po.cwru.edu --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : E-mail author --------------------------------------------------------------------- Description : My need was to put a Canon Rebel XS under radio remote control that separated out the focus function (button half-press) and shutter release (button full-press). Solution was to use off-the-shelf model radio control equipment and a BASIC Stamp. Stamp plugs into the R/C receiver and decodes one channel. Stamp output is two transistors wired to a subminiature stereo plug which plugs directly into the Canon. Many other cameras have similar interfaces. ===================================================================== Title : Simple Battery Check using the BS2-IC [# 035] ===================================================================== Date : 960613 Author: Beau Schwabe E-mail: bschwabe@ionet.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : N/A URL : Se below --------------------------------------------------------------------- Description : External Components: .01uF "ZTR" capacitor (Zero Temp Response) 100K Resistor Directions: 1 - Connect the CAPACITOR and RESISTOR in parallel. 2 - Connect one side of the RC to Vin 3 - Select an available pin on the BS2 for the other side of the RC. Program: Battery var byte Start: low {pin#} rctime {pin#},0,Battery Debug home,? Battery goto Start Typical Results: 85 - Fresh 9 Volt Battery 220 - Low 9 Volt Battery Note: Number INCREASES as Battery weakens... ===================================================================== Title : Photocell MIDI Controller [# 036] ===================================================================== Date : 960501 Author: Matt Rogalsky E-mail: matt@lo-cal.music.wesleyan.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : N/A URL : http://lo-cal.music.wesleyan.edu:8000/device.html --------------------------------------------------------------------- Description : "Light Harp" photocell MIDI instrument: an aluminum triangle with 6 photocells in base and built in light source at apex. BS2-IC reads photocells via multiplexer (NS CD4051BC) into 8-bit A/D (NS ADC0831, a la Parallax application note). For each photocell, if light falls below a given threshold, a MIDI note-on message is sent out pin 15 of stamp. Photocell then won't reset until threshold is exceeded again. This simple instrument was built at STEIM in Amsterdam to use with the STEIM SensorLab, then adapted at Western Front, Vancouver, to work with the BS2. ===================================================================== Title : DCF-Clock [# 037] ===================================================================== Date : 960628 Author: Gerrit Polder E-mail: g.polder@cpro.dlo.nl --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : DCFCLOCK.BAS URL : http://www.qsl.net/pa3bya --------------------------------------------------------------------- Description : This application interfaces a dcf receiver module to the BASIC Stamp. The dcf module receives time information from the standard time transmitter in Mainflingen (Germany). The basic stamp converts this information to rs-232. Each second it output's a complete time string at 2400 bps. A description of this application can be found in Elektuur 7/8 1996 the Dutch, French and German edition. ===================================================================== Title : Radio-controlled Digital Clock [# 038] ===================================================================== Date : 960628 Author: Ian Harries (project supervisor) E-mail: ih@doc.ic.ac.uk --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A Filename : N/A URL : http://www.doc.ic.ac.uk/~ih/teaching/radclock.html --------------------------------------------------------------------- Description : This student project was completed very successfully. The objective was to program the BASIC Stamp II to continually decode the data from a radio receiver tuned to the time signal broadcast by the National Physical Laboratory in Rugby (UK). The resulting time and date information was to be displayed and updated on an LCD panel. Check out the WWW page for more information. ===================================================================== Title : Weather Station I [# 039] ===================================================================== Date : 960701 Author: Christer Johansson E-mail: cj@hth.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: N/A Filename : N/A URL : http://www.sverige.net/vader/ --------------------------------------------------------------------- Description : This weather station is able to measure temperatures from -55 to 125 degree C, wind speeds from 0-50 m/s and wind directions from 0-360 degrees and sends the results via an RS-232 compatible interface to a PC running a companion program written in Visual BASIC. The VB program running on the PC polls the BASIC Stamp at regular intervalls and performs corrections and average calculations as well as presentations and logging of the measured weather data. The data is presented on a WWW-server and saved in a logg file. ===================================================================== Title : Private Aid To Navigation [# 040] ===================================================================== Date : 960701 Author: Bill Bohan E-mail: wlb@why.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : N/A --------------------------------------------------------------------- Description : On inland lakes and intercoastal waterways the US Coast Guard may determine that a privately owned structure such as a Dock, Port, Breakwater, Barge, etc. may require visibility at night. The purpose being for Navigation, Safety, and Legal Liability. I modelled my own PATON (Private Aid TO Navigation) after profess- ionally made units. A remote, battery powered, solar recharged flashing light. Whats adds to the complexity is that the Coast Guard may require a very irregular flashing pattern that may not be standardized by regular counting ICs. Because of remote locations, lack of maintenance visits, multiple lamps with a lamp changer is necessary. This means that while only one lamp flashes the pattern, it is measured between flashes to verify the filament is good. If not, an alternate lamp is chosen. At 5000+ hours per lamp, using Electric Vehicle deep cycle batteries and SOLAREX solar panels (12V @ 1A each), a very reliable system can be made for a few hundred $$. Professionally made PATONs are much less in substance and average $2000. for a very basic unit! ===================================================================== Title : Stamp II in Space [# 041] ===================================================================== Date : 960716 Author: Mel Torrie E-mail: mel@gas.physics.usu.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The stamp was used in the control of a growth experiment on the last flight of the Space Shuttle Endeavor (May 19). The experiment was to determine the feasability of growing food in outer space, i.e. not in a pressurized cabin. The Stamp II turned on heaters and controlled motors and solenoids to water the experiment at the specified time. It then took temperature measurements of the growth chamber and surroundings through a Maxim serial 12-bit ADC and stored the data in the EEprom every half hour. It also sampled the battery voltage and when a threshold was reached, it self-terminated. The Stamp performed as planned and we were able to download the data at the Kennedy Space Center through our terminal software. Our experiment was part of a NASA program called the Get Away Special which gives students the opportunity to gain hands-on experience with the space program. ===================================================================== Title : MAT32 long integer math routines [# 042] ===================================================================== Date : 960726 Author: Francesco Bonomi E-mail: f.bonomi@agora.stm.it --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : MAT32_06.BS2 URL : http://www.silab.it/frox/stamp/bs2_math.htm --------------------------------------------------------------------- Description : A set of binary long integer math routines, with the following approximate timings (for 32-bit numbers): addition 0.05 secs subtraction 0.05 secs multiply 0.1 secs divide 4 secs <--- No, it's not a typo! The routines work with numbers that are 24, 32, 40 or 48 bits long. More than this, I run out of memory. If you don't need multiplication and divide, you will have room for up to 56 bits. Changes for a larger precision might include storing the multiply buffer in EEPROM, this makes ense if you need to multiply one variable number by a large, constant number. Divide is terribly slow, but BTW, being a Stamp-Basic implementation of a sort of floating point divide, you can esily change it to have fractional (fixed-point?) results. A set of BCD routines is also available, but no division! ===================================================================== Title : Distinctive Ring Detector [# 043] ===================================================================== Date : 980112 Author: J. Gary Sparks E-mail: jgsparks@earthlink.net --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : PULSIN2C.BAS URL : http://home.earthlink.net/~jgsparks/ee/programs.html --------------------------------------------------------------------- Description : The STAMP moniters the ringing of a telephone line which is "filtered" through a retriggerable monostable 74hct123. The STAMP determines whether a 2 second ring has occured (which is a normal ring) or a .8 second ring or a .4 second ring (which is an option available through most phone companies called "Distinctive Ring" or some other such name) has occured. The STAMP then turns on a relay to connect a given device to the phone line. This allows one phone line to connect to several devices selectively without the addition. of a second line. Each ring pattern is rung by a different phone number, so different phone numbers can be routed to different devices. ===================================================================== Title : Extended Stamp Memory [# 044] ===================================================================== Date : 960805 Author: Mark Antonucci/George Roberts E-mail: Mark_Antonucci@notes.teradyne.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : XMEM.ZIP URL : ftp://ftp.parallaxinc.com --------------------------------------------------------------------- Description : This text file and the associated .GIF details a customers method of expanding the Stamp II's program memory with additional EEPROM chips using a bank switching technique. ===================================================================== Title : Debate Stoplite [# 045] ===================================================================== Date : 960805 Author: Bob Coleman E-mail: reddyk@america.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: YES Filename : STOPLITE.BAS URL : N/A --------------------------------------------------------------------- Description : Using 4" square PVC fence post and 3 low voltage lamps with a Red, Green and Yellow lens,(all Home Depot) I constructed a stop light to be used in timing politi8cal debates. The components are: stamp, serial LCD and low wattage triacs for the lamps. When turned on the LCD display shows the default time. (3 minutes). Flipping a SPDT-center off switch increments or decrements the time by 5 seconds. Pressing a momentary push button starts the loop and the Green light comes on. The remaining time is displayed on the LCD. At 15 seconds remaining the Yellow light comes on and the Greeen goes off. At 5 seconds the Yellow flashes. At 0 seconds the Red light comes on and the process if ready for the next question. If the button is pressed during the loop it breaks in case someone actually talks shorter than the allowed time (Seldom happens). ===================================================================== Title : Digital nametag [# 046] ===================================================================== Date : 960911 Author: Greg Martin E-mail: gmartin@alaska.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : TACTAG.ZIP URL : http://www.hth.com/filelibrary/bs2-ic --------------------------------------------------------------------- Description : A scrolling digital nametag, featuring the Basic Stamp II, and the "serial backpack" with 2 line LCD display from Scott Edwards Electronics. The original idea was to provide a "different" nametag for my wife who works for "Taco Bell" (a mexican fast-foods chain) The nametag is made in the shape of a taco, including ground beef, lettuce, and cheese; all made from folded or "grated" leather, painted or dyed to the proper color and glued in place. The BS-II IC is inlet into the upper back portion of the "taco", just above the serial backpack LCD module. The "works" being inlet into the leather "taco" are protected by a clear plastic sheet, made from the side of a 2 liter soda bottle and glued in place. 2 hinged clasps fasten the nametag to the clothing. Construction is straight forward, using 8 to 12 oz leather, leather dyes, epoxy glue, and various enamel model paints. The BS-II IC is soldered directly to wires leading to the leads for the backpack, serial port, and through a series diode (for reverse polarity protection) to a 9 volt battery on a long wire (so battery can be placed in pants pocket, while hidden by the apron) The serial port for programming is made from a small section of "snappable" SIP sockets, inlet into the taco, and epoxy'ed in place. Programming examples are rather crude, but with nearly $100.00 invested, time was of more importance than programming finesse. The serial backpack allows for the use of a few custom charactors, which I used to make a "taco" running the hurdles for a subroutine celebrating the 1996 Olympics. Using 2 custom charactors in alternating fashion, I was able to make the taco's "legs" appear to move as it ran across the lower line of the LCD display. I made it leap to the upper line at the point of the "hurdle", then drop back to the lower line to finish by "running" off the right side of the display. The remaining subroutines promote Taco Bell products, display our business name, and list my wife's name. It's not a practical idea, but has received quite a few compliments from customers, as well as the corporate staff at Taco Bell. The ZIP-file includes 2 photos of the "Digital nametag" in JPG-format. E-mail author for more info. ===================================================================== Title : ST506 Disk Seeking Demo Controller [# 047] ===================================================================== Date : 971018 Author: Quentin Lewis E-mail: bigqueue@tiac.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : http://www.tiac.net/users/bigqueue/robot/st506.htm --------------------------------------------------------------------- Description : I was going to talk to an elementary school class about computers and engineering and I wanted some stuff to "show and tell". I decided that just opening up a disk drive was not enough. I wanted to show them a drive "in action"....doing random seeks. The work described on the web page is a very simple stamp design. The code is included. The circuit and code makes an ST506 interfaced drive do random seeks. Please note that I actually implimented this with a 16MHz stamp, and even them, the step rate is a little slower than the drive would normally attain. The Basic interpreter just isn't a speed demon..but then again, you have to agree that it sure does allow you to pull together your ideas very quickly. (This small project took about 4 hours to build, code and debug.) 971018 - Updated code to use serial out instead of simple bit-banging of step pulses. This allows a standard Stamp to seek the disk quickly. (at least for the demo) I also removed the RANDOM I used to use for seeks. They just were not random enough. I made up a 52 entry look-up which "appears" to be pretty random. (to the naked eye) ===================================================================== Title : Robot: Multi-Stamps Communicate via Shared Memory [# 048] ===================================================================== Date : 961008 Author: Quentin Lewis E-mail: bigqueue@tiac.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : N/A URL : http://www.tiac.net/users/bigqueue/robot/linefoll.html --------------------------------------------------------------------- Description : I currently have a paper design for a line following robot at the above web page. The reason this design is so interesing is because each robot function is controlled by a Basic Stamp. The Basic Stamps communicate with each other using shared memory in a serial RAM. Each Stamp has their own space in this RAM, and other stamps (particularly) the master controller) can make changes and send the other stamps commands....therby coordinating the actions of all the controllers. The key to this is a fast serial RAM (reletive to the Stamp speed), and a fast arbitration scheme. Arbitration is done with a PAL. Schematics and PAL equations are availible on the Web Page. Code will be made availible as it is completed and tested. I will post pictures and a write up of results when the actual unit is built. NOTE: The design actually uses both BS-1 and BS-2 Stamps. ===================================================================== Title : NiMH Battery Charger/Conditioner [# 049] ===================================================================== Date : 961019 Author: Bob Blick E-mail: bob@ert.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : http://www.bobblick.com/bob/stamp/charger.html --------------------------------------------------------------------- Description : Battery charger/conditioner for Toshiba NiMH laptop computer batteries. 12 volt and 18 volt input. Pictures, schematic, software on web site. ===================================================================== Title : 555 Timer as A/D Converter [# 050] ===================================================================== Date : 961019 Author: Bob Blick E-mail: bob@ert.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : http://www.bobblick.com/bob/stamp/555a_d.html --------------------------------------------------------------------- Description : Measure DC voltages with great accuracy with Basic Stamp 1 and 555 Timer chip. A/D Converters? We don't need no stinking A/D Converters! ===================================================================== Title : Bits of Light [# 051] ===================================================================== Date : 961023 Author: Claus Kuehnel E-mail: ckuehnel@access.ch --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: YES Filename : N/A URL : E-Mail author --------------------------------------------------------------------- Description : Light measurement by TSL230 (TI) and convertion to RS232 by BS1. Published in Electronics World (Ja. 96). ===================================================================== Title : Process Control [# 052] ===================================================================== Date : 961024 Author: Juris Vanags E-mail: btc@EDZI.LZA.LV --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : 1. The process controll in biotechnology (in bioreactors) We usually take signals till 8 transducers : temperature, pH, oxygen, pressure, turbulence, gas flow rate, foam. For the ensuring the regulation of this values is used PID algorithms, because we need , for example for temperature the precision - 0.1 grad Cels. For example, the temperature is regulated by setting the heater and the electrical valve for inputing the cool water in the jacket of the reactor. The process is going relatively slowly. The dates is transfered to computer to WINDOWS programme. 2. The control of motor rotation with the help of Hall transducer. 3. The process controll in food industry. For example the dosation till 5 components in the vessel. 4. The process controll in ecology. ===================================================================== Title : Near Space Capsule [# 053] ===================================================================== Date : 961122 Author: Lloyd Verhage E-mail: verhage@humec.ksu.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : asimovv2.bs2 URL : N/A --------------------------------------------------------------------- Description : Kansas NSP used a BS2 to control a near space capsule. The capsule is a styrofoam box with amateur radio gear to provide telemetry. The BS2 operated the radio, collected physical data, operated cameras, and collected data from a GPS receiver. Data was telemetered to ground stations via packet radio. Maximum altitude reached was 90,200 feet. Information and code will be given by author upon request. ===================================================================== Title : PIC Debugger [# 054] ===================================================================== Date : 961122 Author: Hoss Karoly E-mail: dexter@mail.bekesnet.hu --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This is probably too trivial for a stamp/pic guru but I used my bs1 to debug programs instead of expensive emulators I used a simple serout routine in my pic project and a serin too :) And from the stamp after filtering it went to an lcd-bacpack or with the debug command directly on screen if you use an eeprom device it's easy to modify the proggie between steps but if you use serin at the beginning you can make set the breakpoints too. ===================================================================== Title : DS1820 Temp Sensor [# 055] ===================================================================== Date : 961122 Author: Hoss Karoly E-mail: dexter@mail.bekesnet.hu --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Have you ever dreamed of using a dallas 1820 temp sensor with a BS1 ? I did and managed to make the code for a pic 16c84 to connect it to the BS1 at 2400 baud you can measure temp from -55 to 125 degree centigrade. iIf you need the code drop me a line the components are... 7805 voltage regulator pic16c84 4mhz ceramic resonator 1kOhm resistor 1 microfarad power filter ===================================================================== Title : Air muscle hexapod robot [# 056] ===================================================================== Date : 961128 Author: Marcus Baker E-mail: Marcus@Shadow.org.uk --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The robot is a technology demonstrator. It demonstrates the feasability of using a pneumatic actuator in an autonomous robot. The vehicle measures approx. 50cm. accross and is made of plastic. It uses Shadow air muscles as the actuator and a Stamp II as the controller. The robot is currently 'dumb' having no sensors, but it should be available for showing at the Robotix 97 event in Glasgow, Scotland, in March. At that time it should be capable of wall following at least. The 6 Stamp controller outputs drive ULM2803 pulldown drivers which control Mead Isonic 3/2 valves connected to 15cm. Shadow air muscles. The baseunit is a 486 PC running OS/2 3.0 using the supplied Stamp software for compilation and the EPM 6.0 editor for program editing. More info will be available from the 'Shadow robot group' web sight to be live shortly. ===================================================================== Title : Lights [# 057] ===================================================================== Date : 961130 Author: Jon Williams E-mail: jonwms@aol.com --------------------------------------------------------------------- Stamp model : BASIC Stamp/BS1-IC/Counterfeit Code available: YES Filename : LIGHTS.ZIP URL : http://members.aol.com/jonwms --------------------------------------------------------------------- Description : A simple 6-channel lighting controller. This program stores light patterns in the Stamp's EEPROM, uses a pushbutton switch to select a pattern and a POTentiomenter to adjust the speed. ===================================================================== Title : Caller-ID Interface [# 058] ===================================================================== Date : 961206 Author: J. Gary Sparks E-mail: jgsparks@earthlink.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : CID24.BS2 URL : http://home.earthlink.net/~jgsparks/ee/programs.html --------------------------------------------------------------------- Description : This program interfaces the STAMP II to the Motorola MC145447 caller- ID demodulator. The program reads in the caller-id data, stores it in EEPROM, and outputs the info on the serial LCD back- pack. The program also allows selection of up to 10 telephone numbers which are called "blocked numbers." If a "blocked number" calls, the program can choose to inhibit that call from reaching the telephone or answering machine, etc. ===================================================================== Title : Wind speed and wind direction measurement device [# 059] ===================================================================== Date : 971211 Author: Demetrios Bechrakis E-mail: dmpexr@rodopi.cc.duth.gr --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : ANEM2ENG.BS2 URL : http://rodopi.cc.duth.gr/~dmpexr/pinfo.html --------------------------------------------------------------------- Description : A small, autonomous device wich measures wind speed and wind direction. These signals are being processed, extracting the average of each magnitude and the standard deviation of wind speed. Then, all these together with the corresponding time and date can be stored in EEPROM (32 KB). A 2-line LCD and a small speaker support our system for better communication. Interference with programme's functions is accomplished via a RS-232 port. ===================================================================== Title : Calibrated Dust Feeder for Air Cleaner Tests [# 060] ===================================================================== Date : 961220 Author: Dennis L. Johnson E-mail: djohnson@linkup.net --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : I used a basic stamp for a calibrated dust feeder of my own design. A potentiometer adjusted the dust feed rate and an LCD showed the rate selected in grams per minute. A stepper motor and dust injector were other major components of the system. Actual dust rates achieved were linear within 0.2 percent of the display value. Code is available by e-mailing the author. ===================================================================== Title : Use of a Serial EEPROM as a Lookup Table [# 061] ===================================================================== Date : 961220 Author: Peter H. Anderson E-mail: pha@access.digex.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : http://www.access.digex.net/~pha --------------------------------------------------------------------- Description : This application illustrates how to use a serial 93C56 EEPROM as a look up table in performing calculations which are beyond the Stamp's capabilities. The setting is a familiar one of measuring temperature; a free running 555 with an NTC thermistor. The Stamp measures t_low and from this R_therm can be determined and knowing the characteristics of the thermistor, the temperature can be determined. However, such calculations are beyond the capability of the Stamp. Thus, in this application, a lookup table was first developed using a spreadsheet. The table was then programmed into EEPROM using the parallel port. See http://www.access.digex.net/~pha/printer/eeprom/eeprom.html. The programmed EEPROM is then interfaced with the Stamp. The Stamp measures t_low using the pulsin command. This is then mapped into an address and the Stamp then reads the quantity programmed at that address. This is then converted to decimal and output to a terminal. See http://www.access.digex.net/~pha/stamp/. I wrote this application around measuring temperature as it is familiar to Stamp enthusiasts. But, my real intent was to show how a preprogrammed external serial EEPROM may be used in any application requiring calculation capability which is beyond the Stamp. Another intent was to offer that one might consider the parallel port as a valuable tool in developing and debugging Stamp applications. That is, get the application running on a junk PC using the parallel port where you have all of the debugging tools. Once you get it working, it is a simple matter to then port it to the Stamp environment. ===================================================================== Title : Displaying Quantities on a 200 mV Panel Meter [# 062] ===================================================================== Date : 970104 Author: Peter H. Anderson E-mail: pha@access.digex.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : http://www.access.digex.net/~pha/stamp --------------------------------------------------------------------- Description : This discussion shows how to use a 200 mV Panel Meter with a Basic Stamp. This allows you to display such numeric quantities as voltage, temperature, pH, RPM or compass bearing using the PWM command. This approach uses only a single pin on the Stamp and requires a minimum of code and is thus a nice alternative to an LCD character display which uses many more pins and requires a considerable amount of code. 200 mV Panel meters are available from most discount electronics firms for less than $10.00. They are self contained voltmeters with an input impedance greater than 100 Meg and are capable of displaying to 199.9 mV. However, the decimal point may be strapped such that this appears as zero to 1.999, 19.99, 199.9 or 1999. Panel meters may be powered from 9 to 12 VDC with a typical drain of 1 mA. ===================================================================== Title : Programmable Proportional Air Valve [# 063] ===================================================================== Date : 970105 Author: Paul Arnold E-mail: pjastro@sprintmail.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Stamp controller was interfaced to a industrial proportional air valve via bcd inputs. ISI Model PV1 0-50psi. Interface was a 74ls164 serial/parallel converter. Serial interface for a PC connection was provided using a Max232 driver. I had to be sure my port was up to standards. I alsoprovided one +24vdc input to start/stop a program profile. The purpose of the system was to control the nip force between a winding package and drive roll, resulting in a improved package formation. The system could be used with an existing control system or be run from a PC. Psi values could be entered directly from PC or provided from a stored program in the Stamp. I recently found a new commerical valve that has rs232/485 interface built in. Interfacing a Stamp would be snap. ===================================================================== Title : Basic Stamp machine control application [# 064] ===================================================================== Date : 970105 Author: Stuart Fisher E-mail: N/A --------------------------------------------------------------------- Stamp model : BASIC Stamp/BS2-IC Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Most of the automation machines we make use the BASIC STAMP (some I, some II) to control them. In one of the last machines we shipped we used a Basic Stamp II to control an "on-line" cutting machine for plastic extrusions which simutaneously also bagged the cut pcs. ready for shipment. The machine had a 1X16 display, two of our "2 IN - OUT 4" step motor controller boards to drive two step motors that were assembled into a feed system. The operator by using two pushbutton switches, one for longer and one for shorter, was able to set the cut length on the display. Simarily the operator could set the no. of pcs. that were to go into each bag. The Stamp also displayed the running count of the pcs. being cut. We have found the Stamp computers to be an extremely reliable and economical method to control the machines we manufacture. ===================================================================== Title : Compass Interface for Navigation [# 065] ===================================================================== Date : 970107 Author: Ingo Cyliax E-mail: cyliax@cs.indiana.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : compass1.bs2, compass2.bs2, cordic1.bs2 URL : ftp://ftp.cs.indiana.edu/pub/goo/Stamp --------------------------------------------------------------------- Description : This is a project for an upcoming article in Circuit Cellar INK on robot navigation. The project involves interfacing a Stamp2 with a Precision Navigation Inc V2X compass module. There are 2 programs, compass1.bs2, which reads the X and Y field strengths from the magnetometer and compass2.bs2, which implements a simple naviation system suitable for robotics. The program uses the CORDIC algorithm to calculate trig functions to 12 bits of resolution. cordic1.bs2 is a stanalone CORDIC program which calculates Sin and Cos. ===================================================================== Title : Truck + ? identification [# 066] ===================================================================== Date : 970121 Author: Bas Laurier E-mail: blaurier@worldaccess.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : With the stamp2 we identified everything that was hooked up to a truck using TI's tiris equipment. Also the position where the equipment was picked up and dropped was monitored using a navigation sytem called syletrack. This was then transmitted using the syletrack telemetry system ,so all the movements of trucks + load could be monitored from the office. This system used radionavigaion beacons with an accuracy of +/- 30 feet. This because gps won't work in city's with high structures. Interested in information send me an e-mail. ===================================================================== Title : Meteoreological Station [# 067] ===================================================================== Date : 970122 Author: Paride Odierna E-mail: odierna@olivettiricerca.it --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.geocities.com/SiliconValley/Heights/259 --------------------------------------------------------------------- Description : I have built a very simple meteorological station around a STAMP II. Every minute the stamp wakes up and send to a connected computer the temperature reading, the pressure reading , the overall lux reading, the humidity reading and if it is raining or not. Code and hardware specs are available via email. ===================================================================== Title : Stamp Controls Electronic Tester for flex circuits [# 068] ===================================================================== Date : 970126 Author: Norm Helman E-mail: nhelman@mail.idt.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : A BASIC Stamp II controls the motion of air solenoids and monitors switches, both limit and operator interface, in an opens/shorts tester for flex circuits. The stamp communicates with a PC control application serially, and controls all timing and most sequences of operation that allows the operator to insert the part, close the lid, wait from 2-6 seconds, lift lid and remove the tested and marked part. The PC operates the overall user interface and the opens/shorts tester and depends on the stamp for all sequencing operations. The Stamp resides on a custom pc board along with a series of high current drivers, LED drivers, optical switch conditioners, and voltage regulators. The Stamp program connection are fitted to a DB9 in the box rear with the control board interfaced through a 44 pin edge connector. The control board is generic for many different tester designs and features a prototype area for specific circuitry for a given tester. Some testers are complex that all but a few bytes of program storage is needed for the application. The Stamp was chosen because of the ease of programming for many different testers which relates to faster turn-around and lower cost. Some designs use the LCD interface from Scott Edwards for display and others interface to step motor control systems. ===================================================================== Title : Game Timer [# 069] ===================================================================== Date : 970205 Author: Philip Mork E-mail: p_mork@conknet.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : tick22.bas URL : ftp://ftp.parallaxinc.com/pub/basic/ --------------------------------------------------------------------- Description : Tick tock game timer ticks for 1/2, 1, 2, or 3 min, then buzz (last 16 sec. has suspense theme). 32 ohm Speaker (or piezo speaker) connected through 10uF cap to pin 0 buttons on pins 6 & 7 to gnd with pullup resistor to 5v 'LEDs to gnd through 220 ohm resistor on pins 2-5 (this is the same hookup as BTN_JUKE.BAS). LEDs indicate duration: 1/2, 1, 2, or 3 min. Button 7 starts/stops timer, Button 6 changes duration. ===================================================================== Title : Photoghrapic light meter [# 070] ===================================================================== Date : 970209 Author: Robert Hoar E-mail: losa@susanandred.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : http://www.susanandred.com --------------------------------------------------------------------- Description : Instead of buying a $300.00 dollar digital light meter for my photography, a simple one was created by nothing more than reading a cds cell using the pot command, then converting it to a f-stop which is displayed on a optrex LCD. ===================================================================== Title : Data System Remote Control on unmanned aircraft [# 071] ===================================================================== Date : 970210 Author: Wayne Maynard E-mail: wmaynard@artsci.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : A combination of BS1 and BS2-IC devices were used to implement a remote control system for the flight test data acquisition system on board the DarkStar unmanned aircraft (Tier III- program). Control commands were sent to the aircraft by hardwire (on the ground), UHF radio modems and SATCOM modems. World wide control was available via the SATCOM link. Remote control commands were decoded and implemented using a series of Stamp processors. The stamp processors were chosen because of their size and simplicity. Implementation was relatively simple, easy to program and performed flawlessly. ===================================================================== Title : Speaking Instructor [# 072] ===================================================================== Date : 970211 Author: E. Sies E-mail: esies@best.ms.philips.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : For a psychology reseacher at the university of Leiden in the Netherlands I constructed a record/replay cassette recorder that has a very simple two button user control interface. The idea is that with one button a short (max 15 sec.) instruction or audio record can be played from tape. The second button makes the unit to repeats the record/instruction played last. The unit is also used to record the tape, for that purpose the normal record/play/wind/rewind/stop buttons on the recorder itself are to be used by the 'supervisor'. For the 'pupil only the two buttons are accessible, the others are concealed. The purpose is to help a visually/mentally retarded person to do some activity by means of some kind of instruction queue. An alternative is a deck of cards with instructions on it, but an audio queue is in some cases advantageous. The project uses a Basic Stamp I, together with an ISD1000 sound chip for storing/replaying the last message/record played from tape and a NE567 tone decoder chip for the record separation 'roger beep'. ===================================================================== Title : Small Mobile Robot [# 073] ===================================================================== Date : 970223 Author: Jameel Ahed E-mail: ahed@uiuc.edu --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Small mobile robot. With 5 axis robotic arm with gripper. Fully controlled by stamp and the use of the Mini SSC. ===================================================================== Title : R/C helicopter altitude control unit [# 074] ===================================================================== Date : 970227 Author: Peter van Lievenoogen E-mail: bcans@glo.be --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : I use an ultrasonic distance measurement to control the pitch from my helicopter the servo output for the pitch servo is connected to the basic stamp the pulsin command is used to check the position of the altitude knob when the knob is in the center, the altitude stays stabile when I reach a threshold downwards or upwards the intern variable for altitude will increment or decrement and the helicopter will fly at the selected altitude. The speed for changing depend on the position of the knob on the remote control unit the range of the system is from 15 cm to 250 cm this is not much but for teaching a good way of starting. A compass sensor is used to adjust the tail rotor so the helicopter turns never to you. In an future version I will make the system interactive so when the remote control unit turns the helicopter turns also, I mean when the antenna points to north then points the helicopter also to north , when you turn the control unit then the helicopter turns also. With the right program its possible to used a new system to fly a R/C helicopter and make it easy for everybody when you point the stick away from you the helicopter goes away, not depending the position of the helicopter the same for left right and to you . When you trust the device it gives you a peace feeling. Think how it will fly and dream coos it doesn't exist now but with some help from everybody it will fly. Ps: My latest dream is a helmet, two cameras, binocular vision gear, clinoangel measurement on the helicopter and on the control helmet software and lots off fun I hope you get the idea "virtual reality and flying like a bird" for question and idea's please contact me at bcans@glo.be. ===================================================================== Title : Automobile Rally Odometer Interface to Laptop [# 075] ===================================================================== Date : 970311 Author: Roger Sanderson E-mail: rsanders@ece.uwaterloo.ca --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The Basic Stamp 1 is used to interface pulses taken from the cruise control sender of a car. The BS1 accumulates a count of the pulses, and when requested will send the count to a Laptop PC via the serial port. The pulses are squared up with an op-amp circuit and then sent to an input pin of the Stamp. There is also an RS-232 serial recieve and transmit signal connected to the laptop. ===================================================================== Title : LCD drivers [# 076] ===================================================================== Date : 970311 Author: Jon Williams, Tracy Allen, Martin Kratz E-mail: martin.kratz@mail.telepac.pt --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : LCDDRIV.ZIP URL : http://www.hth.com/filelibrary/bs2-ic --------------------------------------------------------------------- Description : Here are some neat LCD driver subroutines I wrote for a little StampII project. The code is mainly an elaborated extract out of Jon Williams' LCDTHERM.BS2 thermometer s/w (the one included in the STAMP2.ZIP downloadable from the Parallax server, and the only one where there are no carriage returns but only line feeds, except for the first line, thus crashing some text editors). I thought maybe some people might find these routines useful for dealing with 1x16 LCD display modules with parallel bus i/f and the notorious Hitatchi HD44780 controller. The routines perform the following: CmdLCD: Sends command in Char to LCD EE2LCD: Displays EEPROM data starting at LCDstr on LCD; destroys data in Char Str0LCD: Clears the LCD and displays EEPROM data starting at LCDstr and ending at LCDend on LCD; destroys data in Char StrLCD: Sends EEPROM data starting at LCDstr and ending at LCDend to LCD; destroys data in Char Hex4LCD: Displays a 4-digit hex number in LCDnum; also works fine for BCD; destroys data in Char Hex3LCD: Displays a 3-digit hex number in LCDnum; also works fine for BCD; destroys data in Char Hex2LCD: Displays a 2-digit hex number in LCDnum; also works fine for BCD; destroys data in Char Hex1LCD: Displays a 1-digit hex number in LCDnum; also works fine for BCD; destroys data in Char HexLCD: Displays 1-digit hex value in Char; if Char holds a value >15, unusual characters may appear on LCD; alters data in Char LCD1: Displays last digit of value in LCDnum; destroys data in Char LCD2: Displays last two digits of value in LCDnum; destroys data in Char LCD3: Displays last three digits of value in LCDnum; destroys data in Char LCD4: Displays last four digits of value in LCDnum; destroys data in Char LCD5: Displays all five digits of value in LCDnum; destroys data in Char NumLCD: Displays 1-digit value in Char; if Char holds a value >9, odd characters may appear on LCD; alters data in Char SpcLCD: Displays a single blank; destroys data in Char DatLCD: Displays ASCII character in Char WrLCD: Sends byte to LCD Rtn: Simply RETURNs; may be used for conditioned returns: IF condition THEN Rtn Maybe the routines are hard to read in the first place, but the *very* limited program space regretfully has revived all the bad, old day's "spaghetti booleognese" and "virtual gravity" (subroutines with multiple entry points, performing the more, the earlier you enter) habits we all thought to have overcome in the last years... Even GOTOs are back on stage... You might notice that I labelled one RETURN line with the label Rtn, thus allowing for IF-conditioned RETURNs from anywhere in my program. ===================================================================== Title : Stamp I / PC Interface Demo [# 077] ===================================================================== Date : 970317 Author: Dave Jones E-mail: MDJones000@aol.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : STAMPCOM.ZIP URL : ftp.parallaxinc.com/pub/pub_up/ --------------------------------------------------------------------- Description : STAMPCOM.ZIP consists of two files: STAMPCOM.BS1 ==> PBASIC program for the Stamp I. I believe this program to be "bug free". STAMPCOM.BAS ==> QuickBASIC v4.5 program for the PC. This program allows communication with the Stamp and offers these choices: 1) Download data from the random number generator onboard the Stamp, and write to disk file. (works fine) 2) Download the data from all the memory addresses of Stamp's EEPROM, and write to disk file. (works fine) 3) Accept keyboard input which is written to all unused EEPROM addresses as determined by a READ 255. Then, read-back all the EEPROM addresses verifying that you actually wrote to EEPROM. (This SUB has a bug in it. Data is not being detected at COM2 by the ON COM(2) GOSUB. I believe it will take very little to get it working. The rest of the code works fine when tested in sections. 4) A Help SUB which works, but is mostly just a shell. 5) An opportunity to quit at every menu. (works fine) ===================================================================== Title : Stamp Photo Meter [# 078] ===================================================================== Date : 970319 Author: Robert Hoar E-mail: losa@susanandred.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : METER.BAS URL : http://www.susanandred.com --------------------------------------------------------------------- Description : Here is the code for my photographic f-stop meter. If anyone can clean up the code, let me know. ===================================================================== Title : Stiquito(TM) 97 HexaPod Robot [# 079] ===================================================================== Date : 970321 Author: Jonathan W. Mills E-mail: jwmills@cs.indiana.edu (will reply as quickly as possible) --------------------------------------------------------------------- Stamp model : BS2-IC Code available: Yes Filename : Links on "Robotics Research" section of web page URL : http://www.cs.indiana.edu/hyplan/jwmills --------------------------------------------------------------------- Description : Stiquito 97 is a hexapod robot based on a 1.25"W x 2.75"L PC board that integrates six individually controlled nitinol-actuated legs with a BASIC Stamp 2 and one ULN2003 driver. It can crawl indefinitely at 8in/minute maximum (40ft/hour) powered by a two- wire tether, or operate independently for 30-40 minutes from a 9V NiCad battery. A prototyping area for I/O pins allows sensors and effectors to be added. The PC board allows for: - one gripper operating in x-plane to secure lightweight objects for retrieval; no lifting capability - attachment points for pen (to leave "pheromone" trail) - one programmable LED on rear ("firefly light") - one to four photosensors that can be configured to follow lines, or seek other robots or light sources - one to four tactile sensors (pressure or "bump" sensors) - two message-passing "antennae" (one send, one receive) can be used to implement feeding, location-finding, and inter- robot interactions (communication, "robot sex", predation, etc.) by transmitting serial data packets when antennae touch (use open-collector mode with SEROUT; tie "antenna" to BS2-IC regulated +5V with 1Kohm resistor) The sensors and effectors are simple and biologically plausible, each having an analog to an insect or arthropod organ: - gripper <--> mandible - pen in holder <--> pheromone deposition - programmable LED <--> bioluminescence - photosensors <--> simple eyes - tactile sensors <--> bristles or hairs - message-passing "antennae" <--> antennae, genitalia, mouth These capabilities are suited for the study of swarm behaviors with a robot colony, the purpose of this design. No kits are available, but the PC board art, the robot design, and code has been placed in the public domain. It may be used freely for educational and commercial purposes. No permission is necessary, but the name "Stiquito" is a trademark of Indiana University, and must be acknowledged. ===================================================================== Title : XRaCS DTMF Radio X10 Control with Voice Response [# 080] ===================================================================== Date : 970331 Author: Chris Arndt E-mail: carndt@slonet.org --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : XRACS.ZIP URL : http://www.hth.com/filelibrary/BS2-IC/ --------------------------------------------------------------------- Description : XRaCS uses a BS2, radio tranceiver, DTMF receiver chip, CTCSS decoder, X10 TW523 interface, an RC Systems speech synthesizer, and a few glue parts. It is a DTMF (TouchTone) controlled radio X10 interface that responds to commands over the radio with synthesized voice feedback. The operator transmits a single digit for the house code, listens for confirmation, 2 digits for the unit, listens, and then a letter for ON or OFF. XRaCS speaks the command, and then identifies itself. As the commands are transmitted, they are sent to the TW523 interface and then to the AC line. The BS2 Basic program is available at the Parallax ftp site, and an article describing XRaCS was published in the March 1997 issue of Circuit Cellar Ink, p. 20. There are provisions in the program, and extra pins on the BS2, for adding other functions to the device. ===================================================================== Title : Interfacing the Basic Stamp 2 with I2C Devices [# 081] ===================================================================== Date : 970402 Author: Peter H. Anderson E-mail: pha@access.digex.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : URL : http://www.access.digex.net/~pha/stamp --------------------------------------------------------------------- Description : This application illustrates how to interface with various devices using the Philips Inter IC (I2C) bus protocol. The I2C protocol is a 2-wire interface and multiple devices may share the same 2-wire bus. Specific applications which are illustrated include; 1. Microchip 24LC32 Serial EEPROM. This provides 4096 bytes of EEPROM which may be used for table look up or for storing data. 2. Dallas DS1621 Thermometer / Thermostat. This is the 2-W I2C version of the popular DS1620. 3. Dallas DS1803 Dual Potentiometer. This permits the Stamp to vary a potentiometer in 256 steps. 10K, 50K and 100K Ohm models are available. These discussions are available at... http://www.access.digex.net/~pha/stamp. Note that each of these devices has a unique 4-bit product ident- ifying code which is assigned by the manufacturer. This permits various combinations of different devices to appear on the same 2-wire bus. In addition, each of these devices provides three address terminals which are hard wired so as to permit the addressing of up to eight of the same device on the bus. For example, a user could configure eight DS1621 Thermometers and eight 24LC32 EEPROMs on the same 2-wire bus. In the future, this discussion will be extended to include A/D and D/A, a real time clock and an I/O expander. I2C devices are typically less than US $5.00. This along with their availability makes them very attractive in adding capabilities to the Stamp. In addition, an interface between the PC Parallel Port and the 24LC32 Serial EEPROM is described. The parallel port may be used to program a look up table in a Stamp application. It may also be used in uploading data which has been acquired by a Stamp based data logger. The data may then be saved to a file and analyzed using spreadsheet or other analysis tools on a PC which are beyond the capability of a Stamp. ===================================================================== Title : The WeatherStamp Meteorological Station [# 082] ===================================================================== Date : 970901 Author: Matt Parnell E-mail: tparnell@oeonline.com --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: Yes Filename : N/A URL : http://www.oeonline.com/~tparnell/index.html --------------------------------------------------------------------- Description : A BS2SX Based weather station that can monitor the following: - Wind Speed (and peak gusts) - Wind Direction - Rainfall Accumulation - Barometric Pressure - Temperature (at up to four locations) - Relative Humidity - Current Time & Date The software will also support a keypad and LCD user interface, and a PC-Board Kit is available. ===================================================================== Title : Maxxum 7000 Remote Release Widget [# 083] ===================================================================== Date : 970427 Author: Quentin Lewis E-mail: bigqueue@tiac.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : MAXXUM.TXT URL : http://www.tiac.net/users/bigqueue/robot/maxxum.html --------------------------------------------------------------------- Description : Utilizing a Stamp to add extended long-exposure bracketing, and long-timed auto-shot capability to the Maxxum. The Maxxum 7000 has an electronic remote shutter release, so the Stamp fits right in. See more info at the authors web-site at... http://www.tiac.net/users/bigqueue/robot/maxxum.html ===================================================================== Title : Xs And Os games for college project [# 084] ===================================================================== Date : 970429 Author: Niall Hickey E-mail: nylh@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : STAMP controlled digital circuit. 9 bipolar LEDS represent the 3x3 grid for playing. Two man7seg displays the current score( up to a max of 9 to 8) these are driven by to bcd to 7seg display drivers. To save on i/o pins a 74c922 keypad decoder is used. Currently this is multiplexed with the display drivers and sometimes causes a problem. If you want the code e-mail me and I will fill you in on the problems. ===================================================================== Title : Stamp II Mouse Emulator (Version 6) [# 085] ===================================================================== Date : 970505 Author: Beau Schwabe E-mail: bschwabe@ionet.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : MOUSTAMP.EXE URL : http://www.ionet.net/~bschwabe/BasicStampII --------------------------------------------------------------------- Description : Use a BASIC Stamp II to emulate a MS mouse. Source code and schema is available at the authors web-site. ===================================================================== Title : Basic Alarm System [# 086] ===================================================================== Date : 970515 Author: Stanley "Al" Sines E-mail: sasine@aol.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : I use a Basic Stamp II to monitor up to 8 alarm points. The alarm points can be normally closed magnetic swithes, motion sensors or what have you. There is a 2X20 LCD to display the current mode of the alarm system. When a sensor is tripped a local audio alarm goes on, X10 signals are sent to turn on a lamp or other device and the stamp calls your pager and reports the alarm along with which point (0-7) was tripped. The stamp will also seize the phone line and cut off any conversation in order to report the alarm. I recommend that you NOT have this call your local police department. You should do that after receiving notification on your pager. I use this alarm system for my detached storage shed since it only has two doors and two windows to monitor along with a motion sensor. I will provide a copy of the schematic along with the code, just send me an e-mail along with your snail mail address. I can email you the program listing but I will have to snail mail the schematic. ===================================================================== Title : Interfacing with a Printer [# 087] ===================================================================== Date : 970515 Author: Peter H. Anderson E-mail: pha@access.digex.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.access.digex.net/~pha/stamp --------------------------------------------------------------------- Description : This application shows how to interface a Basic Stamp 2 with a printer. This might be useful where a hard copy of a data logger is desired without using a PC. The technique uses two PCF8574 8-bit I/O Expanders. Use of the I2C bus protocol reduces the Stamp I/O that is required to two pins. The program uses about 25 percent of the BS2-IC program memory. However, much of the program might be also be used in interfacing with such other I2C devices as the PCF8591 A/D, DS1621 Digital Thermometer and 24LC32 EEPROM and additional PCF8574 Expanders. ===================================================================== Title : Dinosaur Quiz Game [# 088] ===================================================================== Date : 970605 Author: Rick Miller E-mail: rdmiller@execpc.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : My dad built a 3-meter tall Tyrannasaurus Rex out of wood and chicken-wire with a green vinyl tablecloth as its skin for a Halloween fair for the kids at his church. About one week before it was to happen, he asked me if I could "make some sort of electronic game" that would use his dinosaur as a prop. I made the game in a cardboard box with a breadboard and a stamp, mounted three extra-large push-buttons and two LEDs on the box for game control, big red LEDs in the dino's eyes and a loudspeaker in its throat. It helped randomize the quiz questions, blinked its scary eyes and occasionally "roared" when idle. Played success and failure tunes too, just like those rinky games of yore. ===================================================================== Title : Chemical Injection System [# 089] ===================================================================== Date : 970615 Author: Tom Sisk E-mail: msisk@nbnet.nb.ca --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The Stamp is used to inject chemical additives to bulk deliveries of fuel. The controller receives a pulse stream from the fuel flow meter and triggers an injection of the additive. The system meters the additive accurately regardless of flow rate and maintains a control of 1 liter additive per 3000 liter of fuel. Additionally, the Stamp monitors the additive for loss of flow and can stop the fuel delivery if required. Devices controlled are 12 VDC solenoids and valves. The switching device is a FET with current capability to 10A. More details are available by e-mailing the author. ===================================================================== Title : RS-232 connections between Stamp and host [# 090] ===================================================================== Date : 970628 Author: G. Rutherford E-mail: ruthven@swbell.net --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D/BS1-IC/BS2-IC Code available: Yes Filename : ROBOT1.ZIP URL : http://www.hth.com/filelibrary/ --------------------------------------------------------------------- Description : This is a demo / teaching file which will allow you to connect a STAMP to a host to share data or send commands from one to the other. It also includes a version for PIC 16C84 and PIC 16F84. ===================================================================== Title : Video Character Overlay Generator Controller [# 091] ===================================================================== Date : 970708 Author: Decade Engineering E-mail: decade@worldnet.att.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : STAMP.ZIP URL : http://www.decadenet.com/bob/bob.html --------------------------------------------------------------------- Description : This code offers a quick start for small system developers that want to use Decade's BOB-I video character overlay generator boards with BASIC Stamps. It's loaded with comments to help you understand how each of the four control registers has to be configured for setting desired modes of operation such as character/outline/background colors, blink rate, character sizes, overlay vs. local video generation, H & V start positions, etc. ===================================================================== Title : Suction tube depth measurement display [# 092] ===================================================================== Date : 970726 Author: W.v.Wingerden E-mail: 106707.617@compuserve.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : LADDERINTERFACE URL : N/A --------------------------------------------------------------------- Description : On a sandwinning suction tube dredger made 2 pressure transducers on the upper and lower suction tube The basic stamp made a calculation of these 2 values and displays the suction depth on a LCD display in the control desk. Also the basic stamp sends a RS-232 signal to a navigation computer. This computer displays a map of the dredge area and colors in the exact location and dredging depth with different colors depending of the depth. ===================================================================== Title : Electronic Compass with Basic Stamp 2 [# 093] ===================================================================== Date : 970810 Author: Paul Blom E-mail: prblom@zeelandnet.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This program interfaces the Stamp2 + LTC1298 a/d converter to an analog compass-sensor (PEWATRON , type 6070). The both outputsignals of the compass-sensor have a relation with the angle of the North/South meridian. The Stamp2 calculates this relation. The result is displayed on a LCD serial backpack in a scale of 0 to 360 degrees. The program is included a list for correction. Accuracy of the system is lesser than 1 degree. The compass is used in an industrial submersible. For more information , send e-mail. ===================================================================== Title : Event Logger with 8K 24C65 I2C memory [# 094] ===================================================================== Date : 010213 Author: Dave Forrest E-mail: dforrest@virginia.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : EV_LOG6.BS2 URL : http://mug.sys.virginia.edu/~drf5n/extras/ --------------------------------------------------------------------- Description : This program shows an ascii schematic and code for an event logger. It records intervals between contact changes in seconds and is capable of a 3 byte or 2^24 second interval (about 190 days.) The circuit as shown uses a Microchip 24C65 8K serial I2C eeprom to hold up to 4096 cycles. These chips could be piggybacked and extended to 8 chips or 64K of memory with minor program changes see http://www.microchip2.com/products/memory/allmem.htm#seprom for reference info on the memory I'm using this to monitor manufacturing machinery to study the downtime and machine efficiencies. ===================================================================== Title : Fixing the depth of a suction-pipe with the BS 2 [# 095] ===================================================================== Date : 970812 Author: Paul Blom E-mail: prblom@zeelandnet.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Two capacitive inclinometers are connected to a LTC1298 a/d converter and a Basic Stamp 2, the inclinometers are mounted on the two suction parts of a sand-dredger. The outputsignal of the inclinometers are dependent on the angle of the suction-pipi with the water-surface. The program calculates the depth of the mouth of the suction-pipe. The result is displayed on a LCD serial backpack. By using a second LTC1298 , it is possible to connect two extra signals for measure the level and the X-Y (pitch/roll) of the sand-dredger for corrections the depth in the program. For more information, send e-mail. ===================================================================== Title : Superchaser [# 096] ===================================================================== Date : 970820 Author: Ronald Nollet E-mail: nollet@mail.enternet.com.au --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : EEPROM12.BAS URL : http://people.enternet.com.au/~nollet --------------------------------------------------------------------- Description : Super light show, uses the serial eeprom for holding the light sequences. ===================================================================== Title : Corky'z Robotz [# 097] ===================================================================== Date : 970820 Author: Corky Mork E-mail: corky@conknet.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : ROBOT1.BAS URL : See text... --------------------------------------------------------------------- Description : Check out my Robotz web page. I detail the construction of a Stamp based robot which uses a TV remote and a couple of "dead" servos for locomotion. It's simple and fun, and it amazes me what can be done with a lowly Stamp I. http://www.geocities.com/SiliconValley/Park/1302/robotz.htm ===================================================================== Title : Cloudrider: analog network with BS2 and BS1's [# 098] ===================================================================== Date : 970913 Author: Dr.Godfried-Willem RAES E-mail: godfriedwillem.raes@ping.be --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.ping.be/logos/cloudrider.html --------------------------------------------------------------------- Description : The project is a piece of robotic sound sculpture, but the technical problem adressed in the software is much more general: overcoming the SERIN problems with BS1's when no data comes in (they wait for ever en cannot do anything). So we maded ed. Complete documented code available on request. It is not permament on our site: http://www.ping.be/logos ===================================================================== Title : Yet Another Real Time Clock, Dallas DS1287 [# 099] ===================================================================== Date : 970913 Author: David E Kitts E-mail: dkitts@ix.netcom.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : DS1287.ZIP URL : Soon at http://www.hth.com/ --------------------------------------------------------------------- Description : This program demonstrates the various standard features of a Dallas DS1287/DS12887 Real Time Clock (RTC). This large RTC chip is self contained with a battery and 32Khz xtal. No external components are needed and this chip is quite inexpensive for what it does. This program initializes the various configuration registers, sets the date/time and reads the time for display on a 2 line LCD backpack. An LED is initialized at a 2Hz rate to indicate a "heart- beat." The DS1287 is setup for operation in the Intel mode, pin 1 to GND. The data sheet (.PDF format) for the DS1287 (DS12887 is the latest version) is available on the Dallas website at www.dalsemi.com. I found this chip in an old 286 motherboard. I made three programs so that anyone could understand the basics of this chip. These three programs are zipped into one file. Once programmed, the DS1287 takes little Stamp memory space to run but does take allot of pins. The alarms features can be set by simply programming the proper registers. An "I don't care" mode can be setup so an alarm goes off every second, minute or hour. I do plan to convert this to a PIC later to recover a Stamp. ===================================================================== Title : Amateur RadioSatellite Tracking (Az/El) Controller [# 100] ===================================================================== Date : 971018 Author: Gene Brigman, KC4SA & Mark Hammond, KC4EBR E-mail: brigman@pinball.iopa.sc.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://pinball.iopa.sc.edu/~kc4sa --------------------------------------------------------------------- Description : The Stamp gets azimuth and elevation from a satellite orbit calculating program (WISP)running on a pc or mac. It gets current antenna position by A/D conversions on position pots in the two antenna rotators. It then compares the last known position of the rotators to the new position, decides which direction the antennas must move, then turns on relays that swing the rotators in the appropriate direction until the current position equals the new position. ===================================================================== Title : DTMF Decoder [# 101] ===================================================================== Date : 980107 Author: Eric Dynowski E-mail: BrokenBytes@brokenbytes.org --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : SOFTWARE.TXT URL : http://www.brokenbytes.org/dtmf --------------------------------------------------------------------- Description : Real time dtmf decoder, with 255 NV memory, 40x4 LCD Display, and Serial Datadump ===================================================================== Title : PC to STAMP via RS232 routines [# 102] ===================================================================== Date : 971202 Author: G. Rutherford E-mail: Ruthven@swbell.net --------------------------------------------------------------------- Stamp model : BASIC Stamp/BS1-IC/BS2-IC/PIC via compiler Code available: Yes Filename : PROTVER2.EXE URL : http://www.hth.com/filelibrary/ --------------------------------------------------------------------- Description : A self extracting file which produces a Microsoft Word ver 6 document on interfacing between the PC and a STAMP/PIC device. As well as the BASIC code in BS1, BS2, for uploading, and the file in QBASIC 4.5 for the PC. Also included is a packing list. Many comments in all software. ===================================================================== Title : PC Frequency Counter [# 103] ===================================================================== Date : 980120 Author: Al Williams E-mail: alw@al-williams.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : stampcom.zip URL : http://www.al-williams.com --------------------------------------------------------------------- Description : This app uses the Stamp II to read the frequency of a square wave on an input pin and sends the data to a PC using the serial port. Includes two different versions of the PC-side software; one in Visual Basic and the other in Visual C++. ===================================================================== Title : Sub-Millisecond Reaction Timer [# 104] ===================================================================== Date : 980131 Author: Flip Pihillips E-mail: flip@tvl.psy.ohio-state.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : See text below... --------------------------------------------------------------------- Description : This box uses 4060 and 4040 counters chanined together, along with the traditional 32.768kHz crystal to give 12 bits of 'time' to the stamp. Serial commands are sent from the host computer to tell it to start timing in a tight loop, when a button is pressed (one of three tied to three of the remaining stamp inputs) the stamps inputs tied to the timer are polled and the time is returned to the host. URL: http://tvl.psy.ohio-state.edu/~flip/Gallery/tick.html ===================================================================== Title : Computerized Dynamics Cart [# 105] ===================================================================== Date : 980131 Author: Kevin Retzke E-mail: kretzke@enteract.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : cdcfinal.bas URL : ftp:\\ftp.enteract.com\users\kretzke\ --------------------------------------------------------------------- Description : This came about from a physics project which I had a variety of choices to do, but I chose to enter the NSTA/Duracell competition which specifies you make a device that uses Duracell batteries. Since it was for Physics, it obviously it had to be physics-oriented. So, to get to the chase, it uses a photoreflector, a Scott Edwards Serial Backpack with a 2x16 LCD, a Solutions Cubed Pocket Watch B, and three switches mounted in a toy pickup truck. The photoreflector countes the number of white bars (on a striped disk mounted to a wheel in the truck) that pass by after the truck starts rolling (after being pushed or rolled down a ramp), the Pocket Watch B times the elapsed time of the roll (I reset the time to a tangible time and then get the difference when it stops rolling). Then the stamp displays elapsed time, distance traveled, average velocity and acceleration. ===================================================================== Title : Ham Radio Interface Using the Basic Stamp 2 [# 106] ===================================================================== Date : 981230 Author: David J. Hoffman E-mail: ke4fgw@vol.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : FT5100.BS2 URL : http://earth.vol.com/~ke4fgw/stamps/stamps.html --------------------------------------------------------------------- Description : This interface can control the Yaesu FT5100 Dual Band radio to do certain things through the microphone jack. It will allow you to remotely open your garage door(s) (if the rig is located at the house) through DTMF. You can also control the radio's PTT (push-to-talk), channel up, channel down, and band buttons. This interface uses the Basic Stamp 2 to decide on valid DTMF codes and acts accordingly. The Basic Stamp 2 will identify itself on-the-air in morse code. You can also page certain handheld and mobile radios with paging capabilities and activate repeater autopatches, identifing itself afterwards of course, all through DTMF. The Basic Stamp2 has been programmed with autodial numbers and codes to activate the radio. Actual program code is available. ===================================================================== Title : Remote tempsensors communicates over the power lines [# 107] ===================================================================== Date : 980210 Author: Christer Johansson E-mail: cj@hth.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : PLMTEMP.ZIP URL : http://www.hth.com/filelibrary/bs1-ic --------------------------------------------------------------------- Description : This remote tempsensor system use a BASIC Stamp connected to DS1620 tempsensor and an PLM-24 Power Line Modem. It's listen for a command from a PC also connected to the power line (mains) via a PLM-24. When the PC address and send a command to the BASIC Stamp it blinks a LED, measures the current temperature, and returns it to the PC along with a checksum (CRC). The PC checks the checksum and if it's OK it present the temperature on the screen, if not it asks for a re-transmission of the temperature. For more information about PLM-24 Power Line Modem see URL below... http://www.hth.com/plm-24/ Schematic and source code available in the ZIP-file ===================================================================== Title : Interfacing a BASIC Stamp to SRAM [# 108] ===================================================================== Date : 980222 Author: John McDonald E-mail: johnmcd@ix.netcom.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : appnote1.zip URL : http://www.netcom.com/~johnmcd/appnote1.zip --------------------------------------------------------------------- Description : This application note provides circuit diagrams, code listings and general information on various methods of interfacing a BASIC Stamp to Static RAM (SRAM) memory chips. ===================================================================== Title : Stepper controller pulse generator [# 109] ===================================================================== Date : 980312 Author: Ronald Nollet E-mail: nollet@mail.enternet.com.au --------------------------------------------------------------------- Stamp model : BS1-IC and BS2-IC Module Code available: Yes Filename : outindexer URL : http://people.enternet.com.au/~nollet --------------------------------------------------------------------- Description : Have been experimenting lately with some stepper motor control circuitry and found the following. (1) To run a stepper motor at high speed is beyond the capabilty of the present Basic Stamps due to the processing speed. The new SX coming will fix this hopefully. (2) To be able to run a stepper motor at high speed the pulse rate to a stepper motor control circuit really needs to be ramped up from slow to high in a fairly smooth linear way. A stepper motor will not move if you suddenly apply more than approx 4KHZ that's 10RPS when full stepping (voltage and current depended also so it is only an estimated value). (3) Lots of applications exist where we need to move a stepper motor from one point to the next point by monitoring for example switch inputs.(Simple point to point indexing) (4) So in order to do the above I wanted to utilize a Basic Stamp because it is very easy to program and it is very capable of monitoring single or even multiple inputs with commands like if pin1=1 (BS1) or commands like if ins =etc etc for the BS2. Found that both the present Stamps are certainly fast enough to capture an input and act very rapidly. So with all the above found out by testing. I spend sometime to develop a simple cheap control card that satisfies all the above criteria. Lets assume you wish to move a stepper motor from a know home location to different locations on for example a linear type actuator,along its travel install sensors that will detect the postion of the moving carriage driven by the stepper motor that we have control over by a BS2. These input signals can go direct to the BS2 and can be monitored very simply, these signals coming into the BS2 tell my little control card to start stop accelerate etc etc. My small control card takes only 4 signals from the BS2 to take full control of the rate of pulse to the stepper motor and also the ramp rate which is programmable via a multi-turn pot on the module itself. Also on the module is a max speed adjust that allows you to set the maximum speed of the pulses to the stepper motor control card.The BS2 sends direction signals (CW or CCW direct to the stepper control card). With this I was able to move a stepper motor very fast and also due to the fatc that the BS2 just monitors the inputs it acts very rapidly to my control card which has full control over the speed of the stepper motor. Just to make sure that we all understand correctly my control card does not actually drive the motor it just generates the pulses at high speed with ramping etc etc . Commonly available chipsets like the L297 and L298 from SGS actually drive the stepper motor. Personaly used a 23 frame stepper bi-polar driven stepper motor with the SGS chipset (current chopping etc etc) and did get very good results. Well how did we do all this used 2 of the old reliable 555 timers and a digital pot from Xicor type 9315W (10K 32 steps) I have this combination of goodies doing things that for example a unit costing $700-800 could do where as my cost of the whole kit is less than $300 that would include a stepper motor driver card with the L29XX series chips on it.(please make your own very easy to do) consult the SGS book for this an excellent design very easy to build. My module measures 60*40mm has screw terminals on it needs 5vdc to operate takes 4 signals from the BS2 or BS1 gives out a ramped pulse rate to a stepper motor driver. Anybody interested can contact me direct,this module will be available soon. I personally think it has lots of potential in the area of Factory Automation as the signals into my module can come from devices like PLC's or even PC and of course lest we forget the all mighty Stamps. Please I am all ears for feedback and other comments. ===================================================================== Title : Automatic rang caller [# 110] ===================================================================== Date : 980313 Author: Randy Tomac E-mail: Randy_Tomac@amway.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Automatic rang caller for my gun club. This uses the BS2 for control. Their are six push buttons for control activation and two LED indicators. The messages are generated from a DM58D Ming board. This is addressed by the stamp to address the sixteen messages in the proper order. Their is also an output for the target turner solenoid valve but the turners are not yet installed. The range caller has been operation for two years now and the shooters just love it. For source code e-mail the author. ===================================================================== Title : Automatic emergency broadcast system [# 111] ===================================================================== Date : 980313 Author: Randy Tomac E-mail: Randy_Tomac@amway.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This is an automatic emergency broadcast system. The BS2 resets the radio, selects the channel then selects and plays the proper message from a Ming DM58D board. It then increments to the next channel and repeats until all fifty eight channels have been broadcast on. The basic stamp then returns the system to normal operation. Used to broadcast Tornado evacuation and all clear signals over the two way communication system. A variant of above project are multiplexing banks of inputs so that 27 different inputs can be monitored to broadcast 27 different messages over two channels on the radios. This will also incorporate two Ming boards do to the fact that you can only store sixteen messages per board. For source code e-mail the author. ===================================================================== Title : BASIC Stamp I as an welding machine [# 112] ===================================================================== Date : 980315 Author: Kyriakos Enotiadis E-mail: doctorx@compulink.gr --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : WELDING4.BAS URL : N/A --------------------------------------------------------------------- Description : Stamp1 works very well as WELDING MACHINE.In this case Stamp1 drives via optoisolators 3 valves and electric power in sequence . This welding machine can welds 3 different points in sequence . At the begin Stamp1 wait to accept a low at pin I/O 4 to activate a welding machine.Two POT command available to control welding time and actuator time . ===================================================================== Title : PLM-24 to X-10 Gateway [# 113] ===================================================================== Date : 980323 Author: Christer Johansson E-mail: cj@hth.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : PLM2X10.ZIP URL : http://www.hth.com/filelibrary/bs2-ic --------------------------------------------------------------------- Description : The PLM-24 to X-10 Gateway lets you control existing X-10 modules and makes it easy to integrate PLM-24 with you existing HA setup. The gateway uses a PLM-24 Power Line Modem, one BS2-IC, one TW-523 (or PL-513), two LED's and eight switches (or other sensors). The eight switches gives you local control so you can control the X-10 modules manually or by a computer via a PLM-24 network. Two LED's indicates PLM-24 and X-10 transmissions. Schematic and source code available in the ZIP-file ===================================================================== Title : Semi-Automated Combusitible Gas Indicator Tester [# 114] ===================================================================== Date : 980324 Author: Jim Acord E-mail: jacord@indiana-gas.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : STAMP controls timing, sequence of a series of certified calibration gases, and purging of gases. STAMP drives an LCD display as an operator interface. ===================================================================== Title : Counter-rotating Servos [# 115] ===================================================================== Date : 980327 Author: John Boyle E-mail: sparky49@epix.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : counterr.bs2 URL : N/A --------------------------------------------------------------------- Description : I had a situation where two servos had to be counter-rotated by the same degree. This simple code takes the PWM signal from either a common RC receiver or other source and produces its mirror image in only fifteen lines of code. I didn't use the input signal to the stamp to directly control the first servo, as you can see in the code, but rather took if from one output of the Stamp. This made the operation of the first servo more reliable. The code includes a "wait loop" which forces the servos to mid- position in the event of signal loss, and incorporates checking for return-of-signal. There's also an output which I used to halt the entire system during loss-of-signal. I'm posting this because it occured to me that it could be used in robotic control where a turn-in-place 4-wheeled platform with all-electronic steering is desired. ===================================================================== Title : Joystick Controlled Robotic Arm [# 116] ===================================================================== Date : 980406 Author: Rob Weis E-mail: rob_weis@yahoo.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This program first calibrates a CH products Flightstick joystick and moves a four-axis Fischertechnik robotic arm according to the movements of the joystick. The key to joystick control of anything is the calibration. I tried a different version of the program that didn't calibrate, and the results were less than acceptable. If you have any questions, want the code, the schematic, or all three, E-Mail me at: rob_weis@yahoo.com. ===================================================================== Title : Anti Traction Control Device [# 117] ===================================================================== Date : 980407 Author: Del Schmelzer E-mail: N/A --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : CHEATER.BS1 URL : N/A --------------------------------------------------------------------- Description : Anti Traction control device used in dirt racing that monitors the left front wheel and left rear wheel. When the left rear wheel is out of range (R.P.M) reading this device turns on and output that retards ignition timing. This takes about 60 HP out of the motor. When the rear tire falls within a deadband the BS1-IC disables the output and power is resumed. This device is not legal for IMCA or other dirt track racing. ===================================================================== Title : Cat Chasing Lego Robot and Other Circuits [# 118] ===================================================================== Date : 980420 Author: Mark Crosbie E-mail: mcrosbie@cup.hp.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.best.com/~mcrosbie --------------------------------------------------------------------- Description : Having recently adopted two little kittens, I decided it was time to make electronics work for me for once. Thus the idea of a "Cat Chasing Robot" was born! My goal is to build a robot that will chase the cats, so I don't have to. It will be built from standard Lego parts, use a BS2 for control, and have a variety of sensors. Most importantly, I will try to build in my previous research on genetic programming so that the robot can learn new behaviours, and exhibit "fuzzy" reasoning. ===================================================================== Title : Camlift [# 119] ===================================================================== Date : 980512 Author: WJ Sherwood E-mail: wjs@perth.wni.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : camlift.bas URL : N/A --------------------------------------------------------------------- Description : Taken from Parallax Stamp Application Notes 2 and 13: Interfacing an A/D Converter (ADC0831) to acquire analog data and write it to a 512 byte EEPROM (93lc66). This is under control of an opto trigger sensing flywheel teeth as it is rotated and takes a reading from a linear pot monitoring the rocker arm movement for a total of 216 teeth (108 per rotation). A bicolour LED is connected to pin 7 and flashes red as each tooth is detected (normally green) until a full count is reached when it stays red and flickers (indicating serial data is being sent from pin 6 continuously. A 5 second pause between data transmissions allows the user to break the connection, capture the file and import into a spreadsheet for graphing. ===================================================================== Title : Control 15 Servos in Parallel [# 120] ===================================================================== Date : 980515 Author: Jonathan W. Mills E-mail: jwmills@cs.indiana.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.cs.indiana.edu/hyplan/jwmills/bs2.html --------------------------------------------------------------------- Description : Using PULSOUT as a microsecond-resolution timer, and by writing directly to the OUTS register, up to fifteen servomotors can be controlled in parallel -- one I/O pin is used by the PULSOUT instruction -- with each servomotor's rate of rotation and final position set independently. This technique has been used success- fully to build a single-Stamp controller that drives 12 servos on a hexapod robot. Parallel versions of many BASIC Stamp II instructions including PULSOUT, PWM, PULSIN, SERIN, SEROUT, and BUTTON can be programmed in PBASIC by using the PULSOUT instruction to access the Stamp's microsecond-resolution timer. ===================================================================== Title : 8 Digit "Smart" Alphanumeric Display [# 121] ===================================================================== Date : 980528 Author: Dave Miller E-mail: davmil@tenet.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The SIEMENS DL 1414T intelligent display is a 4 character alpha- numeric display that interfaces nicely with the STAMP II. Input is ASCII so commands like LOOKUP i,["DAVE"],letter SHIFTOUT ..... [letter] can be looped to display words. Adding an octal D type flip flop used as a shift register enables you to drive each 4 character unit with a single i/o pin. I discovered these displays in a bargain bin at a local electronics store. There were $2.95 apiece. I was impressed with the price and simpicity. Drop me an email if you want to see some code or any other details. ===================================================================== Title : Cycle Testing AC Motor Controller [# 122] ===================================================================== Date : 980604 Author: Bill Samek E-mail: wsamek@city-net.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : CYCLE.TXT URL : N/A --------------------------------------------------------------------- Description : I developed a cycle testing rig for the blind/shade industry to failure test various types of cords, plastic bushings, and components on a linear motion control fixture operated by a reversible AC motor. I needed a way to control the limit of travel on the trolley, the speed, timing, and number of cycles the component lasted (duration of operation and delay the trolley). I used a BASIC STAMP I to sense magnetic reed switches as travel limit sensors, control the motors direction and timing by interfacing the stamp to solid state relays, and to send counting pulses to a dedicated counter module from Radio Shack. The unit was very successful and versatile enough to re-programmed to accomodate various testing parameters. It is easily adaptable to any variety similar test fixtures. It was simple to set up and extremely easy to program. ===================================================================== Title : Controlling an LCD by BS2 via I2C Bus [# 123] ===================================================================== Date : 980624 Author: Claus Kuehnel E-mail: ckuehnel@access.ch --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : I2C_LCD.BS2 URL : http://www.access.ch/ckuehnel/download.htm --------------------------------------------------------------------- Description : Description of controlling a Chip-On-Glass-LCD-Modul with I2C-LCD- Controller PCF2116 by BS2. Published in Elrad magazine June 98 in German. Testprogram available for download on URL above. ===================================================================== Title : The Newcastle Robotic Bilby Project [# 124] ===================================================================== Date : 980714 Author: Ray Fairall and Angela Durie E-mail: asrgf@alinga.newcastle.edu.au --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : See text... --------------------------------------------------------------------- Description : A Bilby is a small Micro-Mouse like robot that runs a simple maze like path. They are designed to be built from scrap by High School students. There is a now a national competition for them in Australia. We have designed a selfcontained PCB which uses a Basic Stamp to fully control two steppers and read up to five sensors. We are now running the project for a second time. Our web page describes the project and provides construction details. It's still being constructed but soon will contain all the information needed to build an example. See http://www.newcastle.edu.au/department/av/bilby/bilby_in.htm ===================================================================== Title : The EM1 (Electric mule) [# 125] ===================================================================== Date : 980714 Author: Jim Lee E-mail: jjlee@concentric.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : See text... --------------------------------------------------------------------- Description : The EM1 is a robot built from a RC car chassie and uses around 13 BASIC Stamps. It's a test platform for my stamp products. There is code avalible if you want. But most of it is not very interesting. The more pertanate bits are on the linked web pages. Everything is here on the URL. http://www.concentric.net/~Jjlee/robotics/stampCarriers/theEM1.html ===================================================================== Title : Distance Measurement with GP2D02 SHARP Sensor [# 126] ===================================================================== Date : 980722 Author: A.C. Jacques E-mail: hydratec@plugue.com.br --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : ACSHARP.BS2 URL : N/A --------------------------------------------------------------------- Description : A simple code to interface a BS2 with the GP2D02 Sharp distance sensor. 8 bit output readings (5 Hz) from about 60 cm up to 10 cm. If you want the code send an email and ask for ACSHARP.BS2 file. ===================================================================== Title : TI82 Interface [# 127] ===================================================================== Date : 980730 Author: Jakob Selbing E-mail: jakob_selbing@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : BS2COM.ZIP URL : http://hem2.passagen.se/jaksel/ --------------------------------------------------------------------- Description : The TI82 interface is a program that interfaces with the Texas Instrument's 82 calculator (TI82), together with another program on the TI82, called BS2 Communicator(TM) that I wrote. The BS2 Communicator allows you to send single bytes from the TI82 to the BS2 at speeds up to about 320 bps, which isn't very fast, but it does the job. The TI82 inteface uses about 90 bytes of program memory, and a little RAM, so it should be easy adding it to your own BS2 program. Questions, suggestions, problems, downloads; mail me! ===================================================================== Title : Operator Interface for Multiple Stamps [# 128] ===================================================================== Date : 980805 Author: Adsett and Sisk E-mail: msisk@nbnet.nb.ca --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This software allows several stamps to be used as field data loggers or distributed controllers. They are polled by the interface software which can display analog or digital data in a number of graphical forms. The number of points monitored per stamp can vary as can the interrogation interval. The Windows '95 software is a simplified version of author Adsett's commercial operator interface for industrial controllers and PLC's. The stamps can be read from or written to to control outputs. Demos/info available Aug 31/98. ===================================================================== Title : Infrared Glucose (Blood Sugar) Monitor [# 129] ===================================================================== Date : 980810 Author: Jason Goldring E-mail: jason_goldring@philip-serv.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : While crude in it's initial design, I have worked with a Infrared Emitter and detector coupled to a stamp II and a LCD display to determine the CH bonds (Carbon) molecule content within a human. The carbon levels are then translated into an approximate blood sugar level. Best of all, this is a non-invasive device which does NOT require any blood samples or test strips. Preliminary results are promissing and the cost is well below $100 dollars from creation to completion. Email for more details. ===================================================================== Title : Fox For ham radio or Automated Propogation Beacon [# 130] ===================================================================== Date : 980812 Author: Gerald Crenshaw E-mail: gerryc@airmail.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : FOX12.ZIP URL : http://www.hth.com/filelibrary/bs2-ic/ --------------------------------------------------------------------- Description : Automated Fox for Amateur Radio Direction finding fox hunting or a Morse code ID and Keyer for a FM Propagation Beacon Station Propagation Becon station for HF will require changes to code. Sends Morse ID, then a tone for 1 minute, then pauses 1 minute, Loop ===================================================================== Title : GPS Data Overlay on Video [# 131] ===================================================================== Date : 980820 Author: Michael McCarty, KB8YHV E-mail: mmccarty@ite.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : GPS-ATCV.ZIP URL : http://www.cris.com/~gharlan --------------------------------------------------------------------- Description : Uses Decade Engineering's low-cost BOB-II video character overlay module with a GPS receiver to display Lat, Lon, and Time as text superimposed on video transmitted by a mobile camera platform. A complete description was published in Amateur Television Quarterly for Summer 1998 (ATVQ's URL is http://www.cris.com/~gharlan). ===================================================================== Title : 10Base-T Cable Tester [# 132] ===================================================================== Date : 980912 Author: Quentin Lewis E-mail: bigqueue@tiac.net --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : When wiring my daughters school with 10Base-T, it was obvious that we need some sort of cable tester to test the various connector crimps and punch-down block connections. I simply took the outputs of a BS1 and wired them (through series resistors) to the 8 pins of an RJ-45 male connector. I took 7 LEDS and wired them to another RJ-45 male connector. The LEDS were wired so that pin 8 could be driven high to suppot power (to all the anodes) and the other 7 pins could be stobed low one at a ti me so that a person at one end of the cable could see the "walking LEDs" pattern. (the 6 other outputs would be tristated) If any of the LEDs did not light, that wire was not connected right. If several lit at a time, there was a short.....if they lit in the wrong order, the wiring was not in the right order. (If noe lit, then it was probably pin 8 that was open) Anyways, it was about a 30 minute job to change the BS1 from a bare Basic Stamp to a very usefull RJ-45 cable tester. (and I found several problems in wiring thanks to that simply tester) Schema and source code available at... http://www.tiac.net/users/bigqueue/robot/pix/rj45test.pdf ===================================================================== Title : Kodak DC40/50/120 camera control [# 133] ===================================================================== Date : 980922 Author: Mike DeMetz E-mail: miked@technologist.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : http://www.elkhart.net/~miked --------------------------------------------------------------------- Description : I used a BSII to control a Kodak DC50 digital camera mounted on a radio control helicopter. The BS2 controls the camera via the serial port. On reset it turns off flash, sets sleep time to maximum and zoom to 75%. The BS2 then watches a channel on the r/c receiver controlled by a switch on the transmitter. When the switch is activated the STAMP sends a 'take picture' command with 'command complete' feedback. It then waits for the switch to be returned before attempting to take another picture. ===================================================================== Title : Implement S.N.A.P network protocol in a BASIC Stamp [# 134] ===================================================================== Date : 980924 Author: Robert Zachrisson and Christer Johansson E-mail: robert.zachrisson@buller.se --------------------------------------------------------------------- Stamp model : BS2-IC and BS1-IC Modules Code available: Yes Filename : SNAP-0XX.ZIP URL : http://www.hth.com/snap/ --------------------------------------------------------------------- Description : Shows how to implement S.N.A.P (Scaleable Node Address Protocol) in BASIC Stamps. The protocol was primary developed for PLM-24 based home automation and control systems but it is a generic protocol and not limited to this. S.N.A.P can be used in any type of applications where an easy to learn and flexible network protocol is needed. - Easy to learn, use and implement. - Free and open network protocol. - Scaleable binary protocol with small overhead. - Requires minimal MCU resources to implement. - Up to 16.7 millions node addresses. - Up to 24 protocol specific flags. - Up to 24 user definable flags. - Optional ACK/NAK request. - 8 different error detecting methods (Checksum, CRC, FEC etc.). - Can be used in master/slave and/or peer-to-peer. - Supports broadcast messages. - Media independent (power line, RF, TP, IR etc.). - Works with simplex, half-, full- duplex links. - Header is scaleable from 3-15 bytes. - Minimum packet size without error checking is 3 bytes. - Minimum packet size with error checking is 4 bytes. - User specified preamble bytes (0-n). - Works with synchronous and asynchronous communication. Protocol description and many examples that includes source code and schematics are available for download. ===================================================================== Title : Stamp/PC RS-485 Network [# 135] ===================================================================== Date : 981007 Author: Jan Axelson E-mail: jan@lvr.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : 485NET.ZIP URL : http://www.lvr.com/spc.htm --------------------------------------------------------------------- Description : This file contains a schematic diagram and code for an RS-485 network with a master PC and up to seven slave nodes. The slaves may be Basic Stamp IIs or PCs. The master polls each slave at requested intervals, sends and receives data with each poll, and displays (and optionally stores) the result. The master node's program is in Visual Basic 5. Some familiarity with Basic Stamps, Visual-Basic programming, and RS-485 interfacing is helpful! ===================================================================== Title : Easy-to-build BS keyboard/display w/ 10 keys/LEDs [# 136] ===================================================================== Date : 981010 Author: Jakob Selbing E-mail: jakob_selbing@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : BS_KEYB.ZIP URL : http://hem2.passagen.se/jaksel/index.htm --------------------------------------------------------------------- Description : This keyboard will make it possible to provide the BS with 10 keys/LEDs using only 3 I/O:s. If you use 4 I/O:s you'll get both the keyboard and the display. The keyboard/display is based on the 4017 Johnson decade counter, which requires only a few additional components(i.e. resistors). ===================================================================== Title : Joystick control: BS2, 2 motors & 2 HBridges [# 137] ===================================================================== Date : 981014 Author: Carl A. Kollar E-mail: carlk3jml@bigfoot.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : JOYSTICK.ZIP URL : http://members.tripod.com/~divelec/ --------------------------------------------------------------------- Description : Schematic and program demonstrating the use of a standard joystick with a Basic Stamp 2 to control 2 HBridges and motors for local steering of my robot. ===================================================================== Title : Basic Stamp 2 Mobile Robot [# 138] ===================================================================== Date : 981105 Author: Michael Rankin E-mail: michael.rankin@ns.sympatico.ca --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : ROBOT.BS2 URL : http://www3.ns.sympatico.ca/michael.rankin/ --------------------------------------------------------------------- Description : My mobile robot uses the basic stamp 2 because of its larger I/O and memory size. There are five IR sensors mounted anound the body. A front IR, front left and right, and back left and right. The touch sensors were removed after I discovered how well the IR sensors were performing. The chasis has also gone through many changes. It is now aluminum and as compact as possible. Two modified servos turn R/C wheels of a dead remote controlled car. Future mods hope to be the addition of an electronic compass and a way counting how far and which each wheel has rotated. ===================================================================== Title : Home Automation and Security System [# 139] ===================================================================== Date : 981117 Author: Chris Bergeron E-mail: N/A --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This is a home automation / security system that's internet accessible. I used a Basic Stamp II to interface with my doors / windows/ answering machine, etc. For details, see the page. ===================================================================== Title : UM3750 Read Code [# 140] ===================================================================== Date : 981202 Author: Oscar Glavic E-mail: oglavic@cvtci.com.ar --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : 3750.BAS URL : N/A --------------------------------------------------------------------- Description : The IC UM3750 is a codes generator of 12 bits very used in systems of remote control. The program that I made can read I number it of code and presents it in an exit RS232. With a simple modification can be used to form a complete system of control of accesses. ===================================================================== Title : Magnetic Stripe Reader [# 141] ===================================================================== Date : 981212 Author: Mashal Buhamad E-mail: mbuhamad@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : I used Basic Stamp II to for reading and decoding a Magnetic Stripe Reader. It reads Driver license, ATM, and credit card numbers. And I use a serial display to view the numbers. ===================================================================== Title : Telephone Remote Control and Remote Alarm [# 142] ===================================================================== Date : 981213 Author: Juan Carlos Solano Porras E-mail: juanca@softhome.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : This application can control several electric devices with the X-10 protocol. You just have to connect it to your telephone line and make a call from other remote place via telephone. A voice chip (ISD)will give instructions about how to control the devices, but first you have to enter a 4-number code to have access. Then just select the number device, and to turn it on press ("*"), to turn it off press ("#"). All operations are voice guided. Then system is also connected to an alarm system, if it turns on the Stamp will make a call to a pre-programed number, if it can't make a contact, will try for other two telephone numbers. ===================================================================== Title : Tube preamplifier control section [# 143] ===================================================================== Date : 981216 Author: Remco Stoutjesdijk E-mail: r.m.stoutjesdijk@student.utwente.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Vacuum tube amplifiers have a reputation of sounding great, and that is why i have built a preamplifier using tubes only in the audio signal path. What is best for the life of the tubes, however, is to allow them to warm up before engaging the high voltage to the anodes. Also when put off, that high voltage must fade calmly before disengaging the heater voltage. I decided to build a Stamp2 board to do this. It could also switch inputs on the preamp using relays and while I was using a Stamp anyways, i could also make the device remote controlled. Also, i decided to make the volume control motordriven, so it could also work with remotecontrol. The project is finished now, remote control works like a charm, the Stamp2 handles it perfectly, also the keys on the front of the amp are monitored by the Stamp and it's driving the voltage relays to the tubes. The sound is incredibly good, but the ease of use is just like any commercial design, thanks to the stamp. Programming took several weeks but works like a charm now. The amp has a RS232 port on the back so I can update and debug any time. Great uP! ===================================================================== Title : Interrupt for PBASIC [# 144] ===================================================================== Date : 981218 Author: Oscar Glavic E-mail: oglavic@cvtci.com.ar --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D / BS1-IC Module Code available: Yes Filename : FF.BAS URL : N/A --------------------------------------------------------------------- Description : Using the RESET can be simulated an interruption. FF.BAS it is an example of Flip-Flop with this method. ===================================================================== Title : dLOG [# 145] ===================================================================== Date : 990107 Author: Godwin Caruana E-mail: godwin.v.caruana@magnet.mt --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : DLOG.ZIP URL : http://www.geocities.com/siliconvalley/peaks/3245 --------------------------------------------------------------------- Description : dlog 1.0 is a simple but powerful BS2-1C & rs232 based data logging package. It supports built in mathematical graphing capabilities, alarm and triggers, zooming and lots more. It also has direct interaction with WinGnu plot for extra visualization functionalit. + LOTS MORE FEATURES- MUST BE SEEN ===================================================================== Title : Compass [# 146] ===================================================================== Date : 990107 Author: Nick Pekelsma E-mail: menlopeck@aol.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Developed a program which reads the two channel Dinsmore 1655 compass ($35) and extracts magnetic heading accurate to 2-3 degrees. Program uses 2nd order curve fit. Program occupies 45% of memory, leaving room for autopilot applications. Contact author for wiring, source code, and advice. ===================================================================== Title : BS-2 serial VISCA interface [# 147] ===================================================================== Date : 990107 Author: Chuck Schoeffler E-mail: chucks@uidaho.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The BS-2 serial VISCA is used to send commands to the Sony D31 Machine Vision camera (neat camera) so it will move to preset positions when inputs to the BS-2 stamp are activated. The inputs can be switch closures, highs or lows. Presently I sense +4 volts from an audio mixer and it works fine to tell the stamp to move the camera and point it at the person doing the speaking. People doing this will need to get the EVI-D30/31 manual from the Sony web site for other commands other than position recall and homing. Other cameras, stero-mixers, editing equipment uses this protocol so it can be very useful if you want to automate or custom design a particular application. E-mail author for source code. ===================================================================== Title : Servo tester [# 148] ===================================================================== Date : 990107 Author: Chuck Schoeffler E-mail: chucks@uidaho.edu --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : The BS-1 Servo tester really isn't all that complicated or new, except that it uses a 16C58 instead of a Stamp Rev.D or BS-1. I used a Rev D. to program it then used the Parallax pic programmer to burn a 16C58 so I could get my BASIC Stamp back for more development work. The servo tester has an on-off switch, three push button, and three more on-off switches. There are four leds. One for power on, one for Left, Right, and center. The servo to be tested is connected to a 3 pin male header. It is powered by four "AA" cells and will test almost any servo for standard operation or if you have modified it will run the servo motor in forward and reverse to check that. E-mail author for source code. ===================================================================== Title : Small-bot [# 149] ===================================================================== Date : 990107 Author: Chuck Schoeffler E-mail: chucks@uidaho.edu --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : N/A --------------------------------------------------------------------- Description : Small robot that is programmable, can be controlled with a TV remote control, or a tether wire utilizing 4 switches in a small box. The robot uses modified futaba S3003 servos and Cost about $80 or $90 (U.S.dollars) to build. It has the best tail wheel design I have seen (mine of course..ha ha) and the movements of the robot are fluid and sexxy with this type of tail wheel. The Small-bot is a BS-1 or Rev. D. robot about 6 inches by 8 inches that uses modified Futaba servos for motors and if you want a really nice tail wheel you can build one of those too. For those of you who don't know, an excellent tail wheel makes all the difference in repeatable and smooth movements. Cost is about $80 and add $10 if you want to have the sexxy tail wheel. You can use a BS-2 on the small bot but then you have to pay more money. But you get some nice additional commands. So I guess I should say this is an upgradeable robot..a first. See it at www.palouse.net/candstek if you want to see some pictures. E-mail author for source code and CAD drwaings in EasyCAD format. ===================================================================== Title : Repeater Controller [# 150] ===================================================================== Date : 990114 Author: Roger Cameron E-mail: n0yox@iland.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : STAMP2.BS2 URL : http://www.iland.net/~n0yox -------------------------------------------------------------------- Description : Repeater controller with CWID, timeout timer, tail beep, and DTMF enable/disable using the 8870 IC. ===================================================================== Title : ESD Tester for Foot and Wrist Straps [# 151] ===================================================================== Date : 990127 Author: Ronald Anderson E-mail: ronald_anderson@hp.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A -------------------------------------------------------------------- Description : To enter the clean room one has to stop at an ESD testing station to check ones ESD protection equipment. The tester however was breaking down due to the number of people testing each day, 2 shifts a day, 4 shifts per week, 24 hours a day for months on end. The button which started the testing process would simply fail, after being pressed by every person. After some discussion I convinced them a micro based tester would be a much neater package having a high tech appearance, plus it would not break. A BSII with a 12 BIT ADC from Linear Tech, coupled with a 4x20 VFD Display with a Scott Edwards backpack makes up the tester. The test is initiated by stepping on a floor pad and placing ones hand on the test post. The micro is running a continuous loop and detects contact via the two channel ADC and then begins testing for an ESD value. Passing or failing messages are given based on the returned ADC counts. The device is extremely sensitive to resistances between 0.5 and 55 Megohms, testing in essence what would normally be considered an insulator. The best part is that the new system has no switches to break, is very accurate and extremely sensistive, with no follow up calibration needed after initial set up. ===================================================================== Title : Beneficial Insect Dispenser [# 152] ===================================================================== Date : 001218 Author: Warren Sargent E-mail: warren@agattack.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: No Filename : N/A URL : http://www.agattack.com -------------------------------------------------------------------- Description : My company, AgAttack, builds specialized dispensing equipment for beneficial insects. Our latest model incorporates a STAMP to sense an input (momentary switch) and then responds by activating a servo to move a plate that meters out a quantity of insects. ===================================================================== Title : Bugsey [# 153] ===================================================================== Date : 990217 Author: Camp Peavy E-mail: camp_peavy@intuit.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: No Filename : N/A URL : http://www.seric.com/cyberbeast/pictures/bugsy2.jpg -------------------------------------------------------------------- Description : Bugsey is a tabletop robot based on two Basic Stamp 1 computers. He features infrared proximity detection (w/ audible feedback), bump switches and a wagging servo tail. Originally he had only one BS1 in the body but it was too much to run the IR detection and pulse the drive motors (chuga-chuga-chuga). So I gave the IR detection its own Stamp (in the head). When the head Stamp sees something it notifies the body Stamp which then actuates the wheels to back up and turn counterclockwise. I've since bought one of the IR proximity detectors from robotstore.com so Bugsey now determines whether the obstacle is on the left or right and turns the opposite direction. I've also changed to larger wheels ~3" so he goes considerably faster. ===================================================================== Title : Vector2X Compass Module with the new BS2SX Stamp [# 154] ===================================================================== Date : 990226 Author: AC Jacques E-mail: hydratec@plugue.com.br --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: Yes Filename : VECTORSX.TXT URL : N/A -------------------------------------------------------------------- Description : Old BS2 code to read Vector2X compass modules needs some modifications in order to be used by the new Stamp BS2SX. File will indicate changes that is needed both to read Heading or use the compass module as Raw Magnetometer. If you are interested mail to author and ask by VECTORSX.TXT file. ===================================================================== Title : Serial Mouse to BS2 Interface [# 155] ===================================================================== Date : 990322 Author: AC Jacques E-mail: hydratec@plugue.com.br --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : ACMOUSE.TXT URL : N/A -------------------------------------------------------------------- Description : Text explains how to connect and read a standard Microsoft Serial Mouse from a BS2 without a PC environment. Mouse connection needs only three wires: 12 VDC, GND and Data Out. The BS2 or BS2-SX code included in the text allows to read left and right buttons and X and Y absolute movements. Works straightforward from most cheap everywhere available mouses. If you are interested e-mail author and ask for ACMOUSE.TXT ===================================================================== Title : Radio Repeater Controller [# 156] ===================================================================== Date : 990404 Author: William Franzin E-mail: franzin@cc.umanitoba.ca --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : RC6.BS2 URL : http://www.lwa.mb.ca/ve4gbu/ -------------------------------------------------------------------- Description : Ham radio repeater controller. Has many features; timeout and id timers, anti-kerchunk, CTCSS encode/decode and muting, voice and cw id, digital voice recorder control, serial LCD display of status. No DTMF decoder, but there is lots of connections for expansion on external boards. It works and other versions in the past have been very reliable. Any suggestions to upgrading or optimizing the source code is always welcome. ===================================================================== Title : Keypad reader [# 157] ===================================================================== Date : 990407 Author: Chris Anderson E-mail: fes@bis.net.au --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A -------------------------------------------------------------------- Description : Basic stamps can be used to scan a keypad, using only 1 I/O and the "rctime" command. Using cascaded resistors,I have successfully made an access control unit which requires a pin number up to 5 digits. Using a bs2, upto approx 30 pin numbers can be stored. Normal keypad scanning is hungry on code space and requires 4 or 5 I/O's. The system does not seem to be affected by temperature, and with careful calibration, errors are below 1%. E-mail author for source code. ===================================================================== Title : Automatic Vehicle Location / Mobile Asset Tracking [# 158] ===================================================================== Date : 990429 Author: Richard Frost E-mail: rfrost@mail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : BS2-IC provides initialization, timing, filtering, and data compression for remote units containing a GPS (Global Positioning Systems) receiver and a CDPD (Cellular Digital Packet Data) wireless modem. The standard for GPS data is serial at 4800 baud, and the BS2 can handle this reliably. ===================================================================== Title : Interfacing a 4X4 keypad to the stamp II [# 159] ===================================================================== Date : 990514 Author: Shaun Wilson E-mail: swilson@brunnet.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://bs2projects.webjump.com/ -------------------------------------------------------------------- Description : Interfacing a 4x4 matrix keypad to a stamp using the 74C922 encoder IC. Only takes 6 I/0 pins. Eveything you need to get started is on my page, code, schematic,and datasheet for the 74c922. Atlternative URL: http://geocities.com/SiliconValley/Orchard/6633/projects.html ===================================================================== Title : Interfacing a 4X4 keypad to the stamp II [# 160] ===================================================================== Date : 990515 Author: Shaun Wilson E-mail: swilson@brunnet.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://bs2projects.webjump.com/ -------------------------------------------------------------------- Description : Interfacing the popular Max186 12 bit 8 Channel ADC to a Stamp. Very useful considering most sensor out today puts out a voltage. The MAX186 can measure up to 8 different voltages. Uses 5 I/0 pins of the stamp. Atlternative URL: http://geocities.com/SiliconValley/Orchard/6633/projects.html ===================================================================== Title : Realistic Manual Shifter for PC Driving Games [# 161] ===================================================================== Date : 990520 Author: Matthew McGrath E-mail: matthewmcg@hotmail.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: no Filename : N/A URL : N/A -------------------------------------------------------------------- Description : Frustrated with the typical Up/Dn only shifters that come with most wheel/pedal sets for PCs, I built a 6 speed shift gate and shift lever. The shifter merely operates a pair of 3 position toggle switches placed 90 degrees opposite to each other, with one attached to the shaft of the other. In this arrangement, one does the forward/neutral/back position, while the other does the left/right/ center position. Most games only accept button presses on the joystick to go up a gear or go down a gear, so I wired the switces to a BASIC stamp Rev. D and made a program that reads the position of the switches, calculates the gear, and if necessary, sends the appropriate number of up/dn signals to the game. The shifter operates in a "standard H" pattern, just like in a stick shift car: 1 3 5 | | | --N-- | | | 2 4 6 Revese is engaged by shifting to neutral first, then shifting to sixth. The code is still being refined. If you are interested, I'll be making a webpage as soon as I digitize the diagrams and photos. ===================================================================== Title : Contact ID handshake board [# 162] ===================================================================== Date : 990527 Author: Ken Irving E-mail: jkirving@mosquitonet.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : A BS1 circuit with two LM567 tone decoders and an LM386 op amp to process audio input from a Radio Shack 'telephone recording control' for the purpose of processing handshake tones for the Ademco Contact ID (security system) protocol. Two leds are used to show the state of the respective tone decoders, and are used together to indicate when a handshake sequence has been detected. Two output pins are used to communicate the handshake status to a controller (e.g., Andover Controls CX9400) which is running the security message dial-out protocol and controlling a modem for dialing. ===================================================================== Title : Basic Stamp II I2C protocol for several ICs [# 163] ===================================================================== Date : 990529 Author: M Verlinden E-mail: mverlinden@yahoo.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.fictoorprojects.demon.nl/irbot/ -------------------------------------------------------------------- Description : I am making a six legged robot, based on I2C bus. The ICs I use are 4 digit led driver(SAA1064), ROM (24C04,PCF8582), RAM (PCF8571) and the 8 bit expander (PCF 8574). In the following months other features will be added to the bot. For more information visit my site. Other features: servo driven, light seeking, solar powered, IR detection etc... ===================================================================== Title : Home Controller [# 164] ===================================================================== Date : 990612 Author: Adam Blake E-mail: adam@hometown.demon.co.uk --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A Filename : N/A URL : N/A -------------------------------------------------------------------- Description : The Basic Stamp picks up signals from a radio remote control, which has a standard number pad as on a phone, and uses this input to display information on an LED display in the house window. After entering a password (4 Digits), the user can switch on named appliances such as lights, heaters, etc from outside the house. The names scroll across and the user can then select whether it should be on or off. A Visual Basic program has been written for the Macintosh which can create lists of appliances required, their pin number and function, plus the original first entry password. The program fills the memory and up to 34 outputs can be configured. If anybody fancies seeing the code or any other information, simply email me... I would like to hear from anybody interested! ===================================================================== Title : Coinmachine [# 165] ===================================================================== Date : 990619 Author: K.T E-mail: pallikari@hotmail.com --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: N/A Filename : N/A URL : N/A -------------------------------------------------------------------- Description : It is a device that counts coins with the help of a 16keys keyboard. User can program codes and view many statistic data. For more details send me email. ===================================================================== Title : Navigation system for the blind [# 166] ===================================================================== Date : 990711 Author: Jason Warren E-mail: jwarren@grove.ufl.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : NAVIGATOR.BAS URL : N/A -------------------------------------------------------------------- Description : A self contained navigation system using a precision navigation VX2 compass, a radio shack pedometer, and 3 voice recorder chips. The system uses a user specified path (# of steps and heading for each leg of a route) and compares the path data to data from the compass and pedometer. The system then tells (via headphones) the user if he is too far to the left or right (or no output if in course), and when to stop (at the end of each leg). The code is very rough, and could be improved by someone with the slightest coding ability (that person is definitely not me), but works as is. ===================================================================== Title : Robot Fighters [# 167] ===================================================================== Date : 990727 Author: Justin R. Ratliff E-mail: weyoun7@aol.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : http://members.tripod.com/RoBoJRR/fights.htm -------------------------------------------------------------------- Description : The project is to one day build two robotic fighting squads. One geared toward offense and the other type geared toward defense because both defense and offense pose different concerns and create different objectives. I am starting small both in the size of my fighters and my goals. My firstfighter, Sir Sagramore is detailed at this page: http://members.tripod.com/RoBoJRR/Fights/thebots.html My project has turned into a robotics contest, where members of TRCY can enter their own fighters. We also hope to broadcast one day live shows of our robot fights on the web. TRCY is a robotics club open to all and is free to join. We are internet based and have over 200 members. Just go to our homepage to find out more. ===================================================================== Title : Octobot [# 168] ===================================================================== Date : 990728 Author: Walter Weaver E-mail: wweaver@computan.on.ca --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D/BS1-IC Module Code available: Yes Filename : N/A URL : http://www.computan.on.ca/~wweaver -------------------------------------------------------------------- Description : This is an eight legged robot made with plexiglass and gears from a hobby shop. Each side is driven by a gear motor. I used a Stamp BS-1 which uses 4 outputs drive the legs, 2 inputs for bumper switches on the front for crash avoidance, and 1 input to read an infrared input that allows me to turn it on/off by remote control. I used a edge card and a homemade slot mount to make easy changes to theelectonics. ===================================================================== Title : SPI interface chip [# 169] ===================================================================== Date : 990829 Author: Ronald Nollet E-mail: nollet@mail.enternet.com.au --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : SPI12IN.BS2 URL : http://people.enternet.com.au/~nollet -------------------------------------------------------------------- Description : Want to read 3 BCD wheels with just 1 instruction and also an additional 3 inputs ?? Well we have a logic chip programmed with the SPI interface to do just that. Only 3 connections to a BS2-IC or BS2-SX are needed. ===================================================================== Title : Implementing TCP/IP functionallity [# 170] ===================================================================== Date : 990910 Author: Gary Desrosiers E-mail: desrosi@connix.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.embeddedethernet.com -------------------------------------------------------------------- Description : Two application notes are available on the site. One allows the Basic Stamp to act as a network sniffer analyzing and displaying the packets as they flow on the Ethernet network. The second app note shows how to control the state of an LED via a Windows Sockets TCP/IP application allowing the Basic Stamp to become an effective network appliance. All source code is available. ===================================================================== Title : Home Security System [# 171] ===================================================================== Date : 990927 Author: Reginald Talbot E-mail: reginald@tciway.tc --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.embeddedethernet.com -------------------------------------------------------------------- Description : This program monitors a heat motion detector when action occurs program turns on lights in house,turns on a pinhole camera ,turns vcr on to record, waits for acknowledgement code if code does not match dials a pager and a phone. This program aslo can be access remotely via a modem to turns on the lights in the house, turn on camera and vcr. E-mail author for source code. ===================================================================== Title : Garage Door Opener [# 172] ===================================================================== Date : 990927 Author: Gerry Crenshaw E-mail: gerryC@airmail.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.qsl.net/wd4bis/ -------------------------------------------------------------------- Description : Garage door opener and the Automated fox or beacon station now documented at my web site. ===================================================================== Title : New Method Of Home Automation [# 173] ===================================================================== Date : 991101 Author: Adam Blake E-mail: Y2K_GrimReaper@hotmail.com --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: Yes Filename : N/A URL : http://www.btinternet.com/~hometown/future2000/ -------------------------------------------------------------------- Description : I have designed a new system of home automation from scratch called Futurenet 2000. It uses two stamps, one BS2SX and one BS2. The system uses radio communications and an LCD unit. Please visit the web site for more information. ===================================================================== Title : Water Volume Meter [# 174] ===================================================================== Date : 991116 Author: Eduardo Corpeno E-mail: guayo4@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : PLUVIO.BS2 URL : See below... -------------------------------------------------------------------- Description : This circuit tells the volume of water (or other non corrosive liquid) in a cylinder shaped container. It gets the diameter of the container from a telephone keypad, and reads the water level from a special probe. See URL for more information. More circuits there. http://www.geocities.com/TimesSquare/Lair/7292/stamp.htm ===================================================================== Title : Table-Top Practice ROBOT for USFirst Competition [# 175] ===================================================================== Date : 991206 Author: Quentin Lewis E-mail: bigqueue@tiac.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.tiac.net/users/bigqueue/html/controls_p -------------------------------------------------------------------- Description : I was looking for a solution to solve two problems. 1) How to help the High School kids at the high school learn and practice programming the Basic Stamp used in the competition. 2) How can we make a vehicle that some of the future "drivers" can practive with. (to learn about tank steering) Well, I came up with a BS2 with joystick inputs that drives a Scot Edwards SSC which is mounted on a BOE-BOT chassis. Take a look at the web page....it describes it pretty well. ===================================================================== Title : Model-rocket acceleration measurement [# 176] ===================================================================== Date : 991206 Author: Robert Zachrisson E-mail: za@egy.engelholm.se --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : N/A URL : http://ec.egy.engelholm.se/~za/Rocket.html -------------------------------------------------------------------- Description : As a project in the Microprocessor course, here at Engelholms upper high school, I designed a circuit that measures the acceleration and transmitts this data over radio, to the ground station. The ground station consist of a simple receiver and a Laptop PC, that records the data to a text file, for later processing and visualisation in Excel or other programs. ===================================================================== Title : Interface to SPECTRON MICRO-50 2 Axis Inclinometer [# 177] ===================================================================== Date : 991207 Author: Antonio C. Jacques E-mail: acjacques@infolink.com.br --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : MICRO-50CAL.BS2 URL : N/A -------------------------------------------------------------------- Description : The code will interface BS2 to the SPECTRON MICRO-50 Dual Axis Digital Tilt Sensor Board. The board is available from Spectron Sensors, http://www.spectronsensors.com/inclinomter.htm. It costs about US$90.00. The board have serial 19200 baud RS-232 outputs and 12 bit ADC. The code could reset, read pitch, read roll, read temperature, as well read and write EEPROM offsets. Readings are in hex and decimal values. If you are interested then send a mail to: hydratec@plugue.com.br or acjacques@infolink.com.br and ask for the Micro-50cal.bs2 file. ===================================================================== Title : Interface for electromechanical coinpasser [# 178] ===================================================================== Date : 991219 Author: Cristian Udrea E-mail: cristian.udrea@ttc.ca --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : The interface receives a credit pulse (50ms active low) from a token comparitor (Coin Mechanisms) and activates a 24 VDC solenoid which in turn releases the open gate to allow access into the subway station. The solenoid is de-energysed when the cancel switch (N.O.) is closed (by the movement of the tripod) or timeout in 60 sec. A green LED illuminates and a sonalert beeps for 1 sec indicating the acceptance of token and activation of the gate. When another credit pulse is received between first credit pulse and the closing of the cancel switch, the timer is reset to zero and the pulse is counted, the solenoid is kept energysed until the second cancellation or timeout in 60 sec. A 7 digit totalizer was implemented and the output displayed on a LCD display. An optoswitch indicates a token rejected. A red LED flashes for 5 sec and a sonalert beeps 3 times. ===================================================================== Title : RCS (Remote Controlled Stepper) [# 179] ===================================================================== Date : 000110 Author: Eduardo Corpeno E-mail: guayo4@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : RCS.BS2 URL : See below... -------------------------------------------------------------------- Description : This circuit moves a stepper motor as requested by it's remote control. It has manual and automatic modes. The motor can be ordered to move clockwise or counterclockwise. The orders may be sent in degrees, radians or motor steps, tiny code modifications needed. Excellent to learn about electronics, stepper motors and PBASIC programming. See the following URL for schematics, documentation and code for this application. There are more Stamp applications in my page including a Function Generator and a Serial RS-232 ASCII interface. Check it out. http://www.geocities.com/TimesSquare/Lair/7292/stamp.htm ===================================================================== Title : Making robots really small [# 180] ===================================================================== Date : 000115 Author: Martin Michajliw E-mail: ingrid.m@yline.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I know, I will never get to an end, but my passion (building really small robots) has now finished. the masterpiece of my construction is the H bridge which can handle up to 2 400 mA DC motors. It's size is as big as the BS2 module, and you can put it between the stamp and the bot layer, so you wouldn't recognize it. It's equipped with a logic operator which makes it possible to drive the 2 motors with only 2 pins. with the cute sfh 900's and a voltage step-up (to use only one single cell) the size is only limited by the motor gears. Actally 3Lx4Wx3H (in cm) ===================================================================== Title : Basic Stamp Freezer Alarm [# 181] ===================================================================== Date : 000129 Author: Nicholas Helps E-mail: helpsnic@iname.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : FREEZER.BAS URL : http://netcentre.bizland.com/freezer.htm -------------------------------------------------------------------- Description : For a design & technology project I needed to build an alarm which would warn them if their freezer had suddenly risen in temperature. I also wanted to include 3 LED's which would light up and show the freezers temperature in terms of the universal * level (found on back of freezer products). I was able to do this using a standard Basic Stamp one kit with version 1.2 of the software. For more information see authors web-site. ===================================================================== Title : X-10 Command Expander [# 182] ===================================================================== Date : 001211 Author: Gerry Wheeler E-mail: gwheeler@vmguys.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A -------------------------------------------------------------------- Description : The Stamp uses an X10 TW523 two-way interface to receive and send X10 commands. The Stamp monitors for specific commands which trigger it to send other related commands. The triggers are built into the Stamp program, so any type of logic can be applied to determine what actions are to be taken. For example, the Stamp can monitor the dusk/dawn sensor of an Eagle Eye sensor to know when it is day or night, and set an internal status accordingly. Then it can monitor the motion sensor of the same (or different) Eagle Eyes to decide whether to turn on a light or not. It can turn on/off different lamps during the day than it does at night. Another example: by sending a single command from a control such as a Palm Pad, the Stamp can be triggered into sending a sequence of commands to turn on or off various lamps. You might use a single command to set the lights for TV viewing, or dinner, or whatever. Current features: The Stamp's "xout" command is used to send commands, but a special routine had to be written to receive X10 commands. The Stamp program monitors the power line for other X10 commands before sending, to avoid collisions with other X10 devices. Limitations: Once the Stamp has received a command, it runs the code that decides what, if any, commands should be sent as a result. During this processing time it is unable to receive X10 commands. This is not usually a problem, but in very busy X10 environments it could result in missed commands. ===================================================================== Title : Slide Projector Timer [# 183] ===================================================================== Date : 000210 Author: Bill Thomas E-mail: btthomas@lamar.colostate.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A -------------------------------------------------------------------- Description : Unit is used to advance multiple slide projectors. Time duration between advancing slides is set via dip switch. Stamp is used to read dip switch inputs and fire outputs to close relays. A counter keeps track of carousel slot number to move more quickly over empty carousel slots. This unit can be easily modified with more relays to also reverse slides. It can also be modified through the addition of dimming modules to control dissolve time. ===================================================================== Title : Complete Traffic Light Controller - RS232 display [# 184] ===================================================================== Date : 000304 Author: Ignacio Iturregui E-mail: iiturreg@uncc.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I got two BS2-IC's to control a 4 way (plus turning) intersection. One of them reads the status coming from ultrasonic sensors and then serially instructs the other one to change the state of the intersection. Everything is displayed on a PC using a simple VB6 program. ===================================================================== Title : Call Rejection Box [# 185] ===================================================================== Date : 000324 Author: Greg Keller E-mail: theshocker69@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I made a call rejection unit by using the DTMFOUT function. The stamp picks up the tones of the phone and goes into it and sees if the number is valid. If it is, it will call it. If it isnt it wont let the call go through. ===================================================================== Title : A very simple DTMF decoder [# 186] ===================================================================== Date : 000409 Author: Carlos Kostzer E-mail: mork7xl@arnet.com.ar --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : DTMFDEC.ZIP URL : http://www.hth.com/filelibrary/bs1-ic -------------------------------------------------------------------- Description : This shows how to build A very simple DTMF decoder with inexpensive Motorola MC145436 and BC1-IC. ===================================================================== Title : Supercomputer Node Board Diagnostic Tool [# 187] ===================================================================== Date : 000414 Author: Ernie Negus E-mail: nernie@uswest.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : A BS2 stamp is mounted on a PCI prototype card with two CD4060 8-input NOR gates and a two-line LCD display with a backpack. The NOR gates provide address decoding for the port 80 diagnostic port. When the failing node hangs at a Power-On-Self-Test, the BS2 stamp decodes the data lines and displays the most likely failing U numbers based on that code, most likely failing part listed first. The U numbers were taken from a database that contains four years worth of debug data. This effectively allows anyone to debug POST (failures that prevent the node from coming ready) just by plugging in the card and looking at the LCD display and changing the part(s) indicated. ===================================================================== Title : Bipede [# 188] ===================================================================== Date : 000507 Author: Chevreuil Régis E-mail: re-re@wanadoo.fr --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : ROBOT.ZIP URL : ftp://perso.wanadoo.fr/re-re/ -------------------------------------------------------------------- Description : A little bipède robot using two servos and a BS1 interpretor chip, all in aluminium, really cheap to build, code source and design available soon at my site, so far, just email to me... ===================================================================== Title : Digital D.J mouse driven mixer [# 189] ===================================================================== Date : 000507 Author: Simbox E-mail: metaldet@freezone.co.uk --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : Full digital D.J. Mixer mouse driven menuing and faders on selection The code Iv'e writen is very much in it's infancy so ill give more info on e-mail request only!! I have finished the serial IO packet exchange and D/A digital potentiometer section and I'm working on an 8 line ultra bright supertwist for bargraph display menuing locked and mute indicator IC count currently 5 and I dont expect it too increase. ===================================================================== Title : Geiger Counter Interface/Display/Computer/Logger [# 190] ===================================================================== Date : 000511 Author: Ernie Negus E-mail: enegus@co.intel.com --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : GEIGER.ZIP URL : http://www.users.uswest.net/~nernie -------------------------------------------------------------------- Description : This project interfaces a Basic Stamp Rev D with the Vellemen K2645 Geiger/Muller counter kit. More info on the Vellemen kit is available at the following URL: http://www.velleman.be/kits/k2645.htm The zip file contains schematics and several programs that: 1) Allow you to use the stamp to convert the beep counts to Microremss per hour, a standard unit of measuring gamma and beta radiation. 2) Display this on a two-line LCD panel display (Radio Shack Catalog Number 910-4914). 3) Log this measurement hourly or every four hours to the stamp's internal EEPROM memory. 4) Interfaces the geiger counter to a PC for graphing and analyzing data in real-time or from logged data. The project is low power and can run on one 9 volt battery for up to two months. It can log low to unhealthy radioactive levels (under 256 microrems) to the stamps internal EEPROM memory for up to one month, or very high radioactive levels for up to two weeks (sampling rate: every four hours). It can be used to determine the radioactivity caused by computer monitors, television sets, microwave oven leakage, gas furnaces, etc. It can even be used as a lightning detector during thunderstorms. It has a resolution of 6.67 microrems/hr and has a range of 0 to about 3400 microrems/hr. ===================================================================== Title : Stamp-1 as 6-Bit Serial A/D Converter [# 191] ===================================================================== Date : 000528 Author: Daniel Weatherford E-mail: hweatherford@silverlink.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : 6BITAD.ZIP URL : http://www.hth.com/filelibrary/bs1-ic -------------------------------------------------------------------- Description : Well I was using my trusty 68HC811E2P board and it died... Well I really wanted to be able to use my bot on one of my stamps but needed an A/D Converter with a 1-pin interface. Didn't have one, but did have a ADC0820. I have 2 stamps, so I just started soldering, and this came up. Push in an analog voltage on Pin1 of the ADC0820 and read the serial out with Hyperterminal or something - 2400 bps, N81 Plugs right into my pc, should into most I think without voltage level conversions. Good for data logging. ===================================================================== Title : Simple Robot for Table Area Coverage Competition [# 192] ===================================================================== Date : 000530 Author: Quentin Lewis E-mail: bigqueue@tiac.net --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : See below... -------------------------------------------------------------------- Description : Simple tricycle robot made for a robot club contest. It has a simple Stamp 1 Based controller that detects the edge of the table (so it does not fall off) and then turns to stay on the table, and move randomely around trying to cover as much ara as possible. (I think it came in 4th in the contest) I burned the Stamp I code into a PIC16C58 by using the ALT-I command in the Stamp I programmer along with the Parallax PIC programming board. (a very handy combination) URL: http://www.tiac.net/users/bigqueue/html/area_coverage.html ===================================================================== Title : IR Garage Parking Helper [# 193] ===================================================================== Date : 000604 Author: Quentin Lewis E-mail: bigqueue@tiac.net --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: Yes Filename : N/A URL : See below... -------------------------------------------------------------------- Description : I have a small garage with a freezed at the back end. It is hard to get the van in and still close the door or walk behind it....so I developed this IR Distance Measuring device to flash LEDs and tell me when to SLOW or STOP as I approach the back of the garage. I had initially bought at Park-Zone which is Ultrasonic, but it had trouble working due to the sounds coming from the engine. This one works like a champion. URL: http://www.tiac.net/users/bigqueue/html/parking_helper.html ===================================================================== Title : Archery Timer [# 194] ===================================================================== Date : 000625 Author: A.Ron Carmichael E-mail: arc@texasarchery.org --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : See below... -------------------------------------------------------------------- Description : For FITA rules archery tournaments, the director must have a timekeeper to control shooting. It involves a number of rules, and has several variables. I have constructed a timer console that automates much of the task of the timekeeper. Parts List, pictures, and source code with comments are available for anyone who wishes to make such a timer. This is a free program for non-commercial use. URL: http://texasarchery.org/Documents/Timer/archerytimer.htm . ===================================================================== Title : Fift Injector Controller [# 195] ===================================================================== Date : 000627 Author: Fernando Hood E-mail: hoodey@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : This device read the engine RPM and Boost pressure and injects fuel based on a number of lookup tables. It controls the pulse of a fuel injector by sending pulse from 1 to 8ms. ===================================================================== Title : PC diagnostic port decoder [# 196] ===================================================================== Date : 000628 Author: Ernie Negus E-mail: nernie@uswest.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : PORT80.ZIP URL : http://www.users.uswest.net/~nernie -------------------------------------------------------------------- Description : This project uses a Basic Stamp 1 to decode the port 80 diagnostic port common to nearly all PCs, and displays in english on an 2 line LCD display, the last component tested, should the computer hang on power on self test (POST). This information can be used by technicians to diagnose and repair a faulty motherboard. As is, this project allows you to select one of four BIOS code definitions, from the data burned into an EPROM. A Visual Basic 6 Program, Port80.exe is provided to allow you to create an EPROM image for the 27512 based on four available POST code definition sets you want to use (from a list of 74 supported BIOSes). In addition this program allows you to create your own BIOs definitions using any text editor. ===================================================================== Title : LED bar graph [# 197] ===================================================================== Date : 000628 Author: Felix E-mail: flexchan@hkstar.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I am making a LED bar graph game project. It use the "count" command to measure how fast u press the button in the period of time. When you press the button faster, the led bar will rise higher. When u don't press, the led bar will move downward. To request circuit and program, e-mail author. ===================================================================== Title : ZVEI 5 and 6 tone decoder [# 198] ===================================================================== Date : 000714 Author: M. Jacobs E-mail: kruitz.telecom@worldonline.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : The BS2-IC is used to generate 5 and 6 tone codes in a radio network. The program uses an array with the discription of ZVEI tones. The stamp controls the timing, the keying of the transmitter and the generation of the ZVEI frequenties. ===================================================================== Title : Audio matrix controller [# 199] ===================================================================== Date : 000714 Author: M. Jacobs E-mail: kruitz.telecom@worldonline.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : Several BS2-IC's are used to control an audio matrix (7x7)in a radio network from a fire brigade and ambulance brigade. The stamp get information from a PC via a 4 bit bus. Via a ULN2003 (open collector transistor array) a relais will be set. As soon as the same command is received again he will reset the relais. ===================================================================== Title : Watch dog module [# 200] ===================================================================== Date : 000714 Author: M. Jacobs E-mail: kruitz.telecom@worldonline.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I've developed several products, using a BS2-IC. They all communicate with a PC. To prevent the program in the BS2 from hanging, due to a failure on the PC bus, I've develloped a watch dog with a 4528 IC. This timer will constantly be resetted by the program of the BS2. As soon as the BS2 fails to reset, the timer will expire and the BS2 gets a reset. The program starts again. ===================================================================== Title : Air Data Sensor (Test Set) [# 201] ===================================================================== Date : 000717 Author: Clay Wittman & Don Laux E-mail: nightracerbubba@hotmail.com --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : We used the BSII SX to control an air-pump, (120VAC or 12VDC) an electronic regulator, (RS-232-485 converted) and 3 valves, outputting specified air pressures to a nosecone of our product. Reading a 16 x 2 display gives operator feedback, Pass/Fail. This unit is a portable container, (1 1/2 x 1 x 1) and would be a great calibrator for any pito tube on any aircraft. Which is basically what we use it for here, only our pito tubes are much more complicated. Our end product is flown on aircraft. Our Test Set is for Sale for Military or Commercial, but I have no part of that. Just thought you might like to know what we used the stamp for. We used all the memory up for this complex project, just programming in all the necessary features. Not too much room for changes. But it is complicated!! And does everything. Two buttons and a display is all the operator sees, but talk about calculations!! That is what ate the memory up. (Sure wish Parallax made a version of the SXII which had one memory cell, instead of 8. Much of the coding was duplicated in each of the cells.) This unit can even be used to inflate/deflate tires on an aircraft. Just dial in the pressure desired up to 120PSI. Regulator will regulate odd pressures, like 1.3PSI wery well. The basic idea could be used to control anything needing specific air pressures. Roadside Tire pumps could be dialed in by "thumb in" switches, (32 PSI) and the pressure would be pumped. ===================================================================== Title : Using the BS-2 to send MIDI note on/off [# 202] ===================================================================== Date : 000822 Author: Hex E-mail: casiorz1@aol.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : RESIST1E.TXT URL : http://members.aol.com/casiorz1/resist1e.txt -------------------------------------------------------------------- Description : This app uses the basic stamp as the brains of a monophonic, non velocity sensitive midi controller. When a key is pressed, it shorts out a certain number of resistors in a resistor chain. The value of the remaining resistors in the chain is measured by the POT command, converted and sent as a midi note on message. When the note is released, or a LOWER note is struck, the BSII sends out the appropriate midi note off command. To help prevent glitches, the BSII makes sure that the measured resistance in within range via a lookup table. If it's not, the BSII rechecks the note and holds the last valid note or sends no midi data until the POT measurement is within range. The code I'm providing is not well commented... I tried, but it's been a while and I don't remember why I did some of what I did. :-) ===================================================================== Title : Plant Engineer [# 203] ===================================================================== Date : 000909 Author: Daniel Christadoss E-mail: dancrissco@aol.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: N/A Filename : N/A URL : N/A -------------------------------------------------------------------- Description : Dip molded automobile part punching and unloading carousel. Application was developed to automatically punch and unload flexible plastic parts. Carousel was a 10 feet endless #40 chain with d2 pins carrying the punches. Parts were loaded on the punches by trimmers as they stripped the parts of the molds. The carousel was programmed to index, punch and unload with a 3 axis pnuematic robot. Input 110VAC. All controls on 24VDC. All actuations including indexing was pnuematic. Opto 22 I/O, Parallaxinc industrial board and 80/20 aliminum extrusions. Payback was in 4 months. A second machine was also completed which could also differential between parts and stamp one particular part. An circular indexing tray was developed to store unloaded parts. Code was sequential with multitasking using parallel BSII's but no networking. ===================================================================== Title : Specialty Frequency Generator [# 204] ===================================================================== Date : 000915 Author: Dennis Newkirk E-mail: dennis.newkirk@med.va.gov --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : FREQGEN.BS2 URL : http://www.hth.com/filelibrary/bs2-ic -------------------------------------------------------------------- Description : This code takes a 4 digit entry from the keypad and converts it to a decimal number equating a frequency between 0 & 9999 Hz. Menu info and input data are displayed on the ILM216 LCD module (2-16 character lines). This version accepts up to 25 frequency entries that are placed into an array. The frequencies are then output sequentially for one to nine minutes each. The pseudo sinewave signal is output via the "freqout" command into an RC filter that connects to a zero crossing detector, which converts the sinewave into a clean squarewave with an approximate 50% duty cycle that drives other equipment. I like this little program because it demos the STAMP's methodology for easy interfacing to a keypad, LCD module, and the digital world. It's a rudimentary program and is needing refinements to make it a more user friendly interface. But at this level, it's an excellent demo. ===================================================================== Title : Wireless Model Rocket Launch Controller [# 205] ===================================================================== Date : 000917 Author: Donald A. Vitez E-mail: electec@earthlink.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : WIRELESSROCKET.BS2 URL : N/A -------------------------------------------------------------------- Description : This model rocket launcher utilized a 2x 16 character LCD display and a radio frequency transmitter/receiver. The device is capable of switching upto 30A of current at 12vdc. The LCD displays both text based information as well as animation. When the unit is first powered, the display reads "welcome to mission control" followed by "press the launch key to begin countdown" after a brief pause the display reads "to abort launch press red button". When the launch button is pressed, the display shows a graphic of a rocket and a numeric display that shows a changing count down from decimal 10. when zero is reached the rocket is moved up the screen with a smoke trail behind. At this point a radio frequency signal is sent fom a maximum distance of 600 feet to the transmitter. When the signal is received by the transmitter the rocket is powered by 12vdc. The transmitter receiver kit used in this project was purchased at www.electro-techco.com the kit includes code and schematics for interfacing to a BSII microcontroller. ===================================================================== Title : 8243 I/O Expander [# 206] ===================================================================== Date : 000924 Author: Larry Gaminde E-mail: lgaminde@televar.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : N/A -------------------------------------------------------------------- Description : The 8243 I/O expander allows reading and writing to 16 pins or bits, using 4 ports of 4 pins each. The program as written reads one port (6) and outputs the same bits on port 4 this gives an idea of how to read and write to the chip, the output can be Over-write, And-write, Or-write the example is for over-write. ===================================================================== Title : Autonomous Miniature Robot [# 207] ===================================================================== Date : 001004 Author: Nagi Babu E-mail: nags@crosscity.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : http://nagi.crosscity.com/BasicStamp/ALIBE -------------------------------------------------------------------- Description : After days of work, I was able to finally get my miniature autonomous robot done. I'm calling him - ALIBE - acronym for Artificial LIfe BEing. ALIBE was built as a social being to fit in a virtual robot farm called - ALIBEN - acronym for Artificial LIfe BEing Niche - where more than one ALIBE will survive and hopefully exhibit social behavior. I have not not completed my other ALIBEs as yet. But, will very soon. From a technical stand-point ALIBE was built to demonstrate object oriented component building. In the sense, easily reusing the components. ALIBE has different components stacked one above the other. There are totally 3 layers or modules. The first and foremost is the Microcontroller Module (MM) that comprises of the BS2 and other components that work with BS2 to form the MM. This layer is easily unpluggable and reusable in any other project one wants to. So are the other 2 layers - Sensor Module (SM) and the Driver Module (DM). The following are the goals for building ALIBE: 1. Miniaturization - to occupy less space in the robot farm ALIBEN 2. Encapsulation - to modularize the components for reusability 3. Extensible - to provide opportunities for expansion of components (adding new sensors, etc) 4. Easy maintenance and debugging. The following are the tasks given to an ALIBE: 1. Seek light in a given space 2. Seek warmest location in a given space 3. Avoid obstacles while seeking light and warmth 4. Go into a sleep mode when silence is detected in the space 5. wander about. Tasks 1 and 2 take precedence. Tasks 3 and 4 provide for tasks 1 and 2. Task 4 saves battery time. The following parts are used in each of the modules: Microcontroller Module (MM): 1. Basic Stamp II - mounted on a low-profile socket 2. 5V voltage regulator - LM2940 3. Switch to power on/off 4. Reset Button to reset stamp and program 5. Regular phone plug for Serial port with auto detection enabled for PC to recognize the port via modified serial port cable. 6. I/O pins exposure sockets for simple to use plug-in interface from the sensor and other modules. 7. Dedicated Piezo Buzzer on Pin 0 8. LED and 470 resistor for power indicator 9. Vdd / Vss hookups for SM and DM 10. Unregulated Vin for servos Sensor Module (SM) 1. Left and Right IR Emitter and Sensors - to avoid obstacles 2. Left and Right Photocells - to sense light 3. Digital Thermometer - to sense temperature to seek warmth 4. PCB mounted lowset lowprofile microphone from Radio Shack - to sense silence - to save battery Driver Module (DM) 1. Two miniature CIRRUS CS-20BB servos - modified as continuous as per guidelines laid down in the Robotics manual from parallaxinc.com 2. Connectors to go up to the MM 3. 9V battery seater. 4. Rear wheel for balancer All of these modules are mounted as layers one above the other using stand-offs from Radio Shack. The layers are made using 1.5 inches general purpose Radio Shack PCBs. Wheels are purchased and modified from a hobby store. Pictures can be found at my site. ===================================================================== Title : CW Keyboard [# 208] ===================================================================== Date : 001006 Author: Al Williams E-mail: alw@al-williams.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : PAK6APP.PDF URL : http://www.al-williams.com/awce/pak6app.pdf -------------------------------------------------------------------- Description : The Stamp sends morse code typed in with a PS/2-style keyboard. ===================================================================== Title : Using a Maxim 3110 UART [# 209] ===================================================================== Date : 001006 Author: Al Williams E-mail: alw@al-williams.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.al-williams.com/wd5gnr/suart.htm -------------------------------------------------------------------- Description : Interface code for the Maxim 3110 Serial UART. With a few Stamp pins, you get "true" RS232 with an 8-byte buffer. ===================================================================== Title : BASIC Stamp Wireless Serial Transmitt [# 210] ===================================================================== Date : 001010 Author: Jonah Brucker-Cohen E-mail: jonah@coin-operated.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I made a program for the basic stamp that lets you send serial data using wireless RF transmitters. You can get some cheap transmitters ($12-$15 USD each) from glolab.com and hook them up to your stamp using a simple serout and serin command - they transmit up to 500 feet - and use 2400 to 4800 bps speeds. ===================================================================== Title : X-10 Multi-Housecode Transceiver [# 211] ===================================================================== Date : 001020 Author: Tom Laureanno E-mail: lingling@edgenet.net --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: Yes Filename : X10-RF30.BSX URL : http://www3.edgenet.net/lingling/x10-stmp.html -------------------------------------------------------------------- Description : The current X-10 transceivers (eg TM751, RR501, etc...) are designed to only receive and send X-10 signals on ONE user-specified Housecode (1 of 16 possible). Most Home Automation systems installed in residences often use more than one housecode for RF control purposes. This setup required that multiple X-10 transceivers be installed for proper operation. This project involves the building of a Multi-Housecode X-10 Transceiver. This design uses three components, mainly a TW523 X-10 powerline interface, a BASIC Stamp-IIsx programmable microcontroller and a daughterboard taken out of a TM751 X-10 Transceiver. This project can then replace all the transceivers installed. For more information (files/schematics), please visit my webpage. ===================================================================== Title : Entrances and Exits [# 212] ===================================================================== Date : 001102 Author: David Saltz E-mail: saltz@arches.uga.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : This "sculptural animation" (85" x 33" x 56") performs a three- minute play inspired by Samuel Beckett's short play "Come and Go," an open-ended text about three old women who gossip about one another when each character in turn briefly exits. The play is performed cyclically with the characters trapped in a relentless perpetual motion machine. Through a Puppet Theater-like proscenium opening, viewers see three images which move up and down to simulate characters scene changes. The images have bas reliefs of the three characters, with a blank area where the faces are for a video image of the actress who performs all three roles. Fixed images of the character's arm gestures rotate into position for specific lines. The dialogue is heard through headphones, with the sound coming from the left, right and center corresponding to the speaker's position. The BS2 controls nine stepper motors (each of which is connected to one pin via an STP serial stepper driver). The timing of the piece is determined by the videotape, which contains two audio tracks. One of these audio tracks carries the audio that the audience hears; the second carries touch-tone signals that cue the BS2 to move the stepper motors to the appropriate position, and also to route the mono audio signal on the first track to either the right, left or center of the headphones. (The BSII controls a three-way switch that routes the audio.) The tones on the control track are decoded by a DSchmitt tone decoder. ===================================================================== Title : Event Logger with 8k 24C65 I2C memory [# 213] ===================================================================== Date : 001206 Author: Dave Forrest E-mail: dforrest@virginia.edu --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : EV_LOG6.BS2 URL : http://watt.seas.virginia.edu/~drfsn/extras/ -------------------------------------------------------------------- Description : Shows how to build a event logger with a BASIC Stamp II. ===================================================================== Title : Step motor ctrl for Swibot-ST [# 214] ===================================================================== Date : 001206 Author: J.D. Nicoud E-mail: nicoud@didel.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : SWISTAVI.BS2 URL : http://www.didel.com -------------------------------------------------------------------- Description : The program controls the stepping motors of the Swibot-ST Several other programs are available, but the objective of the Swibot documentation is to learn how to write your own programs for the sensors you develop. Swibot is 60 mm long, low power, easy to add special interface boards, even a gripper. ===================================================================== Title : Smart PC-Case Cooling System [# 215] ===================================================================== Date : 001217 Author: Robert Staph E-mail: rstaph@aasdcat.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : SMARTCASE.BS2 URL : http://www.aasdcat.com/rstaph/cooling/smartcase.html -------------------------------------------------------------------- Description : This is a Basic Stamp 2 controlled liquid cooling system for per- formance based PC computers. This system controls computer start-up and shutdown, the fluid pump, all the DC brushless fans in my case according to temperature sensors placed throughout the case. The system also has a LCD screen to display RPM and Temperature data. ===================================================================== Title : Crosswire Alignment Sensors [# 216] ===================================================================== Date : 010106 Author: Greg Watts E-mail: gwatts@socket.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : HOPJAM.BAS URL : N/A -------------------------------------------------------------------- Description : This device checks the alignment of steel crosswires being pulled from a hopper onto a moving chain at aprox. 15 wires/second. The grid is being checked prior to welding. The device consists of 4 proximity sensors in a 3 inch square pattern, with a strobe reference pulse coming from the welder. A Stamp 1 does the job nicely, with 5 inputs, 1 output, and Debug. Since everything is 24 VDC, the Stamp has a voltage regulator, and each input triggers a transistor with 5 VDC pullup. The source code loops until it receives a strobe pulse from the welder. It then checks the state of the 4 sensors. If all sensors are ON, the grid is aligned. If either or both sensors nearest the hopper are off, a flag is raised. The Stamp then monitors the next 5 strobe pulses. If ANY sensors are OFF during these pulses, a timed alarm pulse is made. This output flags the welder to stop, and a Debug command states which sensor/s made the alarm, in case troubleshooting of the sensors is necessary. If all sensors check OK within the 5 strobe pulses, or after an alarm, the source code loops back to the beginning. This device allows the welder operator to repair the grid before welding, or minimize bad grids, saving oodles. STAMPS RULE ! ===================================================================== Title : Modular Lab Automation and Control System [# 217] ===================================================================== Date : 010110 Author: Adrian Schneider E-mail: adrian.schneider@systor.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : In many cases of scientific experimentation or for demonstaration process automation and computerized control is desired. Whilst a computer is generally available in any lab, the hardware to interface the computer to the experimental setup is not. The main component of MACS is a mother-board based on a BS2 (BS2, BS2e or BS2sx, up to user's needs) series micro controller. Beyond the BS2 this board provides the serial interface for porgramming and data transfer, a 5-key keyboard (4 general purpose plus reset), a 4x20 character alphanumeric LCD and a bus of 6 places to take functional hardware modules. MACS can operate completely stand-alone or connected to a PC with computation intensive tasks or complex logic performed by the computer. The BS2 provides 16 I/O-ports. Five ports are reserved for the keyboard and the LCD. The remaining 11 ports form the bus. Two ports of 11 are predefined as clock and I/O for synchronous serial communication (SSIO) with the modules, the remaining 9 ports are general purpose. All general purpose ports provide the capabilities offered by the BS2 such as: digital I/O, synchronous or asynchronous serial I/O, PWM-semi-analog output, RC-network time constant measuring and more. All specialized hardware is kept on modules. Currently a dual/4 channel analog-digital-converter (based on the LTC1298 12-bit ADC) and a dual relay board are prototyped. The synchronous serial communication advantage: Beyond the two predefined SSIO ports, the dual ADC module needs only two of the general purpose ports (for chip select) and provides 4 12-bit analog input channels! Technical information is avaliable from the author ===================================================================== Title : Digital Speedometer/Tach [# 218] ===================================================================== Date : 010116 Author: Scott Thomas E-mail: sdt_22@hotmail.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : For a senior project in college, I designed and built a digital speedometer and tachometer. I used the BSII. The speedo went up to 199mph and the tach went to 99 x 100rpm. Since the BSII only had 16 I/O. I had to multiplex the the displays for the tach and the speedo readouts. The input for the speedo was a sensor off of a for car. It sends out a about six pulses for one rev. so with a little calculation I got the speed. Pretty accurate too. About 1/2 mph. The tach was about the same. I used a hall effect sensor on the crackshaft. counted the pulses and figured out the rpm's. ===================================================================== Title : Dynamometer [# 219] ===================================================================== Date : 010201 Author: Stephen Muller E-mail: electricalmanager@cvs.com.au --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : DYNO201G.BS2 URL : N/A -------------------------------------------------------------------- Description : I'm using the stamps pulse in command to time how long it takes for a solid steel drum to complete a revolution. The data is transmitted via a RS-232 driver to a PC. I've written a program in Visual Basic to receive the data, calculate acceleration and graph the result in Horsepower / PS / Kilowatts. This project is a Motor-Cycle Inertia dynamometer used to measure the power produced at the rear wheel of any motor-cycle. It still is in its developement stage, however I have had a 160Hp Suzuki "Hayabusa" on it with very good results as well as some other bikes. The stamp is programmed to receive various commands as well, starting speed, when to end etc. I also use another pulse in to measure the engines RPM as well. The pulses from a proximity switch, switch an opto-coupler which in turns switches a D-Q flip flop configured as a divide by two which gives me a nice square wave to measure the timing of. ===================================================================== Title : Counter with memory [# 220] ===================================================================== Date : 010215 Author: Hatem Raya E-mail: stampic@yahoo.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : COUNTER.BS2 URL : http://www.geocities.com/stampic/links.htm -------------------------------------------------------------------- Description : The counter gets the pulses from the proximity sensor to the opto isolater then to the bs2 if the power is lost the counter retain the last counted number at the eeprom when the bs2 is restarted he display the last count at the scout edward serial lcd the is still going on since 2000-1-20 with no problems. ===================================================================== Title : Thunder and Lightning FX [# 221] ===================================================================== Date : 010302 Author: Gary L. Van Balen E-mail: pgk@fyi.net --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: Yes Filename : N/A URL : http://homepage.mac.com/GaryVanBalen/s_StormFX.html -------------------------------------------------------------------- Description : This Basic Stamp application is for an electronic thunder & lightning effect I built for Halloween 2000. The device uses an electronic strobe light (from RadioShack) that has been modified for external triggering; a 20-sec digital recorder module (also from RadioShack) that has been modified for external triggering; and a Basic Stamp II SX computer (BS2SX) to control the strobe light and digital recorder. The strobe light simulates the lightning flashes while the digital recorded provides the "thunder." Photos, schematics, a program listing, and thunder sound file for the device are provided. ===================================================================== Title : R/C Glider Flight Data Collection [# 222] ===================================================================== Date : 010302 Author: Etan Karni E-mail: karni@purdue.edu --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : FMAIN1F.BAS URL : http://icdweb.cc.purdue.edu/~karni/arfdcaas/ -------------------------------------------------------------------- Description : This project uses a BSI to coordinate the collection of flight data from an airborne R/C Glider. Analog sensor data is digitized by an ADC0838, read in, and saved in a RAMPACK B. It is sent over an RS-232 link to a laptop for further processing after the glider has landed. The page contains a pretty comprehensive overview of the project. ===================================================================== Title : Stamp Teaching Interface [# 223] ===================================================================== Date : 010310 Author: Alan Whyte E-mail: alan.whyte@libertysurf.co.uk --------------------------------------------------------------------- Stamp model : BASIC Stamp Rev. D Code available: N/A Filename : N/A URL : http://controlmodels.co.uk -------------------------------------------------------------------- Description : A picture, a schematic, a PCB, and a Components List for a universal interface used to teach control applications using Stamp. The site also contains pictures of practical situations where the Stamp interface can be applied. The complete site is dedicated to the teaching of microcontroller applications in practical problem solving. ===================================================================== Title : Controller for shootingrange [# 224] ===================================================================== Date : 010324 Author: Peter Panstruga E-mail: peter@panstruga.de --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : SVLDUEL1.BS2 URL : N/A -------------------------------------------------------------------- Description : Programm for a 25m pistol shootingrange with 2 duel- machines and 10 lanes. Timing for precision and duelshooting by regulations of the Deutscher Schuetzenbund e.V. All comments are in german. Code, schematics and layout are free. ===================================================================== Title : Two Brained Robot [# 225] ===================================================================== Date : 010407 Author: Mike Firoved E-mail: msf2@usa.net --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I am using two Basic Stamps for my current robot. One is for functions not relating to the overall naviagation or decision making. Like the lower brain on a human, it blinks the eyes, it takes care of digestion. Like my robot, the first stamp manages power, sends messages to display, handles tx/rx. The second one works on trying to navigate, collecting readings, making psudo-decisions. ===================================================================== Title : Cheap accurate timing source [# 226] ===================================================================== Date : 010501 Author: John Saunders E-mail: saunj@cts.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I have twice found it convenient to use the innards of a digital watch to provide an accurate 32-Hz square wave timing source for a Stamp II. Remove the case and display, bridge the set contacts to freeze the display, and probe the display contacts. You will probably find soon a bipolar square wave which is easily amplified to 5V. I use a LED to provide a regulated power voltage. ===================================================================== Title : ANODE, BS1 Video Game [# 227] ===================================================================== Date : 010501 Author: Steve Curd E-mail: steve@curd.net --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: Yes Filename : ANODE.BAS URL : N/A -------------------------------------------------------------------- Description : The world's tiniest video game! Streaming electrons flash across the screen of a 2x16 LCD display. You control a moving ANODE with two pushbuttons, and attempt to catch the electrons. The display also keeps track of the number of electrons and your catch-score. Complete with scoring, sound effects, and customized graphics for controlling the "sprites", all packed into a stock Basic Stamp 1! ===================================================================== Title : TOKEN-CATCHER/PUSHER for remote download to BS2SX [# 228] ===================================================================== Date : 010523 Author: Klaus Zahnert E-mail: kzahnert@dd.sda.de --------------------------------------------------------------------- Stamp model : BS2SX-IC Module Code available: Yes Filename : TOK_CP08.ZIP URL : http://www.ckuehnel.ch -------------------------------------------------------------------- Description : This is a up to now limited testversion of a tool for token-based transportion and remote download of PBASIC - edited programs. So you avoid to give your sourcecode to others for manipulation and recognicing items. For using it you need the free VB6-library from Microsoft and a little serial adapter to make with some wires and two diodes. Packet includes the programs and full documentation. It's for free download from http://www.ckuehnel.ch|Mikrocontroller-Support|BASIC Stamp Please tell me from your experience while using it, your ideas, comments with mail to kzahnert@dd.sda.de ===================================================================== Title : Hitachi 44780 LCD connected to BS2-OEM [# 229] ===================================================================== Date : 010606 Author: Hans Luyten E-mail: h.luyten@hccnet.nl --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: Yes Filename : N/A URL : http://www.weethet.nl/english/basicstamp2_lcdcontr -------------------------------------------------------------------- Description : How to connect a Hitachi 44780 based LCD display to your Basic Stamp 2 in 4 bit mode (just using 6 data lines of your Stamp). Includes downloadable word document, downloadable sources, how to hook-up the LCD to your Stamp, etc. ===================================================================== Title : Lead Acid Battery Desulfator [# 230] ===================================================================== Date : 010907 Author: Don Denhardt E-mail: ddenhardt3@home.com --------------------------------------------------------------------- Stamp model : BS1-IC Module Code available: N/A Filename : N/A URL : http://shaka.com/~kalepa/desulf.htm -------------------------------------------------------------------- Description : 80% of lead acid batteries fail due to sulfation. Of the three methods known to desulfate, only electronic pulsing is a sure, nondestructive and safe treatment. I have brought many batteries back from the dead with the circuit and a trickle charger. You can get free batteries at your local recycling center and recover them. A car battery may not be worth saving due to it's inexpensive nature. BUT a $200 Trojan L-16 deep discharge battery will. As will an expensive boating "house battery". I have not had the time to sit down and draw a schematic for the Stamp pulser. Although the link shows a 556/N channel based desulfator, I have adapted a Stamp to do the same. Merely erase the 556 and it's components. Keep the coupling circuit to the FET and substitute any BASIC Stamp. Do a PULSOUT command, FOR Z=1 TO 65000:PULSOUT, 5, 5:NEXT Z ' (BASIC Stamp1 IC) A useful addition to the Stamp pulser are 10K NTC thermistors. Epoxy one to a TO-220 heatsink and attach to either the FET or Fast Recovery Diode. Leave the other freestanding on the circuit board to monitor ambient air temperatures. Program the Stamp to gradually increase the pulse width until a safe difference temperature is established by using POT commands. Continue to monitor the temperatures of both and increase or decrease the pulse to maintain a safe difference temperature. As a battery sulfates while discharging (PV arrays) the load seems to increase on the pulser. The thermistors will prevent heat damage by lowering the power out. In the future I'll be publishing a battery analyzer that will test a battery for the degree of sulfation. This circuit will be added to the Stamp based pulser to enhance its usefulness. ===================================================================== Title : Direct voltage measurement using passive component [# 231] ===================================================================== Date : 010924 Author: Rob Standen E-mail: standenr@cadvision.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: YES Filename : N/A URL : N/A -------------------------------------------------------------------- Description : I don't know if this has been thought of before. It is a method of directly measuring a slowly varying DC voltage using 2 stamp pins and a few passive components. This cct works for input voltages up to 1.5V (i.e. the threshold for an input pin). Possibly it could work for higher voltages by making the input side a potential divider but I haven't tried it. It uses 2 diodes, one capacitor and 3 resistors. Possibly just 2 resistors, you can eliminate Rin if the internal resistance of the voltage source is not too low (too low a total resistance risks blowing the diode with the inrush current). Starting with the cap discharged, current flows from Vin until it is fully charged. PULSOUT 0,10 pumps a charge into the cap. IF IN1=1 tests to see if that charge has raised the input to threshold; if not, another charge is pumped in etc etc until it flips. "millivolts" then discharges the cap by making P1 LOW ready for the next measurement. Both diodes need to be signal types. It works best if D1 is a low forward voltage type; I used a germanium OA91 from my salvage box. Possibly a low Vf Schottky would work as well or better. I used Rin = 10K, R1 = 12K, R2 = 220R, C1 = 1microF. With Vin = 0V, adjust R1 and the pulse width until it takes 246 pulses to flip. The shortcomings: the response is non-linear for two reasons: (a) the diode forward drop and (b) the finite (approx 1 Meg) input resistance of P1 bleeds charge out of the cap. Its slow since the innerloop takes 1.4ms to execute and it takes up to 245 iterations to get the result. But its not bad for only 2 diodes, 2 resistors and 1 cap. The nonlinearity could be corrected for in a lookup table. ===================================================================== Title : Snake Robots [# 232] ===================================================================== Date : 011001 Author: Dr. Gavin Miller E-mail: drgavin@aol.com --------------------------------------------------------------------- Stamp model : BS2-IC Module Code available: No Filename : N/A URL : http://www.snakerobots.com -------------------------------------------------------------------- Description : I use several basic stamps to control my radio-controlled snake robots. S3 uses two Basic Stamp IIs with 5 Mini SSC Is servo controllers. S5 uses one Basic Stamp II along with a Scenix microcontroller and 8 MiniSSC IIs. The stamps decode the incoming radio control signals and drive the servos via the servo controllers. ===================================================================== 1.7 BASIC Stamp resources on the net! ------------------------------------- Below are some usefull BASIC Stamp resources (in no particular order) on the net. If you know about a site that is not mentioned in the list feel free to forward the URL to me. 1. Parallax, Inc. ----------------- http://www.parallaxinc.com 2. BASIC Stamps in Class! ------------------------- http://www.stampsinclass.com 3. Peter H. Andersons Stamp pages --------------------------------- http://www.phanderson.com 4. Steve's Workbench -------------------- http://www.radioshack.com/sw/swb/ 5. Mac's Stamp page ------------------- http://www.albany.net/~pjmac/stamp/ 6. Al Williams (WD5GNR) Stamp pages ----------------------------------- http://www.al-williams.com/wd5gnr 7. Basic Stamp II weather station --------------------------------- http://www.oeonline.com/~tparnell/index.html 8. Corky'z Robotz ----------------- http://www.geocities.com/SiliconValley/Park/1302/robotz.htm 9. Radio Controlled Digital Clock --------------------------------- http://www.doc.ic.ac.uk/~ih/doc/lcd/ise1-96/radclock/ 10. Daniel G. Clemmensens Thermometer Interface Subsystem -------------------------------------------------------- http://www.ShireNet.com/~dgc/stamp/d1820.htm 11. Beau Schwabe BASIC Stamp page --------------------------------- http://www.ionet.net/~bschwabe/BasicStampII/0000.html 12. Basic Stamp divided by four ------------------------------- http://www.dontronics.com/bs4.html 13. WinStamp - Windows 95 editor -------------------------------- http://www.ledoux.org/freeware/winstamp/ 14. BASIC Stamp FAQ ------------------- http://www.al-williams.com/wd5gnr/stampfaq.htm 15. BSSClub ----------- http://www.geocities.com/SiliconValley/Cable/7772/ 16. Basic Stamp WebRing ------------------------ http://home.korax.net/~telic/stamp.htm 1.8 L.O.S.A Database Conversion Utility --------------------------------------- Chad Penney made a neat L.O.S.A utility available. His program will convert the L.O.S.A text document into an Access database. You can then easily search, view and print individual applications right from the program. If you have Access you can open then database and create your own reports. You can download the program from the following URL... http://www.cmpenney.com Send credits and comments directly to him at cmpenney@hotmail.com. 1.9 Copyright notice -------------------- This text is Copyright 1995-2001 by Christer Johansson, HTH. All rights reserved. You are granted the following rights: I. To make copies of this work in original form, so long as (a) the copies are exact and complete (b) the copies include the copyright notice and these paragraphs in their entirety II. To distribute this work, or copies made under the provisions above, so long as (a) this is the original work and not a derivative form (b) you do not charge a fee for copying or for distribution (c) you ensure that the distributed form includes the copyright notice, this paragraph, the disclaimer of warranty in their entirety and credit to the author (d) the distributed form is not in an electronic magazine or within computer software (prior explicit permission may be obtained from the author) (e) the distributed form is the LATEST version of L.O.S.A to the best of the knowledge of the distributor (f) the distributed form is electronic You may not distribute this work by any non-electronic media, including but not limited to books, newsletters, magazines, manuals, catalogs without prior explicit permission. These rights are temporary and revocable upon written, oral, or other notice by the author. This copyright notice shall be governed by the laws of Sweden. If you would like additional rights beyond those granted above, contact the author at "cj@hth.com". 2.0 Credits and other things ---------------------------- Credits should go to all of you who makes this list possible I hope it suffices to say "Thank you to all who have contributed to L.O.S.A - we all appreciate it." Special thanks to all of you at Parallax, Inc. who makes and support this great products! If there is anything you think I've missed (or spelled wrong) I would love to hear from you so we could make this list even better. You could reach me at the following e-mail address: cj@hth.com Stay tuned, /Christer _____________________________________________________________________ Copyright (c) 1995-2001 HTH. All rights reserved. Parallax, BASIC Stamp, and PBASIC are trademarks of Parallax, Inc. Other brand and product names are trademarks or registered trademarks of their respective holders. _____________________________________________________________________ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >> L.O.S.A is compiled by Christer Johansson, HTH << -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-