HomeElectronicsHow to use V-USB on an attiny85

Comments

How to use V-USB on an attiny85 — 10 Comments

  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?

    Cheers,
    marcel

    • 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?

        Cheers,

      • 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

        • Hi
          See my post above.
          I can no longer give support for the Atmega microcontrollers!
          For support, try to search the internet for “undefined reference to `calibrateOscillator’”.

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

Leave a Reply

Your email address will not be published. Required fields are marked *