StartseiteElectronicsHow to use V-USB on an attiny85


How to use V-USB on an attiny85 — 12 Kommentare

  1. I bought a Digispark(based on Attiny85) and a Keyes IR remote a while ago on Ebay, with the idea to make a IR receiver to USB to control my PowerPoint presentations. After setting up the digispark using arduino I found out that I was kind of allergic to arduino, and decided to use C in atmel studio. Your blog post contained useful informtation to get the V-USB working! Thanks!

  2. Hi George,

    Thanks for adding some valuable information on V-USB on your website. I have a working setup that spits out data fine under Windows (open Notepad and off it goes), but I can’t seem to replicate this under linux (e.g. open vi in xterm, set vi to ‚insert‘ mode but nothing is printed on screen) from the device.

    Do I need some other mechanism under linux to fetch the output data from my avr device?


    • Hi Marcel

      I am not really using VUSB anymore. But I know that it worked fine under Linux (my main system).
      What does dmesg say?
      I would expect it to work out of the box. I do not need a special editor, you can also just use the terminal or any GUI editor.

      • Hey Geroge, I’m looking into getting started in the world of AVR.

        You mentioned you’re not using V-USB anymore. Is there something better to get started? What are you using nowadays?


      • Hi, tried your attiny85 mod. Got this error

        root@mail:/v-usb-avr/vusb-20121206/examples/hid-data/firmware# make hex
        avr-gcc -Wall -Os -DF_CPU=16500000 -Iusbdrv -I. -DDEBUG_LEVEL=0 -mmcu=attiny85 -o main.elf usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o
        usbdrv/usbdrv.o: In function `usbPoll‘:
        usbdrv.c:(.text+0x2ba): undefined reference to `calibrateOscillator‘
        collect2: error: ld returned 1 exit status
        make: *** [main.elf] Error 1

  3. Pingback:ItOpen – Open Web Solutions, WebGis Development » Blog Archive » V-USB on Attiny85

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>