The ATMega328 is the chip that is the heart of the Arduino Uno. It is popular also as a chip to use to create your own board. Since it is available in the through hole version, it can be placed on a breadboard easily for circuits.
Questions tagged [atmega328]
509 questions
105
votes
3 answers
Have I bricked my Arduino Uno? Problems with uploading to board
I can't upload sketches to my Arduino Uno.
Have I "bricked" it?
What steps can I take to work out what is wrong?
What can I do to fix it?
Nick Gammon
- 38,901
- 13
- 69
- 125
18
votes
1 answer
How do interrupts work on the Arduino Uno and similar boards?
Please explain how interrupts work on the Arduino Uno and related boards using the ATmega328P processor. Boards such as the:
Uno
Mini
Nano
Pro Mini
Lilypad
In particular please discuss:
What to use interrupts for
How to write an Interrupt Service…
Nick Gammon
- 38,901
- 13
- 69
- 125
16
votes
4 answers
Is my Arduino dead or is it just its processor?
I have a problem with my Arduino. I can't upload any sketches to it (it gives me the error avrdude: verification error; content mismatch), but the LEDs are still blinking. Do you think that the whole Arduino is dead or is it just the chip ?
EDIT : I…
Pop Flamingo
- 335
- 1
- 2
- 8
16
votes
4 answers
Program an ATMega328P and use it without Arduino board
I'd like to use an ATMega328P for my project, I hope to do it without the Arduino board.
I know with the Arduino IDE and an Arduino board I can program the microcontroller. However, would it be possible once I've programmed and debugged the…
George
- 169
- 1
- 1
- 4
13
votes
3 answers
I got a missignatured ATmega328-PU. How can I fix that?
Sometime in the past, I was burning bootloaders on a fresh batch of four ATmega328-PU using the Arduino IDE (notice there's no P after 328 - it's the slightly cheaper non-picopower version of the MCU, not to be confused with the ATmega328P-PU with a…
Ricardo
- 3,390
- 2
- 26
- 55
13
votes
2 answers
Put ATmega328 in very deep sleep and listen to serial?
I have investigated the sleeps options of the ATmega328, and read a few articles about it, and I would like to understand if there are more options.
So I would like to get as low current as possible, so that anything less that 100uA would be good -…
Curnelious
- 1
- 2
- 2
- 11
12
votes
3 answers
ATMega328P-PU and 328P-AU
im planing to make my very own arduino design based on the Arduino PRO mini. I picked this board instead of the UNO mostly because it's way more simpler compared with the UNO since the USB-to-Serial part is missing. As many of you know the MINI uses…
Meletis Flevarakis
- 382
- 1
- 3
- 12
11
votes
2 answers
What is the purpose of the I/O pin capacitor on the AVR microcontroller?
What is the purpose of the capacitor on the I/O pins on the ATmega328 (I imagine it's on other AVR microcontrollers as well)? Is it to reduce noise from other parts of the microcontroller?
lemontwist
- 364
- 4
- 16
9
votes
1 answer
Why connect a diode between the reset pin of Arduino and 555 timer?
I am trying to create a watchdog timer using 555 IC and I am following this.
I do not understand why a 1N4148 diode is connected between the reset pin of Arduino and the output of the 555 timer.
As far as I understand, the reset pin of the Arduino…
bukke hari prasad
- 159
- 1
- 1
- 6
9
votes
2 answers
very lightweight low power microcontroller with memory?
I have build a couple of projects using arduino. For a new project I want to log skin surface temperature vs. time (just perhaps a few times per day) and possibly other easy to obtain info such as voltage.
I need to make everything as small and…
Shara
- 125
- 2
- 10
8
votes
3 answers
What is the rise time of an output pin of atmega328 changing its state?
I've already searched a lot and didn't found the answer. Also, I don't have an o'scope. Anyone can help me?
Pedro Quadros
- 183
- 1
- 7
8
votes
2 answers
What are the implications of running an ATmega328P at 8 MHz and 3.3 V with the Arduino system?
I'm working on a custom arduino that will run at 3.3 V with no regulators or USB chips (for power consumption). I've heard that overclocking the chip at 16 MHz/3.3 V is generally fine, but I'd like to stay within spec anyway.
First: to run at 8…
Vulcan
- 257
- 2
- 7
8
votes
1 answer
Can I program a 3.3v chip on a 5v board?
I bought a Gertboard a while ago, and one of the features it has on-board is an ATMega328 (DIP). However, since the Gertboard is designed for use with the Raspberry Pi, it only operates at 3.3v, so the clock speed is limited to ~12MHz.
Programming…
Peter Bloomfield
- 10,982
- 9
- 48
- 87
8
votes
2 answers
Burning sketch with I2C
Not a pure Arduino question really. I'm actually using a standalone ATmega168. So far I've been using AVR-ISP programmer (working from AVR Studio) to program the chip. After everything is done, the chip will be covered and I will only have access to…
tsf144
- 243
- 2
- 9
8
votes
1 answer
Programming Chinese Arduinos
I have an authentic Arduino UNO, but I didn't want to pay full price for a new one to build semi perminate projects, so I bought a few ATMEGA328P-PU chips off of…
AndyD273
- 183
- 1
- 6