Added: 4 months ago
From: makemagazine
Views: 113,887
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (271)

Sign In or Sign Up now to post a comment!
  • It works on atiny 25?

  • Nice smile.

  • Jezus... Your face is scary :/

  • Very nice. Good vid, thanks lads. I'm gonna check on eBay to see if there's any of those chips avail.

    I subscribe to Make magazine and it's great.

  • I have a breadboard setup and my 328 chip as an UNO board I can get Bootloader to load but, can not get any other programs to load.  My USBtinyISP programmer does not indicate any reset pulse for any program except bootloader. I am using Arduino 0022 I don't know what the problem is. Any one have any suggestions?

  • I bought a couple ATtiny85s recently, one is a DIP, and 2 SMD versions where one is QFN... Was lots of fun deadbugging the QFN one into a project :D I haven't done any fine tip soldering in a long time but I haven't lost it. I also had some problems with newer Arduino 1.0 software, none of the ATTiny ISP libraries would work with it but I had a copy of an older version that did work. It was unicorns and puppy dogs after that!! Those issues may be resolved in the community now though...

  • would this work with ATtiny10?

  • It is awesome that the music is from Collin. I am learning much recently and have been watching both your online videos. Thanks Matt for writing back! I hope to post my first fully designed and implemented project soon for feedback. -Matt

  • Hey guys - Another question. I want to make a Clapper (Clap on/off switch) using the arduino and the ATtiny 45. I found a good script, uploaded it, and I used Pin 2 for analog input and Pin 3 for digital output (used in the script), so which pins am I using actually? (ATiny pins)

    Thx

  • @kennyfication88 You should get a copy of the ATTiny85/45 spec sheet and it will tell you which pins are what, failing that the MIT web page will provide you with the details in a little (lot) easier language. Typing out the answer will be lost with out the diagram. However you want pin 5 or 6 for output, which should be pwm outputs 0 and 1 in the sketch.

  • Good video!

  • gay

    

  • @tcdgenies Yes, you are gay

  • just did it - works perfectly!

  • Why do so many of these presenters say "sodderless" constantly? It's soLDer. Nice easy to follow video though.

  • Why does arduino use the term "sketches" ? Are they just making names up as they go along even if the things already have names that make sense?

  • Arduino IDE actually adds ~1000 bytes of stuff you actually don't need. My suggestion to people who want to play with these chips is to grab gcc-avr and program them that way. It's harder than Arduino IDE but well worth the effort. You still get the benefit of programming in C or C++ but you loose some of the conveniences.

    For comparison blinking example when compiled by Arduino takes around 1020 bytes or more. When compiled with gcc-avr same code takes around 120 bytes.

  • @TheMeanEYE Are you referring to loading the Arduino Bootloader onto the device first or when you use the Arduino as an ISP (or other ISP) and write to the controller with out a bootloader? With out a bootloader I believe the sketches are substantially smaller as well as they are ready instantly versus the start-up delay with it.

  • @SirDrinksAlot69 I never used Arduino as ISP to upload program on a chip that is indirectly connected to Arduino board. I wrote my code in pure C. Which means I didn't have luxuries Arduino IDE provides like analogWrite and similar. Arduino IDE does a lot of things behind your back to make everything painless. If you don't include boot loader and Arduino shared functions, you get a lot smaller file. This is my code for fading LED: pastebin . com / xk4CRYpc

  • does this chip has any usb serial communication capability?

    if so and if possible I'd want to know how to

  • would be nice if we could find to buy, rolled everywhere and not against vendors that ATtiny, someone could show me some hugs from Brazil

  • He looks like young De Niro :D

  • Will be cool if we can use Atmega8,Atmega16 or also Atmega32 instead using one of these MCUs...

  • @bagatelox

    don't know about that "arduino" stuff, but i use them with native AVR tools perfectly fine for years.

  • What is the microcontroller core?

  • Do you have something in your eye

  • how many bytes of memory does the ATtini hold?

  • @legoclockfreak710 4KB ISP flash memory... just google the datasheet...

  • @Reality2Void thanks.

  • Hi, any idea why I am getting the error " 'Serial' was not declared in this scope " whenever I attempt to upload the ArduinoISP to the board (ATTiny85 w/ Arduino as ISP)? I am using a new Arduino Uno r3 with an ATTiny85.

    Thanks.

  • thnx

    

  • does this chip support serial communication ( like to an xbee or lcd screen) if not do you know which one does?

  • Excellent video. Need more with this quality.

  • round the horn *shudder*

  • Naah... I use logic gates! :D

  • The best part of that video, was the fact Collin Cunningham did the music...

  • picking is easy pffff

  • @All what is the Problem if he is gay? This is a good video and he explained well so what's the problem?

  • 100% virgin

  • @MrBratkenSolov what are you talking about? he is handsome

  • yay Arduino SPI programming! I needed a tutorial for this

  • Is he gay?

  • Will this work with an ATTINY167?

    Thanks.

  • his face is like a ditto

  • @deathsmileyinc i bet he is gay

  • @ICanHasSmash So what? Are you a rasist?

  • @deathsmileyinc He looks more like Roger Chaffee in the HBO series"From the earth to the moon"

  • is it possible to do that with an ATTiny13A?

  • Thanks for the vid but, Make is partially responsible for dumbing down new comers to electronics & microprocessors, by promoting using the arduino as a large expensive single component of the project. Someday some1 will market an "arduino" with a 28 DIP ZIF socket. builders can build their own adapters to program the other packages. Hopefully a kit that use through hole components

  • @waswestkan Not so much. Sometimes it's the journey of exploring. How many dollars will you save for a one off project? The extra dollars go to information such as this video. People eat; the extra dollars (yes a few of them) go to the people behind the scenes or making the scenes. How many videos have you posted? Blogs? Been to the local highschool lately? If you have, I'm a fan of yours. I hear what you are saying, if you built it I will buy one. My time is limited the arduino is path for me.

  • @TomTerrific02 Onn2cd thought I believe the kit I wish for is available but 1 would have to purchase a Z?IF socket separately. 1 could save enough of the first 1 off project to purchase the comments for several additional 1 off projects. When/if I believe I have video worth posting I create a non anonymous ID for them. I have approached my HS to see if there was any interest in doing things with electronics/radio, but no go. I

  • @waswestkan I tip my hat to you for exploring the idea. For me (and maybe a good number of people) its hard to beat an Arduino nano or pro for one off projects. Hard to get the size smaller. Given that the Atmega328 meets your needs. TI has the launch pad at ~$5.00 plus s/h that is an idea too. Then Modern Devices has the BBB. Lots of good things to play around with. Regards.

  • @TomTerrific02 I'm a different strokes for different folks sort of person. I'm not about to criticism an individual for using the whole hog arduino in a project. Although I have no qualms about stating my opinion on the route Make chose to go promoting u-processor projects, I understand they are just about the only periodical on the sort of stuff.

  • Wonderful! 5/5

  • "the negative side must go to ground". connects it with the negative side to the reset pin. fail?

  • @spambot71 No, it's connected right.

  • error can't do it. so annoying. problem: 'A1 was not declared in this scope.'

  • i see an epic beard in your future

  • Only noobs use premade Arduino boards. Expensive and big. Get an AVR STK programmer and make your own boards

  • @stefanmitreski It's just another type board check arduino.cc/en/Main/Boards

  • Wondering to go this way or the JeeNode way...

  • Really interesting and useful!

  • great video, I had a problem after doing some research I find out that the lates arduino software Version 1 does not play well with this method.

    so I use arduino .22 and it worked out of the box.

    thanks for great video.

  • How do I use the analog inputs as outputs ?

    I tried,

    pinMode(A1,OUTPUT);

    but I get the error,

    'A1' was not declared in this scope.

  • @mavnova because A1 as you call it is actually pin 2 so it would be pinMode(2,OUTPUT);

  • can the teensy be used to program the AtTiny45/85 chips?

  • Awesome project, this can save too much money. A MCU with 8 pins and Analog In?, wow, this is crazy, I need get a lot of these MCUs

  • Thank you I'm doing it this weekend

  • could the same be achieved with the netduino?

  • @xmind22 If it's arduino based

  • @ukeleleboy97 the netduino is not, but i was wondering since they almost have the same pin configuration and also most of the arduino shields work with it.

  • One thing I do not understand is who you can be so damn cheerful all the time...

    It is a little creepy..

  • Its called Quad Flat No leads. DIP package is so yester century.

  • @Anothercoilgun True that DIP is so yestercentury, but unless the DIY actually requires the small size of QFP, the DIP is better suited for most DIY projects

  • Thanks! I think i am going to go with the duemilanove just for the extra inputs and also because I see it around more :)

  • hey that small shit is eeprom or what is it ??? it seems to be tiny arduino pic 85 . arent it ???

  • How do you make that blinky toy?

  • what is a good Audrino to buy to get started with

  • @DarkRaven118666 Arduino Uno

  • @DarkRaven118666 Go straight to the mega, either mega would do.

    It offers the best of all worlds, and you won't be limited by pins.

    The mega's have tons of pins to tinker with.

  • @DarkRaven118666 I have the duemilanove and found it good for small beginner projects with room for a few intermediate projects as well.

  • That was really cool! Nice way to cram a µC into a small package!

  • does it work with the shiftOut() function?

  • @jrigvd Yes it should

  • Where do I buy chips?

  • @Craydon Digikey, Element14, Findchips, etc

  • how could i make a light chaser out of one of these?

  • Comment removed

  • that's pretty awesome - i've seen another attiny chip that has a lot more pins: how is that one different? (other than the obvious difference that there's more pins)

  • @desktopgeek98 Assuming you are talking about the ATtiny2313 apart from more pins, it has no ADC, only 2KB space but has UART. You can see the differences on the Atmel website -> Products -> Atmel AVR 8- and 32-bit -> tinyAVR -> Parameters.

  • @Firedragon41520 the maximum size of the sketch

  • Is there a difference between ATtiny45 and ATtiny85

  • @Firedragon41520

    The ATtiny45 has 4 kilobytes of Flash program memory and the ATtiny85 has 8 kilobytes.

  • @FPPVideoProductions i will go get a attiny85 then

  • Do you know if there is more that will work with all the other ATtiny's? I need more then 6 pins, and Analog pins. But I like the Arduino IDE a lot more the AVR.

  • @reviathon360 If you need more pins that a board supports, just add shift registers, or multiplexers and you can have as many as you like. E.g. with 9 multiplexer chips, you can have 64 analog/digital inputs using only 7 pins on an arduino. With shift registers, you can have as many as you like - after a few hundred though, it can get a bit slow to update/read them all.

  • very helpful, 10x so much, looking for some time for this tutorial

  • Anyone know if I can use the Teensy instead of an Uno?

  • THIS IS AMAZING! Matt is really great too!

    One question to start, where can I find answers to question like:

    - What is the role of the capacitor?

    - What are the limitations?

    - What do the errors mean?

    etc.

    Thanks so much!

  • only ATTiny45/85, or can i use the ATTiny25 too?

  • @eusouanonimo Yes you can use ATtiny25 too.

  • @insidegadgets nice, i`m waiting my new breadboard, i burn my old with a projetc :P, and i`m gonna try.

  • @eusouanonimo probably so, but you are really limited by the 2KB flash. since there is no B/L i'm guessing you have the full 2KB to yourself. Other than the flash size, IIRC the ATTiny2/4/85's are similar.

  • I don't even understand what the hack are these..

  • Is each chip a one time program kind of thing, or can they be reprogrammed?

  • @Xraller They can be re-programmed.

  • @Xraller, these are "Flash" based MCU's... so reprogram them as much as you want. Yeah, there is a limit to how many times, but it is usually in the order of 10K times, usually not a thing to worry about.

  • where can I get a cheap set up for all this?

  • i like ur teeth arrangement and white also :)

  • I've only finished a lot of example things to build and am on my way to building a bigger project... could i have multiple attiny chips interface with each other, or would i be better using atmegas, and can those communicate with each other... can someone give me a link to a how to?

  • @minutemadeinc Both can communicate with each other and other chips that support I2C. If you google Arduino I2C you will find an example that shows 2 Arduino's communicating to each other with 2 wires. If you need a lot of pins or want to use all Arduino functions then go with the ATmega.

  • Great video ... Thanks!

  • Awrsomeeeee

  • i just watched this whole video not even knowing wth an adruino is btw only douchebags buy views

  • If this channel was Matt and Collin, I'd be very very happy.

  • I'm starting to like Matt. :)

  • apple whore

  • awesome! Thanks for the cool video!

  • You could use this OR just buy one of the very cheap pic chips

  • online flirt bit.ly\qfKLmR 

  • "Short and to the point", yup! that's American society today, making canned electronic circuits during commercial breaks... well, at least people are interested in making L.E.D.s blink. Oh and as to the comments about your hair, ...leave it to people to think what they normally spent their time watching during the commercial breaks, matters?! Good thing you didn't have a girl do this, we all know where that would have gone... "Huh, Arduino?... nice boobs". People are so meager.

  • @doceigen With this type of technology, Arduino is not really focused for hobbiests focusing on art, its mainly for hobbiests focusing on developments that use complex algorithms such as robots for medical or large scale projects. When using the basic components to create complex works of art, that is when people who accuse Arduino and today's society as lazy and short to the point... its not really because they want to, its because they have to for the ease of the society. So, I agree.

  • @endeppa 

    I found a DVD of a Disney film in a computer I just bought off Ebay. I punched it into my player and started to watch it. As the logo cleared, I thought about how if I could, I would go into the past and convince Walt to MAKE HIS FILMS ACCURATE, technically correct, entrepreneurially reinforcing, so kids grew up thinking about starting businesses instead of being social heroes... but then, Disney films would have failed! "Ease" is not a good goal, but yeah... who'd watch this?

  • @doceigen (I couldn't fully understand because I'm a bit young [14 y.o.] to remember such information) Mainly people of older age or possibly young age look for shortcuts because they believe that their time is precious, which is mainly true because each second counts... but speeding up things just leaves you with nothing to do faster, which ruins the point of it being a hobby. But, big business, or adults would mainly look for shortcuts because they believe that they have limited time.

  • it seems like you have the mouth paralyzed in a sort of easygoing smile,  nice tut anayway ;)

  • Crazy square guy hair doo guy, Nice vid.

  • Great video! :))

  • Now thats what i´m talking about ! good stuff!!

  • gay? I think so

  • matt for vice president

  • If he were Collin, for sure everyone were happy.

  • Does anyone have a good source for these, which doesn't charge a lot for shipping?

  • uhhhh............

  • the explanation was as big as the chip

  • What do you need ground for?

  • trata de hacerlos en español hermano.... aporta algo positivo a los latinoamericanos..vamos se te agradeceria mucho

  • your fake smile it's kinda annoying

  • Is he g......No, shut the fuck up, he is not gay. Now for a question, I love this project, and is there any way to use more pins than the ATTINY allows? If so, that would be great! Thanks a lot.

  • are there any atmega chips that this will work on? or can i just do the same to another atmega328 but without the bootloader too?

  • just another great video, thanks a lot, matt! :)

  • Cool info.

  • Best video ever ! I actually needed that information!

  • Suppose I have a simple (pin HIGH/LOW) project that needs 8 pins, and want to compact it in this method. Can this technique be used with other chips that have more pins?

  • ISP sketch dont work with the arduino UNO board, you can read that on the ArduinoISP sketch page of the arduino site.

    "NOTE: Currently, you cannot use an Arduino Uno as an ISP programmer because the optiboot bootloader does not support this sketch. A revision for this is in progress. "

  • What language do you speak cuz i dont understand.....

  • I really like your teeth

    

  • Good tip!

  • that looks like a versatile choice for some applications!

  • an apple...?. for real....?

  • hmmmmm! Its even cheaper than the 555! and more efective.

  • thanks for sharing, what about using arduino uno to burn the bootloader to another atmega in order to use it as a breaduino, is this possible?

  • That is pretty sweet. I normally use a Picaxe 08m for very small projects. It is another 8 pin microcontroller. How cool to see a similar Arduino platform. Love it.

  • I was wondering is their a link for the for MIT media lab on this topic ?

  • Micro-controllers are cool, but making an led blink? Amazing stuff! :-P

  • Yay! Finally! I havent done much searching, but have been needed this for a while. Makes live easier/cheaper. Thanks MAKE

  • Arduino - The microcontroller for people who can't understand real electronics

  • Wow, So you can create as much of them as you want for any project? The future of robotics is rising as we know it.

  • @makemagazine why is the subtitles correct?

  • well. i think the bootloader is pre-loaded into the chip

  • Skitskola

  • do youhave to load the bootloader onto the attiny?

  • @vanepico Nope.