How-To: Shrinkify Your Arduino Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 เม.ย. 2024
  • If you have a simple Arduino project that uses only a few pins, you might be able to shrink it down to a single 8-pin ATtiny chip. In this video, Matt Richardson shows you how, based on a tutorial from MIT Media Lab's High-Low Tech Group. The best part is you can use the same Arduino code and development environment that you're already used to.
    Find more at the Maker Shed: makershed.com
    Learn more about Arduino with this starter kit: www.makershed.com/products/ma...
    More information about this how-to is available at: blog.makezine.com/archive/2011...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1.1K

  • @HardcoreMontages
    @HardcoreMontages 10 ปีที่แล้ว +338

    That's the happiest man I've ever seen :O

    • @nathangek
      @nathangek 9 ปีที่แล้ว +21

      Fakest*

    • @slightlysour5904
      @slightlysour5904 5 ปีที่แล้ว +8

      why? is that impossible to have a nice smile nowadays?

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

      I thought for a moment he was coming on to me.

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

      plain auto control under late capitalist recording

    • @rosemary582
      @rosemary582 3 ปีที่แล้ว +1

      Popularbikes 😃

  • @BitBerlin
    @BitBerlin 10 ปีที่แล้ว +3

    The ATtiny85 has 6 pins that can be set as outputs and inputs, but each pin also has aditional special functionality like Pulse-Width-Modulation and Analog Input capabilties. You can even utilize the reset pin during run-time for other purposes. See the datasheet with the pinout diagram with functionality listing.
    Also, you could in theory (given enough power) control a million LEDs using just one pin, if you utilize shift-registers and multiplexers to control multiple things.

  • @HappyZentraedi
    @HappyZentraedi 12 ปีที่แล้ว +13

    Thank you muchly for the no-nonsense instruction!
    I've been quite interested in using less-overkill hardware for my small projects (lighting 8 LEDs with very little input doesn't require an Arduino Pro Mini). However, I'm a beginner, and Arduino's have appealed to me.
    This gives me a great approach to trying to make my stuff smaller, and less expensive.

  • @2jays
    @2jays 12 ปีที่แล้ว

    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

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

    This is a nicely done tutorial!
    But especially for ATtiny projects I'd strongly suggest using generic avr-gcc code instead of the Arduino programming environmnent. With their small memory and few I/O capabilities, these chips cannot make use of most Arduino libraries. But they can profit a lot from getting rid of the overhead that comes with the Arduino wrapper code.
    I just tried a minimal program that just switches an output state once per main loop call and found avr-gcc code to be 4 times faster and one sixth the size compared to Arduino code.

  • @defamatt
    @defamatt 9 ปีที่แล้ว +212

    My next goal:
    use an Attiny85 to program an Attiny45

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

      MrDefamatt
      Do you rich your goal,please let me know know and how

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

      And than you need to use an Micro to program the Attiny85.

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

      MrDefamatt I don't understand you.
      What do you mean?

    • @itmemo8617
      @itmemo8617 7 ปีที่แล้ว +79

      my next goat is to program 100 Ohm resistor to behave like a microprocessor

    • @nirbhaythacker6662
      @nirbhaythacker6662 6 ปีที่แล้ว +8

      my next goal:
      to program a 10k resistor using +itmemo's "microprocessor".

  • @Slugsie1
    @Slugsie1 12 ปีที่แล้ว +2

    So glad I found this. Just planning a small simple project with 1 input and 2 outputs and thinking that a full Arduino was serious overkill. This is exactly what I need. Subbed!

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

    This aspect is so awsome. As a small fan but big noob, I didn't know enough to see this next step of 'just' using a chip - that an arduino isn't much more than a chip with only a few accessories.
    This is already the "adult" level of microcontroller projects? So near?
    That's so satisfying.

  • @ivanmargit4543
    @ivanmargit4543 5 ปีที่แล้ว +3

    Love this guy! He's enthusiasm is contagious! :)

  • @codaassasin
    @codaassasin 8 ปีที่แล้ว +176

    And then replace the breadboard with a custom PCB and you have a finished product?

    • @marionetadelplaneta
      @marionetadelplaneta 8 ปีที่แล้ว +36

      +Henry The Unicorn pretty much

    • @427060
      @427060 8 ปีที่แล้ว +6

      +Henry The Unicorn Or use something like vero board if you don't feel like etching PCBs.

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

      can these be programmed with a FTDI usb to serial? or with a mini?

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

      Can i generate such AC signal with Atiny microcontroller without inverter ic . Please once watch this video and see the signal wave and reply again.
      th-cam.com/video/caUHiHzswBU/w-d-xo.html

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

      Andrea Mitchell ordering PCB etching in China is cheaper - yet etching yourself is way more satysfying

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

    Amazing I still remembered watching this in my high school times to shrink my project on controlling solar water heater. Now I am using ESP32. Thank you for this amazing video!

  • @hadiwaqar7633
    @hadiwaqar7633 11 ปีที่แล้ว +2

    Yes, it gives you 2 pwm ports that you can use to control motors/servos. Potentiometers are analog sensors so you can plug them into pin 3 and 4

  • @FranLab
    @FranLab 11 ปีที่แล้ว +20

    Thanks for this video! Lots of possibilities and I will give this a try myself.

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

      you prolly dont give a damn but does someone know a method to log back into an instagram account??
      I was stupid lost the account password. I would love any help you can give me.

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

      @Dax Zavier instablaster :)

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

      @Aiden Camden Thanks so much for your reply. I found the site thru google and im waiting for the hacking stuff now.
      Seems to take a while so I will get back to you later when my account password hopefully is recovered.

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

      @Aiden Camden it did the trick and I now got access to my account again. I am so happy!
      Thank you so much, you saved my ass !

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

      @Dax Zavier glad I could help :)

  • @MAKE
    @MAKE  12 ปีที่แล้ว +5

    @P55CxE9 The comments are a perfect spot to ask questions about what you'd like to have further explained. So, ask away!

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

    I shrank down my current project to directly use an ATMega328p when I moved from Proto to creating a PCB. I'm using nearly all of the GPIO, but I love this and will keep this in mind for future projects.

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

    Thanks! Nice and quick tutorial. Hope Matt Richardson starts posting more tutorial videos.

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

    Liked and subscribed!
    This was very helpful. I made a video on how to control a relay with ATtiny45 and light a candle with a countdown.

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

    does it require a clock or is it contained into the chip?

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

      Yes, it has an internal clock but you can use an external clock (takes up pins tho). You can burn the bootloader to make it run at 8 or 16MHz (I recommend burning the 8MHz bootloader).

  • @hansformer9556
    @hansformer9556 2 ปีที่แล้ว +1

    I must say, this Video was what got me into electronics.
    Im glad, I stumbled upon it.
    Thank you very much!

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

    Liked it! Thanks for the tutorial!
    With this chip (ATtiny) would to run servo motors, arrays of LED 8x8 with the MAX7219 IC, etc?
    Thank you

  • @arijitghosh6378
    @arijitghosh6378 9 ปีที่แล้ว +20

    why did you used the capacitor between the RESET and GND pin?

    • @willdrives601
      @willdrives601 9 ปีที่แล้ว +14

      from the high-low tech article: "We’ll also connect a 10 uF capacitor between reset and ground on the Arduino board as shown in the diagram (the stripe on the capacitor that’s marked with a negative sign (-) should go to ground). The capacitor prevents the Arduino board from resetting (which starts the bootloader), thus ensuring that the Arduino IDE talks to the ArduinoISP (not the bootloader) during the upload of sketches. (The capacitor is needed if you’re using an Arduino Uno, and might also be necessary for an Arduino Duemilanove.)"

    • @rafaelfrequiao
      @rafaelfrequiao 5 ปีที่แล้ว +3

      So... it prevents the reset of the board and keeps the computer talking with the ISP on the board, no the main ATMEGA328P on the board. On Linux (or macOS, with another alias for the /dev/) you can know which one is active when /dev/ttyUSB0 turns /dev/ttyUSB1.

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

      you can pull out the controller does the same thing

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

      @@willdrives601 So it makes sure the Arduino doesn't self-reset when uploading sketches. I have uploaded scetches without the capacitor in place, and it can work but sometimes results in a uploading error, requiring me to pull out and re-insert the USB lead. It works 100% with the capacitor in place tho.

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

      for decoupling.

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

    Guys, you can do this not only with those 2 chips, but with nearly any AVR chips, you just need to use the correct pinout. With this, you own a cheap AVR programmer as your Arduino, that you can use for nearly everything!

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

      Hi, If I want to program atmega328p using Ardiuno IDE, can you comment If I can get success if I follow the pin correctly but code written in Ardiuno IDE. your early reply will be highly appreciated

  • @MAKE
    @MAKE  12 ปีที่แล้ว +1

    @Whisper6911 The feedback is certainly appreciated. It's not easy striking the right balance between making it informative yet short and to the point, so it helps to know how we're doing.

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

    That's amazing! Great tutorial. I had no idea you could do that with an Arduino.

  • @RichardBronosky
    @RichardBronosky 6 ปีที่แล้ว +3

    Despite what this video's description says about more information being on the makezine blog, what is actually there is copy-pasta of this video's description, complete with a link to itself. Yo Dawg!

  • @UzairAli001
    @UzairAli001 8 ปีที่แล้ว +17

    For what reason you put a capacitor between reset and ground?

    • @BenjermenB
      @BenjermenB 8 ปีที่แล้ว +16

      +Uzair Ali
      From the High-Low Tech site:
      "The capacitor prevents the Arduino board from resetting (which starts the bootloader), thus ensuring that the Arduino IDE talks to the ArduinoISP (not the bootloader) during the upload of sketches. (The capacitor is needed if you’re using an Arduino Uno, and might also be necessary for an Arduino Duemilanove.)"

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

      if you're using what

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

      i believe i can use a ceramic capacitor instead of the electrolytic one?

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

      When the system is powered, capacitor pulls the reset pin to ground till it gets charged completely. This will give enough time for the microcontroller to initiate. And once it is charged, it prevents the board from resetting so that the intended task is carried out smoothly.

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

      i saw videos of people just putting a regular piece of wire to block off the arudinos controler

  • @ET_AYY_LMAO
    @ET_AYY_LMAO 12 ปีที่แล้ว +1

    Great video! I had no idea that you could use ATtiny and arduino.
    Anyone knows if the servo library works with the ATtiny ?

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

    Great video! Thanks. I have an ATmega168 for developing projects, but then the fun part is going to be to see how small I can go for an embedded project.

  • @malteeaser101
    @malteeaser101 7 ปีที่แล้ว +435

    I need to go meditate. That guy's facial expressions offended me.

    • @mathef
      @mathef 7 ปีที่แล้ว +12

      You must VERY easily offended.

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

      Some people are Mathef.

    • @mathef
      @mathef 7 ปีที่แล้ว +8

      Yeah I know, they need to grow up ;)

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

      It wasn't that that was the issue - it was way too much face!

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

      this guy just have a faceial expressions like a robot to me

  • @ArcanePath360
    @ArcanePath360 8 ปีที่แล้ว +13

    That smile reminds me of Alan Partridge

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

    VERY HELPFUL! Thank you for making this video!!!!! Keep up the good work, it helps us newbies.

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

    Just started programming using Arduino. Searching what I can make and do with Arduino and it's mind blowing. I'm at level of this video yet but I have to say I'll be watching more of your videos in future

  • @DerKatzeSonne
    @DerKatzeSonne 7 ปีที่แล้ว +23

    Or just buy an Arduino Mini Pro clone, ~2$ on eBay shipping included from China and you don't have the problem that the ATTiny isn't as powerful as the ATMega 328p which is used on the Arduino... Don't get me wrong, I don't dislike the idea behind this video, it's just that you replace the microcontroller by an ATTiny without really mentioning the cutbacks of it...

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

      For basic projects Arduino is overkill, Attiny can run on as low as 1.8v with very little current draw and if you skip the bloat of the Arduino wrapper and program directly with AVR-C you can do a lot with little memory.

    • @Morannar
      @Morannar 7 ปีที่แล้ว +24

      Attiny45 is 12 times smaller than the mini pro, sucks way less current and costs (as in 2017) less than 1.5 $.
      Sure the Mini Pro is better, but the Uno is even better, the Mega is even better, some IBM supercomputer is even better etc etc.
      This video is not about what is better than what. It's about how to shrink simple projects.

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

      I mean it runs at 8mhz default but can run 16mhz or even 20mhz.
      If that’s what’s needed at least.
      Or you could get a $3 esp8266(or even now the 8285) and get hundreds of MHz from it with some tweaking.
      All while having many more features than the uno.

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

      katze_sonne can i use ATTiny for my heart rate measuring project....as of now m using arduino nano but if i can use it then it will reduce size...n mainly will it send data serially (support Bluetooth connection or not)....reply me as soon as possible.....
      Waiting.......................…

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

      Yep, and sometimes it's also just about the fun of seeing how much functionality you can squeeze out of such a tiny device.
      I made a project based around the ATtiny85 recently. It's a timer to run my laptop's power supply for up to 2 hours max. (Because I always forget to unplug it.) I used two of the IO pins to drive 4 LEDs in a bargraph configuration, with each LED representing 30 minutes. The uppermost LED in the bargraph blinks off briefly once a second to show that the device is counting down. (LED drive is done by rapidly toggling output to drive both an LED to ground and an LED to Vcc, or toggling between a low output and a Hi-Z mode to drive only one of the LEDs on that pin.)
      Another pin drives a small beeper via a transistor, and one pin is the input which has a pushbutton connected. The last used pin drives a P-channel mosfet via a small n-channel mosfet to connect +12V to the output socket into which the charger is plugged. All this was built into a dual-port cigarette lighter adapter (plugs into a single ciggy port to provide two ports) with one of the output ports removed and that space used to mount the hardware. (tight fit!) Pushing the button wakes the unit up, setting the time to 2 hours and powers the output. Each additional push advances the time to the next 30 minute division. Once the end time is reached, the unit switches the power off and goes into a low power sleep mode, waiting for the next button push to wake it up.
      Doing it with the ATtiny85 certainly made it possible to make all this small enough to fit into a single-to-dual cigarette light socket adaptor.
      I did find some problems though. THe data sheet talks about timer0 and timer1, but no matter what I tried I couldn't get timer1 to work or generate an interrupt. So I ended up using arduino's built-in millis() function. I had to set the device to run at 8MHz, but the millis function didn't run at the correct speed, so I adjusted the expected counts in my program to compensate for that. It appears to run about twice as fast.

  • @chbrules
    @chbrules 8 ปีที่แล้ว +11

    Might just be easier to use a simple USB->serial interface instead of an Arduino.

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

      +chbrules There is no easier way than this.

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

      +chbrules I think you need a arduino bootloaded chip to upload to the Tiny

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

      What makes you think so?

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

      +valflyinf well...actually you can do it with that method as well. Since i don't think the tiny needs a bootloader

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

      +valflyinf you will have to use an avr though. not the small little 6 pin guys

  • @crazyminecrafter14
    @crazyminecrafter14 3 ปีที่แล้ว +1

    Thank you, thank you, you are a life saver!!! This is perfect for my upcoming projects 😁

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

    Very interesting!
    Is it possible to make an analog route switch with this (or type of) IC?
    For example: I need to choose between three analog signals to go into one route... How to use it as a switcher? To "hit" a transistor or some other way?

  • @Itnecap
    @Itnecap 7 ปีที่แล้ว +31

    bad music, good video

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

      I like the music

    • @nick-rice
      @nick-rice 6 ปีที่แล้ว +4

      I'm in favour of NO music on instructional vids.

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

      we love you Collin))

  • @skulkruncher122
    @skulkruncher122 10 ปีที่แล้ว +50

    i don't know why but i don't like this guy he smiles too much like he should be in a tooth paste commercial its a good tip about the chip though

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 3 ปีที่แล้ว +2

    If the number of pins you need exceed the number of those available on the AtTiny85, there's the AtTiny84 that has about 2x the number if IO pins (but with the same memory size).
    This chip is also supported by Arduino IDE and is also very cheap

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

    Thanks for the tip! Just what I needed but didn't know existed. Ordering some now.
    (Puzzles me why people leave comments that don't pertain to the subject)

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

    Yeah fix your facial expressions dude but great info. Thanks

  • @bugs181
    @bugs181 11 ปีที่แล้ว

    Awesome! Really makes me want to take a swing at this project. One question that I can't seem to find the answer to has eluded me for quite some time now. Can the ATtiny chips be reprogrammed again? I was reading somewhere that once they're programmed you're simply stuck with what you put on them. If these chips can be reprogrammed again and again then I'd definitely get more into microcontrollers. Thanks for the video!

  • @russotragik
    @russotragik 11 ปีที่แล้ว

    yes, i'm using a Nano V3(AtMega328P-AU) and works only for Tiny45
    and if for you also a 10uF capacitor doesn't work, try a 47uF(an arduino forum gave me help on this)
    but this don't load some interesting functions, so if you only want to do leds blinking or PWM controllers thats ok!

  • @Craydon
    @Craydon 12 ปีที่แล้ว

    That's crazy cool! Now all I need is everything you mentioned!

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

    You simple understand how it works Thank you so much

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

    Thumbs up for an awesome video, what does uno and other Dev boards have in extra or addition to programmeble chip?

  • @SirDrinksAlot69
    @SirDrinksAlot69 12 ปีที่แล้ว

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

  • @rfinz
    @rfinz 12 ปีที่แล้ว

    loving the new camera. beautiful work.

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

    great video, thanks Matt. Very well explained and easy to follow. Good precise instruction set. Excellet. 10 out of 10. (And a hotty too!)

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

    This just made my day thank you.

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

    OMG, thanks. I have been trying to program an Attiny13 using this technique with no success. I got frustrated by some of the warnings I got from the Arduino IDE, I assumed it was not working. The key was when you said reassign pin 13 to the applicable pins on your chip. I got a little flashy thing now!

  • @MrGoatflakes
    @MrGoatflakes 11 ปีที่แล้ว

    I don't know if this helps but you can use a 74hc595 chip to extend the number of digital pins. Basically they have an 8 bit register that holds a value. There is another 8 bit register you can fill up bit by bit in serial (a shift register). Then you set another pin on the chip and the contents of the shift register will go to the output register. I think you can also read in a parallel 8 bit input, swapping it into the shift register and shift it out serially, but I'm not sure about that.

  • @organicrobotman
    @organicrobotman 11 ปีที่แล้ว

    hey mate this was really awesome thanks! i was looking for a way to reduce size and cost of simple projects, and give the added option of reprogramming later. cheers!

  • @Young0maker
    @Young0maker 12 ปีที่แล้ว

    yay Arduino SPI programming! I needed a tutorial for this

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

    Super useful for future projects!

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

    Hi... I would like to know how many LEDs can each output of an ATtiny85 run? or would I need an external power source to power the LEDs?? Thanks for any help or direction as I am new do Arduino and ATtiny ICs

  • @Guineh76
    @Guineh76 12 ปีที่แล้ว

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

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

    Concise and to the point. Thanks for the video.

  • @JeremyCook
    @JeremyCook 11 ปีที่แล้ว

    Thanks so much for the video! I'm using Ubuntu and had to select "Arduino as ISP" under Tools ==> programmer, then the ATTiny85 under board. Thanks so much, didn't catch that until watching your video!

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

    Thanks a lot for the video.Please could you tell me about PWM generation by the tiny chip. Could I generate PWM as similar of other Arduino board?How to write TCCRnA equation to generate 60Hz?

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

    Exactly what I needed. Thanks a lot

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

    finally. a video telling me how shrink my audinio project. what a fucking life saver .im so glad this video is here.

  • @MAKE
    @MAKE  12 ปีที่แล้ว +2

    @mafiameower You could also use an ISP (In System Programmer). But most people already have Arduinos around.

  • @Delta10666
    @Delta10666 11 ปีที่แล้ว

    Thanks, very good video / tip. I had been wondering how the arduino being used as a 'proof of concent' board would help to develop other smaller cheaper hardware. You've just given me tha answer I was looking for!

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

    great video, this is just what i needed for my project

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

    What's the product name of that "hook" used at 1.55 to hookup the voltage row to the other pcb rows?. That tiny orange thing? :P Thx!

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

    Can the ATTiny send and receive encoded IR signals and decode IR signals from the encoded transmitter or is there not enough room on the chipset memory for that? Thanks

  • @CaptLinuxfan
    @CaptLinuxfan 12 ปีที่แล้ว

    @bahstrike Thank you for the clarification. I figured pwm is a digital signal anyway. Didn't realize about reconfiguring analog pins, etc.

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

    Can I uses servos with this method?
    Which is the output voltage of PWM pins?
    Which is the limit input voltage?

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

    Will give it a try since I still have some attiny chips (had great luck on programming atmega328 chip on my projects)

  • @didaloca
    @didaloca 11 ปีที่แล้ว

    Great video and easy to follow. Personally, I think if people are moving off the Arduino and onto standalone projects it might be worth getting a dedicated programmer and programming it standalone.
    I have been doing this from the start, I don't use Arduino or AVR but I do use Microchip PIC chips. The greatest part of using standalone projects is eventually moving away from breadboard\veroboard and fabricating PCBs for finalized projects. I usually add an ICSP header if I want to make changes.

  • @dedly13
    @dedly13 12 ปีที่แล้ว

    can i use several of these together? one as comander and two others, one for sudo 12c and one for rxtx and a button?

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

    Can you program and use multiple Attiny's to have access for more pins for a single project?

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

    I'm using an atmega328 (as my arduino uno, but later revision).
    Will everything work exactly as on my uno board?
    Plus, it is easier to upload to it. I just plug it on the board and the put it back at breadboard.

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

    Hello.
    Thank you for the video.
    I would like to use a SIM800L or A6 or similar module to send and get SMS messages.
    Will the ATtiny45/85 chip be able to do that ?
    Can you direct me to relatives guides ?
    Thank you

  • @combatplayer
    @combatplayer 12 ปีที่แล้ว

    @xMouseTrapDJx so you can haave blinking eyes? if they were to implement chips i do beleive they would go for something a bit more fit for the purpose.

  • @sikhswim
    @sikhswim 11 ปีที่แล้ว

    Quite a useful and well-made video. thanks for it!

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

    Simply to prevent voltage drops, when you switch some load with the attiny. In my latest project (@5V, atmega48a), a rc servo caused an reset (brownout @4,3V) because of its load (around 1A peaks).
    I hooked up 1000µF and it runs fine now ( i heard somewhere to use 1000µF/A)
    But anyway, it's better (sometimes) to use 2 power supplies (1 for logic, 1 for load)

  • @etalcaar69
    @etalcaar69 12 ปีที่แล้ว

    Hi. this is a great chip,,,the only question is that if you can please tell me , if there is any chip for digital output.
    Thank you

  • @simonbaker4
    @simonbaker4 12 ปีที่แล้ว

    Excellent video. Need more with this quality.

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

    Matt Pls I want to ask you do will have different ATmega chip with different number of pin

  • @pcfreak1992
    @pcfreak1992 12 ปีที่แล้ว

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

  • @spjohny999
    @spjohny999 12 ปีที่แล้ว

    @makemagazine I don't have much experience on electronics and programming but I would like to learn to make chips like that.Can you link to a site or a tutorial where it will teach how to start from zero?(I do know basic electronics and I have completed some projects before).Thanks

  • @theFlashOracle
    @theFlashOracle 12 ปีที่แล้ว

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

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

    question, could i use this chip along with a bluetooth module to work as a pair of hands free heaphones and mic, with media controls?

  • @bridor5285
    @bridor5285 11 ปีที่แล้ว

    Does Atmel make any chips like the attiny45/85 that have more pins and memory?

  • @w.rustylane5650
    @w.rustylane5650 7 ปีที่แล้ว

    Now that´s about the coolest thing I´ve seen done with an Arduino board.

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

    How would I be able to get a chip with more pins? Will the ATMega328P work and be programmed the same way in this video? What about the ATTiny84? I am looking to attempt to use this method of shrinking to check the temperature of where the device is located, and send it to a computer. Meaning I would essentially need a power source, RFM69HW transceiver, and temperature sensor. Would this shrink method work for this?
    Thanks

  • @StealthB6
    @StealthB6 11 ปีที่แล้ว

    Yes. You can program any ATmega microcontroller used in any Arduinos, using an UNO or a Mega board.

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

    I've got a question: I want to power the chip with a li-ion battery and of couse its voltage varies. Does the chip now see the varying ~3.7V as 1023 if I want to analog read something or are the 5V = 1023?

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

    thanks you very much for speaking it with us ... its interest for play the led lamp, thanks

  • @xmind22
    @xmind22 12 ปีที่แล้ว

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

  • @insidegadgets
    @insidegadgets 12 ปีที่แล้ว

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

  • @xmind22
    @xmind22 12 ปีที่แล้ว

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

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

    Make a video on how to malt the blinking toy, it should be a cool weekend project for a beginner

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

    Hi, great video.
    I've tested it out and it works pretty well.
    Finally i don't have to mess around with this big ATMEGA328 / 168 anymore.
    But i think it is a pitty that some simple commands like if/elso don't work.

  • @desktopgeek98
    @desktopgeek98 12 ปีที่แล้ว

    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)

  • @mrmega328
    @mrmega328 12 ปีที่แล้ว

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

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

    Hey! This is awesome. Is there any bigger chip I can use, not including the atmega328 (because it needs voltage regulators ans 16mHz crystals and such)? I'd love to be able to do this but I need more room for sketches and a few more pins. Unless there IS a way to use the atmega, because I know I have one somewhere.

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

      +dj505Gaming The ATMEGA328 does not require voltage regulators (it can run straight off 5V from USB), and it features an internal oscillator the runs at 8MHz so you don't need an external crystal if you don't mind running at half speed. You get to use the 2 crystal pins as GPIO too, so that's a bonus!

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

      Awesome! Thanks so much.. Anywhere i can get the files to replace the attiny ones?
      ex. Atmega328 (w/ Arduino ISP)
      in the menu

  • @OneComputerGuyWorking
    @OneComputerGuyWorking 11 ปีที่แล้ว

    I'm wondering... the ATtiny 85 have an internal crystal? since I didn't see a external crystal anywhere. And the Khz are the same that the one in the Arduino Uno??