Hello everyone. I will buy attiny2313. I'm curious before buying. As far as I know, we can run the attiny chip without using a UART bridge. After loading the V-USB libraries and other necessary things via ISP, which pins should I connect the d+ d- pins from the micro USB pins to? (Also, what voltage do you recommend to run the card at)
The datasheet tells it.
datasheet tells 1.8-5.5
Good. There You have it.
I don't know if you are aware of it, but there is a certain range. I am curious about the most used one. Also, this is not my only question, please let's proceed in a way that will try to help.
It depends on the code You didn't post.
You need to look at the V-USB documentation.
I think that you can change either or both of the USB Data pins when configuring the code, but one of them may need to be an external interrupt pin.
I also think that you'll need to run the 2313 at 5V to get it to run fast enough, with 3.3V Clamp Zeners on the USB data pins to stay within USB signal specs.
Adafruit has (had?) a device programmer that used a 2313 and VUSB
Note that V-USB is rumored to be incompatible with some modern PC-side USB controllers.