|
StampPlot - Industrial Control
Interfaces

Welcome to the Industrial Control StampPlot Interface
Examples.
Version 3, release 0.7 (beta) or greater is recommended.
Because of the interactions between the Stamp and StampPlot,
it is important that these files reside in the Macro Directory of StampPlot: (StampPlot
directory)/Macro/IC
Download files and install:
 | IC_interfaces.exe
(self-extracting zip, 1.4MB) |
 | Extract to your StampPlot root directory (i.e. -
c:\Program files\StampPlotV3 Beta\) |
 | From StampPlot, run macro IC\IC.spm |
 | Download linked-code to your pre-built circuits and
connect. |
The interfaces fall into 3 categories:
 | Totally Stamp created and controlled (Fan PWM).
 | PC based macros created, stamp controlled (PID, Timer Logging).
 | Stamp Created with special media (all others). |
| |
The steps to using the interfaces is as follows:
 | Construct the circuit from the Industrial Control text.
 | Download the code provided in the main interface screen.
 | Connect on StampPlot.
 | The BS2 code should cause the correct interface to be
shown.
 | If not, ensure in the StampPlot configuration DTR
enabled is selected or connect on StampPlot and reset your Stamp. |
|
|
| |
Notes on the Interfaces:
 |
Parking Lot:
From Experiment 2: Push-Buttons are used to indicate cars entering and
exiting a parking lot. Gates open and close, slots fill, and sign will
change to no-vacancy. Stamp-Based code creates the interface but uses
special media which is installed.
|
 |
Fan Tachometer:
From Experiment 2:A fan's voltage is controlled using PWM. A
retro-reflective switch is used to measure RPM. The fan speed may be
ramped automatically, or manually controlled. Meters and plots display
RPM vs PWM Duty Cycle. Entirely Stamp-based configuration.
The PWM %duty will cycle up then down, or select
manual control and use the slider to set the %Duty of PWM.
|
 |
Drill Press:
From Experiment 3:This sequential operation performs drilling a hole in
a part. 2 Buttons on the board are used to indicate when the part is in
place and when the drill has reached depth. Stamp-Based configuration
with special media.
Windows Meta Files (WMF) graphics are used for a
transparent background for the images.
When using, when the part enters the clamp area, press
the Part Switch button to clamp the part. The drill will lower.
Use the Drill Depth switch to start drilling, release when done. Treat it like a
game.
|
 |
Batch Process:
From Experiment 3: A sequential operation of filing a vat, mixing, and
draining. 2 buttons on the board control start and simulate the float
switch. Stamp-Based with special media.
Use the Start switch to begin filling, the float
switch to indicate full. The batch will mix for the time entered
and count the batches.
|
 |
PID Control:
Experiment 6:PID control of incubator. This interface allows full
control of the interface with adjustable proportional, derivative and
integral gain control plus other. Individual plots and meters show each
control element's drive. Macro-Based configuration.
Once changes are made, select 'Update Settings' to
have the Stamp read the new configuration.
To increase the response time, place the heater and
sensor is a smaller container such as a pen cap. A fan may connected to
P11 through a transistor driver to energize the fan disturbance through
the interface.
|
 |
Logging Timer:
Experiment 7: Real-Time logging. This interface allows interactively setting the
DS1302 RTC, logging interval, and downloading logged data to the plot.
Macro-Based.
New to the Industrial Control Text is real-time
logging and control using the DS1302 RTC. Collect and dump data without
being continually connected.
|
Test the PID interface over the Internet!
PIDmacro_internet.spm
Once running, click Connect on the toolbar. This will interface with an
incubator running at my office desk. Not currently active.
|