Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TemperatureDataLogger.txt 3.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /** \file
  2. *
  3. * This file contains special DoxyGen information for the generation of the main page and other special
  4. * documentation pages. It is not a project source file.
  5. */
  6. /** \mainpage Temperature Datalogger Project
  7. *
  8. * \section Sec_Compat Demo Compatibility:
  9. *
  10. * The following list indicates what microcontrollers are compatible with this demo.
  11. *
  12. * \li Series 7 USB AVRs (AT90USBxxx7)
  13. * \li Series 6 USB AVRs (AT90USBxxx6)
  14. * \li Series 4 USB AVRs (ATMEGAxxU4) - <i>those with >16KB of FLASH memory only</i>
  15. *
  16. * \section Sec_Info USB Information:
  17. *
  18. * The following table gives a rundown of the USB utilization of this demo.
  19. *
  20. * <table>
  21. * <tr>
  22. * <td><b>USB Mode:</b></td>
  23. * <td>Device</td>
  24. * </tr>
  25. * <tr>
  26. * <td><b>USB Classes:</b></td>
  27. * <td>Mass Storage Device \n
  28. * Human Interface Device</td>
  29. * </tr>
  30. * <tr>
  31. * <td><b>USB Subclasses:</b></td>
  32. * <td>Bulk-Only Transport \n
  33. * Keyboard Subclass</td>
  34. * </tr>
  35. * <tr>
  36. * <td><b>Relevant Standards:</b></td>
  37. * <td>USBIF Mass Storage Standard \n
  38. * USB Bulk-Only Transport Standard \n
  39. * SCSI Primary Commands Specification \n
  40. * SCSI Block Commands Specification \n
  41. * USBIF HID Specification, USBIF HID Usage Tables</td>
  42. * </tr>
  43. * <tr>
  44. * <td><b>Supported USB Speeds:</b></td>
  45. * <td>Full Speed Mode</td>
  46. * </tr>
  47. * </table>
  48. *
  49. * \section Sec_Description Project Description:
  50. *
  51. * Temperature Data Logger project. This project is a very basic USB data logger for the current temperature as reported by
  52. * the board's temperature sensor, writing the temperature to a file stored on the board's Dataflash in a FAT filesystem
  53. * each time a specified interval elapses. When inserted into a PC, the datalogger will appear as a standard USB Mass Storage
  54. * device with a single text file, which contains the logged data. Files are named according to the current date when the
  55. * logging commences.
  56. *
  57. * A DS1307 or compatible RTC IC is designed to be attached to the AVR's TWI bus, for the management of timestamps on the
  58. * sampled data. This project will not function correctly if the RTC chip is omitted unless the DUMMY_RTC compile time token
  59. * is specified - see \ref Sec_Options.
  60. *
  61. * Due to the host's need for exclusive access to the file system, the device will not log samples while connected to a host.
  62. * For the logger to store data, the Dataflash must first be formatted by the host so that it contains a valid FAT file system.
  63. *
  64. * This project uses the FatFS library from ELM Chan (http://elm-chan.org/fsw/ff/00index_e.html) and the .NET HID device library
  65. * LibHIDNet (http://sourceforge.net/projects/libhidnet/).
  66. *
  67. * \section Sec_Options Project Options
  68. *
  69. * The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
  70. *
  71. * <table>
  72. * <tr>
  73. * <th><b>Define Name:</b></th>
  74. * <th><b>Location:</b></th>
  75. * <th><b>Description:</b></th>
  76. * </tr>
  77. * <tr>
  78. * <td>DUMMY_RTC</td>
  79. * <td>AppConfig.h</td>
  80. * <td>When a DS1307 RTC chip is not fitted, this token can be defined to make the demo use a dummy software RTC using the system
  81. * clock. This is less accurate and does not store the set time and date into non-volatile memory.</td>
  82. * </tr>
  83. * </table>
  84. */