I am trying to receive and send some data from a computer to an ATtiny through USB. Can an ATtiny85 IC communicate with a computer through USB? If yes, how should it be connected?


Digispark made a lot of these as part of a "cheap Arduino USB interface" project a while back.

This is my Digispark, it's pretty cute:


They have a web page here.

I got them for about $2 each. The board has the ATtiny85, a voltage regulator, and a handful of other parts.

Schematic (courtesy of Digistump Wiki):

Digispark schematic

More information about the Virtual USB idea at USB-Keyboard with Arduino and V-USB library, an example.

| improve this answer | |
  • If someone is wondering if you can use SPI devices with it due to the low amount of pins, the answer is yes, you can. – Avamander Feb 3 '16 at 15:11

Can an ATtiny85 ic communicate with a computer through USB?if yes,how should be the connection?

Have you checked the web? There are many such projects. Here is a link to one:


Please remember "Google is your friend".


| improve this answer | |
  • Nooo... not Google... Marjory!!! – gone Feb 2 '16 at 14:29
  • 2
    Whatever make you happy - "Google == Web search tool of your liking" :) – Mikael Patel Feb 2 '16 at 14:41
  • The Digispark (of which I bought a few) works quite well. It is based on the "Virtual USB" (V-USB) concept which you can find with a *ahem* search-engine-of-your-choice search. – Nick Gammon Feb 2 '16 at 20:54
  • @MikaelPatel Could you please highlight the most important parts of the content you linked? It's currently very much link-only answer. – Avamander Feb 3 '16 at 15:14
  • @Avamander Please see the schematics provided below by Nick. That should answer all your questions about how to connect the ATtiny85 to USB. – Mikael Patel Feb 3 '16 at 18:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.