ATTiny85 Program Using Arduino UNO

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

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

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

    Excellent video, describes exactly what I was after.

  • @pradiptabanerjee6513
    @pradiptabanerjee6513 Месяц назад +1

    EVERYONE IS USING BLI NK. BUT I WANT TO SEE OTHER PROGRAMS IS FUNCTIONING AS WELL. I WROTE A PROGRAM FOR IR CONTROLLED RELAY. IT WORKED WITHOUT HITCH WITH NANO. BUT AFTER UPLOADING THAT PROGRAM TO ATTINY85 IT DID NOT WORK. 12:06 CAN ANYONE HELP?

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

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

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

    just what i needed to know

  • @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 года назад +3

      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!

  • @janakasilva9207
    @janakasilva9207 6 месяцев назад

    Sir im getting the error invalid signature connection is correct.

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

  • @Marian-RXZ
    @Marian-RXZ Год назад +1

    Thanks ! You hepl my lot

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

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

  • @DS_Production1
    @DS_Production1 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 3 года назад

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

  • @SamiulIslam-hu7ut
    @SamiulIslam-hu7ut 2 года назад

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

    • @lestronicsuk5662
      @lestronicsuk5662 2 года назад +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!

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

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

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

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

    Thank you

  • @garyhart6028
    @garyhart6028 Год назад

    sorry wrong video