How to Program an attiny with an Arduino Uno (With Serial Printing)

Sdílet
Vložit
  • čas přidán 21. 08. 2024
  • In this video I show you how to connect an attiny85 micro controller to an Arduino Uno so you can program it. I will also show you how to set up software serial communication so you can debug your code!
    attiny Links:
    Amazon five pack no holders: amzn.to/47b3kyZ
    Amazon five pack with holders: amzn.to/3O9Vf5b
    Digikey: www.digikey.co...
    other component links:
    Jumper Wires: amzn.to/3Qi0ZfL
    Breadboards: amzn.to/3YfrkNF
    Perf board: amzn.to/3Klc2B8
    Header Pins: amzn.to/450tNxo
    attiny core:
    drazzy.com/pack...
    Patreon:
    patreon.com/Makeitforless
    Timestamps:
    Wiring: 1:35
    Coding: 1:57
    Serial communication: 4:50
    #attiny85 #arduino #electronic #electronicprojects #arduinoproject #arduinouno #coding #programming #microcontroller #cool #fun #diy #howto #howtomake #wiring #small #cute #power #powerful #efficiency #funny #mini #breadboard

Komentáře • 30

  • @muhammadmirza9455
    @muhammadmirza9455 Před měsícem

    Amazing video
    Clear explanation and genuinely enjoyable.
    Keep up the great work!

  • @flo5091
    @flo5091 Před rokem +3

    That's awesome! Thanks for the video

    • @makeit4less
      @makeit4less  Před rokem +1

      I'm glad you enjoyed it and hope it helped!!

  • @JD-sr2dk
    @JD-sr2dk Před 9 měsíci

    You’re super underrated man .I thought you had like 100k sub at least.

  • @urielmb5087
    @urielmb5087 Před rokem +2

    Great video!!

  • @Andyg760
    @Andyg760 Před rokem +1

    your channel definitely has a lot of potential. I'm gonna have to stick around! keep it up!

    • @makeit4less
      @makeit4less  Před rokem

      Thank you! I hope to keep making awesome stuff for people to enjoy!

  • @gkiscool
    @gkiscool Před 11 měsíci +1

    Cant wait to see the project

    • @makeit4less
      @makeit4less  Před 11 měsíci

      It's already out! Check out my new video, I use the attiny as a battery powered IR receiver!

    • @gkiscool
      @gkiscool Před 11 měsíci

      Will do

  • @CraigHenry-p5c
    @CraigHenry-p5c Před měsícem +1

    I thought I found someone who could get me over the hump to program the 85, like you were, I can’t seem to get it done! I can’t get to first base, the drazzy in preference, never uploads board manager, it always happens, I just thought you were the one!! Nope, I’m still a failure, I hate it!!

  • @sermuns
    @sermuns Před 10 měsíci

    fantastic video, thank you!

  • @videogabibbocotoletta7467
    @videogabibbocotoletta7467 Před 9 měsíci

    Watch out, at 5:26 you say that Tx from attiny goes to Rx in Arduino, however with the Reset connected to ground it has to be Tx to Tx to work! At least that was the reason why it wasn't working for me.. Cheers!

  • @angryalliance4958
    @angryalliance4958 Před rokem +1

    Great man

  • @MaxwellJames
    @MaxwellJames Před rokem +1

    That's cool dude. we may need to do a video together

    • @makeit4less
      @makeit4less  Před rokem

      That sounds fun! Shoot me an email and we can discuss possibilities!

  • @rickroller0127
    @rickroller0127 Před 7 měsíci +2

    I am having issues with uploading code. Why does it says A programmer is required to upload. I did everything exactly like you.

    • @makeit4less
      @makeit4less  Před 7 měsíci

      Hmm, there are two possible issues that it could be. First make sure that under tools > programmer you have arduino as ISP selected. The second is that on newer versions of the Arduino IDE you need to go to click the sketch menu at the top and select "upload using programmer" if either of those work please let me know so I can make a note of it!

    • @rickroller0127
      @rickroller0127 Před 7 měsíci

      @@makeit4less upload using programmer does the job. I can not tell you how thankfull I am.

  • @cesargamer1231
    @cesargamer1231 Před rokem +1

    Fucking insane video:0

    • @makeit4less
      @makeit4less  Před rokem

      Thank you! Im glad you liked it and hope it was helpful!

  • @marvinmelzer5123
    @marvinmelzer5123 Před 7 měsíci

    Hey
    I tried this on an Attiny85v but I am just getting questionmarks with white backgrounds in the serial command box. If I connect Reset with GND on the programming arduino the serial commands stop appearing.
    Do you know how to fix this issue?
    thanks

    • @makeit4less
      @makeit4less  Před 7 měsíci

      Hmm, that is strange. A couple of trouble shooting things you can try are making sure that the baud rate is set correctly and also try closing the serial monitor, reset the uno and then open the serial monitor again. Let me know if any of that works

    • @marvinmelzer5123
      @marvinmelzer5123 Před 7 měsíci

      @@makeit4less I figured it out. I was able to read out the serial communication with a serial to usb adapter. but not with the arduino as the adapter

    • @koyacrab
      @koyacrab Před 5 měsíci

      ​@@marvinmelzer5123did u make sure the baud rate in ur code matched the baud rate in serial monitor? sometimes thats the reason for those ??? there

  • @MohamedEldakamawy
    @MohamedEldakamawy Před 4 měsíci

    i have( A programmer is required to upload) message