-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- List Of Stamp Applications -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Typical application areas. - Industrial automation - Industrial control - General electronics - Robotics - PLC - Education - Prototyping - HAM related applications - Special effects in films - Industrial monitoring - Geological instruments - Computer peripherals - Home automation - ETC... ------------------------- > = Indicates a new or updated application since last time. # 000 # 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 ---------------------------------------------------------------------