StampPlot Activity Board Sample
Home ] Up ] General Use Interface ] Logged Dump w/Request ] [ StampPlot Activity Board Sample ] StampPlot Web Page ] Javelin-StampPlot1 Object ] Sample for Data Plotting ]

This example illustrates interactive control of the Basic Stamp Activity Board.

bulletThe buttons may be monitored, or controlled from StampPlot (Output checked).
bulletThe Potentiometer value is plotted and displayed in the gauge, and a set point for the gauge may be set.
bulletThe frequency of the speaker and duration of tone may be set.

The code is organized and the routines for the pushbuttons may be easily changed.  The buttons may be controlled locally or remotely via StampPlot.

bulletP8 (Blue) sounds speaker at set frequency and duration.
bulletP9 (Black) resets the plot.
bulletP10 (Green) sounds an alarm WAV file on StampPlot.
bulletP11 (Red) Blinks the P8 LED.

Files:

bulletStampPlot Macro File: bsac.spm
bulletBS2 File: bsac_v3.bs2

This example may easily be monitored and controlled over the Internet using the SelmaWare Serial-TCP Gateway program though the timeout values of the SERIN instructions may need to be increased.