Electronic Time Capsule: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
* Switch 2 (on) - '''Erases the flash chip.''' The flash must be empty to write new data from the beginning. An extra button press is needed to confirm you really want to do this. If the clock set switch is also on, then you will set the clock first, then erase the flash. '''You can only erase the flash when the board is first connected to power or reset'''. This helps avoid doing it accidentally. | * Switch 2 (on) - '''Erases the flash chip.''' The flash must be empty to write new data from the beginning. An extra button press is needed to confirm you really want to do this. If the clock set switch is also on, then you will set the clock first, then erase the flash. '''You can only erase the flash when the board is first connected to power or reset'''. This helps avoid doing it accidentally. | ||
* Switch 3 (on) - Dumps the flash. Over serial, the board will output a tab-formatted table of the measurements that have been recorded. The dump will continue until either the entire chip has been read (including blank areas), or Switch 3 has been turned off. To start a dump, turn switch 3 on and then either wait for the RTC to wake up the system, or wake it up yourself with a single press of the button. | * Switch 3 (on) - Dumps the flash. Over serial, the board will output a tab-formatted table of the measurements that have been recorded. The dump will continue until either the entire chip has been read (including blank areas), or Switch 3 has been turned off. To start a dump, turn switch 3 on and then either wait for the RTC to wake up the system, or wake it up yourself with a single press of the button. | ||
* Switch 4 (on) - Blinks a green light every time the 328 powers up. Turn off to save power | |||
The LED functions are, in general: | |||
* Green - Status - Blinks when something happens / has happened | |||
* Red - Working - Turns on when user input is acknowledged | |||
* Yellow - Waiting for user input |
Revision as of 21:31, 5 September 2018
Operating Instructions
The board contains 4 dip switches, which pretty much work independently, and one button. The switches should be labeled 1-4, with 1 being closest to the center of the board. The off position of the switch has the handle toward the 3 indicator LEDs, and the on position is towards the button.
The functions of the switches are:
- Switch 1 (on) - Enters the clock setting procedure. The clock is set using only the single button, pressed a number of times to set the date and time. You can only set the clock when the board is first connected to power or reset.
- Switch 2 (on) - Erases the flash chip. The flash must be empty to write new data from the beginning. An extra button press is needed to confirm you really want to do this. If the clock set switch is also on, then you will set the clock first, then erase the flash. You can only erase the flash when the board is first connected to power or reset. This helps avoid doing it accidentally.
- Switch 3 (on) - Dumps the flash. Over serial, the board will output a tab-formatted table of the measurements that have been recorded. The dump will continue until either the entire chip has been read (including blank areas), or Switch 3 has been turned off. To start a dump, turn switch 3 on and then either wait for the RTC to wake up the system, or wake it up yourself with a single press of the button.
- Switch 4 (on) - Blinks a green light every time the 328 powers up. Turn off to save power
The LED functions are, in general:
- Green - Status - Blinks when something happens / has happened
- Red - Working - Turns on when user input is acknowledged
- Yellow - Waiting for user input