Тёмный
No video :(

How-To: Shrinkify Your Arduino Projects 

Make:
Подписаться 1,6 млн
Просмотров 1,8 млн
50% 1

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,1 тыс.   
@HardcoreMontages
@HardcoreMontages 10 лет назад
That's the happiest man I've ever seen :O
@nathangek
@nathangek 10 лет назад
Fakest*
@slightlysour5904
@slightlysour5904 6 лет назад
why? is that impossible to have a nice smile nowadays?
@BradCozine
@BradCozine 5 лет назад
I thought for a moment he was coming on to me.
@walkertubes
@walkertubes 5 лет назад
plain auto control under late capitalist recording
@rosemary582
@rosemary582 4 года назад
Popularbikes 😃
@HappyZentraedi
@HappyZentraedi 12 лет назад
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.
@BitBerlin
@BitBerlin 11 лет назад
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.
@gustavgnoettgen
@gustavgnoettgen 4 года назад
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.
@lingen2193
@lingen2193 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.
@Slugsie1
@Slugsie1 12 лет назад
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!
@defamatt
@defamatt 9 лет назад
My next goal: use an Attiny85 to program an Attiny45
@FelixEFX
@FelixEFX 7 лет назад
And than you need to use an Micro to program the Attiny85.
@itmemo8617
@itmemo8617 7 лет назад
my next goat is to program 100 Ohm resistor to behave like a microprocessor
@nirbhaythacker6662
@nirbhaythacker6662 7 лет назад
my next goal: to program a 10k resistor using +itmemo's "microprocessor".
@TheSam1902
@TheSam1902 7 лет назад
I programmed my Attiny45 using single-event upset cosmic ray and an aluminium foil as a mirror to switch bits into my hard drive.
@sudocheese
@sudocheese 7 лет назад
I programmed my attiny45 by setting the universal constants so that the universe evolved to contain the programmed chip that I wanted.
@hadiwaqar7633
@hadiwaqar7633 11 лет назад
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
@codaassasin
@codaassasin 9 лет назад
And then replace the breadboard with a custom PCB and you have a finished product?
@marionetadelplaneta
@marionetadelplaneta 9 лет назад
+Henry The Unicorn pretty much
@427060
@427060 8 лет назад
+Henry The Unicorn Or use something like vero board if you don't feel like etching PCBs.
@andreamitchell4758
@andreamitchell4758 7 лет назад
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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-caUHiHzswBU.html
@Pijawek
@Pijawek 6 лет назад
Andrea Mitchell ordering PCB etching in China is cheaper - yet etching yourself is way more satysfying
@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
@FranLab
@FranLab 11 лет назад
Thanks for this video! Lots of possibilities and I will give this a try myself.
@daxzavier2996
@daxzavier2996 3 года назад
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 3 года назад
@Dax Zavier instablaster :)
@daxzavier2996
@daxzavier2996 3 года назад
@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 3 года назад
@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 3 года назад
@Dax Zavier glad I could help :)
@Dorff_Meister
@Dorff_Meister 2 года назад
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.
@ivanmargit4543
@ivanmargit4543 5 лет назад
Love this guy! He's enthusiasm is contagious! :)
@MAKE
@MAKE 13 лет назад
@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.
@HA7DN
@HA7DN 7 лет назад
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 6 лет назад
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
@hansformer9556
@hansformer9556 2 года назад
I must say, this Video was what got me into electronics. Im glad, I stumbled upon it. Thank you very much!
@RichardBronosky
@RichardBronosky 7 лет назад
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!
@caffeinatedinsanity2324
@caffeinatedinsanity2324 3 года назад
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
@arijitghosh6378
@arijitghosh6378 9 лет назад
why did you used the capacitor between the RESET and GND pin?
@willdrives601
@willdrives601 9 лет назад
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 6 лет назад
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 6 лет назад
you can pull out the controller does the same thing
@PunakiviAddikti
@PunakiviAddikti 6 лет назад
@@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 лет назад
for decoupling.
@majeebsharif6191
@majeebsharif6191 7 лет назад
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
@ArcanePath360
@ArcanePath360 8 лет назад
That smile reminds me of Alan Partridge
@arifindobson
@arifindobson 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!
@MAKE
@MAKE 13 лет назад
@P55CxE9 The comments are a perfect spot to ask questions about what you'd like to have further explained. So, ask away!
@K3nyfk
@K3nyfk 11 лет назад
Okay for those of you who are having the following problem: Blink:15: error: 'OUTPUT' was not declared in this scope Blink:15: error: 'pinMode' was not declared in this scope ... Here is a small tut. of how to fix it: you need to download Arduino software version 0022. Then follow the same tut. as shown in this video. It will WORK! The reason that 'OUTPUT' and other arguments are undeclared is because from Arduino update 1.0, they changed the core library WProgram.h to Arduino.h.
@malteeaser101
@malteeaser101 7 лет назад
I need to go meditate. That guy's facial expressions offended me.
@mathef
@mathef 7 лет назад
You must VERY easily offended.
@josephwonderless1258
@josephwonderless1258 7 лет назад
Some people are Mathef.
@mathef
@mathef 7 лет назад
Yeah I know, they need to grow up ;)
@dennis8196
@dennis8196 6 лет назад
It wasn't that that was the issue - it was way too much face!
@floriandraxler3868
@floriandraxler3868 6 лет назад
this guy just have a faceial expressions like a robot to me
@russotragik
@russotragik 12 лет назад
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!
@UzairAli001
@UzairAli001 8 лет назад
For what reason you put a capacitor between reset and ground?
@BenjermenB
@BenjermenB 8 лет назад
+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 8 лет назад
if you're using what
@anirbandas1641
@anirbandas1641 8 лет назад
i believe i can use a ceramic capacitor instead of the electrolytic one?
@excentrelabs3240
@excentrelabs3240 6 лет назад
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 6 лет назад
i saw videos of people just putting a regular piece of wire to block off the arudinos controler
@M00SHTY
@M00SHTY 11 лет назад
finally. a video telling me how shrink my audinio project. what a fucking life saver .im so glad this video is here.
@DerKatzeSonne
@DerKatzeSonne 8 лет назад
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 8 лет назад
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 лет назад
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.
@w.rustylane5650
@w.rustylane5650 7 лет назад
Now that´s about the coolest thing I´ve seen done with an Arduino board.
@akureyri2824
@akureyri2824 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.
@AlanTubeMan
@AlanTubeMan 11 лет назад
Yes, it works fine. Google "Program AVR chip with Arduino software" sites explaining more. Arduino is a package which includes - on 1 board - an ISP programmer, the AVR chip itself and a standardised I/O arrangement. It's therefore quite happy to program the same items as separate products. As Matt says in this video if you make lots of MCU projects, using an Arduino every time is wasteful because you probably won't use a lot of the I/O pins AND you're buying an ISP programmer every time
@stefano19951995
@stefano19951995 7 лет назад
does it require a clock or is it contained into the chip?
@PunakiviAddikti
@PunakiviAddikti 6 лет назад
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).
@insidegadgets
@insidegadgets 13 лет назад
@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.
@chbrules
@chbrules 9 лет назад
Might just be easier to use a simple USB->serial interface instead of an Arduino.
@valflyinf
@valflyinf 8 лет назад
+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
@AlanTubeMan
@AlanTubeMan 11 лет назад
Totally agree. In "Practical AVR Microcontrollers" I detailed exactly this approach. Using an Arduino for every project large or small is wasteful. You're buying the AVR programmer + AVR chip and support electronics every time! If you are only doing build-up tear-down that's no big deal. If you're making lots of small "keeper" projects then the needless costs mount up. Use naked AVR chips + a USB programmer (no bootloaders) and you save a lot of money and can still use Arduino software. Alan T.
@skulkruncher122
@skulkruncher122 10 лет назад
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
@voidex2156
@voidex2156 6 лет назад
xD
@sureshm-ug9ne
@sureshm-ug9ne 6 лет назад
I like the way he is presenting the video
@ghexhsdhujvcfbsdhucvrej5452
@ghexhsdhujvcfbsdhucvrej5452 6 лет назад
xD
@StealthB6
@StealthB6 11 лет назад
Yes. You can program any ATmega microcontroller used in any Arduinos, using an UNO or a Mega board.
@Itnecap
@Itnecap 7 лет назад
bad music, good video
@Neoproxy_
@Neoproxy_ 6 лет назад
I like the music
@nick-rice
@nick-rice 6 лет назад
I'm in favour of NO music on instructional vids.
@davetriplett4779
@davetriplett4779 6 лет назад
we love you Collin))
@bhalajiroshan4395
@bhalajiroshan4395 10 лет назад
hats off for that blinking led i made a very big one using ne555 an one 8 pin chip and 30 jumpers wire
@hillmanant
@hillmanant 7 лет назад
Yeah fix your facial expressions dude but great info. Thanks
@THE_ONLY_GOD
@THE_ONLY_GOD 2 года назад
Thanks! Nice and quick tutorial. Hope Matt Richardson starts posting more tutorial videos.
@alexsiryj
@alexsiryj 2 года назад
Your website doesn't appear to be working anymore. However I was able to get this working.
@dasten123
@dasten123 12 лет назад
This tutorial is obsolete, but if you follow the links in the description you will find an updated version that actually works! :) It would be nice if you put an annotation in this video or something
@ninadpchaudhari
@ninadpchaudhari 11 лет назад
I dont know if you asked it rhetorically ;) but for newbies, It is to just prevent the software reset the Arduino has ! Though i doubt it is actually needed !! As i have flashed bootloader to many 328s (dont know about these Atinys ) and i did not use any capacitor or that !
@JaMonDrew
@JaMonDrew 11 лет назад
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)
@retsaoter
@retsaoter 13 лет назад
@makemagazine Thank you for acknowledging our feedback. Since you are so in-tune with your audience base I find it hard to believe that you think we are concerned about the videos being to long.
@fwolle30
@fwolle30 3 года назад
Nice Video, uses the Arduino like it was supposed to be used: as a rapid prototype board, where you can quickly design your device, and then transfer it to a real board. One little suggestion though. Try to add a 10 kOhm resistor between VCC and the reset pin of your chip, after you programmed it. It will prevent your ATTiny from accidentally resetting itself if you touch your project wrong.
@waswestkan
@waswestkan 11 лет назад
In that MAKE was a partner in teaching hobbyists to use the Arduino to complicate the simple complicate, it's fitting that they still tech that albeit with a smaller uprocessor. No for make to teach how to blink a LED using discrete components, that would be free after salvaging consumer electronics. Now that I see that Adafruit sell ZIF sockets that can be plugged into the socket an the arduino I just might finally purchase on arduino
@MAKE
@MAKE 13 лет назад
@mafiameower You could also use an ISP (In System Programmer). But most people already have Arduinos around.
@DavidHaile_profile
@DavidHaile_profile 9 лет назад
That's amazing! Great tutorial. I had no idea you could do that with an Arduino.
@feelvlog8458
@feelvlog8458 2 года назад
Wow I am learning as today's tech.. have launched 9 years ago video... Great!!
@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!
@AlanTubeMan
@AlanTubeMan 11 лет назад
A bootloader is a small program that runs inside an Arduino (or other packaged Microcontroller system) which allows the AVR to cooperate with an external system to update the main contents of the AVR's memory and you need a bootloader if you are using an Arduino. If you're using a naked AVR chip (just the chip itself) and an AVR ISP2 programmer or equivalent (such as Pololu AVR ISP programmer) then the ISP completely controls the AVR chip during programming and no bootloader is needed.
@MladenMijatov
@MladenMijatov 12 лет назад
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.
@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)
@tejonBiker
@tejonBiker 12 лет назад
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
@Allrian
@Allrian 11 лет назад
If you let the Reset pin free floating it is very sensitive and may cause a reset every now and then. The capacitor stabilizes the level on the pin and prevents unwanted resets.
@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.
@Craydon
@Craydon 13 лет назад
That's crazy cool! Now all I need is everything you mentioned!
@VincentPride1986
@VincentPride1986 11 лет назад
cause leaving reset pin open may result to reading unexpected 1's and 0's due to electromagnetic noise. you could also use just a pull-up resistance.
@GeorgeGeorge-xj2bc
@GeorgeGeorge-xj2bc 4 года назад
These 8 pins avr microcontrollers are great.Of course you can use every arduino module but if you have to make a speed controller or a light dimmer as a stand alone project it does not make sense to use 32kbytes and 28 pins for 1-2kbytes and using up to 5 pins of the microcontroller.
@Logarithm906
@Logarithm906 12 лет назад
It is a bit obsolete, you can stick the attiny file in the hardware folder in the 1.0.1 IDE folder. Also a 100ohm resistor between 5v and reset works (if you don't have a capacitor handy). Overall pretty awesome.
@LazyTech825
@LazyTech825 4 года назад
Super useful for future projects!
@hkiceman001
@hkiceman001 7 лет назад
thanks you very much for speaking it with us ... its interest for play the led lamp, thanks
@Guineh76
@Guineh76 13 лет назад
That was really cool! Nice way to cram a µC into a small package!
@insidegadgets
@insidegadgets 11 лет назад
Yes you can use them as digital outputs but not as PWM outputs (unless you write code to do "software PWM")
@RagMama123
@RagMama123 7 лет назад
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.
@mrmega328
@mrmega328 13 лет назад
@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.
@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.
@BitBerlin
@BitBerlin 11 лет назад
This is a typical method to ground unused pins of a chip. The last thing you want is a floating pin (floating = pin voltage is not defined and free to be altered by static electricity and magnetic fields, which can influence the chip during runtime in unexpected and unwanted ways). You use a capacitor to filter out any noise that would otherwise affect that pin, while connecting it to a ground voltage (in this case 0V). If not done, the chip could reset randomly on runtime. Avoid FLOATING pins!
@ChristopherWlezien
@ChristopherWlezien 8 лет назад
Awesome way to shrink prototype boards!
@Cookie2734
@Cookie2734 11 лет назад
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)
@rfinz
@rfinz 13 лет назад
loving the new camera. beautiful work.
@TheMywaves
@TheMywaves 7 лет назад
very attractive speech and gesture
@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.
@simonbaker4
@simonbaker4 12 лет назад
Excellent video. Need more with this quality.
@scullhead
@scullhead 11 лет назад
It is also possible to shrink down the arduino framework to an ATTINY13! I tried it and it worked pretty well.
@crazyminecrafter14
@crazyminecrafter14 3 года назад
Thank you, thank you, you are a life saver!!! This is perfect for my upcoming projects 😁
@Young0maker
@Young0maker 12 лет назад
yay Arduino SPI programming! I needed a tutorial for this
@AlanTubeMan
@AlanTubeMan 11 лет назад
The next ones up are devices like the ATMEGA168 or an ATMEGA328 which are 28 pin devices (offering up to about 17 I/O lines) then after that you're heading towards 40 pin devices like the ATMEGA1284 which has (if I remember right) about 33 usable i/o lines. After that you get into the 32-bit AVR family which goes up from there...
@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!
@tom_something
@tom_something 7 лет назад
There might be some curiosity about the capacitor. Anyone pursuing this project will probably find out from the documentation, but for anyone just watching for fun, the capacitor shores up the reset pins defenses against a pulse that is sent out during the operation.
@SirDrinksAlot69
@SirDrinksAlot69 12 лет назад
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...
@AnnaVahtera
@AnnaVahtera 11 лет назад
Actually, if you factor in shipping costs and think internationally, the ATMega328 is *cheaper* than the ATTiny.. It isn't far fetched to say you can find the ATMega328P via eBay for under $2 inc. shippinh. (in fact, I just ordered a few for that, and they come bootloaded). However, an ATTiny will cost you at least double that. It might still make sense if space is at premium, however.
@EdwinMartin
@EdwinMartin 11 лет назад
Yes, the ATtiny chips can be re-programmed again, just like the microcontroller on the Arduino itself.
@paulciarelli9453
@paulciarelli9453 4 года назад
This video is very useful, but the tutorial on the High-Low Tech Group page is very confusing. In that document they refer to physical PIN numbers by their internal Pin names (for example, Physical Pin 5 is referenced on their diagram as Pin 0. This is simply wrong. In the ATTINY data sheet Pin 5 is called PB0 which stands for Port B 0.
@SmashCatRandom
@SmashCatRandom 13 лет назад
@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.
@nicklcarey
@nicklcarey 8 лет назад
Congrats... You've set the internet on fire.
@Whisper6911
@Whisper6911 13 лет назад
@makemagazine dude has a point; you could have said some things about which pin does what, and what those error messages mean and why they can safely be ignored. also a bit of elaboration on the limitations of this chip vs regular arduino would not be out of place here.
@insidegadgets
@insidegadgets 11 лет назад
You would need to program it as it comes blank from the distributor unless otherwise marked.
@ObliviuxProductions
@ObliviuxProductions 12 лет назад
There are no limits to your visions with any language. It's not the tool, it's how you use it.
@subesh05
@subesh05 7 лет назад
You simple understand how it works Thank you so much
@evanvenn
@evanvenn 6 лет назад
Try using Great Cow BASIC compiler - this may get the code even smaller.
@spoderman15
@spoderman15 8 лет назад
damn this is awesome. I'll be ordering some 8-pin ATtiny chips
@MrMaestro14231
@MrMaestro14231 8 лет назад
hi
@drfritz142
@drfritz142 7 лет назад
Concise and to the point. Thanks for the video.
@maheshjadhav1177
@maheshjadhav1177 7 лет назад
Liked it.... nicely placed all details.a good step toward miniaturized approach. But I find cost of attiny same as Arduino pro mini board which has ALL Arduino functionality (not there in attiny- )
@fraserdrysdale
@fraserdrysdale 11 лет назад
@Mohammad M While this example could certainly be done with a 555 IC, it was not the point of the video -- just a handy example using minimal components. The intention is to illustrate a method for using a smaller chip when a full Arduino board itself is not really required, but when one might still require programmability in the solution.
@exbassguide
@exbassguide 7 лет назад
VERY HELPFUL! Thank you for making this video!!!!! Keep up the good work, it helps us newbies.
@WillstDuNichtWissen
@WillstDuNichtWissen 11 лет назад
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.
Далее
Bilasizmi?
00:12
Просмотров 480 тыс.
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Просмотров 10 млн
Things you can make from old, dead laptops
19:03
Просмотров 12 млн
Arduino in a commercial product?
7:17
Просмотров 20 тыс.
3 INCREDIBLE projects DIY with ARDUINO
16:17
Просмотров 221 тыс.
1-Day Project: Build Your Own Arduino Uno for $5
14:23
You can learn Arduino in 15 minutes.
16:34
Просмотров 10 млн
From Idea to Schematic to PCB - How to do it easily!
11:05
Arduino Tutorial - ATtiny85 explained in 4 minutes!
4:28
What's the difference? Arduino vs Raspberry Pi
6:21
Просмотров 1,8 млн
Bilasizmi?
00:12
Просмотров 480 тыс.