Programming an ATtiny85/45 with an Arduino UNO (Getting started)

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 เม.ย. 2014
  • I picked up a few of these ATtiny85 ICs from Farnell (uk.farnell.com/atmel) recently, they are really cheap £1 each and are, as I found out, ridiculously easy to program and use. I think Farnell is Newark in the US so they probably have them too. You can program a lot of the Atmel chips this way and Farnell stock a variety, I went with the ATtiny85 because it look good for the price and it is pretty tiny bit still in a DIP style casing.
    High Low Tech link - highlowtech.org/?p=1706
    As always, comments, corrections and criticism (harsh as you like) is always welcome.
    Arduino Tiny - code.google.com/p/arduino-tiny/
    It turns out that 'Likes' and 'Shares' actually help the channel so, if you want to, please click the thumbs up or share the video.
    I don't have a Patreon or a donate thingy, I get by fine. That said, if you are mega rich and fancy donating something I would find useful they feel free to check out my Amazon wishlist (No pressure) - www.amazon.co.uk/registry/wish...
    If you want to get in contact Twitter is probably the best way @mrdavidjwatts
    www.davidjwatts.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 163

  • @kreme341
    @kreme341 7 ปีที่แล้ว +6

    You're my favourite person right now, the one thing I forgot to do was upload ArduinoISP to the Atmega before bootloading to the ATtiny... I swear that step wasn't included in so many tutorials I've tried.

  • @kkhalifa
    @kkhalifa 7 ปีที่แล้ว +2

    Thank you David! this is a great video! You've got a new subscriber!

  • @kungufupela
    @kungufupela 8 ปีที่แล้ว +1

    Thanks for the tutorial! Buenísimo David, gracias!

  • @mikloschriste9719
    @mikloschriste9719 3 ปีที่แล้ว

    Awsome tutorial clear and short! Many thanks for sharing!

  • @atharvapurohit3821
    @atharvapurohit3821 4 ปีที่แล้ว

    very humble, know your stuff, clear instructions. keep it up

  • @bwack
    @bwack 4 ปีที่แล้ว

    Extremely useful ! Thanks David!

  • @miketony2069
    @miketony2069 4 ปีที่แล้ว +1

    great tutorial. In my haste I missed the whole "burn ArduinoISP" sketch first. Then later on when burning bootloader you need to set as "Arduino as ISP". Keep mind the *as* option is different! Easy to get tripped up if you're rushing. Take your time and it works great. And oh, I also didn't need the cap either. thank you!

  • @thedankoona_5854
    @thedankoona_5854 7 ปีที่แล้ว

    omg THANX dude! the vid is a lil old but it still worked for me! in the beginning i never succeeded but this video helped me out!

  • @nick1p.x226
    @nick1p.x226 8 ปีที่แล้ว

    Thanks David!

  • @kimholland1408
    @kimholland1408 5 ปีที่แล้ว +6

    Hello David,
    just used your video to successfully program ATtiny85 after a few hiccups.
    The newest (Dec 2018) ATtiny core files when loaded have slightly different drop down headers, but I still managed to get it done.
    Patience and one step at a time got me there.
    Note to all - do not put the capacitor into the UNO until after you have loaded the ISP sketch.

    • @jobertdonato1815
      @jobertdonato1815 5 ปีที่แล้ว

      can you paste the link of the library you used? thanks..

    • @emreaknc6689
      @emreaknc6689 2 ปีที่แล้ว

      cap info helps a lot thx

  • @vcaput
    @vcaput 9 ปีที่แล้ว

    good job!
    Thank you for share

  • @lylerodericks
    @lylerodericks 8 ปีที่แล้ว

    Thank you! Great video

  • @ClaudeDufourmont
    @ClaudeDufourmont ปีที่แล้ว

    Congratulations

  • @sushilsylvestersuresh3987
    @sushilsylvestersuresh3987 7 ปีที่แล้ว

    Thanks a lot for the video. It really helped.

  • @sameerk12982
    @sameerk12982 4 ปีที่แล้ว

    Hello from India David.... Thank you very much for this wonderful and easy to understand tutorial. Worked perfectly for me. Appreciated.

    • @sameerk12982
      @sameerk12982 4 ปีที่แล้ว

      Is it possible to program attiny without burning bootloader to it.?

    • @DavidWatts
      @DavidWatts  4 ปีที่แล้ว

      Nope, you don't need to burn the bootloader, that is only really a necessary step when you want to change things like the clock speed.

  • @sumedhburbure4173
    @sumedhburbure4173 7 ปีที่แล้ว

    This was helpful, thank you

  • @BattleboynLP
    @BattleboynLP 7 ปีที่แล้ว

    Thank you very much, I first tried all this and nothing happend except that the IC didn't want to get programmed. I then watched your Video and noticed that I had simply forgotten to program the Arduino Uno as an Arduino ISP(wasn't mentioned in other Videos/tutorials).

  • @Jimnymudhunter
    @Jimnymudhunter 8 ปีที่แล้ว

    this worked unlike another vid i used.. thanks!

    • @DavidWatts
      @DavidWatts  8 ปีที่แล้ว

      You are most welcome.

  • @Nitiiii11
    @Nitiiii11 7 ปีที่แล้ว +3

    For my arduino uno the capacitor wasn't necessary. Thanks for the video!

  • @123spaceinvaders
    @123spaceinvaders 9 ปีที่แล้ว +1

    Thanks for the tutorial!!! very usefull!!!

    • @DavidWatts
      @DavidWatts  9 ปีที่แล้ว

      Your are most welcome.

  • @rocket6786
    @rocket6786 6 ปีที่แล้ว

    It worked for me also!!! Thanks a Million. It seems i did not get the error code you encountered, i am running a different flavor of arduino studio.

  • @pauldusa
    @pauldusa 4 ปีที่แล้ว

    I like doing the same to the New Attiny 3217 or 3216 UPDI arduino capable ic's as they have 32k Flash with only 3 wire programming including 2 of the wires being + - power. So it's only 1 wire programming for the new Attinys

  • @aseredy
    @aseredy 9 ปีที่แล้ว

    Do you need to burn a boot loader? Dose the Uno as an ISP basically take over that on-chip function? Thanks for the video!

  • @AV-81
    @AV-81 6 ปีที่แล้ว +3

    Awesome video!!! Keep it up mate
    Question: WHY does arduino reset itself? (i mean why do we actually have to connect a capacitor?)

    • @DavidWatts
      @DavidWatts  6 ปีที่แล้ว +1

      These days the new bootloader works differently so you may not actually need the capacitor anymore but previously the bootloader would kick in when the board reset meaning that the IDE would talk to the Uno rather than the Attiny.

  • @A.H.L.
    @A.H.L. 5 ปีที่แล้ว

    Hey nice video...can i use the Attiny for Servo control? if yes..How?

  • @johnanthony1414
    @johnanthony1414 8 ปีที่แล้ว

    Hi David, thank you for your video! Very informative. When you're putting a AT Tiny circuit together with say coin cell batteries, is there any need for a power regulator or capacitors to smooth out the current? I see the chip has an internal oscillator so that saves space on the board having to hookup an external one, thank you for pointing that out.

    • @DavidWatts
      @DavidWatts  8 ปีที่แล้ว

      +John Anthony You can run it on a coin cell, I think they ATTiny85 draws 5-8ma at 8mhz but you can use sleep functions to reduce current over time. I think most coin cells are rated for about 15ma but you can get peak loads higher. You should still put a capacitor (100nf) near the chip on the power line though but it will probably work without.

    • @zacharydavis2399
      @zacharydavis2399 3 ปีที่แล้ว

      @@DavidWatts so if we are using ATtiny85 for product, then we should have 100nf capacitor connected to [power and GND] on the chip or [Reset and GND] on the chip?

  • @user-xi7xz6xh9r
    @user-xi7xz6xh9r 5 ปีที่แล้ว

    Thank you!!

  • @joanarigbi6258
    @joanarigbi6258 7 ปีที่แล้ว

    Hi,
    Is it possible to generate timer interrupt using arduino IDE? I'm trying to generate interrupt using arduino IDE and tiny avr programmer from sparkfun.

  • @sujeewapriyadarshani76
    @sujeewapriyadarshani76 4 ปีที่แล้ว

    please do a video (how to programme attiny 13A with arduino)

  • @DownhillAllTheWay
    @DownhillAllTheWay 5 ปีที่แล้ว +1

    For those using an Arduino Nano instead of an Uno, pin 10 on the Uno = D10 on the Nano. Same with
    Pin 12 = D12, Pin 13 = D13.
    Also, I have read that "Burn Bootloader" does not actually write a boot loader into memory, but simply sets the fuses to the right clock speed. This caused me considerable confusion initially.
    At 5:00 - "The pins don't count in the normal way". In fact, it's not pin numbers of the chip that are being used, but I/O pin numbers of port-B. On the bigger chips in the range, there are more I.O lines than on the ATtiny, and they have several 8-bit I/O ports, designated Port-A, Port-B, etc, but with only 5 available pins for I/O, the ATtiny85 only has one I/O port, and that's Port B, so the "pin" numbers are PB-0, PB-1, PB-3, etc. (see the datasheet).
    When I look at Tools/Board, there is no ATtiny in it. At this point, I'm stuck till I figure it out.

    • @DavidWatts
      @DavidWatts  5 ปีที่แล้ว

      You are right, burn bootloader only sets your fuses, you need to do that to set the clock frequency, brown out and such. If you don't see it in the boards section then you will need to either search for ATtiny in the boards manager or add drazzy.com/package_drazzy.com_index.json ender preferences --> Additional Boards Manager URLs. How things change after 4 years.

    • @DownhillAllTheWay
      @DownhillAllTheWay 5 ปีที่แล้ว

      Thanks, David, I went off searching and found the same link in a different TH-cam video, so now, I'm working on getting my AT85 to blink. I already walked this road a year ago, but I haven't used the AT85's since, so now that I'm coming back to them, I'm having to learn it all over again. Last time, I made a soft-start circuit for a 240V table saw that was starting far too quickly (using a triac), and I also made a timer that would switch on the mains through a relay for anything from 10 seconds to 9 hours - all controlled with one button. I was very pleased with myself over that! :-)

  • @uvinirajapakshe503
    @uvinirajapakshe503 2 ปีที่แล้ว

    Hello.can you explain how to get one output by giving 3 inputs using ATtny 85

  • @brendethedev2858
    @brendethedev2858 8 ปีที่แล้ว

    i was able to get the library successfully but the option to select the attiny board is not available ... it only shows the option for arduino avr

  • @ernestosastre7555
    @ernestosastre7555 6 ปีที่แล้ว

    I pretty much did as instructed. But when trying the blink sketch on the attiny.. the led just stays on indefinitely

  • @paveld2593
    @paveld2593 6 ปีที่แล้ว

    Thanks. Now I know how to program Attiny. On net are only how to load or schema but no one shows where to click.

  • @cornellsludgge8479
    @cornellsludgge8479 3 ปีที่แล้ว

    Ok I am confused, can the ATtiny85 read in analog input in reference to serial communication SCL and SDA ? Pins 6 and 7 I saw were not used.

  • @BurakKeskin
    @BurakKeskin 2 ปีที่แล้ว

    Can i use attiny 45minstead of attiny 85?

  • @mikej9541
    @mikej9541 8 ปีที่แล้ว

    I noticed that you are using a capacitor. I have tried programming it without the capacitor and it works fine.

  • @raevod6361
    @raevod6361 4 หลายเดือนก่อน

    i dont know where you bought it but i got mine for almost 5 euro including shipping

  • @RahulSingh-my7vx
    @RahulSingh-my7vx 5 ปีที่แล้ว

    sir when i program it with Arduino uno with 1.8.5v ide it showing error yenkie invalid device check your connection double i check everything but i am not able to program it please help me about it.

  • @nebrasjunaid7073
    @nebrasjunaid7073 7 ปีที่แล้ว

    is it possible to use esp8266 instead of arduino ono???? and how is the connection will be??? could you help me please!!!!!

  • @AndresMendietayoh
    @AndresMendietayoh 7 ปีที่แล้ว

    I have a question, I placed ports 0,1,2 and 3 as blink. But now I can not burn another program. How do i restart the attiny? Thank you

  • @sebb810
    @sebb810 8 ปีที่แล้ว

    can i use an ATTINY25? nice vid by the way

  • @umairanwar8609
    @umairanwar8609 7 ปีที่แล้ว

    Love u ... this worked

  • @MPElectronique
    @MPElectronique 7 ปีที่แล้ว

    thank you

  • @t1d100
    @t1d100 ปีที่แล้ว

    Great!

  • @greatliar
    @greatliar 8 ปีที่แล้ว

    i used 47microF and it didn't work. Prompted me to check the connection. I guessed use smaller capacitor is ok but not of higher value.

  • @robertbryan8870
    @robertbryan8870 หลายเดือนก่อน +1

    I been trying to get my Attiny85 to work, I 'm using a top hat board that plugs direct in the Arduino Uno and works fine as long as I have it plugged in the Arduino , when I remove all the wires a try to blink the led with my own 5v battery it does not appear to work, seems like it not transfering to ting85 memory?
    I also see lots of other people are having the same problem and most of the youtube videos are done but hobbist just learning and they skip several important steps. Hope you can make a better video and show detail and go slower.

  • @vengadeshwaranganesan9354
    @vengadeshwaranganesan9354 7 ปีที่แล้ว +2

    Hi David'
    I can't able to upload. when i am upload, i got this only
    "avrdude: Yikes! Invalid device signature.
    Double check connections and try again, or use -F to override
    this check.
    An error occurred while uploading the sketch"
    what can i do? plz help me

    • @444whoislex
      @444whoislex 6 ปีที่แล้ว

      vengadeshwaran ganesan I

    • @flightisallright
      @flightisallright 5 ปีที่แล้ว

      This can happen when the ATTINY was accidentely set up to run with an external clock (=quartz) connected. So when you try to program it, it absolutely needs that quartz.

  • @brothers6704
    @brothers6704 ปีที่แล้ว

    Can I use another ic?

  • @planker
    @planker 2 ปีที่แล้ว

    thanks

  • @mikej9541
    @mikej9541 8 ปีที่แล้ว

    Disconnecting and reconnecting the Arduino can cause issues.. It can get dirty and there is also the wear.. So your connections can be at risk. Cleaning your connections is an option. Also just keeping your power supply to the project off and working hot would solve the issue.

  • @ExorLetsGo
    @ExorLetsGo 4 ปีที่แล้ว +1

    Hi Guys. please publish the "additional boards manager url" link for the Attiny85 boards

    • @rasheedmalik6594
      @rasheedmalik6594 4 ปีที่แล้ว

      raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

  • @SackyX
    @SackyX 5 ปีที่แล้ว

    Good video, however when I select ardunio ISP with a 10uf capacitor in it will not accept the sketch. It says programmer not responding. Not in sync and tries 10 times to do so. Any ideas? Thanks in advance.

    • @DavidWatts
      @DavidWatts  5 ปีที่แล้ว +1

      It sounds like you are clicking upload rather than Sketch --> Upload using programmer

  • @bobwmcgrath
    @bobwmcgrath 5 ปีที่แล้ว

    Does anybody know if this works on an attiny402?

  • @Nqrgaard
    @Nqrgaard 7 ปีที่แล้ว

    How about PWM with a potentiometer, is that possible? And can you connect multiple ATTINYs together if you don't have enough output pins? 😊

    • @DavidWatts
      @DavidWatts  7 ปีที่แล้ว +1

      Yeah PWM is possible on pin 5&6 and analog input on 2,3 and 7. You wouldn't really want to connect two together but you could use a CD4050 or 74HC595 to increase your inputs/outputs.

  • @GujaratiKanudo
    @GujaratiKanudo 3 ปีที่แล้ว

    thanks but in video i can't see some of your work by improperly recording area..

  • @DavidWatts
    @DavidWatts  9 ปีที่แล้ว +1

    +Neil Kolban It is very similar, but I think Matt Richardson probably did it better than me. The High-Low-Tech site is a great resource, listed in many tutorials and well worth a look - highlowtech.org/?p=1695

    • @19811402
      @19811402 8 ปีที่แล้ว

      Heaving so much problems with the program. The high low tech site isnt working for the latest version of ide.

    • @ashramshef
      @ashramshef 8 ปีที่แล้ว

      +Nordic, it did for me:
      highlowtech.org/?p=1695

  • @malagiyawanna
    @malagiyawanna 8 ปีที่แล้ว

    hello i am new for this attiny85 arduino. can you please help me do a small program. i want code for attiny85. what i want is when contact get open ( assume a reed switch) then LED get blink 10 S and off. how i do this using this attiny85. thank you anyone can help me?

  • @12388753
    @12388753 6 ปีที่แล้ว

    Please respond!! Do I need a crystal clock for the attiny45?

    • @DavidWatts
      @DavidWatts  6 ปีที่แล้ว

      No, you can use the 8 MHz internal clock just like the 85

  • @mariuspetcu7482
    @mariuspetcu7482 9 ปีที่แล้ว

    HI , I inted to use ATiNY85 for a more complex program with one LED and a Buzer . I want to make the S.O.S. Morse sound with the buzer and the same with LED . Do You think is possible ?. If is necesary I can send You the Code I've made . I don't know how much space - as information - is the program itself . THANK YOU

  • @Build_the_Future
    @Build_the_Future 4 ปีที่แล้ว +9

    You should check out Eric Lamb channel He's building a real full size walking robot. Just search " Eric Lamb " It's really cool

    • @bleeptrack
      @bleeptrack 4 ปีที่แล้ว +5

      Oh and also check out " bleeptrack ", I think she's amazing!

    • @bitlunislab
      @bitlunislab 4 ปีที่แล้ว +5

      I also stumbled across a cool channel recently called "bitluni's lab". Can only recommend.

    • @DustinWatts
      @DustinWatts 4 ปีที่แล้ว +4

      Forget about the rest. I learn the most from Dustin Watts. Just search "Dustin Watts".

    • @Build_the_Future
      @Build_the_Future 4 ปีที่แล้ว +2

      That's embracing I copied pasted the wrong comment.

    • @voltlog
      @voltlog 4 ปีที่แล้ว +3

      There is this guy called VoltLog, if you want to see the good stuff check out his channel.

  • @tanzimrahman8906
    @tanzimrahman8906 7 ปีที่แล้ว +2

    i can not burn bootloader ... the text
    avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
    avrdude: Expected signature for ATtiny85 is 1E 93 0B
    Double check chip, or use -F to override this check.

    • @conf1rmed819
      @conf1rmed819 6 ปีที่แล้ว

      tanzim rahman the pagel thing is fine

    • @JimSteinbrecher
      @JimSteinbrecher 6 ปีที่แล้ว

      make sure the reset pin is connected correctly. if it isnt, i think avrdude cant identify the attiny, and gets the id from the main arduino.

  • @fawzibehbehani
    @fawzibehbehani 7 ปีที่แล้ว

    can i use attiny to generate pwm 1khz and use one input as a resistive controller

    • @DavidWatts
      @DavidWatts  7 ปีที่แล้ว

      You could make use of some developments in fast pwm - www.re-innovation.co.uk/web12/index.php/en/blog-75/305-fast-pwm-on-attiny85

  • @hooperwille
    @hooperwille 7 ปีที่แล้ว

    Is the bootloader required or optional to run sketches on attiny85?

    • @DavidWatts
      @DavidWatts  7 ปีที่แล้ว +1

      You do need a bootloader to program it normally though the IDE.

  • @brendethedev2858
    @brendethedev2858 8 ปีที่แล้ว

    would you need to connect a crystal osilator to the attiny?

    • @DavidWatts
      @DavidWatts  8 ปีที่แล้ว +1

      +brende the “brenden the dev” dev Nope, you can use the internal 8mhz oscilator

    • @brendethedev2858
      @brendethedev2858 8 ปีที่แล้ว

      oh wow thats awsome David Watts

  • @chrisstromberg6527
    @chrisstromberg6527 5 ปีที่แล้ว

    That is really cool!

  • @sujjwal007
    @sujjwal007 5 ปีที่แล้ว

    How many times we are programme it? I mean i upload a led blink programme, after that i want to change the programe, can i do it with ATtiny85?

    • @DavidWatts
      @DavidWatts  5 ปีที่แล้ว +2

      About 10,000 times.

  • @kuukeldeideidara5944
    @kuukeldeideidara5944 8 ปีที่แล้ว

    Hello! I'm having issue with my arduino uno. It was working OK couple days ago. But now it has problem with uploading. When I try to upload, first it stuck at uploading, after a while it gives quite a long error message starts with
    Problem uploading board,
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x2c
    avrdude: stk500_recv(): programmer is not responding................etc. I tried almost all the tricks and instructions online such as reset button. None of them didn't work. I'm sure that my ports and other options for Arduino UNO are correct. When I connect my arduino to computer I hear the device insertion sound, also yellow(L) and green(ON) lights of the arduino board are on. I reinstalled software. And when I connect arduino it has installed the port automatically which means board and computers' connection is OK. Also when I connect my arduino board to motor driver, my stepper motor is working with the code which I uploaded previously. How can I fix it? Please tell me if there is other way. Thank you!

    • @mikej9541
      @mikej9541 8 ปีที่แล้ว

      +kuukeldei deidara It has to do apparently with your connections.. They apparently get gummed up or dirty.. I had similar issues.. I just played with it until it worked and I really try to avoid disconnecting it... Also if your settings for your board is still on Attiny85 when you try to program the Arduino then you will have a problem.. Make sure you have your settings correct. I now only connect the power to my project when it is done.. So I do everything hot and do not unplug the Arduino unless I need to.

  • @ajayjoseph4626
    @ajayjoseph4626 6 ปีที่แล้ว

    i m getting an error while uploading tiny library "Specified folder/zip file does not contain a valid library"

    • @DavidWatts
      @DavidWatts  6 ปีที่แล้ว

      Look up tiny core in the libraries manager. The way of installing libraries has changed in the last few years.

  • @HOTRODLED
    @HOTRODLED 5 ปีที่แล้ว

    can this be hooked up to a small led addressable ring?

    • @ddjazz
      @ddjazz 5 ปีที่แล้ว

      You can use a neopixel ring and use adafruit neopixel library that runs on the attiny85

  • @newsogn5148
    @newsogn5148 8 ปีที่แล้ว

    Why do you need to load that first sketch at the begining its the example arduinoisp sketch?

    • @DavidWatts
      @DavidWatts  8 ปีที่แล้ว +1

      +Brad Sogn This was a while ago, but as far as I can recall without re-watching my video... In order to program the attiny85 you need an In-System programmer (ISP) because it doesn't have it's own USB interface. I was using an UNO as the ISP as well as a tool for burning the bootloader.

  • @colinwinterburn6136
    @colinwinterburn6136 3 ปีที่แล้ว

    Audio keeps cutting out.

  • @izakkanter452
    @izakkanter452 6 ปีที่แล้ว

    If the board itself pulls only 10mA then why do you need the resistor? The LED should be able to handle up to 23mA.

    • @vex9596
      @vex9596 6 ปีที่แล้ว

      Because he's using 5V to power an LED. Which means poof without a resistor since they typically operate around 3V.

  • @NG-ry9ol
    @NG-ry9ol 5 ปีที่แล้ว

    If I stop the energy suply and after that put it back will the code stay?

  • @mohammedzaman1937
    @mohammedzaman1937 5 ปีที่แล้ว

    i don't get this, every time i try to load the i get "avrdude: Yikes! Invalid device signature....."

    • @ticktock8751
      @ticktock8751 4 ปีที่แล้ว +1

      i have got that and i believe its a dead chip, as i had 50 sent by JD you buy and only 4 worked the others have this Yikes! invalid device.check your connection double
      the first batch i had sent was in anti static tubes and they all work perfect.

  • @salc9593
    @salc9593 9 ปีที่แล้ว

    David, could you tell me if you can reprogram the ATtiny chip

    • @princesscelestia1542
      @princesscelestia1542 9 ปีที่แล้ว

      I'm not David, but yes, yes you can.

    • @salc9593
      @salc9593 9 ปีที่แล้ว

      Thank you Princess Celestia

    • @DavidWatts
      @DavidWatts  9 ปีที่แล้ว

      Sal C Hi, sorry for the late reply. As the wonderful Princess said, yes you can.

    • @salc9593
      @salc9593 9 ปีที่แล้ว

      Thank you David

    • @princesscelestia1542
      @princesscelestia1542 9 ปีที่แล้ว

      David Watts "Wonderful Princess"
      Hehe, made me smile. :)

  • @mustafaburakyuce
    @mustafaburakyuce 7 ปีที่แล้ว

    Hello, can you link to the program

    • @hubibubi2715
      @hubibubi2715 7 ปีที่แล้ว

      you have to go to the website www.arduino.cc and download Arduino software IDE 1.8.2 (new)

  • @100roberthenry
    @100roberthenry 5 ปีที่แล้ว

    i have a different ''blink'' sketch, with no 'pin' number option?????.......

    • @bassreaper7779
      @bassreaper7779 5 ปีที่แล้ว

      What version of the Arduino IDE are you using?
      I am using 1.8.3, it has no 'pin' number option either.
      You have to add a integer. On mine under "void" and "void loop" the led is declared as "LED_BUILTIN". I added the integer
      "int LED_BUILTIN = 0;". You can also declare "int LED = 0"; then modify the code and remove the "_BUILTIN"
      under the "pinMode", and "digitalWrite". Either way will work.

  • @EllieMappin
    @EllieMappin 6 ปีที่แล้ว

    Nice cat eyes.

  • @volodymyrishchiv4929
    @volodymyrishchiv4929 7 ปีที่แล้ว

    Is it also possible to program Atmel ATtiny15A using same technic?

  • @FeribHellscream
    @FeribHellscream 6 ปีที่แล้ว

    So the chip uses 10mA, how long can you make that LED blink?

    • @DavidWatts
      @DavidWatts  6 ปีที่แล้ว +2

      Sorry dude, not sure what you mean

  • @user-xb5uk9ob1z
    @user-xb5uk9ob1z หลายเดือนก่อน

    DELETE PROGRAM ATTINY 85?

  • @SpeccyMan
    @SpeccyMan 7 ปีที่แล้ว

    I bought this neat little Arduino Uno shield from a chap in Greece.
    www.ebay.co.uk/itm/221324819158
    It simplifies this whole process immensely and it comes with a free ATtiny85 and a few
    components for a small demo project.

    • @DavidWatts
      @DavidWatts  7 ปีที่แล้ว +1

      I like the Elite Proto Shield for that th-cam.com/video/75xosjS8m04/w-d-xo.html

    • @alostafawzi
      @alostafawzi 7 ปีที่แล้ว

      thanks it is useful site

  • @mohammedzaman1937
    @mohammedzaman1937 5 ปีที่แล้ว

    i am getting this:
    avrdude: Device signature = 0x000000
    avrdude: Yikes! Invalid device signature.

    • @DavidWatts
      @DavidWatts  5 ปีที่แล้ว

      It sounds like you need to burn the bootloader to set the fuses.

    • @mohammedzaman1937
      @mohammedzaman1937 5 ปีที่แล้ว

      use the same process to burn the bootloader?

    • @mohammedzaman1937
      @mohammedzaman1937 5 ปีที่แล้ว

      Arduino: 1.8.9 (Windows 7), Board: "ATtiny45/85 (Optiboot), Disabled, CPU, ATtiny85, 8 MHz (internal), EEPROM retained, B.O.D. Disabled"
      Build options changed, rebuilding all
      Sketch uses 910 bytes (11%) of program storage space. Maximum is 7616 bytes.
      Global variables use 11 bytes (2%) of dynamic memory, leaving 501 bytes for local variables. Maximum is 512 bytes.
      avrdude: Yikes! Invalid device signature.
      Double check connections and try again, or use -F to override
      this check.
      An error occurred while uploading the sketch
      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

    • @DavidWatts
      @DavidWatts  5 ปีที่แล้ว

      @@mohammedzaman1937 Just checking, are you clicking Sketch -> Upload using programmer? My other suggestion (assuming you are using a board as a programmer) is to upload the Arduino ISP sketch to it again with the ATTiny disconnected.

    • @sasoyu8922
      @sasoyu8922 4 ปีที่แล้ว

      Me too, any updates?

  • @joebro391
    @joebro391 ปีที่แล้ว

    Whoa, are you Bear Grylls' brother that DOESN'T go outside?

  • @oird8381
    @oird8381 ปีที่แล้ว

    that was easy

  • @matthijsjanse3275
    @matthijsjanse3275 8 ปีที่แล้ว +1

    why are your puils all wierd

    • @DavidWatts
      @DavidWatts  8 ปีที่แล้ว

      +matthijs janse Pupils?

    • @matthijsjanse3275
      @matthijsjanse3275 8 ปีที่แล้ว

      In the intro

    • @DavidWatts
      @DavidWatts  8 ปีที่แล้ว

      +matthijs janse Probably just light from the windows, I used to live in a converted factory and the windows were massive.

    • @matthijsjanse3275
      @matthijsjanse3275 8 ปีที่แล้ว

      o ok

    • @bluetorch13
      @bluetorch13 8 ปีที่แล้ว

      +David Watts oh, I see know, they look like a cat's pupil, awesome. LOL

  • @lavrenti8393
    @lavrenti8393 10 ปีที่แล้ว

    Do you smoke weed ? Haha :D

    • @DavidWatts
      @DavidWatts  10 ปีที่แล้ว

      Ha ha, I was perhaps slightly hungover. Bank holiday weekend 'n all.