Arduino: Arduino on a Breadboard

  Рет қаралды 209,923

Derek Molloy

Derek Molloy

Күн бұрын

Пікірлер: 195
@phazeman2022
@phazeman2022 8 жыл бұрын
Watched 1/2 a dozen videos looking for this information. All of them had too much extra, irrelevant information, and never got to the point. Found you. Liked. Subscribed. Awesome.
@troid
@troid 12 жыл бұрын
I have been searching for this tutorial everywhere and this is the best one in the net. very clear and detailed explanation. Thank you so much for spending time doing this tutorial. looking forward to see more.
@bobyoung7992
@bobyoung7992 11 жыл бұрын
SUPER. Your opaque overlays of schematics are SUPER tutorial tools. thanks. Pete
@StupidIdiot12345
@StupidIdiot12345 13 жыл бұрын
Great video as always, but I have a question/possible correction. You say that changing out the 16MHz crystal for a 20MHz crystal won't affect the rate of the LED blinking, but shouldn't it? When the C code is assembled to machine language, it has to be defined in terms of clock cycles (at least, that's been my experience with other uC's). Since you didn't upload new code to the uC, wouldn't it still be running the same number of cycles per delay, resulting in a faster LED blink rate?
@SeuPay
@SeuPay 13 жыл бұрын
Thanks for this very well done video. A comment: The digital pin 13 hasn't a resistor in serie. There is a (LED with a resistor in serie) in parallel to the digital pin 13. Using a LED connected between pin 13 and Ground is stressing the ATmega328 output driver. The LED can withstand more than 40 milliamps and will survive but a series resistor is recommended.
@myonline88
@myonline88 11 жыл бұрын
Hi. You did a great tutorial here. I have a question. If I want to burn a bootloader onto a blank ATmega328, can I just simply remove the ATmega chip from my Arduino, insert a blank chip, upload the ArduinoISP sketch and then Burn Bootloader using Arduino as ISP?
@SynS7ven
@SynS7ven 11 жыл бұрын
You can buy little clip on heat sinks that help quite a bit in some cases. I picked up a handful of them for like 50 cents a piece. They just pinch on, but you can screw them on as well. Hope that helps. Otherwise, just use a lower supply and don't try to draw more than is recommended. That seems to work well for me. I haven't actually burned any regulators, but I was using a 12V reg to power a ton of IR LED's and it got pretty hot. It was rated to 1.5A and the LED's didn't draw near as much
@JasonMasters
@JasonMasters 7 жыл бұрын
I notice that several people are asking about programming the chip without first having a boot-loader in the chip. It's possible, but you need some extra hardware. Specifically, you need a USB-to-RS232 converter (unless you have an old PC with a genuine RS232 port). These are easily found and cheap to purchase off somewhere like eBay. I believe you also need a small value capacitor (I forget the exact recommended value but I know it's very low, such as 10pF). Refer to 11:40 when the picture comes up to show you how to connect the original Arduino shield to the chip and instead connect the pins from the RS232 converter, with TX on the board to RX on the ATMEGA chip and vice-versa. GND also should be connected from the converter board to the unprogrammed ATMEGA chip. There will generally be a 5V supply from the converter board and this can be used to power the ATMEGA during programming. If you're using a genuine RS232 port, then you'll still need to connect GND but you'll have to power the chip separately since genuine RS232 ports don't have a power supply line. The next connection is from the DSR pin on the RS232 converter board through the capacitor to pin 1 (the reset pin) on the ATMEGA. Connect the USB cable from your computer to the USB port of the converter board and wait for it to be recognised by the computer. Now you load up the Arduino software and under "Tools" first select the COM port which the converter board created as part of its installation, then under "Tools" select the board as "Arduino/Genuine Uno". Finally, also under "Tools" select "Burn Bootloader" and you should end up with a chip which you can program "just like a bought one" ;) I haven't actually tried the above. I'm just passing on and summarising what others have said. I'm wondering why there needs to be a capacitor in the DSR line but I've been told it's needed, so I passed the info along verbatim.
@SynS7ven
@SynS7ven 11 жыл бұрын
Very helpful. I don't even use my uno anymore. And I believe my TTL serial cable will eliminate the need for the uno for programing the microcontroller. Question: Can I use your power supply to make a 3.3 as well, like at the same time. Just use a 12V source and adjust the caps accordingly so that it is more like the UNO?
@joaomendes179
@joaomendes179 Жыл бұрын
Great! This series will be my next challenge eheheh! But I have a question, can I still use the RX and TX pins as IO's and use that way of programming the atmega?
@jemhem
@jemhem 12 жыл бұрын
Thank you for such a great tutorial. You make it so easy to understand.
@DerekMolloyatDCU
@DerekMolloyatDCU 12 жыл бұрын
I'd say the servo made the regulator quite hot as they draw a fair amount of current. The heat shouldn't have had any effect on your 328 as the 7805 usually has a thermal shutdown. I'm also not sure how you could have damaged the 328 with a servo as they don't require any additional circuitry to work, just share the GND/+5V line with the servo and run the yellow wire to one of your Arduino PWM outputs. The only thing I can think of is that you somehow shorted the 328 and drew a large current.
@learningpower9437
@learningpower9437 4 жыл бұрын
Excellent work!!! Do have oher presentation in where you have one Arduino in the breadboard and the other in the Shield and you program the one in the breadboard as the slave...? In any case this video was very good!!!...Wow...2011 and it is still as good!!!
@johnricci5615
@johnricci5615 5 жыл бұрын
Excellent video. I think I found a very small mistake in the notes at 11:43. Instead of "Reset must be connected directly to PIN2 (not before the switch)", it should be: Reset must be connected directly to PIN1 (not before the switch).
@iProgramInCpp
@iProgramInCpp 5 жыл бұрын
If the ATmega chip is overclocked then the sketch *will* run faster. So the LED will blink faster. The Arduino main library has been tuned so it waits for close to exactly 1 second. If you put in a slower/faster crystal/resonator, then the LED *will* blink slower/faster. If you're interested, use an oscilloscope and check.
@Omar11497
@Omar11497 8 жыл бұрын
Thanks a lot ... I have been looking for this useful video for too long! Great.
@karimismail3734
@karimismail3734 9 жыл бұрын
Fine presentation. Thank you. Clever and inexpensive way to install temporarily the IC on Breadboad to use it in various prototype projects.
@emberleona9278
@emberleona9278 6 жыл бұрын
Thanks for the debriefing about crystals and 3 pin resonators with capacitors 5:25
@gregoriopaderes3396
@gregoriopaderes3396 3 жыл бұрын
Thank you, Thank you so much now I found the right programmer in a breadboard you are genius
@N7TFP
@N7TFP 10 жыл бұрын
I must challenge the claim you made at 8:50 regarding the same blink rate when running at 16 vs 20 MHz. I do not agree with your claim, and would argue that the increased clock speed causes the LED to blink faster. Perhaps there is something I missed, but I also timed the blink rate in your video and recorded a noticeable increase.
@sayantanmaiti2513
@sayantanmaiti2513 7 жыл бұрын
but how increased clock speed will change the blink time?? I have set it to 1sec and the MCU will understand that 1sec for any speed of clock. the program uploading speed may become faster but it cannot change that 1sec delay.
@neilbarnett3046
@neilbarnett3046 7 жыл бұрын
As far as I can tell from the chip block diagram, there is no real-time clock in the chip. Timing appears to be calculated from the system clock, so there is a divide-by-16,000 somewhere and that gives you a millisecond. Clock pulses come 25% more often at 20MHz, so what you expect to be one second is 0.8s.
@zebratangozebra
@zebratangozebra 6 жыл бұрын
@@neilbarnett3046 Yup.
@griffgriffo9746
@griffgriffo9746 10 жыл бұрын
Can you show, uploading a sketch using a ftdi instead of using arduino board,,ftdi breakout board and atmega chip can be left connected instead of connecting and disconecting arduino uno.......Great tutorials..schematics a great help
@Ayodehi
@Ayodehi 11 жыл бұрын
I actually just solved this problem on mine. in my case, I was not using the correct capacitors and I believe the crystal was not oscillating (hence, a sync issue). This error will also occur if the TX line is not properly connected (that is, you can reproduce the error on a working circuit by disconnecting the TX line). In my instance, I did not have a 22pF capacitor handy but I used a 68pF and it worked.
@padcom
@padcom 9 жыл бұрын
You've mixed up the meaning of AREF. It's either the VCC and then AREF connected VIA A CAPACITOR to the GROUND (not VCC) or another source of reference voltage. Saying it's no harm to connect AREF to VCC directly is very error prone when the 2 voltages mix up and give you strange A/D conversions.
@zebratangozebra
@zebratangozebra 6 жыл бұрын
Yes, I don't understand why AREF needs to be connected at all.
@iProgramInCpp
@iProgramInCpp 5 жыл бұрын
Use asterisks instead of capital letters. Not like THIS, but like *this.* Example: "*Hello, world*" but remove the asterisks.
@0mn1potence
@0mn1potence 10 жыл бұрын
Thank you so much! I've been looking everywhere for how to do this, and your video was more than sufficient.
@rileyeaston1207
@rileyeaston1207 3 жыл бұрын
I guess it's pretty randomly asking but do anybody know a good place to stream new tv shows online?
@micahanakin8664
@micahanakin8664 3 жыл бұрын
@Riley Easton lately I have been using FlixZone. You can find it by googling =)
@royalkairo8819
@royalkairo8819 3 жыл бұрын
@Micah Anakin Yea, I have been watching on Flixzone for since march myself :)
@rileyeaston1207
@rileyeaston1207 3 жыл бұрын
@Micah Anakin thanks, signed up and it seems to work =) Appreciate it!!
@micahanakin8664
@micahanakin8664 3 жыл бұрын
@Riley Easton You are welcome :D
@bornakapusta9644
@bornakapusta9644 9 жыл бұрын
Hi, great tutorial, why did U use 20mhz after programming? I'm new to arduino programming and making my own board witch is working partially, I'm using GSM and breadbord arduino, and it's only sending first SMS, don't know why is not going to loop after On Arduino board is working perfectly Thanks!
@TheDenix8
@TheDenix8 10 жыл бұрын
I have an oscillator with 4 pins. Does that give me any advantage? And can I drive 4 328p-s with one of them?
@NaifAlqahtani
@NaifAlqahtani 9 жыл бұрын
What if I have an ic on the arduino while I program the breadboard Will that be dangerous
@Agrucho
@Agrucho 13 жыл бұрын
I like the macro shooting technique. Which camera are you using?
@emberleona9278
@emberleona9278 6 жыл бұрын
I put a jewelers loop on my cell phone camera and got a cool video of rocks look up rock lawn mining on datube(here)
@WillOlson11
@WillOlson11 9 жыл бұрын
this was a incredibly helpful video, thank you!
@billfield8300
@billfield8300 8 жыл бұрын
I saw that when you installed the 20mHz crystal that you oriented it a particular way. Was that just so we could read it? or was that because the crystal has a polarity preference?
@andymouse
@andymouse 8 жыл бұрын
+Bill Field there not polarized any way will do
@billfield8300
@billfield8300 8 жыл бұрын
Thanks.
@RossPotts
@RossPotts 10 жыл бұрын
Derek, nice vid. Um, at 11:45 your slide says to connect RESET to pin 2 before the switch, but the picture shows pin 1. Other than that, this is a great video. It got me understand what I was doing wrong.
@ZacharySJohnston
@ZacharySJohnston 10 жыл бұрын
It says connect RESET to pin one. I hope that helps!
@meethead
@meethead 11 жыл бұрын
Great tutorial, thank you! (one small request might be to list the necessary parts in your description :))
@ZacharySJohnston
@ZacharySJohnston 10 жыл бұрын
Your instruction is extremely clear! Your video is informative, and very helpful. One of the best explanations I have seen in a long time. Keep up the good work! :)
@canlelola
@canlelola 11 жыл бұрын
I wish I had come across this about three weeks ago. I would like to ask, do you only need to provide 5v to the breadboard or also 3.3v. In my setup I am going to use a PCB AMS1117 and I have both 3.3v and 5v, and this is what I am planning on using for the power circuit and because I don;t want to use an Arduino at all, I was going to use the lower part of my board for a FTDI.
@DerekMolloyatDCU
@DerekMolloyatDCU 12 жыл бұрын
It gets hot enough alright. It depends on how high your supply voltage is and how much current your circuit is drawing but ideally you should keep the supply voltage as close as possible to the delivery voltage. If the supply is 10V and the regulator regulates to 5V and you deliver 100mA, (P=VI) the 5V difference x 0.1A = 1W of heat, think how hot a 100W bulb gets! Most voltage regulators shutdown if they get too hot, but they can be still very uncomfortable to touch.
@TeacherNickoy
@TeacherNickoy 10 жыл бұрын
Thank you. It's very informative. I would try this one for sure on the near future.
@nileshkparmar
@nileshkparmar 7 жыл бұрын
Wonderful. Thanks so much. Very neatly explained.
@kevinrhug
@kevinrhug 10 жыл бұрын
Derek! You have done a brilliant job here. I really appreciate your work. Can you tell me if it is practical to run the board using a battery?
@barssamierden5798
@barssamierden5798 7 жыл бұрын
That resistor you using is 1/4 W ? Which resistor should we use? And its very usefull video. Thanks for it. And sorry for my bad english.
@pavlg3944
@pavlg3944 7 жыл бұрын
Barış Sami EDREN u need to have the help of LED Series/Parallel resistors connection ,u can find on www.resistorguide.com/resistor-for-led/ kershoves law .....and this is a calculator directly to a no. Without laws: ledcalc.com/ it sounds that it depend on which color of led u use in which wave length and which V*f is used relative to the wave length used so u can find a table of wave lengths for led colors with its V*f numbers on www.electronics-tutorials.ws/ and u can directly calculate the value without need of V*f (led) or V*S (battery)or I*f(led) which is mainly 20 maph for most leds
@tardigr8
@tardigr8 11 жыл бұрын
avrdude: stk500_getsync(): not in sync: resp=0x00 i have been having this problem for a while did all the steps you have said the led is blinking just cant seem to use the TX and RX to upload . great video very helpful !
@chrispretorius85
@chrispretorius85 10 жыл бұрын
Brilliant Video!! Thanks Derek
@mikebrady2442
@mikebrady2442 9 жыл бұрын
Great video thanks Derek. Other videos have used the FTDT board to re-program the Atmega chip, but I love the idea of keeping a board aside to do this. I'd like to make up some 'Arduinos' on perf/vero board for cheap alternatives for projects, this helps greatly cheers.
@snaprollinpitts
@snaprollinpitts 10 жыл бұрын
that was definitely a great video, I didn't know you could do that. super cool!!! a question for Master Derek, can you retrieve a program/sketch from an arduino or from the chip. thanks mike
@emberleona9278
@emberleona9278 6 жыл бұрын
Theres a way to get the compiled hex from the chip using avrdude command line codes but it was not humanly readable sketch... I wanted to know if theres a way to detect bootloader or make a bootloader checker circuit tool to find out which chips are used or not. Maybe you can make a custom bootloader/compiler to preserve sketch info save that to data flash?
@sskimbox
@sskimbox 12 жыл бұрын
Wow... Amazing teaching skill. So easy. Crystal clear... Thanks a lot.
@nandanr3082
@nandanr3082 5 жыл бұрын
Wonderful explanation!
@pangpengmaster
@pangpengmaster 9 жыл бұрын
Ok, it might sound stupid but I have this question: can we have a number of Atmega chips and connect them parallel to the TX-RX rail? My expectation is merely to upload a program to a number of chips at once.
@DominoSixO
@DominoSixO 9 жыл бұрын
pangpengmaster the only way to know is trying it, so try doing that and tell as if worked
@jorenmartijn
@jorenmartijn 9 жыл бұрын
+pangpengmaster Maybe you could search for parallel programming arduinos. I do remember someone having set up the Raspberry Pi as a mass Arduino programmer but I don't remember any details.
@aesopcarl
@aesopcarl 10 жыл бұрын
Very good video - thanks!
@slmbkdk
@slmbkdk 10 жыл бұрын
may i know the model of your PTC component you are using? thank you.
@MedAmine21
@MedAmine21 9 жыл бұрын
very nice video ! i love to see how to build a usb to serial for arduino
@meethead
@meethead 11 жыл бұрын
google bit-101 Pull-up and Pull-down Resistors...there's a pretty good explanation from the blog owner...it's a subtle (at least for me, another noob) concept that prevents a floating state in the circuit, by using resistors as a means of forcing ground(low)/vcc(high) when the circuit is broken, but preventing a short circuit when there's a connection. Hope I'm correct, and HTH :)
@RajendraVermaa
@RajendraVermaa 6 жыл бұрын
Thanks. Very lucidly explained.
@ArtR0001
@ArtR0001 10 жыл бұрын
What is the ceramic cap doing between the diode and voltage regulator? Or maybe I should say, what size is it?
@pontshojacob7905
@pontshojacob7905 3 жыл бұрын
Its a good practice to put ceramic cap after the regulator to provide stable power expecially when designing power supplies
@Madtask
@Madtask 8 жыл бұрын
How does the chip know whether a 16MHz or 20MHz crystal is attached in order to count to 1s?
@CineSoar
@CineSoar 8 жыл бұрын
It doesn't actually (though you can query F_CPU). In Arduino, that counting is handled by wiring.c library function "Micros" (which get added, to become Millis and Delay). Unfortunately, the way Micros is written, it only works properly with frequencies that divide evenly into 64 (8, 16). 64/20=3.2. At 20MHz, Micros outputs an unsigned long integer, meaning that it drops 0.2 with each cycle of the clock and it takes longer than expected, to achieve the desired count. The workaround is to create an If Else for the 20MHz case and simply count clock 'ticks'. Then, use (float)micros() * 3.20 to calculate the actual microseconds in your main program. Microsecond delay, because of the way it is calibrated, is actually accurate.
@azyfloof
@azyfloof 7 жыл бұрын
The 20MHz crystal will make the LED flash slightly faster, unless you tell the Arduino there's a 20MHz crystal there. When you burn a bootloader onto a blank chip (as would have happened to the chip shown, prior to leaving the factory) you burn "fuses" into the chip that tell the chip what frequency of crystal is connected, or whether the chip should use the internal clock.
@CineSoar
@CineSoar 7 жыл бұрын
I'll rephrase... Because of the way it is handled, Microsecond delay does not suffer the same 0.2us per clock cycle offset as the Micros, Millis and Delay functions. It is roughly as accurate at 20MHz, as it is at 16MHz (within about 0.4 seconds per day).
@e7sasjded
@e7sasjded 12 жыл бұрын
Do i need to remove the chip always before programing the micro controller or only in this tutorial you mean ? i am new in this and trying to understand . so in case i want to program another chip. shall i remove it or i can keep it ?
@emberleona9278
@emberleona9278 6 жыл бұрын
The website says to remove the chip. I wonder if you can program two chips if there is one in the slot. Technically if you dont want to use breadboards you can leave the chip in the shield. So far thats all I am doing. Im trying to learn first. Also if you dont have the shield theres a way to program your chip to act as ArduinoISP and you wouldnt have to risk damaging your shield thing. Im trying to learn that too. It has to do with the bootloader and burning it. If you get a cheap arduino nano atmega328p it seemed to upload sketch right out of the package via usb. So long as right chip and connection port is selected in my case tty/usb
@RealationGames
@RealationGames 12 жыл бұрын
Not also did my regulator got hot, but it burned out my 328p-pu MCU. Why is that? I was controlling servo with it. I got the servo supply from the same power rail, and servo PWM from the MCU. I'd like to know what I did horribly wrong so I won't burn out another chip. I used 9V input to the regulator.
@mrkiky
@mrkiky 10 жыл бұрын
Can I burn my bootloader so I can use any atmega328 like this? It would be much cheaper and more convenient if I could just buy blank chips at the local store.
@Machin396
@Machin396 10 жыл бұрын
Yes you can burn bootloader, but you will need an avr programmer, they are cheap (USBtinyISP for example.).
@mrkiky
@mrkiky 10 жыл бұрын
Machin396 Is there any way to do it with the arduino board?
@bosmak
@bosmak 10 жыл бұрын
***** arduino.cc/en/uploads/Tutorial/ArduinoUSBSerialSimple.png
@Machin396
@Machin396 10 жыл бұрын
***** Yes,Arduino can be used as an avr programmer, just look for Arduino as ISP there are tons of tutorials.
@hamzamumtaz2619
@hamzamumtaz2619 10 жыл бұрын
is it possible to hook up a usb istead of programing it through the arduino at 11.50
@SynS7ven
@SynS7ven 11 жыл бұрын
I used 15pF and they worked. Apparently the breadboard itself has enough parasitic capacitance that it would most likely work w/o the caps though.
@emberleona9278
@emberleona9278 6 жыл бұрын
That was interesting... I heard stories of how twisting wires prior to soldering makes micro resistive paths... but I still thing its hard to put the wire in the hole if I dont twist it.
@e7sasjded
@e7sasjded 12 жыл бұрын
I think you did not connect diode to your servo to stop the current from loading back when you stop the servo . let me know if you solve it or you find the exact reason .
@emberleona9278
@emberleona9278 6 жыл бұрын
servo?
@pjfadriquela
@pjfadriquela 11 жыл бұрын
can you program the atmega with arduino that still has an atmega in the socket. or do i need to use an empty arduino with no atmega like you did
@dheeban100
@dheeban100 6 жыл бұрын
how do you determine what components (value or type of capacitor, resistor, crystal) to use ? Please tell me if I should learn something first. I am new to this and i don't know where to search.
@pontshojacob7905
@pontshojacob7905 3 жыл бұрын
Crystal oscillator depends on the chip itself.usually the one Arduino uses 16mhz. For caps 22pf is enough to give the crystal enough pressure to start oscillation. Resistors 100-470 ohms are good to be current limiting resistors
@Michael-w8v
@Michael-w8v 11 жыл бұрын
I'm pretty unsure but it has do something that servo using highest power or improper power supply which is why it destory 328p. Every servo have specs require of power using. Another reason RealationGames might put into wrong place of chip. I'm a helicopher RC repair.
@shivarajm273
@shivarajm273 5 жыл бұрын
How did u upload a sketch? Can we do this for mega 2560 board??
@INDIAN-kq6yo
@INDIAN-kq6yo 8 жыл бұрын
Awesome!.Thanks Derek.
@andymouse
@andymouse 8 жыл бұрын
why are you connecting VCC twice the Arduino is powered via USB and your bread board is powered though the 7805 regulator they only need a common GND all I do is jump RX TX and Reset and it works fine
@ismzaxxon
@ismzaxxon 8 жыл бұрын
He didnt :)
@abhishekvarun2445
@abhishekvarun2445 6 жыл бұрын
I have constructed this same circuit on the Breadboard. I am programming the standalone Atmega328P with the Arduino. I am getting this error while uploading the code: Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes. Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01 Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
@Razorrule
@Razorrule 8 жыл бұрын
hey can you show how to drive it with internal 8 mhz oscillator!? I got an USBtinyISP and want minimal setup as can for my project. can't take a ATTiny for it.
@dermotupton4341
@dermotupton4341 7 жыл бұрын
well Done , super explanation. I'm a bit confused because i've read that the arduino (forum.arduino.cc/index.php?topic=2429.0) should be powered with 9 to 12 volts. ? I have a project proto typed using an Arduino uno powered from my laptop through usb. I'm hoping to transfer the project to a PCB with a atmel 328 pu chip with bootloader on board. I want to switch 12 v LED assemblies and a buzzer. now i will use transistors to switch the LED assemblies etc. which will have an independent 12 v supply through the collector . I will use the base of the transistor to switch but will the 5 v power supply or 9 to 12 v supply be a better option? any thoughts on this will be greatly appreciated.
@HalfLife2Beta
@HalfLife2Beta 9 жыл бұрын
please answer: can I use 18pF instead of 20pF capacitors and can I use 150 nF instead of 100 nF for the USB to serial ? thx in advance
@andymouse
@andymouse 8 жыл бұрын
+HalfLife2Beta yep
@GiancarloVillenaPrado
@GiancarloVillenaPrado 10 жыл бұрын
What if I put 12v instead of 9v? Will it still work? Or do I have to modify the circuit?
@emberleona9278
@emberleona9278 6 жыл бұрын
I want to know that too does a high voltage increase the clock frequency??
@freon500
@freon500 11 жыл бұрын
Excellent presentation! Thank you very much.
@jedrzejwysocki5584
@jedrzejwysocki5584 10 жыл бұрын
This is probably the best video on the internet. Like >ever
@dasten123
@dasten123 12 жыл бұрын
Does the voltage regulator get hot? Mine gets VERY hot - I assume that I did something wrong^^
@emberleona9278
@emberleona9278 6 жыл бұрын
From taking stuff apart I noticed that the metal side of the voltage regulator is sometimes connected to a heatsink or perhaps even with thermal paste thus the top screw hole.
@Polite_Cat
@Polite_Cat 10 жыл бұрын
Why does the ATMega IC chip need multiple GND and VCC pins if that is all that the pins are used for? Whats the point? Is there an actual reason for this?
@adamt7667
@adamt7667 9 жыл бұрын
The multiple grounds can be useful in board design, but on that chip there is only 2. Also, the AVcc is not actually just a Vcc pin, it is used for various analogue circuits I believe. Anyway, hope this was helpful in some way or another!
@Inquire98
@Inquire98 4 жыл бұрын
"Thank GOD", and thank you very much for your support and time 😉 I thought your presentations was REALLY Really really good 😉
@danyalahmad4871
@danyalahmad4871 4 жыл бұрын
Crystal Foot-Print www.mediafire.com/file/dyx7o3xcr13a1d1/16MHz_Crystal_Oscillator.PcbLib/file
@sergiorojas5357
@sergiorojas5357 10 жыл бұрын
Otima Aula, Parabens, and thank you!!!
@AdrianDucao
@AdrianDucao 7 жыл бұрын
The thing is how can you program this DIY Arduino without using the existing ATmega328 chip from Arduino Uno?
@pontshojacob7905
@pontshojacob7905 3 жыл бұрын
Using FTDT
@jasdall
@jasdall 13 жыл бұрын
Nice tutorial. Very useful & helpfull tutorial. Keep it up.
@venkatharish96
@venkatharish96 8 жыл бұрын
are there any com ports available in the market so that I can mount them too in the breadboard
@kareemselim2833
@kareemselim2833 8 жыл бұрын
that's a good one XD XD XD
@kashifsohail
@kashifsohail 11 жыл бұрын
Question from noob. Why you added 10k resistor to Pin 1 and how it will make it high. can someone explain plz?
@abdullahsaad8825
@abdullahsaad8825 7 жыл бұрын
extremely good and helpful , thank you sir
@reformedtheologian00
@reformedtheologian00 12 жыл бұрын
i'm hoping you could help me. my "blink" won't upload. my computer has USB ports and no serial port. hope you can help thanks for the ear
@pablofernandez2894
@pablofernandez2894 7 жыл бұрын
What about those 10 components in the left of the breadboard? Why do you need them? Cannot just feed 5V and GRD to the arduino directly from the power supply?
@emberleona9278
@emberleona9278 6 жыл бұрын
The power supply switch helps a lot and the bootloader is only run at start from end of program memory section from what i learned today it is only invoked on reset button press or fresh start. But that part is what allows you to upload sketches using avrdude aka arduino IDE
@amitanand1179
@amitanand1179 11 жыл бұрын
can u help me out in how to burn a bootloader in atmega 8 or 328 using arduino uno as i am finding it difficult
@stlgolfergaming
@stlgolfergaming 8 жыл бұрын
very professional! :)
@prashantmadan2106
@prashantmadan2106 8 жыл бұрын
How to burn bootloader in atmega8 from arduino uno but every time found an error "efuse " memory is not define for the part atmega8.
@ChristopherGaul
@ChristopherGaul 9 жыл бұрын
This is an excellent video and one of the best, most concise explanations of this process. There is only one question unanswered. What if you don't have, or don't want to use the Arduino carrier board to program the chip, but you have a USB to TTL adapter available? Given how common these adapters are, it's easy and cheap to have one around for programming various micro-controllers. How would you go about doing so with this setup? (eg www.adafruit.com/product/70 )
@nadezhdadimitrova4042
@nadezhdadimitrova4042 8 жыл бұрын
Is there a way for programming the new arduino, without the use of the original one?
@rajeevkumar2864
@rajeevkumar2864 7 жыл бұрын
yes by usbasp
@adityakumarraj827
@adityakumarraj827 3 жыл бұрын
No 22pf availavle what is the solution??
@ranadeepsingh
@ranadeepsingh 8 жыл бұрын
nice video and good quality
@stefano19951995
@stefano19951995 8 жыл бұрын
i linked the components the same way you did but my circuit doesn't work.. the led turns on after 10-15 seconds and it does not blink.. i used a motorola smartphone charger as power supply instead of a voltage regulator, and the voltage of the charger is 5.12 volts. do you think it doesn't work because of 5.12 v power supply instead of 5 exact volts?
@kareemselim2833
@kareemselim2833 8 жыл бұрын
no, tell me more information about it and i think i could help you out
@anirbandas1641
@anirbandas1641 8 жыл бұрын
Visit arduino.cc website, CLICK | ARDUINO| in the tabs, you can find a DIY arduino, you can download the Eagle files and stuff and make your own for half the price of the original arduino. FYI you can do almost all prototyping & projects in your DIY arduino. Only advantage of original product is lesser risk. I make my DIY arduino & modules. It cost me Rs200 to make my arduino UNO, that's like $4. LOL.
@med6402
@med6402 8 жыл бұрын
From were can we get ground??
@rogerwroblew4858
@rogerwroblew4858 9 жыл бұрын
I love this video. I want to do some simple circuits for a model train layout and want to be able to tweak them as far as leds flashing rates and so.Using the arduino boards usb brings the cost down to about 3 or 4 dollars per circuit. just the cost of a ATMEGA328P-PU Microcontrolle​r (2 dollars) and a crystal and some caps (50 cents) and they are tweakable Thanks
@zeemixvideos6485
@zeemixvideos6485 4 жыл бұрын
hello sir can i contact you i need help
@ArnoudvanLeijden
@ArnoudvanLeijden 11 жыл бұрын
Great video, thank you for sharing. I have a question: is there a difference between the atmega328 with UNO loader of with Duemilanove loader? There are a lot of chips with uno loader available on auction sites, but I have no idea if they can be programmed on my Arduino Duemilanove board.
@akshayk6690
@akshayk6690 8 жыл бұрын
how can we connect the breadboard with ATmega328p without using the arduino board? should i include the serial communication on the board?
@TakronRust
@TakronRust 8 жыл бұрын
get a serial to USB chip. real cheap on ebay. educ8.tv shows how to use one.
@akshaysan4525
@akshaysan4525 8 жыл бұрын
I have a usb type A female.Can i use it to connect my Atmega328p to my computer?
@TakronRust
@TakronRust 8 жыл бұрын
+akshay san no. you need a USB to serial conversion chip
@akshaysan4525
@akshaysan4525 8 жыл бұрын
+TakronRust Can i use Max232 in between my usb A and Atmega328p or should i go for the usb2serial chip?
@TakronRust
@TakronRust 8 жыл бұрын
+akshay san just look up the chip. there are plenty of vids
@coldram1111
@coldram1111 8 жыл бұрын
when and how to connect aRef??
@ajanthapj6644
@ajanthapj6644 9 жыл бұрын
Good...great tutorial. Thank you.....
@alexchiang9627
@alexchiang9627 8 жыл бұрын
Hey did you use arduino Uno for this tutorial?
@Razorrule
@Razorrule 8 жыл бұрын
i can see a Duomilanove not an Uno
@DimensionDevices
@DimensionDevices 8 жыл бұрын
+alex chiang The Uno doesn't have a removable ATMEGA chip does it?
@Razorrule
@Razorrule 8 жыл бұрын
+TheNeurofluxation Look for the Datasheet
@andymouse
@andymouse 8 жыл бұрын
+TheNeurofluxation it has a removable chip unless it uses SMD (surface mound device)
@TheGigascan
@TheGigascan 8 жыл бұрын
I have a SMD edition Uno so is there any way I can program ATMEGA328?
@kareemselim2833
@kareemselim2833 8 жыл бұрын
No babe
@TheGigascan
@TheGigascan 8 жыл бұрын
+kareem selim yes there is I already figured it out
@kareemselim2833
@kareemselim2833 8 жыл бұрын
how? do you mean program it or install boot loader onto it
@emeyedeejay
@emeyedeejay 8 жыл бұрын
Can you share the solution please
@TheGigascan
@TheGigascan 8 жыл бұрын
blog.sachleen.com/posts/1356050240/programming-atmega-using-arduino-uno-smd/
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 447 М.
Build an Arduino EEPROM programmer
57:30
Ben Eater
Рет қаралды 1,5 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 3,4 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 25 МЛН
Self-Soldering Circuits!
8:15
Carl Bugeja
Рет қаралды 1,1 МЛН
Arduino on a Proto-Board - Make it permanent!
9:19
Notes and Volts
Рет қаралды 125 М.
Circuit Board Prototyping Tips and Tricks
6:40
0033mer
Рет қаралды 204 М.
【For Beginner】How to start electronics and what item is needed
18:16
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
Bare-Metal MCU #3 - Barebones Microcontroller
11:59
Mitch Davis
Рет қаралды 26 М.
Make your own Arduino on a breadboard
6:25
Kevin McAleer
Рет қаралды 4,7 М.
Digital Electronics: The 2's Complement
37:46
Derek Molloy
Рет қаралды 15 М.
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34