Environment Monitoring Programs

Information and example programs for an educational programming project.


A) Pick two devices (serial and ethernet) to measure temperature. Please see the devices page for more information.

B) Create console programs that communicate with the devices and simply print readings to the screen. Use Synapse and Synaser libraries so there is no need to install any Delphi VCL components (also good for the Delphi TurboExplorer edition as well as FreePascal).

We are working on this step in phases. First, here are small "Hello World" files that allow you to see the FreePascal compiler work on various systems. Next we are releasing similar files for a "Simple Serial" program that reads the temperature from the DLP-TEMP-G board (or a simulator).

C) Improve console programs so readings are put into a database.

D) Create GUI program to monitor database (for alerts and charting). Here are "Simple Window" files for several Linux systems.

E) Use the programs above to extend the Parallax educational offerings to include PC programming. RadioShack sells the What's a Microcontroller BASIC Stamp Kit (Catalog #: 276-625) at a very affordable price.

For some ideas, here is a Perl program:
http://www.klein.com/thermd/
Here is a list of serial and ethernet devices supported:
http://www.klein.com/thermd/devices.shtml

New - Some notes about using the FreePascal compiler on embedded systems.

New - 20-Feb-2009 - Added information about possible FreePascal compiler error messages if certain Linux packages need to be installed to compile the example programs on the three pages above.

Please share your ideas, comments and suggestions. Thanks!
-- Paul Breneman


Return to home page for TurboControl

TurboControl.com
PO Box 3817
Columbus, OH 43210-0817
Show for email address