Added: 1 year ago
From: 1324itouch
Views: 6,970
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (51)

Sign In or Sign Up now to post a comment!
  • very good.so now we just program our sketch with arduino (uno for example) to atmega and then use your design to use that programmed chip "standalone". did i understand it right?

  • @piterXdT yup, thats the idea! :)

  • where is the usb output?

  • It would be much help next time to show your schematic and bread boarding together. The right and left stuff is to confusing.

  • How do you hook up the USB, for programming? And where are the out-put pins? Can you make another video?

  • @acerjojo12 i made a new video, i hope you can follow that one better :)

  • loved the vid mate and your right the other video's on yt are a bit unclear

  • ok.... so how do i hook it up to my computer to program it?

  • Crystal vs Resonator Pros and Cons of the two?

  • @mrjtwill resonator has two built in cap, but has much less tolerance which only has an effect if your building a project that is time sensitive or playing sound. hope that helps! :)

  • one question

    How do you connect it to the computer to add the code?

    But your tutorial is Awesome!

  • @cyrusrom Heres how buddy!;

    arduino.cc/en/uploads/Tutorial­/ArduinoUSBSerialSimple.png

  • Excuse me im a beginner, after you put it on the prototype breadboard, do you solder it together?

  • @jaysenstudios no. all the holes in the breadboard are connected in certain groupings underneath the plastic cover in. so looking at the video the vertical lines are connected in colums of four then a gap and then a seperate four. thats why the chip straddles the gap in the breadboard. the horizontal rows for power and ground may be connected the entire length of the board or like mine in groups of five. what the video does not show is that you need a 5v power supply

  • @jaysenstudios type in 7805 arduino breadboard in google. the first result should be from arduion cc. this tells you exactly what to do.

  • how do i load the code to it?

  • @formulaformula1133 You need a TTL serial connection. You can get that either from a Duelmilenove/Uno board by connecting Rx and Tx pins to pins 2 and 3 on the Atmega328 (don't forget to hook up Ground and 5V as well), or another option is using an FTDI cable or breakout board. When connecting the serial header don't forget to swap Rx and Tx.

  • In the video he states that pin 21 goes to GND and Pin 22 & 23 go to Possitive... Is this correct?

    Because in the datasheet it says Pin 22 is GND, and 21 is AREF... It don't make sense.

  • @drbogger just follow the data sheet

  • i could follow everything but i dont get how it works, i could easily make it but whats going on in the atmega328 thing and the 16Mh resonator. I'll look up some more vids but thanks.

  • @kyle0106 You can use either the resonator or a 16MHz crystal. Technically you can go lower (if you don't have 16MHz on hand). Arduino will still work fine, It'll just be slower. PWM functions will also be off as Arduino scripts base their timing on the resonator/crystal clock. Crystals have 2 pins and go between pins 9 and 10. The resonator has 3 pins one of which goes to the ground. No other difference.

  • some people use a few capacitors to smooth the voltages, or something, and on the arduino boards are some of them too..

    is it no problem, to leave these capacitors out of the circuit?

  • @shaolin21 i really would highly recommend them

  • Now how do I connect this to the thing I want to control.

  • Thanks, Helpful.

  • 21 is not needed to go on 5V

    if you gone use analogreference you will have problems

  • didn't you forget the capacitors?

  • @Insektoid i hopefully wi be redoing this video cause it sucks and yeh...i forgot the little capictor lol

  • @1324itouch actually it does (no offense) you should delete it - i guess a lot of ppl would rebuild this without questioning it... would be sad if some atmegas get damaged and i'm sure you did not want this to happen trough your video... the idea is good but pls do it more carefully :)

  • @Insektoid I completely agree with you, i will redo it this Friday and this time an actual video, no pictures lol

  • @Insektoid What capacitors? If you're talking about the ones on the xtal, then it's not necessary since he's using a resonator with built-in capacitors.

    What he actually forgot was the 10k resistor on pin 1 and 5V, and, if he wants the autoreset, a capacitor on pin 1, but that's not really necessary since you can just push the button when programming it.

  • @sanosukke i need the capacitor from power to ground

  • @1324itouch ?

    What capacitor from power to ground? You mean like the filter capacitor?

  • @sanosukke i really don't know why you need it, but without it, the chip most likely WON"T work. Sometimes it wil, but very rarely

  • @1324itouch I still don't get what capacitor you're talking about, I just assembled a breaduino on my breadboard, using just the two capacitors required by the xtal, it worked just fine, and as for the power supply, I used a motorola charger, worked just fine, and programmed it using a level converter for the serial port, no usb adapter.

  • @sanosukke i'm srry, you only need the capacitor when your using a regulator, other wise you don't.

  • @1324itouch Actually, I don't see the need for a capacitor there, since the capacitor you mention is part of the power supply circuit, and since you omitted the power circuit I see no reason to include that capacitor here, as it would only make thing more confusing, imagine you're using a FDTI cable, you don't have to worry about filtering capacitor, since the cable itself provide the power to the atmega.

    Just assemble the power circuit, then the arduino circuit separately and identify each one.

  • @sanosukke well idk, because when i made my 3x3x3 led cube i needed a cap when i used power from a regulator. When i used the power source through the actual arduino board, i didn't need the cap, so i really don't know lol

  • @1324itouch That's because the power from the board comes from the board regulator, which already have the capacitors, the regulator needs the capacitors, but if you're using a regulated power source, there's no need for the filtering cap, since this cap belongs the the power circuit.

  • @sanosukke i didn't know that the xtal has built-in capacitors - sorry for that

  • @Insektoid Resonators do, xtals don't, if the component has three legs, then it's an resonator with built-in capacitors, otherwise, it's just a crystal or simple resonator, and in this case you need the capacitors, I don't know why though.

  • Could you do a video on how to program it

  • @matchstickpro Sure! but it might not monday until i get some time

  • so where do we connect to the usb ?

  • @francisroan well like i said before you need need an arduino board to program, ( you can't just use a usb cord ). just take the chip and run jumper wires from the Tx on the board to the Tx on the chip. Do the same for the Rx. Then give the chip power. If you want to, you can also run a jumper for the DTR pin. Now just plug the usb into the computot and the other end to the board and start programing.

  • Comment removed

  • @santiks I do think you can program with the Tx and Rx pins, but you would also need to connect to crystal pins to it sa well

    Hope this helps :)

  • @1324itouch connect the crystal to Tx and Rx? like how?

    you tried it?

  • @santiks didn't try it because i'm pretty sure it'll work. I try tonight and send a picture in a link a little later.

  • how do you program it

  • @AVICACA you need a arduino duemilanove

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more