I have bought one Arduino Mini Pro who has Atmega328 5V and one CP2102 Module so i can connect and program the Arduino Mini Pro.
I have also bougth ATmega328P-PU processor and i asking you if i can create a arduino, i mean brun the the program + bootloader to the ATmega328P-PU processor with the ISP from Arduino Mini Pro?
Like this:
But im worried that will not working for me. Beacuse the manual said "Note that these techniques only work with the Arduino Duemilanove w/ an ATmega328, not the Arduino Uno (or older Arduino boards w/ an ATmega168)."
It can be done. You need to load the "Arduino as ISP" sketch onto the mini then disconnect the reset pin on the connector where you connect the CP2102 programmer.
persson121:
I'm worried that will not working for me. Because the manual said "Note that these techniques only work with the Arduino Duemilanove w/ an ATmega328, not the Arduino Uno (or older Arduino boards w/ an ATmega168)."
It should basically not be possible nowadays to buy a Uno with the lesser chip, all models now have the ATmega328.
So you're telling me that i can use the Arduino UNO to program the ATmega8/168/328 processor just by prelaceing the ordinary processor from the UNO with the e.g ATmega8?
fungus:
The way I read it, he hasn't got an Uno, he's trying to make a standalone.
Well, he said he had a Pro Mini and a USB to TTL module. I hope he has been practicing with them and figured out the auto-reset to download situation, depending on which USB to TTL module he has obtained - some are designed properly to do this and some require modification.
Point is that combination equates to a Uno and that as it already uses a 328, there is no problem implementing the "Arduino as ISP" sketch anyway, nor would there be if he was using any recently sold Uno. He was just a little unsure about the meaning of that warning.
fungus:
My advice is not to bother unless it's a learning thing. You can get Arduino Pro Minis on eBay for under $4...
persson121:
So you're telling me that i can use the Arduino UNO to program the ATmega8/168/328 processor just by replacing the ordinary processor from the UNO with the e.g ATmega8?
Umm, no.
You do not need a Uno if you have a Mini Pro and the CP2102 module. Of course you cannot exchange the processor on the Pro Mini anyway as it is SMD. What you can do is to use the Pro Mini - exactly as you would a Uno with the corresponding connections - to program an ATmega328 or arguably, the other versions by putting them in a separate breadboard (with a crystal and its capacitors) as described in Nick's article. You can use another Uno as the "breadboard", but just a breadboard and the crystal etc. will do.
persson121:
Then i can use the ATmega8 like this?:
When it is programmed, you can use it in the usual fashion.
Must ask: Have you been practicing sketches yet with the Pro Mini and the CP2102 module?
persson121:
I also have a UNO rev 3 and 3 piece of ATmega8 processors.
Maybe those ATmega8 chips aren't as valuable as you think they are. The amount of work needed to use them is quite a lot compared to the price of a new Pro Mini.
If you want to do it as a learning exercise then use the Uno to program them. It's probably easier than using the Pro Mini.
persson121:
I have not used the Pro Mini and the PC2102 yet.
I think i will follow this tutorial. I hope it works!
I have also bought some ATmega328P-PU today.
I have some questions:
After i have brun the bootloader on the ATmega328 and place the ATmega328 on a breadboard. Do i still need to use the 16 mhz crystall, 10 kOhm reistor and the 22 pF capacitors to run the ATmega328 stand alone? Or can i just follow the pin map and use the ATmega328 without the 16 mhz crystall, 10 kOhm reistor and the 22 pF capacitors?
Can i still use the ATmega8 to burn a bootloader on from the Arduino UNO? Or is it only ATmega328 beacuse Arduino UNO rev 3 uses the ATmega328 processor?
If it's possible to burn a bootloader to the ATmega8 from the Arduino UNO Rev 3. Is it on the same way then as burning a bootloader to the ATmega328?
I assume that ATmega328P-PC is a newer version of ATmega328-PU, but still works to brun a bootloader on it with the same tutoral above?