PART LIST: (like this to keep on top) 1x ATMEGA328P chip with Ardunio bootloader 1x USB to TTL converter* 1x 100nF capacitor (-> USB-TTL converter) 1x 16MHz crystal oscillator 2x 20pF capacitor (-> crystal) 1x LED 1x 220 Ohm resistor (-> LED) *Pay attention of your choice, it should have the same 6 pins as the one used here. Cheaper 5-pin versions do not have the CTS and required DTR pin.
@gottocode6089 жыл бұрын
+Gergely Nagy Can I use 22pF capacitor instead of 20pf?
@nagygergely119 жыл бұрын
+Vineeth Penugonda For me it actually worked without any capacitor. AFAIK they only needed for stabilizing tne frequency. Try it, it should not be able to do any harm.
@gottocode6089 жыл бұрын
+Gergely Nagy Thanks Gergely. 1) Is Voltage Regulator required? 2) www.amazon.in/CH340G-CH340-Serial-Converter-Module/dp/B00W74BTK2?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=238562e5-130a-4663-912a-7db57129bb8d www.ebay.in/itm/CH340G-CH340-Serial-Converter-USB-2-0-To-TTL-6PIN-Module-for-PRO-mini-/141653589990?_trksid=p2054897.l5670 Is this the same converter which your provided in the video description? :-)
@nagygergely119 жыл бұрын
+Vineeth Penugonda I do not see the pin labels, but the jumper makes me suspicious. There is the one I bought (after I received the wrong one, of course :-p), this is (or at least was a month ago) the cheapest that is the same as on the video: pages.ebay.com/link/?nav=item.view&id=161835245183&alt=web Actually the same setup did not worked for me first, probably due to driver problems with Win10: the IDE could not access to the USB serial port. There are fixes on the internet, but it was easier for me to program it by a Raspberry Pi over ISP. (link if you are interested: learn.adafruit.com/program-an-avr-or-arduino-using-raspberry-pi-gpio-pins/configuration, you simply connect to the appropiate pins of the atmega instead of the ardunio) I did not use a voltage regulator here, so the USB should work without it too.
@gottocode6089 жыл бұрын
+Gergely Nagy Thank you :-)
@GeeTheBuilder8 жыл бұрын
I've watched a lot of videos on KZbin. But this is in the top 5 ever. Brilliant video, brilliantly explained. I'm new to arduino and this showed me stuff I could easily understand and even more important, it got me more interested in learning more about electronics. I don't comment much on videos. This deserved one. Love your videos and the way you explain in a logical way. Cheers.
@JulianIlett8 жыл бұрын
Cheers Graham :)
@watchingin3d5497 жыл бұрын
Graham Southern then your a tard as you cant build it cheaper. Its the cheapest at 3 bucks. and all any of us will ever need. dont believe hype.
@GeeTheBuilder7 жыл бұрын
FindmeKicksUK I think everyone can see from your comment that you have just helpfully highlighted how it is in fact you who are the "tard". Why be so negative? Julian's videos are excellent.
@TroyFletcherKeyboards6 жыл бұрын
Concur. More valuable than the exercise was the explanation of the process. Very well done.
@americanengineering20636 жыл бұрын
it's completely redundant if he is making the video based on price as he stated. the components + usb to ttl is more than the price of the clone + shipping. for learning how to program an atmega328 great job!
@williamhayden77119 жыл бұрын
And you (whomever chooses this path) learned a whole heck of a lot more building one than buying one. Nice job Julian!
@troyna779 жыл бұрын
you can always trust a person that sharpens his pencils by hand/knife. BTW... thanks.
@Chaoddity6 жыл бұрын
I wouldn't have noticed that if you hadn't pointed it out. Yeah, common practice with awkwardly shaped/art pencils. Probably a habit.
@lrazo56685 жыл бұрын
Artist do it to give their tip a beveled Edge. Helps line variation.
@CoryMck5 жыл бұрын
My old art teacher in highschool always did this, he had some untrustworthy tendencies.
@englishrupe014 жыл бұрын
@@CoryMck Was he a boy scout leader too?
@CoryMck4 жыл бұрын
@@englishrupe01 No, not to the best of my knowledge
@romanpirs81279 жыл бұрын
I'm Mexican, but you explain very well and speak slow, so I understand. Excellent video at all.
@breno53786 жыл бұрын
yeah, and i am Brazilian
@YvanR0Y6 жыл бұрын
I'm French Canadian and I understand too! Then again I also spreak that funny English language so I guess it doesn't really count...
@cartapax50776 жыл бұрын
full of..
@Slider273210 жыл бұрын
Great explanation video. It's like making a radio, can buy one for a quid, but making one teaches a whole lot more and removes a lot of mystery.
@mjlorton10 жыл бұрын
Great video Julian.
@JulianIlett10 жыл бұрын
mjlorton Thanks Martin. I'll be looking at burning the bootloader next.
@DogRox9 жыл бұрын
Julian Ilett I made a shield for the UNO to upload the bootloader to a seperate atmega328, it seems to work without any issues. :-)
@huchengguo30048 жыл бұрын
Thank you for this video, Now i know that Arduino board is nothing but straight up wire from IC to pin headers (with protections). I have been dealing with the size of the Arduino for a long time, robots such as sumobots have very intense space requirements, This video has taught me to just draw a PCB with SMD ATmega chips, saves tonnes of spaces that was taken by headers. Great job!
@melvinknight49656 жыл бұрын
郭虎承Guo Hucheng Q
@maxxiang87466 жыл бұрын
@@melvinknight4965 wat
@anitajha42153 жыл бұрын
Yeah
@arnoldr17465 жыл бұрын
This is the kind of videos people need to see on KZbin, if there where a KZbin’s Oscar you definitely must win one
@robthom094 жыл бұрын
I always learn something from watching a video. Many good points in this one. Also, like the soldering of a resistor to the LED for prototyping. Never thought of this, but it makes breadboarding so much easier. Thanks,
@CariagaXIII8 жыл бұрын
its like art attack 2000s but for big boys.
@shreyaraj7brollno.2868 жыл бұрын
by observing your profile picture i guess u too are a fan of ANGLE BEATS. am I right?
@PomZila8 жыл бұрын
by observing your comment, I guess you too are a fan of Angel Beats, am I right ?
@shreyaraj7brollno.2868 жыл бұрын
Oh great!!! Of course, i am!
@PomZila8 жыл бұрын
Lol good response, If you dont mind ,sub my channel as I may upload anime related content pretty soon. : )
@shreyaraj7brollno.2868 жыл бұрын
great!!! I'll be waiting
@Polite_Cat10 жыл бұрын
Really interesting project, julian. I always hope for a new of yours every day in my subscription list and always watch yours first! :) You are my favorite channel to watch right now.
@JulianIlett10 жыл бұрын
kekejojo1212 Thank you, very kind
@beargun4210 жыл бұрын
You also need to connect AVCC to 5V, or portC might not work properly (according to the data sheet). I'd also strongly suggest connecting the two GND pins. A decoupling cap between GND and VCC would be advisable too. You can print stickers that you can stick on the DIP package, that show the pinouts. Very handy, so you don't have to lookup the pinouts. Great demo of the bare bones Atmega328 Julian. Thanks.
@davet1110 жыл бұрын
I'd also noticed the two gnds weren't connected - good catch!
@JulianIlett10 жыл бұрын
beargun42 Good points. I wonder how much current can be passed between those two GND pins before the chip goes pop.
@beargun4210 жыл бұрын
Interesting question Julian Ilett. Looking at the bare die of the ATMega8 (zeptobars.ru/en/read/atmel-atmega8 (top-right is pin 1)), you can see the large yellow square that looks to connected to the ground pads (also note square has a bigger clearance around the VCC/AVCC pads). Seeing that, I think you can probably get pretty close the the maximum rating, with only one pin connected. Though the bond wires may become the weakest factor here. Also noise might be more of an issue with only one pin connected. Wait. Looking a bit closer I see the yellow square is interrupted at the bottom (left), and partially interrupted at the right (bottom). So probably a bit less maximum current. But since Arduino doesn't really promote using the analog pins as outputs, you can probably get away with it. ADC measurements may be a bit more noisy. I think we're full circle now (-:
@dougcarriger69846 жыл бұрын
Julian, great video, thank you very much. I'm not a pro, and am using a Surface 4, and def had to connect AVCC (20), AREF (21) w/10kohm in series to 5v on usb to make the arduino IDE recognize the device on the com port. The ide had "port" greyed out until I did this. Now working. Very cool video - thank you.
@rbaleksandar8 жыл бұрын
It's the amount of produced units that reduces the price. It is relatively rare for a custom assembled unit to cost equal or less than a premade one.
@Sam-zu8vo4 жыл бұрын
Economy of scales
@anitajha42153 жыл бұрын
Exactly what I was thinking
@Vhbaske10 жыл бұрын
That is good for a stand alone project. An alarm, clock, letter display, etc. You are a master tutor!
@MFGNEV9 жыл бұрын
I started now to use the Atmel328 directly on PCB and this tutorial was the base for it! Thanks a lot! Only one remark: I was only able to upload a sketch via USB - TTL converter to the chip adding a 10K resistor between +5V and pin 1 (reset).
@G3RXX9 жыл бұрын
+Dirk H Thanks man, been swapping out components for 3 days, didn't realize to add resistor there.
@mikecraft45068 жыл бұрын
The 10k resister you recommend adding, is it from pin 7 to pin 1 on the atmel chip or from the atmel chip to the USB - TTL converter. Sorry but need a bit more info. Thanks for any help. Like Gerry have had no luck with this for 3/4 days and this suggestion sounds good.
@mikecraft45068 жыл бұрын
Re: The One Day Ardunio Project: The 10k resister you have added, is it from pin 7 to pin 1 on the Atmel chip or from the Atmel chip to the USB - TTL converter OR just on the USB -TTL converter alone. Sorry but need a bit more info as I have the same problem as you had. Thanks for any help.
@erikscow77207 жыл бұрын
Dirk H If this is all it takes to run arduino programs, what is all the extra stuff on the board? in other words, if I make projects using just the microcontroller like this, will I be missing anything important?
@laurencerilling58737 жыл бұрын
What your project requires will dertermine that. Inputs, outputs etc.
@ericmenaut2 жыл бұрын
Great explanation, with a clear and comprehensible language. Very appreciated when you see the tons of videos made by people who do not articulate and talk at the speed of a formula 1.
@serjaoberranteiro59138 жыл бұрын
Maybe on your country, but here in brazil: Protoboard: +- 3.50 dollars Chip: +- 3.50 dollars usb module: +- 2.50 dollars wired jumpers: +- 3 dollars. o/ components: +- 2 dollars Total: +- 14.50 dollars Arduino Uno R3: +- 7~13 dollars Is a LOT more cheap buy a arduino on place of the separated components.
@rallekralle118 жыл бұрын
doesn't the chinese ebay sellers ship to brazil?
@ceneblock7 жыл бұрын
An authentic arduino or a clone board? I'm used to clone boards being less than $10. The biggest advantage in doing this is to get the experience.
@frodemolland62497 жыл бұрын
yeah, but the fun here, is to learn and build it yourself :
@dimitris.44845 жыл бұрын
But if you want to make a system on pcb that uses an atmega microcontroller(arduino's microcontroller) you need to know how to do it. If you want to just play with an arduino ok get the board.
@dimiutube10 жыл бұрын
Hey Julian. This 1-Day projects is pretty amazing. Not only because it is good to understand how all this works together but also because this makes it possible to create a custom board that fits into different boxes or other housings where a genuine or clone board does not fit into. Thanks a lot!!
@neil_mundy10 жыл бұрын
the good thing about making something like that is that it can be on a smaller board and have only what you need around it. making it more compact
@tripy7510 жыл бұрын
That, and removing unneeded stuff allows you to have a very low power sleeping arduino. Good to have a load of cheap sensors left and right running on batteries.
@YensR10 жыл бұрын
getting a Nano clone would solve much of the size worries while keeping most of the Uno abilities (and USB connection).
@jan-zumwalt6 жыл бұрын
This is an example for other KZbinr's to follow. I punish myself watching about 5 videos for every one that has this quality. 1) Your voice is clear and the thoughts are well planned (no mistakes, unnecessary pauses, or "I should have mentioned this earlier..." 2) Your camera had good light and focus, and showed everything about the project including pin assignments. The friggin volume was high enough to hear (unlike most KZbin abortions). 3) You supplied relevant reference material and a BOM. 4) Your train of thought was logical and you verbalized your thinking without dead air. 5) No drama or unrealistic emotions. 6) No boring and useless intro on what a great guy and how smart you are and how important it is to subscribe! I hope you continue with more advanced topics. P.S. I soon hope to create a KZbin series on aviation topics and would appreciate knowing what camera, microphone and lighting you used. Thanks :)
@JulianIlett6 жыл бұрын
Many thanks Jan. I just use a phone (nexus 4) and natural daylight. Simple really.
@Joshua-kn6dq6 жыл бұрын
1. Maplin is out of business 2. Maplin overprice everything
@esquach10 жыл бұрын
I've seen this done several times, but nobody has been nearly as clear as you have been. You're a fantastic instructor, so keep it up. Thanks!
@highcountrytekradio41839 жыл бұрын
Nice project... just FYI, I used a similar but different USB serial converter, also sourced on Ebay, and I had to use a 22 nF capacitor to couple the DTR line on the USB converter to pin 1 (reset) on the ATmega328, instead of the 100 nF mentioned in the video.
@Tederean9 жыл бұрын
+HighCountryTekRadio What serial converter do you used? I have the same problem. The chip von my converter calls 'Silicon Labs cp2102'. Thanks.
@stephenman38465 жыл бұрын
yes was it cp2102
@CNC-Time-Lapse10 жыл бұрын
Very nicely done video. I really liked the extra bit of detail given for side points, such as what the capacitor was for when bridging the USB-to-Serial converted to the input on the Uno. Very excellent incites.
@liorsinger19 жыл бұрын
Beautiful! Thank you!
@ndayizeyemark58579 жыл бұрын
mark plumber shalom teacher
@EldonTenorio7 жыл бұрын
This is one of the videos that taught me about Arduino when I was starting to learn it early last year. I have been following your videos since.
@gottocode6088 жыл бұрын
The Led at digital pin 13 blinks for 1 sec after I start uploading.... but after that it shows : avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_recv(): programmer is not responding
@jcfausto7 жыл бұрын
Hi, just for the records, I tried to do this project today and received the same error when uploading the sketch. The problems was solved putting a 10K resistor between PIN 1 and VCC.
@zendesigns56027 жыл бұрын
Julio Cesar Fausto sweet! Thank you!
@wayneswan30927 жыл бұрын
that's not my issue. I have the 10KR in pin 1 to vcc and still no go... I have hours upon hours of searching, setup, re setup, reloading of bootloader numerous times.. i have no idea what i'm doing wrong! I cannot get my CP2102 to work for nothing!
@frodemolland62497 жыл бұрын
same here, but I'm new with this :)
@stephenman38465 жыл бұрын
@@wayneswan3092 hey maybe if you place a 22 nano farad instead of 100nano, it may work
@ShahZahid3 жыл бұрын
i had watched this video 6 years ago, i was really surprised to see this recommended to me, the god ol days, your channel really helped me getting started with Arduinos
@JanTuts8 жыл бұрын
So, am I correct to assume that, if a lot of your projects are standalone (no USB data-connection to a computer required), you can: 1. buy a bunch of extra ATmega's with Arduino bootloader, 16Mhz crystals and 20pF capacitors 2. program and test your project on the single genuine Arduino UNO you already own 3. lift the ATmega from it's socket and solder a crystal and 2 capacitors directly to it's pins (or place all on a breadboard) 4. remove the other project components from the UNO pins, and solder them directly to their respective pins (or place them on the breadboard) 5. hook up a 5V power source (smartphone battery / powerbank?) to the ATmega's VCC and GND pins 6. run your project straight from the ATmega, or the single breadboard (eliminating all the extra space for the Arduino UNO) 7. rinse and repeat?
@zachbutler24708 жыл бұрын
Just test functioning on the Arduino and when you're done, eliminate the excess bulk by making your own device with the ATmega and bare bones.
@zachbutler24708 жыл бұрын
So yeah you right.
@thomasselvig12125 жыл бұрын
The arduino nano is also increadibly cheap (about $2 on ebay)
@englishrupe014 жыл бұрын
None of those cheap versions use the long DIP ic, though, so you cannot re-use/adapt the chip in this way, unfortunately.
@ojkolsrud19 жыл бұрын
Tthis was one of the most soothing stimuli for my brain I have ever watched. Your voice, filming and explanation was simply terrific, and have made me want to get me an Arduino Uno (although I now know how to build one from scratch)! Thanks for making this, and please continue making more!
@Gspsx10 жыл бұрын
Would this set up work with the attiny85?
@ElectronFunCom10 жыл бұрын
You can build ATtiny85 yourself, but by default Arduino IDE doesn't support the ATtiny chips. High-Low Tech Group at MIT Media Lab created their own libraries and shared them publicly, so you can download and use them. I made a video about it some time ago, so you can ask if you have any questions about it.
@Matt0x0010 жыл бұрын
I came to also recommend a video to compare with something like the attiny85.
@EdwinNoorlander10 жыл бұрын
Jou programe the ATtiny with a SPI programmer and mot via a serial bootloader. There is nu bootloader on the ATtiny. Jou can use the UNO as a SPI programmer for the ATtiny. And for the IDE add the ATtiny hardware library to the IDE. Then you can upload the skets via a (UNO) SPI programmer. I use a USBtiny SPI programmer. There also DIY with a AT chip. But you can buy theme for allmost nothing.
@ceneblock7 жыл бұрын
See Adafruit's Trinket for more info. It's super easy to build but no, it isn't the same as you rely on the internal oscillator.
@stoveman7 жыл бұрын
Great video. I just sourced parts to build my own Arduino. $5.94 for the parts. I already had the resister and LED. This is a well documented video with step by step instructions. Thanks for taking the time to post..
@rukshansheriffdeen1959 жыл бұрын
Superb.......... Your idea is great for Sri Lanka and electronic lovers who live's in low economical countries.
@FuzzyScaredyCat4 жыл бұрын
It's 2020 and this is the *only* video I've found that strips down what's required t the bare minimum. Thank you.
@sdgelectronics10 жыл бұрын
Julian, always connect ALL GND and VDD pins, including AVDD!
@pfeerick10 жыл бұрын
Especially if you intend to use the Analog pins as analog pins... which means that the analog references (AREF) pin needs to be connected to VCC as well.
@Mixbag10 жыл бұрын
Peter Feerick so i connect AVCC and AREF bins to VCC ? i have a lcd display that displays temperatures it all runs of 5v and i am putting VCC to D9 pin as a to act as voltage reference for analog calculations ? is this all sound ok ?
@pfeerick10 жыл бұрын
Yes, you attach AVCC to the VCC pin even if you aren't using the Analog to Digital Converter (ADC). And you attach AREF to VCC to set the reference voltage of the ADC. If you are using any of the A0 - A5 pins and analogRead(), you are using the ADC. As long as your supply voltage is below 5.5, then all is good!
@Mixbag10 жыл бұрын
Peter Feerick thank you for your reply. i had someone write the code for my little project as im new and still learning. the code was made for a fake learnardo and now im using the code on a ATmega328P-PU (attempting my first pcb layout. and i was unsure about those pins. it works with those pins not connected however i will connect them as you advise :)
@dp08136 жыл бұрын
Why?
@chippievw10 жыл бұрын
Julian, thanks for taking the time to post this. Love the male/female headers on the clone.
@scodavis9 жыл бұрын
The main seller on eBay you use for your parts doesn't have 20 picofarad capacitors, but they do have 22 picofarad capacitors. Is this acceptable? Thanks for a great video!
@JulianIlett9 жыл бұрын
Thanks. Yes, either value will work fine.
@alexstone6919 жыл бұрын
Julian Ilett hey, i seen you buy alot of stuff from ebay i wanna buy 830 ties breadboard and jumper wires cheap but dont know how much is shipping, could you explain me how ebay works ?
@totaleonzin9 жыл бұрын
+Alex Stone Look at sites like banggood.com. They have free shipping and they are most of the time the cheapest.
@alexstone6919 жыл бұрын
TotaleOnzin i already got one from ebay for like $3
@valvelifter19519 жыл бұрын
+TotaleOnzin Great site. Thanks for the tip.
@Standbackforscience9 жыл бұрын
This blew my mind - this demystifies everything about microcomputers. Thank you!
@Lightning-Shock9 жыл бұрын
Here in Romania those costs 2x the price! So unfair...
@thunderbolt9979 жыл бұрын
+LightningShock well buy it from china just like the people who sell them...
@edukee9 жыл бұрын
+LightningShock because you pay tax for both your government and the european union.
@Lightning-Shock9 жыл бұрын
Captain Dandal Romania is in EU.
@MrMats0n9 жыл бұрын
+LightningShock captain just said that? Anyway I came here to say you could just buy those Atmega328ps off ebay (and some 16mhz crystals and a few ceramic caps) and use them alone. Those get through the customs and free shipping and what not everytime at least to Finland. And youll only need one of those usb thingys, you can program every chip with the same one.
@jameswright5288 жыл бұрын
+MrMats0n So after the programming the USB converter can be removed and all that is left to do is power the microcontroller?
@markusrohner94529 жыл бұрын
I enjoy watching your postbag series. I also built one of these own Arduino with similar components. It did not work at first. Finally I learnt about the tiny 3.3/ 5 V switch on the Serial adapter in one of your other videos. Switched it to 5V and eveything works fine. Thanks
@stephenman38465 жыл бұрын
hello there!! Can I use cp 2102 converter and as for the capacitor, each is 20 picofarad right??
@321fire95 жыл бұрын
i can't found 20 pf capacitor, but i can only next to the 22 of capacitor
@321fire95 жыл бұрын
is it right?
@melkiorwiseman52345 жыл бұрын
@@321fire9 The capacitors only need to be close, so 22pF should work.
@bayoupirate38086 жыл бұрын
"... issue of understanding how these things work." You are absolutely correct and have my utmost respect. Thank You.
@josephf1518 жыл бұрын
You don't need a breadboard! just dead bug build it! :)
@ceneblock7 жыл бұрын
Joseph Florentine until you want to change the circuit. :)
@plaguedpixel396 жыл бұрын
Bad advice for beginners.
@alessioyautja6129 жыл бұрын
Thank you for producing and uploading this video. Its great to understand the components of a micro-controller and really work out how all the components mesh together to make it all function. It may sound naive and I understand that an engine is also just a collection of simple parts it still does baffle me how we can make electricity run in circles and do tricks for us ^^
@gokhan.7 жыл бұрын
Arduino is 3$ in aliexpress
@maffysdad9 жыл бұрын
Hi Julian, I'm happy to use a purpose made board, but I've learnt a significant amount by watching your video. You've not only made a interesting and informative video, but it has allowed me to understand much better how the Arduino works. Many thanks.
@tijn22378 жыл бұрын
I know you are not a comedy channel, but you missed a great oppertunity to sample "But shit, it was 99 cents". From thriftshop, when you were talking about the crystal.
@lazar21758 жыл бұрын
Slep Yu Lol,that song is pure gold,as well as "Can't Hold Us"
@happydavid137 жыл бұрын
To echo what one of the other commenters has said, this is simply the best video on KZbin. Thank you so much.
@wh1t3no1se79 жыл бұрын
why you can't buy raspberry pi zero what cost $5?
@pokemonXD19 жыл бұрын
it sold out within 24 hours
@wh1t3no1se79 жыл бұрын
Cosmic Taco Cat but you can still buy it on ebay
@pokemonXD19 жыл бұрын
+Very Manly Man yeah but those prices are probably high because of people wanting to resell them for a higher price. I haven't check my self though. So I dunno.
@samborms9 жыл бұрын
+Very Manly Man arduino it's a microcontroller (made to learn easy way to the microcontrollers with out all the problems handle microcontrollers),raspberry zero it's a computer(made for introduce the computational cience to the people with a minimum cost) those both are good ideas. but with a diferent purpose
@wh1t3no1se79 жыл бұрын
mttorresrivera but you can use raspberry as microcontroller too
@jlucasound6 жыл бұрын
Just a note to the fans of Julian watching this build. And to you, too, Julian, but you may already know. OK, I did all this (your build) on my breadboard but my USB to serial interface was different. It worked fine the first time uploading the code but I had to wait to upload again. What I did was put a pulldown resistor between Reset (Pin 1 on the Atmega) and Ground. I had a 22K and that works. I am sure a lower value would work. This is AFTER the ceramic cap. (From the USB to Serial interface pin DTR to the ceramic cap). Before I put the resistor in, I would have to wait about 2+ minutes before I could upload a new sketch. I mounted the resistor on the breadboard so I didn't modify the interface. I hope I explained what I did clearly. CP2102 is the chip on the interface. SI or S1Labs. (Replace the word "interface" in my post with "converter").
@DevinWatson9 жыл бұрын
Thank you for this video, Julian. This tutorial truly helped get me started on moving into making barebones Arduinos, and my own embedded devices. One thing that I learned that might be related to the issue you had with manual reset on the programmer. Putting a 10K pull-up resistor between RESET and VCC seems to let the 328 reset itself automatically after a sketch is uploaded.
@opalprestonshirley17004 жыл бұрын
Really enjoyed this. Whether it is cheaper or not this gives a better understanding of how it works, plus I can make a smaller setup for some circuits.
@kewaltakhellambam77105 жыл бұрын
'its not about its about understanding the parts' this is so great.
@paulromsky95272 жыл бұрын
Great video! To be pure minimalist, no LED/Resistor and the USB to Serial Adapter would be part of your special programming cable (not part of the board). You can make a simple PCB, the Microcontroller, the Crystal, 3 Capacitors, A 4.5V Battery Clip, a Diode, and a Female Header Connector that you plug the USB to Serial Adapter into to program/comms and then remove it (freeing up 2 more I/O if you need them but no comms). I would suggest a 1uF Capacitor across the VCC and GND pins of the microcontroller for added decoupling of the power pins. To save even more money, you could learn the complicated process to install the Bootloader yourself. I think I am going to add this project to the Summer STEM class I teach - I try to save my students every penny as they pay for project materials, but I teach the class for free (8 hours a day, 5 days a week, 8 weeks over the Summer).
@rgmtb5 жыл бұрын
This was great! I've wanted to learn how to do this. Looking to make a very low power Arduino for projects and this will do the trick. Thank you so much 👍
@DominoSixO9 жыл бұрын
Arduino it's just a IDE and board to program chips, what you actually have is not an arduino but a ATmega chip.
@brinckau9 жыл бұрын
+Domino SixO Yes, but... this ATmega chip can be used without external chip programmer. An AVR programmer alone costs at least 3 dollars, which is almost as much as the total cost of this Arduino.
@DominoSixO9 жыл бұрын
brinckau You bootload and program the chip with arduino. The arduino is the base/platform to use different kid of chips and programing them thru arduino. What is in this video is just the Chip "328p" or any kid of chip without the arduino platform of curse the FTDI works as a arduino programming chip. So even if you program your chips you don't need the arduno ftdi after that, you just take the chip and use if on what you need.
@brinckau9 жыл бұрын
Domino SixO The FTDI works as a programmer *if* your chip is pre-programmed with the bootloader. Or, more precisely, the chip is its own programmer (thanks to the bootloader) via the FTDI interface. If you buy a chip without bootloader, then you have to buy a chip programmer, because you can't use the FTDI interface alone. So what this video shows is not just a chip + FTDI interface. It is an Arduino, ie a chip + a bootloader + FTDI. But of course, once the chip is programmed, we can take it off and put it on a PCB to use it. That said, I kinda agree with you and I think the Arduino is kinda pointless if you want to learn how to use a microcontroller. But I have to admit that its self-programming abilities and its IDE make it very easy to use. You just connect it to your computer via USB, write a program, and click the upload button. Without an Arduino, it is slightly more complicated.
@DominoSixO9 жыл бұрын
brinckau Arduino board works only as base to upload bootload and code, the most important is the chip, you can take off the chip of the arduino board and put it on your own pcb without needing arduino board of curse that only if you upload the chip one without needing the usb port..etc
@brinckau9 жыл бұрын
Domino SixO If you buy everything shown in this video *but your chip is not pre-programmed with the bootloader*, then you won't be able to use it. Right? So, unless you have an external chip programmer (like those "usbasp" that are sold on eBay for a few dollars), the hardware shown in this video is useless. That's why the guy in this video *does have an Arduino*. He can program his chip as he wants because what he built is actually an Arduino. The Arduino is not a base to upload the bootloader. As far as I know, an Arduino can not write its own bootloader to its chip (without tricks). You need an external chip programmer.
@tuskiomisham10 жыл бұрын
first time i've heard a british man say cheerio. you made my day.
@danielaunspach63128 жыл бұрын
I was wondering, as I looked over the official board, why one couldn't just build an Uno from inexpensive components, and then I happened on your video. I also bought the official version, but wanted to play around with building a variation. Thanks for taking the time to post!
@oliverutriainen283710 жыл бұрын
You speak clearly and choose your words well. Thumbs for that.
@jcresgate9 жыл бұрын
Good job! The advantage from the assembly is able to record the program in several ATMega just changing the microcontroller as well as being easier to mount the later own circuit.
@johnmalcolm99807 жыл бұрын
An excellent video. It would be hard to imagine how it could be more clearly and concisely expressed. Bravo! Subscribed. Will donate
@Texasfrank5129 жыл бұрын
Very good tutorial!! I'm a beginner when it comes to electronics but this really shows the basics of the board. Thanks for posting.
@john_mills_nz7 жыл бұрын
I really enjoyed this. Just about to start exploring the world of Arduinos. Bought my first kit online and now patiently waiting for it to arrive.
@JefferyLovegrove9 жыл бұрын
Nice video and it helped me understand how the board works. Cheers!
@boydbros.36597 жыл бұрын
Thanks for this, the tip on the U8glib was awesome. Thanks again
@B0M0A0K10 жыл бұрын
Outstanding Julian. Great video.
@jacobendure2626 жыл бұрын
Great video. You are so clear in explaining everything, oh, and I love you accent...
@TelmoMonteiro9 жыл бұрын
I like the way you patiently explain things. Thank you very much!
@JulianIlett9 жыл бұрын
Telmo Monteiro Thank you.
@miked8779 жыл бұрын
I like this. Helps us to understand the behind the scenes of what is going on so we can understand thing better. Yes, please create a How to Program instruction.
@DogRox9 жыл бұрын
Not to mention the fact that the clone that you showed in the video was an SMD atmega, whereas you were using a dip, which is more versatile for putting in your own projects. And to me that's the key advantage especially for a do-it-yourself Arduino ! :-)
@xxM5xx10 жыл бұрын
Very well done Julian. Subscribed.
@PatnaikUC10 жыл бұрын
My God! You are un-beatable. Hats off. Thans again
@BohdanTrotsenko9 жыл бұрын
Exactly! Huge thanks for helping understand how arduino works!
@DilnuwanAmaraweera10 жыл бұрын
Dear Julian, Thanks it's very use full.. keep it's up..
@jdaniele9 жыл бұрын
Very interesting and nice video! Thanks for sharing it with us Julian.
@nandvandam6 жыл бұрын
Briliant video, best made how-to I have ever seen
@claudiaftprivacy64789 жыл бұрын
What i love the most on your Arduino is that it is really small so i can put it in anything. I just must find out where i can get such programmed chip in Romania. Great explained! Thx!
@tchite8 жыл бұрын
Very educational for me. Very well done.
@igfoobar5 жыл бұрын
The nice thing about this arrangement is that if you want to embed it in a project, you can just solder the microcontroller and passives down to your board, remove the USB-serial adapter after programming, and the finished product won't look like it has an Arduino in it. I wonder how many commercial products are now built this way, using the Arduino bootloader and libraries, instead of Atmel Studio?
@JohnsElectronics Жыл бұрын
Thank you Julian! This tutorial was a huge help!
@millylamp3628 жыл бұрын
actually learned a little bit more than thought would for this. thank you.
@igfoobar5 жыл бұрын
What I'm getting from this is that I should buy a real Uno to support the developer, set it up as a programming rig, and then buy the bare chips to use them in finished projects. You've shown us a good way to build the chip into a circuit without having to put the whole Uno in.
@BernhardHofmann9 жыл бұрын
That's really impressive. Amazing little project, thank you.
@PacoOtaktay7 жыл бұрын
Julian, Good video. Thank you for sharing. Actually knowing a minimal setup can actually help with other projects. One idea I had is using one of these ATmega328P chips and a few support components to make a retro joystick adapter. Example of this could be to convert a NES, SNES, Wii nunchucks, or Playstation 1/2 controllers to a retro computer. So if you wanted as small of a board as possible then using this layout you used is actually a good way to show how you can build a small customized micro controller setup. :D
@silviam.71956 жыл бұрын
Nice idea shown here...and quite easy to reproduce an reduced home made Arduino Uno. Thanks for uploading this video here. :-) Greetings, Silvia
@kendallbennett9 жыл бұрын
Nice, Great job at explaining and making explaining how it works. Thanks for this.
@aboody00610 жыл бұрын
Awesome video, Thank you very much!
@stephenman38465 жыл бұрын
OMG thank you..truly one of the best videos I have watched!!
@ieseduardovalencia9 жыл бұрын
An impressive work! Congratulations!.
@owin3859 жыл бұрын
Excellent Demonstration!
@dkean48 жыл бұрын
Brilliant, Julian... very appreciated.
@BadPennyDogBoy10 жыл бұрын
Nicely done! A fun project. Thanks for the video.
@sherlockholmes688 жыл бұрын
this is a very Great video of how Arduino works, Its so great I want to press Thumbs-Up Twice!! So much to learn for me thou!
@DECIMA14 жыл бұрын
Great video, very good for standalone arduino projects
@chetkasper568010 жыл бұрын
Nicely done! Thanks for the lesson.
@amyshaw8936 жыл бұрын
that £3 one actually looks really good, with its male/female pins, and its load of power/ground pins
@mahlonkarpaiya2523 жыл бұрын
the diy one works out better if you need a lot of them in one project. i keep a uno that has the removable chip and use that to flash my chips so no usb to serial. I am making a Quadrino ( 4 hips on one board) This is to run a 4ch Oled Vu meter. it comes up at the same size as one uno and fit in my amplifier nicely. the major benifit of using ready made arduino is the fact that you can run them on 12v .To cut a long story short it depends on your final use for the arduino if you need one to test and practice get a builtr one if you need to put them inside projects build them. GREAT VID