X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/03ee87b35abdb8b92e8b55ec040fa943f9a6786c..dd995683ea1f233b79724d524a9a3dbcdc171d30:/Projects/TemperatureDataLogger/TemperatureDataLogger.txt diff --git a/Projects/TemperatureDataLogger/TemperatureDataLogger.txt b/Projects/TemperatureDataLogger/TemperatureDataLogger.txt index d31e24f36..3e13fd385 100644 --- a/Projects/TemperatureDataLogger/TemperatureDataLogger.txt +++ b/Projects/TemperatureDataLogger/TemperatureDataLogger.txt @@ -24,12 +24,14 @@ * Device * * - * USB Class: + * USB Classes: * Mass Storage Device + * Human Interface Device * * - * USB Subclass: + * USB Subclasses: * Bulk-Only Transport + * Keyboard Subclass * * * Relevant Standards: @@ -37,6 +39,7 @@ * USB Bulk-Only Transport Standard * SCSI Primary Commands Specification * SCSI Block Commands Specification + * USBIF HID Specification, USBIF HID Usage Tables * * * Usable Speeds: @@ -49,10 +52,12 @@ * 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. @@ -68,16 +73,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. * * */