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?
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
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.
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.
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.....
Excellent video, describes exactly what I was after.
just what i needed to know
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?
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!
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
Your Programmer was set to "ArduinoISP" but you said to use "Arduino as ISP" just before you upload to the ATTiny...
Can I use another ic?
In arduino isp code i have to remove the comment in old style line or not necessary
Thank you
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!
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
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