Make your own DigiSpark USB!

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 63

  • @jespertjoh
    @jespertjoh Рік тому +11

    It works! I've never been so excited about a blinking LED in my life😀

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +5

      Congratulations! Micro-controllers are great, like Lego's on steroids ;-)

    • @mr.sparshbansal
      @mr.sparshbansal 11 місяців тому +1

      Hi, may ik that did you connect the cathode of led with 330 ohm resistor.

  • @haideralikhan5947
    @haideralikhan5947 Рік тому +3

    I actually enjoyed this video. Very informative on how to get started with the attiny

  • @lexguti7150
    @lexguti7150 11 місяців тому +1

    The tutorial is quite clear. Thanks a bunch.

  • @TechBerto173
    @TechBerto173 Рік тому +3

    I like watching your videos, very informative and clearly explained. Thanks.

  • @samj1012
    @samj1012 2 місяці тому

    Quick and clear. many thanks

  • @ovalwingnut
    @ovalwingnut Рік тому +1

    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

  • @janakasilva9207
    @janakasilva9207 6 місяців тому +1

    Itworked first time. Tha.nks I was fed up with this looking at other youtube video s. Im from Sri Lanka .

  • @davidkempton2894
    @davidkempton2894 4 місяці тому

    Very useful. Thanks very much!

  • @BirCplusplusGeliştiricisi
    @BirCplusplusGeliştiricisi 4 місяці тому +1

    Do you know how to use keyboard and mouse together? If you do, please tell me.

  • @GnuReligion
    @GnuReligion Рік тому +3

    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.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +2

      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 ;-)

    • @GnuReligion
      @GnuReligion Рік тому +1

      @@smartpowerelectronics8779 You are my kind of maniac! Virtually all my projects are for self-education, and "not really worth the effort."

  • @metamud8686
    @metamud8686 Рік тому +3

    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

  • @GovindKumar-yo6py
    @GovindKumar-yo6py Рік тому

    I have founded truly useful, do you have the official link of the schematic circuit ?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому

      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 🙂

  • @YigalBZ
    @YigalBZ Рік тому +1

    Can it work with VisualStudio Code & PlatformIOs? Are the drivers also required?

  • @agustinguzman6375
    @agustinguzman6375 Рік тому +1

    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!

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      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

  • @ReyDominicano
    @ReyDominicano Рік тому +1

    I made it, now i have a question how can i write or read in serial ?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      Check this video, seems possible ua-cam.com/video/zxmyfiFbo2c/v-deo.html

    • @mr.sparshbansal
      @mr.sparshbansal 11 місяців тому

      Hi may i know did you connect the cathode of led with 330 ohm resistor

  • @alnoorratansi9364
    @alnoorratansi9364 Рік тому +1

    great tutorial

  • @AnakinShane
    @AnakinShane 8 місяців тому

    Hi, there,
    Why did you set "pinMode" to 1 and "digitalWrite" to 1, when the led is connected to 6 ?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  8 місяців тому +1

      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/ 🙂

    • @AnakinShane
      @AnakinShane 8 місяців тому

      @@smartpowerelectronics8779 Thanks for answer.

  • @luisalbertoparada5757
    @luisalbertoparada5757 3 місяці тому

    excelente...

  • @albertof2675
    @albertof2675 11 місяців тому

    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.

    • @boristheengineer5160
      @boristheengineer5160 6 місяців тому +1

      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.

  • @tonkofonko
    @tonkofonko Рік тому

    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.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      *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.

  • @cheeto4321
    @cheeto4321 Рік тому

    video was great.
    😁😁

  • @KonstantinNovikov
    @KonstantinNovikov Рік тому +1

    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.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      Thank you Konstantin!
      For me both 3.3 and 3.6V zeners worked, which value caused problems for you?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      By the way, you really need to solder this, I never got it working on a solder-less breadboard ;-)

    • @KonstantinNovikov
      @KonstantinNovikov Рік тому +1

      @@smartpowerelectronics8779 I don't know why, but scheme doesn't work with 1N4729A

    • @KonstantinNovikov
      @KonstantinNovikov Рік тому +1

      @@smartpowerelectronics8779 at my experience with BZX55C3V6 works both on breadboard and soldered.

  • @StevenCookFX
    @StevenCookFX Рік тому

    Getting an error when trying to install the ATTINYCORE package. :(

  • @jumbo999614
    @jumbo999614 Рік тому

    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?

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      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)

    • @jumbo999614
      @jumbo999614 Рік тому

      @@smartpowerelectronics8779 Thank you

  • @ugurseydaliyev
    @ugurseydaliyev Рік тому

    can i load the bootloader with ISPprogrammer?

  • @Koddra
    @Koddra Рік тому +1

    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?

  • @luisfelipesaldivar5100
    @luisfelipesaldivar5100 7 місяців тому

    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.

    • @boristheengineer5160
      @boristheengineer5160 6 місяців тому

      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.

  • @JuanBotes
    @JuanBotes 7 місяців тому

    thanks \o/

  • @جواد-ع3ض
    @جواد-ع3ض 11 місяців тому

    Ok

  • @qddk9545
    @qddk9545 Рік тому +2

    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.

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      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.

  • @r00yce
    @r00yce Рік тому

    If you want to do it correct, don't do it like this...

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  Рік тому +1

      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.

    • @mikebond6328
      @mikebond6328 3 місяці тому

      What’s the “correct” way?