View on GitHub

avr-based-event-recorder-with-usb-support

AVR-based event logger with USB support

Download this project as a .zip file Download this project as a tar.gz file

AVR-based event recorder with USB support

Event recorder device based on AVR processor, with the USB support enabled via V-USB library.

Hardware

Key components of the hardware implementation are:

Schematic diagram and PCB outline are created with Eagle v6 and can be found within hw directory.

Software

Software part of the project consist of two parts:

Programming languages used: C & C++.

Source code is located within sw directory.

Configuration

There are couple of properties that have to be updated within Makefile before build can be started - following values should be set correctly:

Build procedure

At this moment, Makefile has only been intended for usage on Linux-based build machines with gcc and avr-gcc compilers installed. In general, with some modifications, it can be used on other platforms.

To build both firmware and test application run:

make build

To build only device's firmware (HEX file):

make build_hex

And to build only test application for host machine:

make build_test

To list all options from Makefile, run:

make

Uploading firmware onto device

Used Makefile is configured for usage of avrdude programmer. To upload firmware to AVR located on device run:

make burn_firmware

Note: To use external crystal oscillator, for AVR chip used (which is Atmega8 at this moment), fuses has to be set first. To do so, run:

make burn_fuses

Of course, both of those commands should be issued as is from sw directory.

3rd party libraries

Following libraries are used:

Author and Licence

avr-based-event-recorder-with-usb-support repository is maintained by Vladimir Stankovic (@vladast).

This project is licensed under GPL Version 2. Please, refer to LICENSE file for the full text of the license.