Summary of Easy Data Logger with Virtual USB using ATtiny45 microcontroller
This project demonstrates a data logger using an ATtiny45 microcontroller with V-USB software to enable USB communication without extra hardware. The logger reads an analog signal, converts it to digital, and sends data to a host computer by emulating a USB keyboard. Users can start or stop data logging, which types the measurements directly into a text editor every second, with an LED indicating logging status.
Parts used in the Easy Data Logger with Virtual USB:
- ATtiny45 microcontroller (8-pin)
- Analog sensor/input device
- On-board LED
- Start/Stop Button
- Resistors and capacitors (for circuit stability)
- USB connection circuitry (based on V-USB software implementation)
“V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR® microcontrollers, making it possible to build USB hardware with almost any AVR® microcontroller, not requiring any additional chip.”
For further details on V-USB and licensing, visit http://www.obdev.at/products/vusb/index.html
This is a data logger project that reads an analog signal, converts into digital number, and sends it to a host computer using Virtual USB. This is a good example application of V-USB. An 8-pin ATtiny45 microcontroller without an external crystal oscillator is used for this demonstration. The beauty of this project is the ATtiny45 presents itself as a USB keyboard to the host computer, and sends the measurements by itself. All you need to do is to open a text editor on the host computer, and press the Start/Stop button on the data logger. The data will be typed automatically on the editor. The sampling time for data logger is set to 1 sec, and an on-board LED indicates the logger is active.
For more detail: Easy Data Logger with Virtual USB using ATtiny45 microcontroller