Це відео не доступне.
Перепрошуємо.

Arduino: Arduino on a Breadboard

Поділитися
Вставка
  • Опубліковано 14 сер 2024

КОМЕНТАРІ • 195

  • @phazeman2022
    @phazeman2022 8 років тому +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.

  • @bobyoung7992
    @bobyoung7992 10 років тому

    SUPER. Your opaque overlays of schematics are SUPER tutorial tools. thanks. Pete

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

  • @SynS7ven
    @SynS7ven 11 років тому +1

    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

  • @gregoriopaderes3396
    @gregoriopaderes3396 3 роки тому

    Thank you, Thank you so much now I found the right programmer in a breadboard you are genius

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

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

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

  • @Omar11497
    @Omar11497 8 років тому +1

    Thanks a lot ... I have been looking for this useful video for too long! Great.

  • @emberleona9278
    @emberleona9278 6 років тому

    Thanks for the debriefing about crystals and 3 pin resonators with capacitors 5:25

  • @jemhem
    @jemhem 11 років тому +1

    Thank you for such a great tutorial. You make it so easy to understand.

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

  • @ZacharySJohnston
    @ZacharySJohnston 10 років тому +3

    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! :)

  • @StupidIdiot12345
    @StupidIdiot12345 12 років тому +1

    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?

  • @0mn1potence
    @0mn1potence 10 років тому +1

    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

  • @N7TFP
    @N7TFP 9 років тому +5

    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 років тому +1

      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 6 років тому +2

      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 5 років тому +1

      @@neilbarnett3046 Yup.

  • @Inquire98
    @Inquire98 4 роки тому +1

    "Thank GOD", and thank you very much for your support and time 😉 I thought your presentations was REALLY Really really good 😉

    • @danyalahmad4871
      @danyalahmad4871 3 роки тому

      Crystal Foot-Print
      www.mediafire.com/file/dyx7o3xcr13a1d1/16MHz_Crystal_Oscillator.PcbLib/file

  • @jedrzejwysocki5584
    @jedrzejwysocki5584 9 років тому

    This is probably the best video on the internet. Like >ever

  • @nileshkparmar
    @nileshkparmar 7 років тому +1

    Wonderful. Thanks so much. Very neatly explained.

  • @SynS7ven
    @SynS7ven 11 років тому +1

    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.

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

  • @WillOlson11
    @WillOlson11 9 років тому +1

    this was a incredibly helpful video, thank you!

  • @padcom
    @padcom 9 років тому +3

    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 5 років тому

      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.

  • @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?

  • @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?

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

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

  • @pangpengmaster
    @pangpengmaster 9 років тому +1

    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 років тому +1

      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.

  • @DerekMolloyatDCU
    @DerekMolloyatDCU  11 років тому

    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.

  • @johnricci5615
    @johnricci5615 4 роки тому

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

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

  • @TeacherNickoy
    @TeacherNickoy 10 років тому

    Thank you. It's very informative. I would try this one for sure on the near future.

  • @Madtask
    @Madtask 7 років тому +3

    How does the chip know whether a 16MHz or 20MHz crystal is attached in order to count to 1s?

    • @CineSoar
      @CineSoar 7 років тому +1

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

  • @sskimbox
    @sskimbox 12 років тому

    Wow... Amazing teaching skill. So easy. Crystal clear... Thanks a lot.

  • @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!!!

  • @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?

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

  • @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!

  • @DerekMolloyatDCU
    @DerekMolloyatDCU  11 років тому

    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.

  • @NaifAlqahtani
    @NaifAlqahtani 9 років тому +1

    What if I have an ic on the arduino while I program the breadboard
    Will that be dangerous

  • @meethead
    @meethead 11 років тому

    Great tutorial, thank you!
    (one small request might be to list the necessary parts in your description :))

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

  • @barssamierden5798
    @barssamierden5798 7 років тому +1

    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

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

  • @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?

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

  • @chrispretorius85
    @chrispretorius85 10 років тому

    Brilliant Video!! Thanks Derek

  • @Polite_Cat
    @Polite_Cat 9 років тому

    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!

  • @aesopcarl
    @aesopcarl 10 років тому

    Very good video - thanks!

  • @AdrianDucao
    @AdrianDucao 7 років тому +1

    The thing is how can you program this DIY Arduino without using the existing ATmega328 chip from Arduino Uno?

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

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

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

  • @hamzamumtaz2619
    @hamzamumtaz2619 9 років тому

    is it possible to hook up a usb istead of programing it through the arduino at 11.50

  • @prashantmadan2106
    @prashantmadan2106 7 років тому

    How to burn bootloader in atmega8 from arduino uno but every time found an error "efuse " memory is not define for the part atmega8.

  • @RajendraVermaa
    @RajendraVermaa 6 років тому

    Thanks. Very lucidly explained.

  • @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 :)

  • @mrkiky
    @mrkiky 10 років тому +3

    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 років тому +1

      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.

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

  • @nandanr3082
    @nandanr3082 5 років тому

    Wonderful explanation!

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

  • @kevinrhug
    @kevinrhug 10 років тому +2

    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?

  • @ChristopherGaul
    @ChristopherGaul 9 років тому +3

    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 )

  • @sergiorojas5357
    @sergiorojas5357 10 років тому

    Otima Aula, Parabens, and thank you!!!

  • @MedAmine21
    @MedAmine21 9 років тому

    very nice video !
    i love to see how to build a usb to serial for arduino

  • @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 років тому +1

      It says connect RESET to pin one. I hope that helps!

  • @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 !

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

  • @dasten123
    @dasten123 11 років тому +1

    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.

  • @freon500
    @freon500 11 років тому

    Excellent presentation! Thank you very much.

  • @stlgolfergaming
    @stlgolfergaming 8 років тому +1

    very professional! :)

  • @RealationGames
    @RealationGames 11 років тому

    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.

  • @abdullahsaad8825
    @abdullahsaad8825 7 років тому

    extremely good and helpful , thank you sir

  • @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?

  • @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??

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

  • @INDIAN-kq6yo
    @INDIAN-kq6yo 8 років тому

    Awesome!.Thanks Derek.

  • @erick28alfaro
    @erick28alfaro 5 років тому

    i burn my arduino board doing connection when the board was ON. RIP ATMEL328 burn and the ch340 chip too, 5v regulator, nothing to do,

  • @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)

  • @jasdall
    @jasdall 13 років тому

    Nice tutorial. Very useful & helpfull tutorial. Keep it up.

  • @akshayk6690
    @akshayk6690 8 років тому

    iam getting these errors when iam trying to program my ATmega328p using breadboard and arduino.Pls help?
    Sketch uses 1,224 bytes (3%) of program storage space. Maximum is 32,256 bytes.
    Global variables use 10 bytes (0%) of dynamic memory, leaving 2,038 bytes for local variables. Maximum is 2,048 bytes.
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x75
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x75

  • @slmbkdk
    @slmbkdk 9 років тому

    may i know the model of your PTC component you are using? thank you.

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

  • @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?

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

  • @shivarajm273
    @shivarajm273 5 років тому

    How did u upload a sketch? Can we do this for mega 2560 board??

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

  • @adityakumarraj827
    @adityakumarraj827 3 роки тому

    No 22pf availavle what is the solution??

  • @ranadeepsingh
    @ranadeepsingh 8 років тому

    nice video and good quality

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

  • @e7sasjded
    @e7sasjded 11 років тому

    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 .

  • @ajanthapj6644
    @ajanthapj6644 9 років тому

    Good...great tutorial. Thank you.....

  • @doodh_jalebi
    @doodh_jalebi 12 років тому

    The green LED on the power supply looked much better than the blue one...;)

  • @e7sasjded
    @e7sasjded 11 років тому

    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

  • @nadezhdadimitrova4042
    @nadezhdadimitrova4042 8 років тому

    Is there a way for programming the new arduino, without the use of the original one?

  • @Avionics1958
    @Avionics1958 11 років тому

    Very useful info, thanks!

  • @bassamkadhum1617
    @bassamkadhum1617 8 років тому

    شكرا جزيلا شرح جيد جدا

  • @boogis
    @boogis 10 років тому +3

    Very Nice indeed!

  • @samimsekh
    @samimsekh 5 років тому

    Thanks for nice video.......