Search
Product Info
AVR Stick
sku: DEV-09147
Description: The AVR Stick is a simple data logging device that instantiates itself as an HID keyboard and reports the voltages, along with a 'timestamp,' from two pins on an ATtiny85. The device uses open source firmware availabe from Objective Development (http://www.obdev.at/vusb/) called V-USB to implement the USB 1.1 standard. The code that runs the application was based on the EasyLogger example application from Objective development.The default firmware runs simply enough: plug it in to a USB port on your computer, after the computer recognizes the device as a keyboard it will automatically start reporting the voltages. To get a series of measurements, open up a text or spreadsheet editor and plug the AVR stick in. The AVR Stick will automatically start inputting the voltage values to whatever program is active on the computer. The ADC is configured to use a 2.56V reference voltage, so don't try measuring anything higher than that without modifying the code!
This thing is meant to be hacked! Visit the Objective Development website to learn how others have used the USB stack to implement miscellaneous HID projects like keyboards, mice, joysticks, etc., etc., etc...
Documents:
Pricing
Comments
12 comments
Feeds
Currency
Display prices in
Feedback
If you would like to tell us more, you can fill out our form if you need some psycho-suggestive questions. Go to the form.




















max/msp has a great implementation of the HID stack, so you can probably plug several of these in, and route to different places
when are you getting more!
-d0c
I did get it to work, but only after providing my own USB cable (pigtaled to fit in a breadboard) and resistors. Basically all I'm using is the tiny85 and the filter capacitors. And that just isn't worth ten bucks.
The problem arises from the 'USB' connector on the board, it never did work for me, even after adding a little solder, a lot of solder, removing solder, trying to level the solder out with a razor blade . . . until I lifted a trace and made the usb end worthless.
IMO, buy yourself a ATtiny85 (or 45) and put it together yourself.
(btw, the firmware worked fine after getting the physical stuff in order)
http://yveslebrac.blogspot.com/2008/10/cheapest-dual-trace-scope-in-galaxy.html
-Mislabeled White/Yellow LED in code.
-For a 'hackable' item, this should have more documented code. Especially with regards to where to enable the second ADC channel and the test bed code parts. Lower the barrier to entry and you will sell more.
-The layout is all funky. Look at the USB connector, it's not centered across the width of the board.
I guess the USB connector on the board can be made better by gluing a piece of a PCB etc on bottom of the connector, to make it thicker.
The schematic shows 4 LEDs. There are apparently only two on the actual board.
Is it too much to ask for a schematic which corresponds to the product?
(I suspect the reasons for it, but it would be nice if it was noted somewhere)
Here's a link to the older version of the schematic: http://www.sparkfun.com/datasheets/Widgets/AVR-Stick-v11.pdf
I've got the following error msg from AVR Studio, when "Rebuild All" using WinAVR as the external compiler: c:/winavr-20090313/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn85.o:(.init9+0x0): undefined reference to `main'
Any idea?
Happy New Year!