Questions tagged [atmega328]

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.

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Arduino Uno R3 USB is not working

I have a problem with my Arduino Uno board. It's not mounting in my Linux machine, but its power is on and the LED light is glowing. It was working before. After I tested buttons with an 12 V ...
aravindKrishna's user avatar
1 vote
3 answers
1k views

16Hertz Uno R3 Board vs Arduino Uno R3 Board

I bought a 16Hertz Uno R3 Board. When I installed the driver and the Arduino IDE, in the IDE`s menu I saw: Tools -> Board -> Arduino Uno was selected by default which is great, but... ...
IremadzeArchil19910311's user avatar
1 vote
1 answer
335 views

Ethernet Shield on Arduino Mini

I would like to connect my custom-made Arduino with an Ethernet shield but I'm not so sure I can. The problem My board is using the design from the Arduino Mini which lacks the ATmega16U2 which does ...
Meletis Flevarakis's user avatar
2 votes
2 answers
2k views

Difficult between atmega328 & atmega2560 when coding & compiling in a pure c

I have an arduino uno with atmega328p controller. I found the code to deal with some specific uart protocol, named mdb: https://github.com/Bouni/MateDealer/tree/master/arduino But it's compiled just ...
Alex Antonov's user avatar
12 votes
3 answers
10k views

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 ...
Meletis Flevarakis's user avatar
1 vote
1 answer
113 views

RSSI stop sketch on a gboard (atmega)

I have this function in my code and works fine (it returns a valid value, I put this value into a int variable outside function), but when end the function (or continue the code), my sketch stop/die......
Xavi Gómez Canals's user avatar
0 votes
1 answer
228 views

AT command XBee from atmega to disable DIO5 (associated led)

I community! I need put ATcommand to my XBee from my atmega using a "xbee library" and a function that I have found in internet. I think the ATComand is "ATD50" to change the DIO5 to value "0" (...
Xavi Gómez Canals's user avatar
8 votes
2 answers
9k views

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 ...
Vulcan's user avatar
  • 245
4 votes
3 answers
14k views

Stable frequency generation

I'm trying to work out the best way to generate a stable frequency with my Uno R3 I'm using interrupts to generate an approximately 40KHz frequency which drives some ICs/MOSFETs to effectively ...
Ramrod's user avatar
  • 187
2 votes
6 answers
277 views

Should I use an Arduino or not?

I am building an electronic gadget eventually to sell. I think the Atmega IC is used in the arduino and could this be programmed as easily as the arduino? I'm wondering if I can use the chip and buy ...
Eamonn's user avatar
  • 21
3 votes
2 answers
1k views

WORDS in ATmega328 datasheet note

I came across something strange while reading the datasheet for the microcontroller in the Arduino Uno board. It is the (8) note in pg.296-297 of this datasheet: what does WORDS mean in that context?
Nubarke's user avatar
  • 133
0 votes
1 answer
1k views

How do I replace a burnt atmega328 with a new atmega328(bootloaded) in arduino? [duplicate]

I have an arduino UNO with atmega 328 whose microcontroller got burnt. I bought a new atmega328. I have another working arduino with atmega8. I followed the instructions in http://arduino.cc/en/...
Varshith's user avatar
0 votes
2 answers
249 views

How do I replace a burnt atmega328 with a new atmega328(bootloaded) in arduino?

I have an arduino UNO with atmega 328 whose microcontroller got burnt. I bought a new atmega328. I have another working arduino with atmega8. I followed the instructions in http://arduino.cc/en/...
Varshith's user avatar
0 votes
3 answers
2k views

Arduino Uno R3 not recognized by computer, TX and RX not blinking, neither are lit. Is it dead?

I was trying to make my arduino uno r3 to work on my Linux machine (including the IDE), but it wouldn't. At first I thought it was a software problem. Added myself to different groups and did ...
Emil Avramov's user avatar
-1 votes
1 answer
587 views

Can Arduino's open design be "scaled" to 64-bit CPUs?

If Arduino is OSH that simply uses 8-bit Atmel AVR MCU as a design component, then can Arduino somehow be tweaked to work with a 64-bit CPU/MCU? If so, what might this entail?
Zac's user avatar
  • 111
5 votes
6 answers
12k views

Lowest power possible in Arduino

I have googled all around and I know about some tricks to make ATmega328 not being a power hog. I am using Arduino Nano V3.0. However, I didn't find out what is the minimal consumption possible with ...
nemewsys's user avatar
  • 215
1 vote
1 answer
753 views

Can I replace Atmega8 with Atmega328 in my freeduino board?

Can I replace Atmega8 with Atmega328 in my freeduino board? If so, let me know the steps needed.
Varshith's user avatar
1 vote
1 answer
467 views

Power consumption issue. I made project using atmel-328p

I made project using atmel-328p. I want to run it over a year. I am using power_down mode & 5500 mAh li-ion battery still battery discharges in 1 day. I am using standard code as explain on ...
Sarvesh Joshi's user avatar
5 votes
3 answers
2k views

Can I use an ATmega328 alone without anything and what is the max voltage I can power the atmega328 with

Okay 2 questions. If I am to replace the Arduino with an ATmega328 programmed with a standard blink on pin 13, is this configuration correct, do I still need oscillators and whatnot? Second question ...
suckms's user avatar
  • 125
2 votes
2 answers
4k views

Arduino vs Old Computers

How does an arduino microprocessor compare to some of the older computers in RAM, and computational speed? Like how does it compare to the Intel 400 or the original IBM PC. I'm interested in both the ...
HSchmale's user avatar
  • 203
0 votes
2 answers
1k views

Using the ATMega328, from an Arduino UNO in a Standalone configuration, and bootloader - I am really lost

I am really despaired. I have spent a full day to understand this, and it seems that I still don't. I have an Arduino UNO, with an ATMega328, for which I wrote a great piece of code. Later, I have ...
Curnelious's user avatar
2 votes
1 answer
1k views

atmega328p on breadboard using ftdi to upload sketches @8mhz 3.3v

I'm having trouble getting the atmega328p chip to upload sketches using my ftdi. It always comes up with an error saying not in sync. I have an 8Mhz crystal with 22pf capacitors. The weird thing is I ...
Ageis's user avatar
  • 123
2 votes
4 answers
455 views

Atmega168 breaking out of ISR

I wrote a code to handle an ISR triggered by UART input. I'm looking for 2 characters or more. I can handle extra characters and garbage values, but problem arises when I get less than 2 chars, ...
tsf144's user avatar
  • 243
2 votes
0 answers
2k views

Serial.prints ignored

I've been working on a project where I want to transmit data from one arduino to another using an Xbee network and then parse it to update some PWM outputs accordingly (Building a system which ...
openTankist's user avatar
0 votes
2 answers
196 views

Atmega168 interrupt error handling

I'm using an Atmega168 in a project that involve using the ISRs from multiple sources. I have an ISR hooked up to an external button and a timer, to use it as a reset button after a predetermined hold ...
tsf144's user avatar
  • 243
2 votes
2 answers
1k views

Homebrew Arduino using ATMEGA328P, ISP or ICSP?

I plan on creating a homebrew Arduino breakout board using the ATMEGA328P smd version. I'm geeting confused by the wealth of information out there as to whether I should be using ICSP or ISP to ...
Sam W's user avatar
  • 199
3 votes
1 answer
516 views

ctc mode on atmega 328

I'm trying to use CTC mode on Arduino 1 but I have the following problem. I need to generate an interrupt on threshold B and A and I have set the prescaler to 1 since I want to generate interrupt A at ...
lui14's user avatar
  • 31
2 votes
1 answer
2k views

ATMega328P not running sketch in standalone (works in Uno R3 Board though)

I bought an ATMega328P-PU and burned OptiBoot onto it using a second Arduino Uno R3 with great success. I then put the microcontroller back on the (empty) Uno R3 (DIP) Board for programming, ...
SiLeX's user avatar
  • 51
0 votes
1 answer
2k views

Arduino Mega 2560 as ISP for ATTINY2313 / ATMEGA328P

I have posted this on the Arduino forum also, but I give it more chance if posted here also. I've been trying to use my Arduino Mega as an ISP for programming two different ATMEGA328P's and a ...
Ezraneut's user avatar
8 votes
2 answers
2k views

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 ...
tsf144's user avatar
  • 243
1 vote
1 answer
900 views

Arduino Custom Function Problem

I am experiencing problems when I put parts of my code into custom functions and then have Arduino Mega 2560 run it. The code works fine when I put it all in the void loop() function, but when I ...
Frank Hu's user avatar
2 votes
1 answer
3k views

How to free up Flash space by removing the bootloader on UNO?

In order to fit maximum user program into the chip, how to free up Flash space (0.5 kilo bytes for UNO, 2 KB pro Mini, 8KB for ATMega2560) by removing the bootloader on Atmega328 (UNO, Pro Mini, or ...
EEd's user avatar
  • 894
0 votes
1 answer
167 views

Seeeduino V3.0 (Atmega 328P) and Rotary Angle Sensor Mystery Message

I am attempting to do a simple example with the Rotary Angle Sensor. Here is my development environment: Visual Studio 2013 Premium Arduino Debug Tool Board setup (Simple as can be single analog ...
Cubicle.Jockey's user avatar
2 votes
1 answer
9k views

How to modify Arduino boards.txt to support new MCUs

In this post, it was mentioned that to get the Arduino IDE to support an ATmega328 (only the ATmega328P is supported): I should mention the Arduino way of doing this, is to create a new boards....
Andy Tallack's user avatar
2 votes
2 answers
2k views

Arduino UNO USB not recognized

I've just received my Uno today and already I think I may have broken it :( I was able to connect to usb and upload a sketch (the blink). However, I then tried to connect a circuit to do the Hello ...
hagope's user avatar
  • 161
0 votes
1 answer
407 views

Cannot upload program to Arduino Duemilanove w/ Atmega328

This is the error I receive while trying to upload to the Arduino. I have installed FTDI drivers for mac. (http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_2_18.dmg) The board is ...
user avatar
1 vote
2 answers
4k views

Bluetooth module(HC05) works with Arduino Uno but not with breadboard (ATmega328)

I am currently working on a project that requires communication between an android phone(galaxy s4) and an ATmega328 microprocessor. To connect these devices wirelessly I'm using an HC05 bluetooth ...
user3760701's user avatar
-2 votes
1 answer
859 views

How does RXD/TXD request signal look betwen 16u2 and 328p on oscilloscope?

I have a broken Arduino Uno. The man tells that he connected power supply and USB at the same time. I got the new 16u2 (empty) chip. then asked my friend to re-solder it. He was using an air ...
Klasik's user avatar
  • 111
0 votes
3 answers
2k views

Feasability of flashing Arduino UNO r3 with teensy firmware for HID (keyboard) emulation purposes

I've been working on a DIY keyboard project I have all the hardware designed and now its time for the code. For the microcontroller, I'm sort of locked into an Arduino UNO r3 as I already have it ...
fozbstuios's user avatar
3 votes
1 answer
3k views

Reset fuses on atmega328p using Arduino

I bought a few atmega328p chips but unfortunately they came with the Arduino bootloader and they are set to use the external clock. I want to reset their fuses using avrdude so I can use the internal ...
Stuyvenstein's user avatar
2 votes
1 answer
2k views

Why my Arduino Uno R3 doesn't work with a recompiled optiboot with BAUD_RATE=57600

This is a follow on question from How to reduce serial speed on Arduino bootloader (optiboot) and on the IDE? I did manage recompile optiboot bootloader to work at 57600 bps and uploaded it to a ...
Ricardo's user avatar
  • 3,360
8 votes
1 answer
808 views

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 ...
Peter Bloomfield's user avatar
16 votes
4 answers
14k views

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 ...
Pop Flamingo's user avatar
13 votes
3 answers
7k views

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, ...
Ricardo's user avatar
  • 3,360
6 votes
1 answer
794 views

Is my ATmega broken, and would replacing it with another break that one, too?

I was communicating between my computer and my Arduino Uno R3 through Bluetooth using this Bluetooth module. The connector I use has a red wire where it connects to GND, and a black wire where it ...
The Guy with The Hat's user avatar

1
6 7 8 9
10