Questions tagged [atmega]
ATmega is a family in the AVR series of Atmel microcontrollers. It is the main microcontroller of the Arduino prototyping platform. Please specify the specific part number in your question.
1,309 questions
1 vote
1 answer
184 views
AC/DC converter burns L7805 regulator, on lab supply it works fine
Controller Myself and a friend are building a custom LED-strip Controller based on AtMega for a small customer. We have designed the boards and have had them produced by JLCPCB. Under laboratory ...
2 votes
1 answer
70 views
AVRISP mkII does not frees SPI after programming
I'm using a ATMega2560, and a FT812 Graphical LCD. Before my upgrade, I'm used USBASP and worked well. For some reason, I bought a AVRISP mkII. But I got a problem, the programmer does not frees the ...
1 vote
1 answer
137 views
Rotary Encoder Code Double Counting
I have successfully make my C code on Atmega328 to read my 2 rotary encoders. (More details here) I am having an issue with the encoder always incrementing by 2 sometimes 4. I'm not sure where the ...
4 votes
2 answers
105 views
Is it possible for an AVR8X microcontroller (for example the ATmega3208) to measure its own supply voltage without using an IO pin?
In earlier models, for example, the ATmega328, it was relatively simple to measure our own supply voltage: set the voltage reference of the ADC to external VCC, set the multiplexer channel to the ...
0 votes
0 answers
57 views
Decoding of 1-wire communication with the boiler controller
I need support in decoding the communication of the boiler controller. I set as a goal to extend a simple controller with my own design. Unfortunately, I have fallen on a rather simple issue and have ...
1 vote
4 answers
234 views
Atmega328p stops mid instruction when in interrupt
I want to make a basic temperature/humidity/CO2 controller with a SDC41 sensor and i want to use an INT0 interrupt to switch from normal controller mode to menu mode to change set values. When i press ...
0 votes
1 answer
100 views
RGB LED audio meter
I'm planning to build an audio meter using ATmega328 chip and 2 RGB LEDs for both stereo channels. The color of an LED will be dependent on the level of the signal flowing to chips ADC. I'm also ...
0 votes
2 answers
150 views
Replace the Atmega16U2 on the ArduinoMega2560 with Arduino ISP programmer?
I'm working on a custom ArduinoMega2560 and I was wondering if I could replace the 16U2 with the Arduino ISP https://docs.arduino.cc/retired/boards/arduino-isp/ (it's cheaper and simpler). Does this ...