Digispark ATtiny85 with Arduino 2.0: How to program?

Поділитися
Вставка
  • Опубліковано 14 чер 2023
  • 🔥🔥After installing the Digistump AVR package, windows/mac will ask to install the "Digistump LLC" drivers. Click next to install it.🔥🔥
    Click on the link below. Then copy the URL and paste it into "additional boards URL" section:
    raw.githubusercontent.com/dig...
    Hey, this is the tutorial on how to use the Digispark Attiny85 development board with Arduino 2.0.
    Digispark Attiny85 board has 8KB of flash memory, SRAM, and EEPROM of 512 bytes each, 6 digital pins, and 4 analog pins. Due to the onboard 5V regulator, it supports voltage between 7 to 35 volts. There is also a built-in LED connected to digital pin 1.
    It has 6 digital pins(P0 to P5), 4 analog pins(P2 to P5) that can be used for analog input, and 3 PWM pins(P0, PI, and P4).
    ------------------------------
    Track: Long Journey - Zackross [Audio Library Release]
    Music provided by Audio Library Plus
    Watch:
    • Long Journey - Za...
    Free Download / Stream: alplus.io/long-journey
    ------------------------------
  • Наука та технологія

КОМЕНТАРІ • 40

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

    straight to the point thank you

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

    Finally... Thank you..

  • @dw6528
    @dw6528 6 місяців тому +2

    Nice video!!!
    Well done!!
    If I am not mistaken - with the digispark board - one of the 6 IO pins is dedicated to MCLR (reset) and is therefore not available as a general IO pin. One would have to have a way to reset the fuse options in the device in order to use that pin for IO.
    Additionally the ATTINY85 contains an internal RC clock which the manufacture gives 10% accuracy
    There is a process for adjusting the internal OSCAL register in order to bring the accuracy to within 2%
    But some users claim that internal RC clock is very temperature sensitive
    So the ATTINY85 would not be reliable for anything that requires precise timing such as UART serial communications.

    • @Antiorganizer
      @Antiorganizer 17 днів тому

      One can change a fuse setting to make 2 if the pins accept an external crystal. That make it accurate. Not changing reset, that then only leaves 3 ports left to play with.
      However, one can drive up to 6 7-segment LEDs using just 2 pins using TM1637 based LED displays.
      That's just 1 pin left over for a button input. JUST enough to make a digital clock for example.
      It's possible to push it further still. Two TM1637 using 3 pins. Change two pins to be input to detect two buttons. It's possible to make an accurate chess clock with the attiny85 this way.

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

    That thing was on its way to become a star..Then Low Power Technology became the new thing, and everyone has forgotten about our little friend...Thanks for the cool video!💪🏽

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

      True dat :)

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

      What low-power devices would you say are the most popular?
      Thanks!

  • @patrik8443
    @patrik8443 Місяць тому

    Thx you helped me a lot!!!

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

    Would love to see a video showing how to send mqtt messsages via this board.

  • @petrmares6081
    @petrmares6081 20 днів тому

    love you!

  • @RaviKumar-qx2xy
    @RaviKumar-qx2xy Рік тому

    🎉🎉🎉

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

    Will the code for arduino work for attiny 85

  • @user-lc2fp3sf2k
    @user-lc2fp3sf2k 5 місяців тому

    Hello
    First Thank you for video
    I'm trying work on this, everything is fine but my led isn't blinking, even I'm getting message to plugin of Attiny85,Led is working I have checked with Mulitimeter, can youu please look into this one

    • @valentinocaso5396
      @valentinocaso5396 Місяць тому

      did you solve it in the end? I'm having the same problem. I have version 2.3.2 of the IDE.

  • @imzi_2974
    @imzi_2974 Місяць тому

    Digistump avr not installing can someone help please

  • @ajs-GROOTyYT
    @ajs-GROOTyYT 7 місяців тому +3

    Now the digistump json file server is inactive. So it is not working in Arduino IDE. Download fails and with an error as "some indexes could not be updated" (in Arduino IDE 2.2.1version ). Is there any fixes??

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

      Same problem... tell me solution...😢

    • @ajs-GROOTyYT
      @ajs-GROOTyYT 7 місяців тому

      @@Akshat_2039 I don't know thats why I'm asking 🙁

    • @dw6528
      @dw6528 6 місяців тому +3

      Its possible this product is diminishing in consumer popularity just like the Picaxe did 10 years ago.
      These products have a window of time in which the developers are willing to support them
      And when that window of time starts closing the developers risk financial loss if they continue supporting them.
      Adafruit has a similar product - which they call the Trinket - using the same ATTINY85
      They are still selling it - but warning about deprecation and recommending users move to a newer product.
      So its quite possible the ATTINY85 is leaving the Arduino eco-system - probably due to lack of consumer interest.

    • @THEELECTRONICGUY
      @THEELECTRONICGUY  Місяць тому

      I just tried this on a different PC- Downloaded Arduino IDE and repeated the steps. It's working fine for me.

  • @ahadkhan5179
    @ahadkhan5179 9 місяців тому

    Hey man can you tell me the name of the board connected to the breadboard which looks like half Arduino UNO.. Thanks..

  • @adrianharris411
    @adrianharris411 5 днів тому

    This video is now out of date as Digistump no longer have a website, so you cannot add the URL under preferences.

  • @uniquezzzz8641
    @uniquezzzz8641 5 місяців тому +1

    is there need to connect those pins pls reply?

    • @erics.a.288
      @erics.a.288 5 місяців тому +1

      Same doubt... I got this chip for Reverse Shell Attacks

  • @krishnananda.s1394
    @krishnananda.s1394 10 місяців тому +1

    Will it work on 3.7 V

    • @icarossavvides2641
      @icarossavvides2641 10 місяців тому +2

      Why don't you look at the data sheet instead of expecting someone else to to it for you?

    • @krishnananda.s1394
      @krishnananda.s1394 10 місяців тому

      @@icarossavvides2641
      I have seen the data sheet and it works on 5v or more I didn't knew about the power booster module before but now all is sorted.

  • @MicroVersee
    @MicroVersee Місяць тому

    hello i am using windows 11 laptop and i installaed all drivers of digispark but on arduino ide the code is not being uploaded to my attiny85 digispark. but the leds of attiny 85 are working but i can not upload the code to it. i cannot even update the drivers, if i try to update them there is no update button there are only install and delete buttos so what should i do please help me

    • @valentinocaso5396
      @valentinocaso5396 Місяць тому

      did you solve it in the end? I'm having the same problem. I have version 2.3.2 of the IDE.

    • @THEELECTRONICGUY
      @THEELECTRONICGUY  Місяць тому

      I just tried this on a different PC- Downloaded Arduino IDE and repeated the steps. It's working fine for me. Try this: Before uploading the program, unplug all ports(mouse, keyboard, etc.). Then when it says, "Timeout in 60 seconds"; insert the Digispark board- start with the port you just unplugged. If nothing happens, change the port, and so on.

    • @THEELECTRONICGUY
      @THEELECTRONICGUY  Місяць тому

      @@valentinocaso5396 Try this: Before uploading the program, unplug all ports(mouse, keyboard, etc.). Then when it says, "Timeout in 60 seconds"; insert the Digispark board- start with the port you just unplugged. If nothing happens, change the port, and so on.

    • @MicroVersee
      @MicroVersee Місяць тому

      @@THEELECTRONICGUY i did everything but it didn't work at all

    • @MicroVersee
      @MicroVersee Місяць тому

      @@valentinocaso5396 no i couldn't solve

  • @s._uiting
    @s._uiting 3 місяці тому +1

    it doesn't work

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

    why in the hell are you wearing a glove??

    • @mrnoname6327
      @mrnoname6327 7 місяців тому +1

      Because he decided to wear one.

    • @akosisydney28
      @akosisydney28 7 місяців тому +3

      because of the static