Dawn Simulator BASICAtom Software

The operating software was written in Atom Basic and compiled using the Basic ATOM IDE, a free download from the Basic Micro website. The operating software can be downloaded here, and is provided free for private, noncommercial use. Commercial use permitted only with my written permission (I really provide these things for hobbyists, not businesses, although I don't think I would have any particular problem granting permission--at least today).

Software Design


The first action take by the program is to initiailize the DAC chip, then force the outut to zero volts (or as close as we can get with the lower 2 bits tied high) to keep the lamp extinguished. It wouldn't do to have the lamp come on in the middle of the night after a power failure.

Next, the program initializes the LCD display, then puts up a display of the program and version, followed by an intial version of the running display. Afterward, variables for the system state and initial light levels are set, and the command interface variables are intialized.

Event Loop

After initialization, the software operates on an event loop that runs twice a second. The event loop calls subroutines for the following actions:

LCD Display

The LCD display of the Dawn Simulator device (taken from the front view picture on the hardware page) is shown below (it's rather hard to read because of reflections on the LCD bezel). The display tells us the following:

Disclaimer. Any and all opinions expressed on this page are solely those of the author. The author accepts no responsibility for the accuracy of data provided on this web site, nor does the author accept any responsibility for the use and /or misuse of information provided on this web site. It is the full and sole responsibility of the user to determine whether and/or how best to use the information provided within their own circumstances, and it is the full and sole responsibility of the user to accept any and all benefits and/or consquences of their actions. Please see my Privacy Policy.

Copyright 2001-2009, Tim Sharpe. You are free to use this information for personal, non-commerical use without restriction. All rights reserved for commerical, organizational, or government use. Questions or comments to tim@beaststwo.org. Flames to /dev/nul.

[Python Powered]
All the Perl that's Practical to Extract and Report

02776 visits since July 14, 2008