16
16
Pinout and I/O Description
16
Driving the LOGBUTTON pin low for 100 ms to 5 seconds toggles logging on and off.
Driving the LOGBUTTON pin low for more than 5 seconds and then releasing it unmounts
the SD card if it was mounted, or mounts it if it was unmounted. The SD card mount status
can be checked with the LOGLED pin (see Appendix A).
The module debounces the signal in software, so no external debouncing circuit is
required. It is however recommended to add a 1-10 kOhm series resistor with the switch,
to protect the module from voltage spikes.
See instructions in the Reference Guide for details on how to configure SD card logging.
The module is compatible with SD cards of up to 32GB. The file system is FAT32.
When powering off the module while logging, the last seconds of data may be lost. To
avoid data losses, it is advised to first unmount the SD card. This can be done in two ways:
1.
By entering the command
“
exeManageDisk, DSK1, Unmount
” before turning off
the module (see the Reference Guide for a description of all the user commands).
2.
By driving the LOGBUTTON pin low for at least 5 seconds before turning off the
module.