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?
@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! :)
@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
@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.
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.
@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 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.
@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.
@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.
@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.
@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.
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 1 week ago
@piterXdT yup, thats the idea! :)
1324itouch 1 week ago
where is the usb output?
CoffinSupply 4 weeks ago
It would be much help next time to show your schematic and bread boarding together. The right and left stuff is to confusing.
abpccpba 1 month ago
How do you hook up the USB, for programming? And where are the out-put pins? Can you make another video?
acerjojo12 3 months ago
@acerjojo12 i made a new video, i hope you can follow that one better :)
1324itouch 1 week ago
loved the vid mate and your right the other video's on yt are a bit unclear
riffrafftracey 3 months ago
ok.... so how do i hook it up to my computer to program it?
legoclockfreak710 3 months ago
Crystal vs Resonator Pros and Cons of the two?
mrjtwill 3 months ago
@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! :)
1324itouch 1 week ago
one question
How do you connect it to the computer to add the code?
But your tutorial is Awesome!
cyrusrom 5 months ago
@cyrusrom Heres how buddy!;
arduino.cc/en/uploads/Tutorial/ArduinoUSBSerialSimple.png
BoltAndPennyFan 3 months ago
Excuse me im a beginner, after you put it on the prototype breadboard, do you solder it together?
jaysenstudios 6 months ago
@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
intoxicologist 6 months ago
@jaysenstudios type in 7805 arduino breadboard in google. the first result should be from arduion cc. this tells you exactly what to do.
intoxicologist 6 months ago
how do i load the code to it?
formulaformula1133 7 months ago
@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.
bestjunky 6 months ago
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 7 months ago
@drbogger just follow the data sheet
1324itouch 7 months ago
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 7 months ago
@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.
bestjunky 6 months ago
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 8 months ago
@shaolin21 i really would highly recommend them
1324itouch 8 months ago
Now how do I connect this to the thing I want to control.
Kajidimeh92 9 months ago
Thanks, Helpful.
Kajidimeh92 9 months ago
21 is not needed to go on 5V
if you gone use analogreference you will have problems
herctrap 10 months ago
didn't you forget the capacitors?
Insektoid 10 months ago
@Insektoid i hopefully wi be redoing this video cause it sucks and yeh...i forgot the little capictor lol
1324itouch 10 months ago
@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 10 months ago
@Insektoid I completely agree with you, i will redo it this Friday and this time an actual video, no pictures lol
1324itouch 10 months ago
@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 10 months ago
@sanosukke i need the capacitor from power to ground
1324itouch 10 months ago
@1324itouch ?
What capacitor from power to ground? You mean like the filter capacitor?
sanosukke 10 months ago
@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 10 months ago
@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 10 months ago
@sanosukke i'm srry, you only need the capacitor when your using a regulator, other wise you don't.
1324itouch 10 months ago
@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 10 months ago
@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 10 months ago
@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 10 months ago
@sanosukke i didn't know that the xtal has built-in capacitors - sorry for that
Insektoid 9 months ago
@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.
sanosukke 9 months ago
Could you do a video on how to program it
matchstickpro 1 year ago
@matchstickpro Sure! but it might not monday until i get some time
1324itouch 1 year ago
so where do we connect to the usb ?
francisroan 1 year ago
@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.
1324itouch 1 year ago
Comment removed
santiks 1 year ago
@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 1 year ago
@1324itouch connect the crystal to Tx and Rx? like how?
you tried it?
santiks 1 year ago
@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.
1324itouch 1 year ago
how do you program it
AVICACA 1 year ago
@AVICACA you need a arduino duemilanove
1324itouch 1 year ago