A Beginner’s Guide to Haunting with Stamp Microcontrollers Joe Stone

Slides:



Advertisements
Similar presentations
JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
Advertisements

Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
Introduction 2 BASIC Stamp®. Microcontrollers Microcontrollers can be thought of as very small computers which may be programmed to control systems such.
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
1 Lecture 1: Your Boe-Bot's Servo Motors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed by: Martin.
Hardware Meets Software CPSC 120 Principles of Computer Science February 15, 2012.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
EUT 1040 Lecture 10: Programmable Logic Controllers.
Servos The material presented is taken from a variety of sources including:
Basic Stamp II is kinda cool Bytes of EEPROM(non-volatile) - Clock speed of 20 MHz. - Holds 600 lines of code in EEPROM - executes an average of.
University of Pennsylvania 1 The BASIC Stamp 2. University of Pennsylvania 2 The BASIC Stamp 2 Serial Signal Conditioning Conditions voltage signals between.
ENGR 101: Robotics Lecture 2 – Text Programming Outline  Introduction to PBASIC  Variables, I/O, Arithmetic  Controlling the LEDs References 
Railway Foundation Electronic, Electrical and Processor Engineering.
Railway Foundation Electronic, Electrical and Processor Engineering.
Introduction.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Basic Stamp Quick Start. Basic Stamp II Self contained computer –“Micro-controller” Specialized for “embedded” computing (sensing and controlling things)
Project Goals And Objectives ____________________________________________________ Create a “smart”, customizable, all in one system Little to no learning.
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
BASIC Stamp Editor Once installed, the Stamp Editor will be available on your desktop, and as a menu option under Start  Program Files  Parallax Inc.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
1 Microcontrollers you should know about Thomas Edwards
A Simple Tour of the MSP430. Light LEDs in C LEDs can be connected in two standard ways. Active high circuit, the LED illuminates if the pin is driven.
Team Members: Ruichen Zhao Xhoua Lor Jen-Yuan Hsiao John Marion.
The Basic Stamp Instruction Set Architecture. The Microprocessor A microprocessor is a computer that typically has an architecture that is well suited.
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
Controlling the Outside World
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Programming the CheapBot-14. Start the Editor Set the Mode.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
Software and documentation Download and install: “Setup-Stamp-Editor-Lrg-v2.2.6.exe”  Downloads  BASIC Stamp software BASIC Stamp Syntax.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
ME456: Mechatronics Prof. Clark J. Radcliffe Mechanical Engineering
ME456: Mechatronics Systems Design Lecture 3 Chapter 2: Lights On –Lights Off Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University.
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Slide Menlo Drive Suite 100 Rocklin, CA Presentation based on: “What’s a Microcontroller?" by Andy Lindsay Presented by Andy.
ENGR 101: Robotics Lecture 3 – Robot Motion Outline  Robot Motion  FOR Loops  Making Music References 
ENGR 101: Robotics Lecture 4 – Making Decisions Outline  The Stall Sensor  Making Decisions  Random Number Generation References 
July 7, 2003 Slide 1 of 6 Automation, Robotics and Mechatronics Lab, SUNY at Buffalo Introduction To Programming Chetan Jadhav Talib Bhabharawala Seung-Kook.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Slide Menlo Drive Suite 100 Rocklin, CA
Digital Electronics Introduction to Microcontrollers and the Board of Education.
ME456:Mechatronics WAM Chapter 1: Getting Started Prof. Clark J. Radcliffe Mechanical Engineering Michigan State University
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
July 18, UCSD - R.A. de Callafon Short Intro to Micro Processors and I/O functions of our Kinetic Sculpture Control Box Raymond de Callafon.
Digital Electronics Board-of-Education : Output. Board of Education - Output This presentation will explain, both from a hardware and software perspective,
BalloonSat Mini Flight Computer Programming. label: An address, or location for the program to jump to Must end in a colon Can be any name, but not a.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
LSU 2004Introduction to Programming1 Introduction to Programming with the BASIC Stamp Programming Unit, Lecture 1.
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
PICAXE Microcontroller
Home automation using Arduino & ‘PIR sensor’
Introduction to Servos
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
PC Mouse operated Electrical Load Control Using VB Application
Chapter 1: Getting Started
Introduction to Microcontrollers and the Board of Education
BASIC Stamp II Programming for Descartes Robots
Servos The material presented is taken from a variety of sources including:
Servos The material presented is taken from a variety of sources including:
Programming Boe-Bots (Part 1)
Servos The material presented is taken from a variety of sources including:
Describe how NASA remotely controls equipment in space.
Introduction to Microprocessors and Microcontrollers
PLC’s Are ... Similar to a Microcontroller: Microprocessor Based
Controlling YOUR ROBOT
Pololu DC Motor Controller
Testing 1, 2, 3, testing, testing…
Programming the BASIC Stamp
Presentation transcript:

A Beginner’s Guide to Haunting with Stamp Microcontrollers Joe Stone

With Special Guests Parallax Application Engineers John Williams John Barrowman

Haunt Controllers Single-Input, Single-Output, Single-Step Single-Input, Single-Output, Multi-Step Single-Input, Multi-Output, Multi-Step Multi-Input, Multi-Output, Multi-Step

Haunt Controllers (cont) Single-Input, Single-Output, Single-Step DelayDelay’On e.g., Pop-Up

Haunt Controllers (cont) Terror by Design Universal Dual Timer II UDT II $52.95, UDT II IR $

Haunt Controllers (cont) Single-Input, Single-Output, Multi-Step DelayDelay’On e.g., Electric Chair

Haunt Controllers (cont) Terror by Design Puppet Master Puppet Master $49.95, Puppet Master IR $

Haunt Controllers (cont) Single-Input, Multi-Output, Multi-Step Delay 2Delay 2’ Delay 1 Delay 3 Delay 3’ Delay 1’ e.g., Electric Chair, Fog, Sound, …

Haunt Controllers (cont) Multi-Input, Multi-Output, Multi-Step Delay 2Delay 2’ Delay 1 Delay 3 Delay 3’ Delay 1’

Haunt Controllers (cont) Gilderfluke MiniBrick8 BR-MiniBRK8, $ PCMACs Free, MACs (Real-Time) License $550

Haunt Controllers (cont)

What is a Stamp Microcontroller? A BASIC Stamp microcontroller is a single-board computer that runs the Parallax PBASIC language interpreter in it's microcontroller.

What is a Stamp Microcontroller? (cont) The developer's code is stored in an EEPROM, which can also be used for data storage.

What is a Stamp Microcontroller? (cont) The PBASIC language has easy-to-use commands for basic I/O, like turning devices on or off, interfacing with sensors, etc.

What is a Stamp Microcontroller? (cont) Parallax Beginner’s All-Purpose Symbolic Instruction Code

What is a Stamp Microcontroller? (cont) Parallax Beginner’s All-Purpose Symbolic Instruction Code

BASIC Stamp 1 vs BASIC Stamp 2 BS1BS2 Speed (MHz)4 MHz20 Mhz Speed (instructions per second)2,0004,000 Inputs/Outputs816 RAM Variables (bytes)1632 EEPROM (bytes)2562K Program Length (lines of code)80 – PC Port (Programming)ParallelSerial

BASIC Stamp 1 Parallax BASIC Stamp 1 Rev. Dx Parallax Stock#: 27100, $

BASIC Stamp 1 (cont) Lynxmotion First Step BASIC Stamp 1 Microcontroller Discontinued 3

BASIC Stamp 1 (cont) Parallax BASIC Stamp 1 Project Board Parallax Stock#: 27112, $

Programming Interface Parallax BASIC Stamp 1 Serial Adapter Parallax Stock#: 27111, $4.95 Allows “traditional” BS1 (Lynxmotion First Step, Parallax Rev. DX, …) to be programmed via a serial port. 5

Programming Interface (cont) Parallax BASIC Stamp 1 Serial Adapter Parallax Stock#: 27111, $4.95

Obsolete Stamp Editor (cont) Parallax BASIC Stamp 1 Editor for DOS Parallel Port Interface Windows 95/98

Stamp Editor (cont) Parallax BASIC Stamp Windows Editor Version 2.1 Serial Port Interface Windows 98/ME/NT4.0/2K/XP

Stamp Editor (cont) Parallax BASIC Stamp Windows Editor Version 2.1

Stamp Programming using PBASIC Parallax BASIC Stamp Manual Version 2.1 It’s free! Defines hundreds of commands of which we will consider eleven (11).

BS1 Memory Organization Word NameByte NameBit NameSpecial Notes PORTPINSPIN0 – PIN7I/O pins; bit-addressable. DIRSDIR0 – DIR7I/O pins direction; bit-addressable. W0B0BIT0 – BIT7Bit-addressable. B1BIT8 – BIT15Bit-addressable. W1B2 B3 W2B4 B5 W3B6 B7 W4B8 B9 W5B10 B11 W6B12 B13

Stamp Programming using PBASIC SYMBOL Command The SYMBOL command is used to “declare” a variable Name. A variable name may correspond to a RAM RegisterName, SYMBOL Name = RegisterName or to a ConstantValue, SYMBOL Name = ConstantValue

Stamp Programming using PBASIC IF..THEN Command The IF..THEN command evaluates the Condition and if the Condition is true (non-zero), goes to the point in the program marked by Address, IF Condition THEN Address where, Condition is a statement that can be evaluated as true (non-zero) or false (zero). Address is a label that specifies where to go in the event that Condition is true.

Stamp Programming using PBASIC FOR..NEXT Command The FOR..NEXT command creates a repeating loop that executes the program lines between FOR and NEXT, incrementing or decrementing the Counter according to the StepValue until the value of the Counter variable passes the EndValue. FOR Counter = StartValue TO EndValue { STEP {-} StepValue} NEXT {Counter} where, Counter is a variable that counts the number of iterations through the FOR..NEXT loop. StartValue and EndValue are variables or constants with a range of ,535 that specifies the initial and final value of the Counter, respectively. StepValue is an optional variable or constant with a range of ,535 by which the Counter is incremented or decremented with each iteration through the FOR..NEXT loop. If the StartValue is greater than the EndValue, the StepValue is preceded with a minus sign (-).

Stamp Programming using PBASIC OUTPUT Command The OUTPUT command sets the specified pin to output mode, OUTPUT Pin where, Pin is a variable or constant with a range of

Stamp Programming using PBASIC LOW Command The LOW command sets the specified pin to output mode and sets the output of the specified pin low (zero volts), LOW Pin where, Pin is a variable or constant with a range of

Stamp Programming using PBASIC HIGH Command The HIGH command sets the specified pin to output mode and sets the output of the specified pin high (five volts), HIGH Pin where, Pin is a variable or constant with a range of

Stamp Programming using PBASIC INPUT Command The INPUT command makes the specified pin an input pin, INPUT Pin where, Pin is a variable or constant with a range of

Stamp Programming using PBASIC PAUSE Command The PAUSE command halts the execution of the program for the specified Period, PAUSE Period where, Period is a variable or constant and is specified in milliseconds with a range of ,535.

Stamp Programming using PBASIC GOTO Command The GOTO command goes to the point in the program specified by Address, GOTO Address where, Address is a label that specifies where to go.

Stamp Programming using PBASIC PULSOUT Command The PULSOUT command generates a pulse on Pin with a width of Period, PULSOUT Pin, Period where, Pin is a variable or constant with a range of Period is a variable or constant and is specified in 10 µsec units with a range of ,535.

Stamp Programming using PBASIC SEROUT Command The SEROUT command transmits asynchronous serial data (e.g., RS-232 data),, SEROUT Pin, BaudMode, ( {#} OutputData) where, Pin is a variable or constant with a range of 0 – 7 that specifies the output pin through which the serial data will be transmitted. BaudMode is a variable or constant with a range of 0 – 15 that specifies serial timing and configuration (e.g., 4 = N2400 = 2400 Baud inverted, always driven). OutputData is a list of variables, constants, expressions and formatters that tells SEROUT how to format outgoing data.

Stamp Programming using PBASIC Example: Flashing LED SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start

Stamp Programming using PBASIC Example: Flashing LED (cont) SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start

Stamp Programming using PBASIC Example: Flashing LED (cont) SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start

Stamp Programming using PBASIC Example: Flashing LED (cont) SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start

Stamp Programming using PBASIC Example: Flashing LED (cont) SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start

Stamp Programming using PBASIC Example: Flashing LED (cont) SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start

Stamp Programming using PBASIC Example: Flashing LED (cont) SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start

Stamp Programming using PBASIC Example: Flashing LED (cont) SYMBOL led = 0 OUTPUT led start: HIGH led PAUSE 250 ' Delay 1/4 sec LOW led PAUSE 250 ' Delay 1/4 sec GOTO start Demo 6

Stamp Programming using PBASIC Example: LED Chaser DIRS = % SYMBOL pin = B2 start: FOR pin = 0 TO 7 HIGH pin PAUSE 100 ' Delay 0.1 sec LOW pin PAUSE 100 ' Delay 0.1 sec NEXT pin GOTO start

Stamp Programming using PBASIC Example: LED Chaser (cont) DIRS = % SYMBOL pin = B2 start: FOR pin = 0 TO 7 HIGH pin PAUSE 100 ' Delay 0.1 sec LOW pin PAUSE 100 ' Delay 0.1 sec NEXT pin GOTO start

Stamp Programming using PBASIC Example: LED Chaser (cont) DIRS = % SYMBOL pin = B2 start: FOR pin = 0 TO 7 HIGH pin PAUSE 100 ' Delay 0.1 sec LOW pin PAUSE 100 ' Delay 0.1 sec NEXT pin GOTO start

Stamp Programming using PBASIC Example: LED Chaser (cont) DIRS = % SYMBOL pin = B2 start: FOR pin = 0 TO 7 HIGH pin PAUSE 100 ' Delay 0.1 sec LOW pin PAUSE 100 ' Delay 0.1 sec NEXT pin GOTO start Demo 7

Stamp Interfacing Connector Kit

50 VDC via Darlington Sink Driver Darlington Sink Driver Digi-Key Part #: ULN2803AP-ND, $0.72

50 VDC via Darlington Sink Driver (cont) Darlington Sink Driver Digi-Key Part #: ULN2803AP-ND, $0.72 Eight Channels Output Current: 500 mADC Output Voltage: Up to 50 VDC

50 VDC via Darlington Sink Driver (cont) Darlington Sink Driver Digi-Key Part #: ULN2803AP-ND, $ P7 P6 P5 P4 P3 P2 P1 P0 Vss O7 O6 O5 O4 O3 O2 O1 O0 24 Vdc

50 VDC via Darlington Sink Driver (cont) Darlington Sink Driver Dual General-Purpose IC PC Board Radio Shack Catalog #: , $ Pin Header Posts + 1 Pin 20-Pin Retention Contact Radio Shack Catalog #: , $

110 VAC via Solid-State Relay Crydom CX240D5 Solid-State Relay Digi-Key Part #: CC1063-ND, $

110 VAC via Solid-State Relay (cont) Crydom CX240D5 Solid-State Relay Digi-Key Part #: CC1063-ND, $11.78 One Channel Input Voltage: 3 – 15 VDC Input Current: 15 mA Output Current: 5 A Output Voltage: 12 – 280 VAC

110 VAC via Mechanical Relay Chauvet SR-8 Relay Pack Chauvet Part #: SR-8, $37.00 (used in conjunction with Darlington sink driver and 12 Vdc)

110 VAC via Mechanical Relay (cont) Chauvet SR-8 Relay Pack 12 Vdc - Yellow 8 – Orange 7 – Black 6 – Brown 5 - Red 1 - Green 2 – Blue 3 – Purple 4 – Gray Demo 10

Servo Motors

Servo Motors (cont) Internals

Servo Motors (cont) Theory

Servo Motors (cont) Theory

Servo Motors (cont) SYMBOL servo = 0 OUTPUT servo SYMBOL position = B2 ‘ 100 x 10 µsec = 1000 µsec = 1 msec ‘ 200 x 10 µsec = 2000 µsec = 2 msec start: FOR position = 100 TO 200 STEP 2 ‘ 1 to 2 msec PULSOUT servo, position PAUSE 10 NEXT position FOR position = 200 TO 100 STEP -2 ‘ 2 to 1 msec PULSOUT servo, position PAUSE 10 NEXT position GOTO start Direct Servo Control

Servo Motors (cont) SYMBOL servo = 0 OUTPUT servo SYMBOL position = B2 ‘ 100 x 10 µsec = 1000 µsec = 1 msec ‘ 200 x 10 µsec = 2000 µsec = 2 msec start: FOR position = 100 TO 200 STEP 2 ‘ 1 to 2 msec PULSOUT servo, position PAUSE 10 NEXT position FOR position = 200 TO 100 STEP -2 ‘ 2 to 1 msec PULSOUT servo, position PAUSE 10 NEXT position GOTO start Direct Servo Control

Servo Motors (cont) SYMBOL servo = 0 OUTPUT servo SYMBOL position = B2 ‘ 100 x 10 µsec = 1000 µsec = 1 msec ‘ 200 x 10 µsec = 2000 µsec = 2 msec start: FOR position = 100 TO 200 STEP 2 ‘ 1 to 2 msec PULSOUT servo, position PAUSE 10 NEXT position FOR position = 200 TO 100 STEP -2 ‘ 2 to 1 msec PULSOUT servo, position PAUSE 10 NEXT position GOTO start Direct Servo Control Demo 11

Servo Motors (cont) Dedicated Servo Controller Seetron SSC-12

Servo Motors (cont) Dedicated Servo Controller Parallax Servo Controller (PSC)

Servo Motors (cont) Dedicated Servo Controller Seetron MiniSSC-II

Servo Motors (cont) Dedicated Servo Controller Seetron MiniSSC-II SYMBOL servo = 0 SYMBOL sync = 255 SYMBOL position = B2 start: FOR position = 0 TO 254 STEP 1 SEROUT 0, N2400, (sync,servo,position) NEXT position FOR position = 254 TO 0 STEP -1 SEROUT 0, N2400, (sync,servo,position) NEXT position GOTO start

Servo Motors (cont) Dedicated Servo Controller Seetron MiniSSC-II SYMBOL servo = 0 SYMBOL sync = 255 SYMBOL position = B2 start: FOR position = 0 TO 254 STEP 1 SEROUT 0, N2400, (sync,servo,position) NEXT position FOR position = 254 TO 0 STEP -1 SEROUT 0, N2400, (sync,servo,position) NEXT position GOTO start

Servo Motors (cont) Dedicated Servo Controller Seetron MiniSSC-II SYMBOL servo = 0 SYMBOL sync = 255 SYMBOL position = B2 start: FOR position = 0 TO 254 STEP 1 SEROUT 0, N2400, (sync,servo,position) NEXT position FOR position = 254 TO 0 STEP -1 SEROUT 0, N2400, (sync,servo,position) NEXT position GOTO start 12

Passive Infrared Motion Detector Circuit Specialists PIR Part #: K76, $

Passive Infrared Motion Detector Circuit Specialists PIR Fully Assembled and Tested Connections: Power, Ground and Output Input Voltage: 5 – 10 VDC Output Voltage: 0.5 sec Pulse Range: ~10’

Digital Voice Recorder (cont) Cowlacious ISD® Chipcorder® Player Board $20.95 (Assembled unit with 60 Second ISD Chip) 14

Digital Voice Recorder (cont) QualityKits 40 Second Message Recorder Kit QualityKits Part #: QK146, $

Digital Voice Recorder (cont) QualityKits 40 Second Message Recorder Kit QualityKits Part #: QK146, $

Digital Voice Recorder (cont) Quadravox QV306M4P Playback Module Parallax Part #: 27967, $

Digital Voice Recorder (cont) Quadravox QV430P Sound Programmer Parallax Part #: 27968, $

Digital Voice Recorder Radio Shack 20-sec Recording Module Radio Shack Part #: , $

Digital Voice Recorder (cont) Radio Shack 20-sec Recording Module

Haunt Controllers (cont) Example: Single-Input, Multi-Output, Single-Step SYMBOL cylinder = 0 OUTPUT cylinder SYMBOL dvr = 1 OUTPUT dvr SYMBOL pir = PIN7 INPUT pir HIGH dvr start: IF pir = 0 THEN start HIGH cylinder LOW dvr PAUSE 100 HIGH dvr PAUSE 3000 ‘ Delay 3 sec LOW cylinder PAUSE ‘ Delay 30 sec GOTO start

Haunt Controllers (cont) Example: Single-Input, Multi-Output, Single-Step (cont) SYMBOL cylinder = 0 OUTPUT cylinder SYMBOL dvr = 1 OUTPUT dvr SYMBOL pir = PIN7 INPUT pir HIGH dvr start: IF pir = 0 THEN start HIGH cylinder LOW dvr PAUSE 100 HIGH dvr PAUSE 3000 ‘ Delay 3 sec LOW cylinder PAUSE ‘ Delay 30 sec GOTO start

Haunt Controllers (cont) Example: Single-Input, Multi-Output, Single-Step (cont) SYMBOL cylinder = 0 OUTPUT cylinder SYMBOL dvr = 1 OUTPUT dvr SYMBOL pir = PIN7 INPUT pir HIGH dvr start: IF pir = 0 THEN start HIGH cylinder LOW dvr PAUSE 100 HIGH dvr PAUSE 3000 ‘ Delay 3 sec LOW cylinder PAUSE ‘ Delay 30 sec GOTO start

Haunt Controllers (cont) Example: Single-Input, Multi-Output, Single-Step (cont) SYMBOL cylinder = 0 OUTPUT cylinder SYMBOL dvr = 1 OUTPUT dvr SYMBOL pir = PIN7 INPUT pir HIGH dvr start: IF pir = 0 THEN start HIGH cylinder LOW dvr PAUSE 100 HIGH dvr PAUSE 3000 ‘ Delay 3 sec LOW cylinder PAUSE ‘ Delay 30 sec GOTO start Demo 17

Real-Time BS1 Code Generator WSHACS-BS1

Real-Time BS1 Code Generator (cont) Sequence Creator

For More Information

For More Information (cont)

For More Information (cont) Terror by Design Cowlacious Designs Circuit Specialists Radio Shack

For More Information (cont) Parallax Scott Edward’s Electronics, Inc. (seetron) Chauvet Lighting High Energy Lighting and Sound