Это видео недоступно.
Сожалеем об этом.
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...
Excellent video, describes exactly what I was after.
just what i needed to know
Thanks ! You hepl my lot
Glad to hear that!
Sir im getting the error invalid signature connection is correct.
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.
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
@@SteveRaynerMakes
Thank you man, after a lot of confusion this is a huge help.
Subbed!
Your Programmer was set to "ArduinoISP" but you said to use "Arduino as ISP" just before you upload to the ATTiny...
Hello, can you tell me the exact additional board manager URL, so I can try to work with attiny85, thanks in advance.
The URL I used is in the description. raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
In arduino isp code i have to remove the comment in old style line or not necessary
Thank you
Can I use another ic?
I cant find the the attiny under boards manager. Any idea why that is and where i can find it? Good Video btw.
Have you tried adding the URL in the description of this video to the Additional Boards Manager Urls?
I had to copy the URL off the page address bar the link brings you to
when i uplode code show ( errpr: A programmer is required to upload ).how to solve it
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.
@@lestronicsuk5662 THX!This helps a lot!
does using regulator is necessary?
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.
@@SteveRaynerMakes you're right, Thank you. I'll consider this in my design
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.....
sorry wrong video