Это видео недоступно.
Сожалеем об этом.

ATTiny85 Program Using Arduino UNO

Поделиться
HTML-код
  • Опубликовано: 22 янв 2021
  • Let's take a look at the ATTiny85 Microcontroller and how to program it. First we prepare our Arduino IDE to support the ATTiny. Then we use an Arduino UNO as an ISP programmer to get a sketch onto the ATTiny85 chip.
    URL to add to Arduino IDE:
    raw.githubuser...

Комментарии • 26

  • @motblikk3164
    @motblikk3164 9 месяцев назад +1

    Excellent video, describes exactly what I was after.

  • @TheUnofficialMaker
    @TheUnofficialMaker 3 года назад +3

    just what i needed to know

  • @MarianCobirlie
    @MarianCobirlie 8 месяцев назад +1

    Thanks ! You hepl my lot

  • @janakasilva9207
    @janakasilva9207 Месяц назад

    Sir im getting the error invalid signature connection is correct.

  • @nuca5104
    @nuca5104 3 года назад +1

    I have a question about the remaining "unused" pins...
    how come the A3 & A2 pins of the Attiny don't need to be hooked up like all the others to be programmed?
    I have a project where I need 3 digital outputs for RGB LED and 2 touch buttons is this possibles with the ATTINY85?
    What would I have to name the two touch buttons in the ARDUINO sketch to programme them onto the Attiny chip?
    I haven't found an answer.

    • @SteveRaynerMakes
      @SteveRaynerMakes  3 года назад +2

      Hi. You don't need to hook up all the pins for programming. The programmer essentially communicates with the ATTiny85 via SPI. So it only needs to use the SPI pins (5, 6 & 7) along with reset (1) and power (4 & 8). So basically all of them apart from pins 2 & 3.
      There is a nice diagram of the the pinout on this page. makersportal.com/blog/2018/5/19/attiny85-arduino-board-how-to-flash-the-arduino-bootloader-and-run-a-simple-sketch
      The light blue numbers are the Arduino pins. These are the pin numbers you will use in the Arduino sketch.
      Sounds like you need 5 pins for your project, 3 outputs and 2 inputs. This should be easy with the ATTiny85. You can use Arduino pin numbers 0, 1, 2, 3 & 4. Physical pins on the chip 5, 6, 7, 2 & 3.
      Arduino Pin 0 = Physical pin 5
      Arduino Pin 1 = Physical pin 6
      Arduino Pin 2 = Physical pin 7
      Arduino Pin 3 = Physical pin 2
      Arduino Pin 4 = Physical pin 3

    • @nuca5104
      @nuca5104 3 года назад

      @@SteveRaynerMakes
      Thank you man, after a lot of confusion this is a huge help.
      Subbed!

  • @Schroeder9999
    @Schroeder9999 11 месяцев назад

    Your Programmer was set to "ArduinoISP" but you said to use "Arduino as ISP" just before you upload to the ATTiny...

  • @johnvankampen2020
    @johnvankampen2020 2 года назад +1

    Hello, can you tell me the exact additional board manager URL, so I can try to work with attiny85, thanks in advance.

    • @SteveRaynerMakes
      @SteveRaynerMakes  2 года назад +2

      The URL I used is in the description. raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

  • @GTA-bn6gu
    @GTA-bn6gu 2 года назад

    In arduino isp code i have to remove the comment in old style line or not necessary

  • @tonysandvig1478
    @tonysandvig1478 2 года назад

    Thank you

  • @brothers6704
    @brothers6704 2 года назад

    Can I use another ic?

  • @essentials1016
    @essentials1016 3 года назад

    I cant find the the attiny under boards manager. Any idea why that is and where i can find it? Good Video btw.

    • @SteveRaynerMakes
      @SteveRaynerMakes  3 года назад

      Have you tried adding the URL in the description of this video to the Additional Boards Manager Urls?

    • @tonysandvig1478
      @tonysandvig1478 2 года назад

      I had to copy the URL off the page address bar the link brings you to

  • @SamiulIslam-hu7ut
    @SamiulIslam-hu7ut Год назад

    when i uplode code show ( errpr: A programmer is required to upload ).how to solve it

    • @lestronicsuk5662
      @lestronicsuk5662 Год назад +1

      most demonstrate using old Arduino IDE's ! I think from IDE 2.0 onwards you have to select the Sketch Tab and in the dropdown menu select "Upload using programmer" Hope this helps anyone reading this because its not very well documented.

    • @yuhanwang-nq3yn
      @yuhanwang-nq3yn Год назад

      @@lestronicsuk5662 THX!This helps a lot!

  • @basmaal-ghali9174
    @basmaal-ghali9174 3 года назад

    does using regulator is necessary?

    • @SteveRaynerMakes
      @SteveRaynerMakes  3 года назад

      Technically it will operate from 2.7v to 5.5v. I would highly recommend a stable supply voltage. Having a Vcc that is not stable could cause unpredictable results. Technically it might work without one, but I would not want to rely upon it.

    • @basmaal-ghali9174
      @basmaal-ghali9174 3 года назад

      @@SteveRaynerMakes you're right, Thank you. I'll consider this in my design

  • @cyber_tech6001
    @cyber_tech6001 8 месяцев назад

    you did not talk about uploading the bootloader, in the final uploading you did not changed the Boards as ATtiny85 instead you kept it as Arduino Uno. So technically the programmed got uploaded in the arduino and not the chip. Why i wasted my time on this video.....

  • @garyhart6028
    @garyhart6028 7 месяцев назад

    sorry wrong video