- Joined
- Oct 4, 2014
- Messages
- 556
- Trophies
- 0
- Location
- Most likely at the arcade
- Website
- www.youtube.com
- XP
- 844
- Country
Hi all!
So, I saw this video showcasing how you can shrink down Arduino projects by just running the code off a standalone ATTiny85 chip. The video describes how to set up the chip and use another Arduino to program it, which I have the parts to do. I was wondering if the same can be done with an ATMega328? I ordered a few off eBay since I needed more I/O pins and storage space for sketches.
My main question is how to run the Arduino code off an ATMega by itself. The reason I ask is that all the tutorials I've seen tell you to use a 16mHz crystal and two small capacitors and stuff to make an Arduino-compatible circuit right on a breadboard. That's not what I want to do. Someone told me I don't need those components, because the ATMega chip has fuses and an internal clock, and I don't need to burn a bootloader, but I just want to make sure. All I need is just the ATMega on the breadboard, capable of running Arduino code, even if it's only at half speed, like this:
As you can see, no components other than the breadboard and ATMega.
EDIT: Or can I just program the ATMega in the Arduino, take it out, and place it on the breadboard? If so how do I power it?
On a side note, how would you power it? 5 volts connected to the +V pin and ground? Or could it handle 9 volts directly?
So, I saw this video showcasing how you can shrink down Arduino projects by just running the code off a standalone ATTiny85 chip. The video describes how to set up the chip and use another Arduino to program it, which I have the parts to do. I was wondering if the same can be done with an ATMega328? I ordered a few off eBay since I needed more I/O pins and storage space for sketches.
My main question is how to run the Arduino code off an ATMega by itself. The reason I ask is that all the tutorials I've seen tell you to use a 16mHz crystal and two small capacitors and stuff to make an Arduino-compatible circuit right on a breadboard. That's not what I want to do. Someone told me I don't need those components, because the ATMega chip has fuses and an internal clock, and I don't need to burn a bootloader, but I just want to make sure. All I need is just the ATMega on the breadboard, capable of running Arduino code, even if it's only at half speed, like this:
EDIT: Or can I just program the ATMega in the Arduino, take it out, and place it on the breadboard? If so how do I power it?
On a side note, how would you power it? 5 volts connected to the +V pin and ground? Or could it handle 9 volts directly?
Last edited by dj505,