Very COoL. By the way, are you recording this in a "bathroom"? I'm asking for a friend.. Actually, now that I think about it I could be "listening to it" in-a-bathroom ;:Oo
An odd thing ... the DIP ATtiny85 costs about the same as a Digispark clone. Have you tried to build the V-USB circuit into the head of a USB-A plug? Tight work, but possible. After installing Micronucleus, one can fuse out the Reset, and with 4 GPIO available, create a useful 6-pin ISP/SPI device. IMHO, the V-USB circuit, 8-pin socket, and 6-pin keyed SPI header are a nifty combination.
For a SO8 is should fit. Never tried though. The Digispark clones are cheap, and cost-wise it is not really worth the effort to make one yourself. but I learned a lot from doing it ;-)
9:45 if you open up the board manager box, you DON'T add a comma, lest you end up with TWO commas, as demonstrated in this video (at 9:52). EITHER: you don't open the box, but separate by comma's by yourself in the URL entrybox, OR you open up the box and put one URL per row (as it window tells you to) WITHOUT a trailing comma
Programming using Arduino 2.0 works OK For the USB version, a USB3 port worked for programming, but the speed etc . is the same as for USB2. I heard that there are issues with newer Windows versions
Hi Anakin Shane, yes that is confusing. The physical pin6 of the DIP-8 package is connected to PB1 or GPIO1 or "Arduino pin" 1. IN the software you refer to the "GPIO" number. You can see the pin out at the bottom of this website: electroprogramics.com/2020/08/31/introduction-to-attiny85/ 🙂
Do the CDC examples work for you with this configuration? Keyboard and mouse do work fine, but I'm unable to make "serial" communication to work properly.
As far as I'm aware serial communication is broken for the Digispark in Windows. Somewhere I read that the USB spec requires that serial devices use full speed USB not low speed.
*Did you install the Digispark drivers (see my video 2"56). *If you insert the device you should hear a sound from Windows (sound = good!). If not, I suggest you reverse D+ and D-, maybe you made a mistake ;-) *Without the drivers in "device manager" you will find a unrecognized device under "Universal Serial Bus Controllers" *With the drivers you will find "linusb-win32 Usb Devices, Digispark Bootloader" in Windows device manager.
Awesome tutorial, thank you very much! After dozens of different articles -- your video collects all in one masterpiece! I have headache with this simple scheme, because of wrong voltage of zener diodes :( those two gave me a lot of problems.
You have to burn the "Board "Attiny85 (Micronucleus/Digispark)" /ATTinyCore/Attiny85 (Micronucleus/Digispark) bootloader. This bootloader includes the timings and code for USB communication. Other bootloaders will not work, then you need to use a USB to Serial (FTDI)
hi sir, i´m having some issues related to the drazzy's and digistump url's for the arduino board manager, Digistump's website was shut down, or at least that's what I think,do you know what happened to both repositories? and also, do you still have the files for arduino IDE board manager core by any chance? I was thinking if windows 11 is the problem, cause the drivers don't work here. Thank you in advance.
I believe this URL raw.githubusercontent.com/digistump/arduino-boards-index/master/package_digistump_index.json adds Digistump support. drazzy's package is harder as the json file references dependencies that can't be downloaded.
No comments. I suppose most people don´t have a clue what happened in this video. Like in a book or a film, set the scene before diving deep into the soup, so people know what to expect.
Thanks QD, must say that I was struggling how to get this content into a "simple" instruction. It works if you follow all the steps, but still it is a bit complex to fit into 13 minutes.
Do you have a link to a better way? The USB interface hardware is far from perfect, but it worked for me. I do prefer using a real USB interface like a FTDI which gives much more stable results.
It works! I've never been so excited about a blinking LED in my life😀
Congratulations! Micro-controllers are great, like Lego's on steroids ;-)
Hi, may ik that did you connect the cathode of led with 330 ohm resistor.
I actually enjoyed this video. Very informative on how to get started with the attiny
Thank you! Attiny's are fun. 🙂
The tutorial is quite clear. Thanks a bunch.
I like watching your videos, very informative and clearly explained. Thanks.
Thank you 🙂
Quick and clear. many thanks
Very COoL. By the way, are you recording this in a "bathroom"? I'm asking for a friend.. Actually, now that I think about it I could be "listening to it" in-a-bathroom ;:Oo
Itworked first time. Tha.nks I was fed up with this looking at other youtube video s. Im from Sri Lanka .
@@janakasilva9207 👍 great!
Very useful. Thanks very much!
Do you know how to use keyboard and mouse together? If you do, please tell me.
An odd thing ... the DIP ATtiny85 costs about the same as a Digispark clone.
Have you tried to build the V-USB circuit into the head of a USB-A plug? Tight work, but possible.
After installing Micronucleus, one can fuse out the Reset, and with 4 GPIO available, create a useful 6-pin ISP/SPI device.
IMHO, the V-USB circuit, 8-pin socket, and 6-pin keyed SPI header are a nifty combination.
For a SO8 is should fit. Never tried though. The Digispark clones are cheap, and cost-wise it is not really worth the effort to make one yourself. but I learned a lot from doing it ;-)
@@smartpowerelectronics8779 You are my kind of maniac! Virtually all my projects are for self-education, and "not really worth the effort."
9:45 if you open up the board manager box, you DON'T add a comma, lest you end up with TWO commas, as demonstrated in this video (at 9:52).
EITHER: you don't open the box, but separate by comma's by yourself in the URL entrybox, OR you open up the box and put one URL per row (as it window tells you to) WITHOUT a trailing comma
Tried that...You are right! If the box is there you do not need a comma!
I have founded truly useful, do you have the official link of the schematic circuit ?
Thank you GovindKumar! No I did not make a schematic, the circuit as shown in the video is all there is, you can make a screenshot 🙂
Can it work with VisualStudio Code & PlatformIOs? Are the drivers also required?
Could you comment on using USB2.0 vs USB3.0? Also, I see you are using Arduino 1.8, Would this work on Arduino 2.0 or newer versions? Thank you!
Programming using Arduino 2.0 works OK
For the USB version, a USB3 port worked for programming, but the speed etc . is the same as for USB2.
I heard that there are issues with newer Windows versions
I made it, now i have a question how can i write or read in serial ?
Check this video, seems possible ua-cam.com/video/zxmyfiFbo2c/v-deo.html
Hi may i know did you connect the cathode of led with 330 ohm resistor
great tutorial
Thank you!
Hi, there,
Why did you set "pinMode" to 1 and "digitalWrite" to 1, when the led is connected to 6 ?
Hi Anakin Shane, yes that is confusing. The physical pin6 of the DIP-8 package is connected to PB1 or GPIO1 or "Arduino pin" 1. IN the software you refer to the "GPIO" number. You can see the pin out at the bottom of this website: electroprogramics.com/2020/08/31/introduction-to-attiny85/ 🙂
@@smartpowerelectronics8779 Thanks for answer.
excelente...
Do the CDC examples work for you with this configuration?
Keyboard and mouse do work fine, but I'm unable to make "serial" communication to work properly.
As far as I'm aware serial communication is broken for the Digispark in Windows. Somewhere I read that the USB spec requires that serial devices use full speed USB not low speed.
Hello please help me with error when I plug attiny85 to pc it shows up error cant recognize device. But I set up all right.
*Did you install the Digispark drivers (see my video 2"56).
*If you insert the device you should hear a sound from Windows (sound = good!). If not, I suggest you reverse D+ and D-, maybe you made a mistake ;-)
*Without the drivers in "device manager" you will find a unrecognized device under "Universal Serial Bus Controllers"
*With the drivers you will find "linusb-win32 Usb Devices, Digispark Bootloader" in Windows device manager.
video was great.
😁😁
Thanks Cheeto!🙂🙂
Awesome tutorial, thank you very much! After dozens of different articles -- your video collects all in one masterpiece! I have headache with this simple scheme, because of wrong voltage of zener diodes :( those two gave me a lot of problems.
Thank you Konstantin!
For me both 3.3 and 3.6V zeners worked, which value caused problems for you?
By the way, you really need to solder this, I never got it working on a solder-less breadboard ;-)
@@smartpowerelectronics8779 I don't know why, but scheme doesn't work with 1N4729A
@@smartpowerelectronics8779 at my experience with BZX55C3V6 works both on breadboard and soldered.
Getting an error when trying to install the ATTINYCORE package. :(
Do yo use Arduino IDE 1.8.x or the new 2.x version? I never tried with 2.x.
I use different setting to burn bootloader:
board: attiny/ATtiny25/45/85
clock: 8mhz
Can still use this diy USB upload-sketch pcb to program it?
You have to burn the "Board "Attiny85 (Micronucleus/Digispark)" /ATTinyCore/Attiny85 (Micronucleus/Digispark) bootloader.
This bootloader includes the timings and code for USB communication.
Other bootloaders will not work, then you need to use a USB to Serial (FTDI)
@@smartpowerelectronics8779 Thank you
can i load the bootloader with ISPprogrammer?
You need to use "Arduino as ISP" to burn the bootloader
A really nice and informative video but i still have one question. What pins do you use on the ATtiny85 for the D+ and D- pins of the USB?
pin # 2 and 3
hi sir, i´m having some issues related to the drazzy's and digistump url's for the arduino board manager, Digistump's website was shut down, or at least that's what I think,do you know what happened to both repositories? and also, do you still have the files for arduino IDE board manager core by any chance? I was thinking if windows 11 is the problem, cause the drivers don't work here.
Thank you in advance.
I believe this URL raw.githubusercontent.com/digistump/arduino-boards-index/master/package_digistump_index.json adds Digistump support. drazzy's package is harder as the json file references dependencies that can't be downloaded.
thanks \o/
Most welcome! ;-)
Ok
No comments. I suppose most people don´t have a clue what happened in this video. Like in a book or a film, set the scene before diving deep into the soup, so people
know what to expect.
Thanks QD, must say that I was struggling how to get this content into a "simple" instruction. It works if you follow all the steps, but still it is a bit complex to fit into 13 minutes.
If you want to do it correct, don't do it like this...
Do you have a link to a better way? The USB interface hardware is far from perfect, but it worked for me. I do prefer using a real USB interface like a FTDI which gives much more stable results.
What’s the “correct” way?