Soft USB arduino digispark without voltage regulator

Thread Starter

Motanache

Joined Mar 2, 2015
540


Attiny85 does not have the USB interface. It is made software from pine that can be only 1 or 0.

Question ?
Can I give up the voltage regulator from this scheme?

Attiny85 works to 5V. The USB the same.
But maybe it needs 3V3 for the USB high speed protocol.Or not ?
 

Thread Starter

Motanache

Joined Mar 2, 2015
540
Wait a minute, is the Tiny85 playing the part of a host or an endpoint?
Attint85 is a device attached to the computer. Is a endpoint (peripheral device).

All I have to do is to test practice.

I have two options:
- I have Attiny45 (1.5$) which I program with PicKit2 (with averdud)
Search for the firmware if the code is free
- buy one digispark at 4$ and change it.

I know I can risk break the pieces. I will count this risk and assume it.

If I can make it play music from the USB stick, it will act as a host.
But when I schedule it, is peripheral device.

Actually, this arduino is an Attiny85 which is already programmed with a bootloader.

That boot program, knows the USB protocol, and write the program memory with what it receives on USB.
 
Last edited:

philba

Joined Aug 17, 2017
959
Does the digispark board not come with functional USB? Seems kind of a fraud if it doesn't.

FWIW, the regulator is for external power.
 

DickCappels

Joined Aug 21, 2008
10,187

Attachments

Top