Make your own DigiSpark USB!

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 60

  • @jespertjoh
    @jespertjoh ปีที่แล้ว +10

    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 7 หลายเดือนก่อน +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 8 หลายเดือนก่อน +1

    The tutorial is quite clear. Thanks a bunch.

  • @janakasilva9207
    @janakasilva9207 3 หลายเดือนก่อน +1

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

  • @TechBerto173
    @TechBerto173 ปีที่แล้ว +3

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

  • @davidkempton2894
    @davidkempton2894 25 วันที่ผ่านมา

    Very useful. Thanks very much!

  • @ovalwingnut
    @ovalwingnut 8 หลายเดือนก่อน +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

  • @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.

  • @BirCplusplusGeliştiricisi
    @BirCplusplusGeliştiricisi หลายเดือนก่อน +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."

  • @alnoorratansi9364
    @alnoorratansi9364 ปีที่แล้ว +1

    great tutorial

  • @cheeto4321
    @cheeto4321 ปีที่แล้ว

    video was great.
    😁😁

  • @GovindKumar-yo6py
    @GovindKumar-yo6py 8 หลายเดือนก่อน

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

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  8 หลายเดือนก่อน

      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

  • @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?

    • @shankarar9451
      @shankarar9451 9 หลายเดือนก่อน +1

      pin # 2 and 3

  • @AnakinShane
    @AnakinShane 4 หลายเดือนก่อน

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

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  4 หลายเดือนก่อน +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 4 หลายเดือนก่อน

      @@smartpowerelectronics8779 Thanks for answer.

  • @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

  • @luisfelipesaldivar5100
    @luisfelipesaldivar5100 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.

    • @boristheengineer5160
      @boristheengineer5160 2 หลายเดือนก่อน

      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.

  • @albertof2675
    @albertof2675 7 หลายเดือนก่อน

    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 2 หลายเดือนก่อน +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.

  • @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 th-cam.com/video/zxmyfiFbo2c/w-d-xo.html

    • @mr.sparshbansal
      @mr.sparshbansal 7 หลายเดือนก่อน

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

  • @JuanBotes
    @JuanBotes 4 หลายเดือนก่อน

    thanks \o/

  • @StevenCookFX
    @StevenCookFX 9 หลายเดือนก่อน

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

    • @smartpowerelectronics8779
      @smartpowerelectronics8779  9 หลายเดือนก่อน

      Do yo use Arduino IDE 1.8.x or the new 2.x version? I never tried with 2.x.

  • @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  ปีที่แล้ว

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

  • @jumbo999614
    @jumbo999614 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

      @@smartpowerelectronics8779 Thank you

  • @ugurseydaliyev
    @ugurseydaliyev ปีที่แล้ว

    can i load the bootloader with ISPprogrammer?

  • @جواد-ع3ض
    @جواد-ع3ض 8 หลายเดือนก่อน

    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.