CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 17:17:58 GMT
content-type: text/html; charset=utf-8
content-encoding: gzip
cf-ray: 965dcb15dee6c1cc-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=6c20a309-33a9-4a32-80fc-0322e67c1af5; expires=Mon, 27 Jul 2026 17:17:58 GMT; domain=.stackexchange.com; path=/; secure; httponly
set-cookie: prov=6c20a309-33a9-4a32-80fc-0322e67c1af5; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=msPrM5C6umuFVvC9fEkWlzfgg05En6zZ03vkmcEQmqc-1753636678-1.0.1.1-GGPk9jB545WEXXGajdNrxU2rX3MDGoajVR6ApvLevteM7dMlV.I1XTxGV40U3W8pQULDg3kLFW55SeKsuO2LjgIdmc_VzZgBjFqkrQYZmKA; path=/; expires=Sun, 27-Jul-25 17:47:58 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=tMYn8N8vbqKiYp3GMFyT6Nmr3DUvEr5nkNdHol2wWfk-1753636678556-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: cfa7eaeb-3e07-4b15-bb48-991817fc61a7
x-worker-origin-response-time: 485000000
x-dns-prefetch-control: off
server: cloudflare
Newest 'atmega328' Questions - Arduino Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions 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.
507 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
57
views
Generate all frequencies between 5 and 8 kHz in steps of 1Hz
Is it possible generate all frequencies between 5000 and 8000Hz, 1Hz in between with an ATmega328?
When I create a c-program outside the Arduino IDE to calculate the frequencies with the formula ...
-1
votes
1
answer
70
views
Reasons for an ATmega328P Nano SuperMini USB-C board not being recognized by a PC/Mac? [closed]
I recently got two of these ATmega328P Nano SuperMini USB-C boards but none of them is being recognized by my PC or Mac.
I'm using the old bootloader setting in the Arduino IDE 2.3.6, CH340 drivers ...
1
vote
2
answers
82
views
Unwanted toggle on OC1A
The code below for the ATmega328P (Arduino Pro Mini 5V @ 16 MHz) produces a periodic sequence on timer1 pins OC1A and OC1B:
#include "Arduino.h"
// For Arduino Pro Mini 5V @ 16 MHz
// ...
1
vote
0
answers
69
views
FS1000A transmitter and MX-RM-5V receiver not working
I'm new to Arduino development. I use Arduino Nano v3 ATmega328P (Old Bootloader). I assembled 2 small boards, one of which is a transmitter with three buttons, and the second is a receiver with three ...
1
vote
2
answers
75
views
Translating PIC PWM settings to ATMega328P
I'm trying to get some C code that runs on a PIC18F, working on an Arduino '328P. It uses an 8-bit timer, PWM, and a LUT to generate sine waves. I hope to get it going using Timer2 on a Nano.
The PIC ...
-1
votes
1
answer
112
views
Unable to upload code Atmega328PB-MU
I am unable to upload any code to my Atmega328PB-MU microcontroller. However I could upload the bootloader just fine. Here is my custom board to upload the bootloader. As you can see I use a adapter ...
7
votes
2
answers
3k
views
Finite loop runs infinitely
To gain better understanding of both Rust and Arduino (Uno), I'm trying to write direct hardware code for Arduino in Rust. Here's a very simple LED blink example, that I've tried to write.
I've made ...
4
votes
1
answer
277
views
ATmega328PB Sleep Mode Current Consumption
I am using an ATmega328PB to run an RF module. When testing sleep mode current consumption, I noticed it was much higher than I expected. I took off all unnecessary components. The only things in the ...
2
votes
1
answer
267
views
Hardware serial baudrate inconsistent between Arduino nano and standalone 328P
I have a 328P (328P-AUR to be specific, [link]), and in the schematic below is how I've implemented it to a PCB:
Uploading a program works fine, but I hink there is an issue with the clock source, ...
3
votes
1
answer
81
views
Is it possible to use an already working Barebones (328P) via FTDI to load a bootloader onto another 328P?
When testing / developing a proto type using a barebones board with 328P, I usually add a Serial to TTL adapter, which then allows me to modify and upload code as well as being able to the use Serial ...
2
votes
1
answer
599
views
Emulating Arduino Uno with QEMU: interrupts do not work
So I wrote this code for Arduino Uno:
// file qemu.ino
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(millis());
}
And then compiled and uploaded it to the real ...
3
votes
1
answer
338
views
I can't upload my sketch to Arduino Uno using avrdude
I have already spent a couple of days by trying to upload a sketch onto my Arduino Uno R3 board and now it's time to give up, so I'm trying to ask some more experienced developers.
My hardware and ...
-2
votes
2
answers
67
views
Physically passing through a pin to access another [closed]
I would like to know about physically passing through a pin in order to get to another. For instance, if I have a sensor on one side of an ATMEGA328P or ESP8266 (Wemos D1 Mini) yet need to connect to ...
1
vote
1
answer
210
views
Is it safe to leave an ATmega328PB's RX and TX pins unconnected?
I am using an ATmega328PB and was looking at Arduino's and others' schematics that use it. All schematics I've found use a serial chip to communicate between USB and TX & RX. However, I do not ...
0
votes
1
answer
239
views
ATmega328 drop-in replacement with more flash memory
Is there a ATmega328 drop-in replacement with more flash memory?
Needs to be 28 pin DIL to fit the socket.
Alternatively, is there a board that has the exact dimensions and pins as an Arduino UNO, but ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
arduino-uno × 160
bootloader × 53
arduino-nano × 34
interrupt × 34
timers × 33
avr × 33
serial × 32
arduino-ide × 31
avrdude × 27
programming × 23
pwm × 17
power × 17
uploading × 16
i2c × 15
isp × 15
oscillator-clock × 14
arduino-pro-mini × 14
spi × 12
uart × 12
sleep × 12
pins × 11
ftdi × 10
avr-gcc × 10
arduino-mega × 9
eeprom × 9
more related tags
Hot Network Questions
- Why doesn't the Windows C compiler reuse incoming shadow space in noreturn functions?
- Not your ordinary affix riddle
- Can Spi flash memory's contents be corrupted from heat?
- Early Sailing days in September 1066... Could Harold defeat William at Hastings, if it happened before Stamford Bridge?
- Does SZNUD3160 really eliminate the need for diode?
- Is this a violation of open source?
- In Jurassic Park, is the lysine dependency intentionally fake (in-universe)?
- Will an error in two of my published papers affect my PhD thesis evaluation?
- How should one pronounce plural French-derived German words?
- Not being introduced to the team – should I ask for it?
- Civilian airplanes with inside fuselage jet engines
- “Unclear step in a math book for entertainment”
- What is the weight of holy water?
- How to change opamp variable resistor to fixed resistor?
- In Fantastic Four 2025 shouldn't this thing have taken years?
- How to put commutative symbol in a commutative diagram?
- When was thermal expansion in solids first described?
- Still learning electronics, can you explain this voltage protector failure?
- Rec Letter from Professor (who I haven't done research with) or from Work Supervisor
- How to extend an MDF shelf?
- Does passive DisplayPort-HDMI adapter work with 4K 60Hz, if host supports DP 1.2 and HDMI 1.4?
- How can my dwarves keep humans from reverse engineering their technology?
- How does one justify the rationality of buying insurance?
- What is the best interpretation of Psalm 6:4? Does "Turn" or "Return" capture the intended meaning?