Тёмный

Make your own DigiSpark USB! 

Mr.T's Design Graveyard
Подписаться 10 тыс.
Просмотров 41 тыс.
50% 1

In this tutorial I will show how to build a Digispark and how to flash the bootloader.
The Digispark is an ATtiny85 based microcontroller development board with integrated USB interface
It can be programmed using the Arduino IDE directly via USB.
It is a very cool and small all-in-one development board, and because it can act as a USB mouse or keyboard it is very popular for hacks and pranks.
Links:
Digispark Windows Drivers:
github.com/digistump/Digistum...
How to build Arduino ISP programmer (start at 2:04):
• Program ATtiny85 direc...
2 Board URL’s for the Arduino Board Manager:
(file-preferences-additional board URL)
Micronucleus : drazzy.com/package_drazzy.com_...
DigiSpark : digistump.com/package_digistum...

Наука

Опубликовано:

 

17 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@jespertjoh
@jespertjoh 11 месяцев назад
It works! I've never been so excited about a blinking LED in my life😀
@smartpowerelectronics8779
@smartpowerelectronics8779 11 месяцев назад
Congratulations! Micro-controllers are great, like Lego's on steroids ;-)
@mr.sparshbansal
@mr.sparshbansal 5 месяцев назад
Hi, may ik that did you connect the cathode of led with 330 ohm resistor.
@haideralikhan5947
@haideralikhan5947 Год назад
I actually enjoyed this video. Very informative on how to get started with the attiny
@smartpowerelectronics8779
@smartpowerelectronics8779 Год назад
Thank you! Attiny's are fun. 🙂
@lexguti7150
@lexguti7150 5 месяцев назад
The tutorial is quite clear. Thanks a bunch.
@TechBerto173
@TechBerto173 Год назад
I like watching your videos, very informative and clearly explained. Thanks.
@smartpowerelectronics8779
@smartpowerelectronics8779 7 месяцев назад
Thank you 🙂
@alnoorratansi9364
@alnoorratansi9364 Год назад
great tutorial
@smartpowerelectronics8779
@smartpowerelectronics8779 Год назад
Thank you!
@janakasilva9207
@janakasilva9207 13 дней назад
Itworked first time. Tha.nks I was fed up with this looking at other youtube video s. Im from Sri Lanka .
@smartpowerelectronics8779
@smartpowerelectronics8779 11 дней назад
@@janakasilva9207 👍 great!
@YigalBZ
@YigalBZ Год назад
Can it work with VisualStudio Code & PlatformIOs? Are the drivers also required?
@cheeto4321
@cheeto4321 Год назад
video was great. 😁😁
@smartpowerelectronics8779
@smartpowerelectronics8779 Год назад
Thanks Cheeto!🙂🙂
@albertof2675
@albertof2675 5 месяцев назад
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.
@ovalwingnut
@ovalwingnut 6 месяцев назад
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 Год назад
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 Год назад
Thank you Konstantin! For me both 3.3 and 3.6V zeners worked, which value caused problems for you?
@smartpowerelectronics8779
@smartpowerelectronics8779 Год назад
By the way, you really need to solder this, I never got it working on a solder-less breadboard ;-)
@KonstantinNovikov
@KonstantinNovikov Год назад
@@smartpowerelectronics8779 I don't know why, but scheme doesn't work with 1N4729A
@KonstantinNovikov
@KonstantinNovikov Год назад
@@smartpowerelectronics8779 at my experience with BZX55C3V6 works both on breadboard and soldered.
@agustinguzman6375
@agustinguzman6375 Год назад
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 Год назад
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
@luisfelipesaldivar5100
@luisfelipesaldivar5100 Месяц назад
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.
@GnuReligion
@GnuReligion Год назад
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 Год назад
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 Год назад
@@smartpowerelectronics8779 You are my kind of maniac! Virtually all my projects are for self-education, and "not really worth the effort."
@GovindKumar-yo6py
@GovindKumar-yo6py 6 месяцев назад
I have founded truly useful, do you have the official link of the schematic circuit ?
@smartpowerelectronics8779
@smartpowerelectronics8779 6 месяцев назад
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 🙂
@Koddra
@Koddra 11 месяцев назад
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 7 месяцев назад
pin # 2 and 3
@jumbo999614
@jumbo999614 9 месяцев назад
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 9 месяцев назад
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 9 месяцев назад
@@smartpowerelectronics8779 Thank you
@tonkofonko
@tonkofonko 10 месяцев назад
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 10 месяцев назад
*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.
@JuanBotes
@JuanBotes Месяц назад
thanks \o/
@smartpowerelectronics8779
@smartpowerelectronics8779 Месяц назад
Most welcome! ;-)
@user-oc5qk2pc7w
@user-oc5qk2pc7w Год назад
can i load the bootloader with ISPprogrammer?
@smartpowerelectronics8779
@smartpowerelectronics8779 Год назад
You need to use "Arduino as ISP" to burn the bootloader
@AnakinShane
@AnakinShane 2 месяца назад
Hi, there, Why did you set "pinMode" to 1 and "digitalWrite" to 1, when the led is connected to 6 ?
@smartpowerelectronics8779
@smartpowerelectronics8779 2 месяца назад
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 2 месяца назад
@@smartpowerelectronics8779 Thanks for answer.
@StevenCookFX
@StevenCookFX 7 месяцев назад
Getting an error when trying to install the ATTINYCORE package. :(
@smartpowerelectronics8779
@smartpowerelectronics8779 7 месяцев назад
Do yo use Arduino IDE 1.8.x or the new 2.x version? I never tried with 2.x.
@metamud8686
@metamud8686 Год назад
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
@smartpowerelectronics8779
@smartpowerelectronics8779 Год назад
Tried that...You are right! If the box is there you do not need a comma!
@ReyDominicano
@ReyDominicano Год назад
I made it, now i have a question how can i write or read in serial ?
@smartpowerelectronics8779
@smartpowerelectronics8779 Год назад
Check this video, seems possible ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zxmyfiFbo2c.html
@mr.sparshbansal
@mr.sparshbansal 5 месяцев назад
Hi may i know did you connect the cathode of led with 330 ohm resistor
@user-by7sm9lc8m
@user-by7sm9lc8m 5 месяцев назад
Ok
@qddk9545
@qddk9545 Год назад
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 Год назад
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 Год назад
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.
Далее
Bare-Metal MCU #9 - Review; ATTiny85 from scratch
14:25
KiCAD 7 PCB Layout in 5 steps
13:16
Просмотров 383 тыс.
Редакция. News: 60-я неделя
41:13
Просмотров 1,7 млн
My First ATTINY85 Project!
23:48
Просмотров 80 тыс.
How to Make your Project look Amazing
9:27
Просмотров 263 тыс.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
KiCAD 7 Autorouter - Simple Fast Prototyping
10:50
Просмотров 80 тыс.
Why a Digispark should not be your first Arduino.
8:38
How To Design and Manufacture Your Own Chip
1:56:04
Просмотров 79 тыс.
Самый быстрый пылесос!
0:30
Просмотров 18 тыс.
Треш ПК за 420 000 рублей
0:59
Просмотров 253 тыс.