X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/208edeee0f97a56697f0b15b519a9e723436f007..d2ed97e34b42aff851fa8ba39c43b6cb9e4f6448:/Projects/TemperatureDataLogger/TemperatureDataLogger.txt?ds=inline diff --git a/Projects/TemperatureDataLogger/TemperatureDataLogger.txt b/Projects/TemperatureDataLogger/TemperatureDataLogger.txt index d31e24f36..280c5fe02 100644 --- a/Projects/TemperatureDataLogger/TemperatureDataLogger.txt +++ b/Projects/TemperatureDataLogger/TemperatureDataLogger.txt @@ -24,19 +24,22 @@ * Device * * - * USB Class: - * Mass Storage Device + * USB Classes: + * Mass Storage Device \n + * Human Interface Device * * - * USB Subclass: - * Bulk-Only Transport + * USB Subclasses: + * Bulk-Only Transport \n + * Keyboard Subclass * * * Relevant Standards: - * USBIF Mass Storage Standard - * USB Bulk-Only Transport Standard - * SCSI Primary Commands Specification - * SCSI Block Commands Specification + * USBIF Mass Storage Standard \n + * USB Bulk-Only Transport Standard \n + * SCSI Primary Commands Specification \n + * SCSI Block Commands Specification \n + * USBIF HID Specification, USBIF HID Usage Tables * * * Usable Speeds: @@ -49,14 +52,19 @@ * Temperature Data Logger project. This project is a very basic USB data logger for the current temperature as reported by * the board's temperature sensor, writing the temperature to a file stored on the board's Dataflash in a FAT filesystem * each time a specified interval elapses. When inserted into a PC, the datalogger will appear as a standard USB Mass Storage - * device with a single text file, which contains the logged data. + * device with a single text file, which contains the logged data. Files are named according to the current date when the + * logging commences. * - * Currently there is no timestamp associated with the logged data; this project can be extended by the addition of a Real - * Time Clock chip to retain the current time/date which could be stored along with each sample. + * A DS1307 or compatible RTC IC is designed to be attached to the AVR's TWI bus, for the management of timestamps on the + * sampled data. This project will not function correctly if the RTC chip is omitted unless the DUMMY_RTC compile time token + * is specified - see \ref SSec_Options. * * Due to the host's need for exclusive access to the filesystem, the device will not log samples while connected to a host. * For the logger to store data, the Dataflash must first be formatted by the host so that it contains a valid FAT filesystem. * + * This project uses the FatFS library from ELM Chan (http://elm-chan.org/fsw/ff/00index_e.html) and the .NET HID device library + * LibHIDNet (http://sourceforge.net/projects/libhidnet/). + * * \section SSec_Options Project Options * * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value. @@ -68,16 +76,10 @@ * Description: * * - * LOG_FILENAME - * TempDataLogger.h - * Filename of the log file to write to on the device's FAT filesystem. - * - * - * LOG_INTERVAL_10MS - * TempDataLogger.h - * Time between each data sample, in tens of milliseconds. Each time this period elapses, a - * temperature sample is taken and the result stored to the Dataflash's FAT filesystem. - * + * DUMMY_RTC + * Makefile CDEFS + * When a DS1307 RTC chip is not fitted, this token can be defined to make the demo assume a 1/1/1 01:01:01 date/time + * stamp at all times, effectively transforming the project into a basic data logger with no specified sample times. * * */