ATMega is a family in the AVR series of Atmel microcontrollers. This is the main microcontroller of the Arduino prototyping platform. Please Specify the specific part number in your question.

learn more… | top users | synonyms (3)

0
votes
0answers
19 views

Is my ATMega328 CH340G Dead

I have an ATMega328 (Arduino Nano copy) with a CH340G chip on board. I have been coding it using Sketch and it has been working fin. Today during an upload something happened and my Mac switched ...
1
vote
1answer
170 views

What is the input current of the 74HC595?

I need to calculate the power consumption of my circuit, but I can't find any information about the input current of the 74HC595. I drive the 74HC595 with the atmega8 on 5v, but what is the input ...
0
votes
1answer
54 views

Is there a thermal sensor technology that can measure an object heat at a distance of 10 meters for Arduino or atmega micro [closed]

I am looking for a thermal sensor with a distance of 10 meters . In my plan , I would like to recognize objects based on the heat. for example car.
3
votes
1answer
50 views

Hitachi HD44780 LCD works exactly 50% of the time

My Hitachi LCD works 50% of the time. Is it a problem is a deboucing reset button issue on the AVR? Why is this happening? Here's a video of what is happening. This does not happen if I write on the ...
0
votes
2answers
36 views

How to detect input voltage change on specific pin of atmega32? DC jack sensing

I am trying to make an LCD circuit that, eventually, will control an amplifier and display data to the user through the LCD. One of the features I want to include is the ability to show if the device ...
1
vote
2answers
61 views

How to control op amp gain with atmega 32 MCU?

I am attempting to control the gain of an amplifier circuit I am building programmatically. I am using the atmega 32 MCU to control an LCD screen and take input from some buttons. Basically, I would ...
0
votes
1answer
48 views

Power ATMEL ATMEGA328P directly from USB

im wondering if it is Ok to power an ATMEGA328P directly from an USB-Poweroutlet i.e. an Apple-USB-Charger. And I mean directy: VCC to Pin 7+20 GND to Pin 8+22 Peripherals should be powered from this ...
0
votes
0answers
35 views

Atmega32 LCD program not working

i have recently been into atmega world after i heard it is much better than pic and it is my second tutorial about writing to LCD i wrote this program in atmel studio but it doesnt work i double ...
1
vote
1answer
40 views

Atmega328 fast PWM (mode 15) on timer 1 not working

I cannot get PWM to work using mode 15 (a fast PWM) of timer 1. It's always giving me a high value of around 4.5V on PORTB2. ...
0
votes
1answer
70 views

real time online push button based counting system

I am doing this project: I have 4 inputs. These are push buttons, connected to a microcontroller. Each time a push button is pressed, say for example pushbutton_1 is pressed, the press of a switch ...
1
vote
1answer
62 views

Attempting to use ATMEGA on its own

Short Version: I've wired up an ATMEGA328 chip standalone, after programming with arduino. By itself, the chip is not functioning properly, but when the arduino (with exact same chip) is wired in, it ...
0
votes
0answers
14 views

Should I use an arduino or not [migrated]

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? Im thinking if I can use the chip I can buy ...
0
votes
1answer
71 views

Powering board and charging coin cell at the same time

Here is what I have: 2035 coin cell battery ATmega328 I want to have an ability to plug micro/mini usb cord and power circuit from usb and charge battery. Circuit has extremely low power ...
1
vote
2answers
64 views

Use or remove reset capacitor?

I am currently connecting an AVR ATXmega 16A4U in my circuit. According to AVR (http://www.atmel.com/Images/doc8278.pdf, p6) the external reset circuit should look like simulate this circuit ...
1
vote
0answers
49 views

Can't display on LCD with Atmega 328

I tried to display hello world on a 20x4 LCD using Atmega328. But I failed to display any character on the screen. I'm not sure where the problem is, either the initialization or the timing order. I ...
0
votes
0answers
51 views

One FTDI on Three Atmega [migrated]

I'm doing a schematic for an arduino project-based and I can not proceed. I'm facing a problem which I have no idea how can I solve it so that's the reason I'm writing back to you. The thing is: I ...
0
votes
0answers
54 views

ATmega328p hc-06 writing correctly but reading gibrish

Last week i have been strugling with getting the hc-06 bluetooth module working on my ATmega328p. Whatever the ATmega sends to the bluetooth module comes correctly on my phone. But everything i write ...
1
vote
1answer
68 views

Does both ground pins on ATMEGA are internally connected? [duplicate]

I think the title is self-explanatory but should I make the connection on PCB or they are already connected? If so, should I still connect them externally? Why? I'm working on ATMEGA328p-pu if it ...
0
votes
0answers
65 views

How do I write a debugger for Arduino? [migrated]

I want to write my own debugger. I've found Visual Micro plugin for Visual Studio provides Arduino Debug. So, does anyone have ideas how it works? I just desire make the same plugin in Eclipse IDE. ...
1
vote
1answer
71 views

ATmega162 fuses to select external clock 12Mhz?

Could anyone tell me how I could change the fuse bit, so that my ATmega162 uses 12 MHz external crystal. Once, I made the changes in the AVR fuses wrong the AVR went dead. That is why I need ...
0
votes
1answer
67 views

Help understand a simple C code for an atmega16 project [closed]

I just got started with AVR , and I am building a Lan tester for a project My hardware part is done, basically for the send pins I used port A , from A0 to A7 and for the Receiver port C when the ...
0
votes
0answers
33 views

RFID interfacing with atmega162 problem

I have interfaced RFID and atmega162 as in picture , but I am getting garbage with blank spaces, hypens on lcd , please see my code and tell me whats could be the problem, Hoping for your help. ...
0
votes
0answers
19 views

RFId interfacing with atmega162

I am new to programming, I have created a schematic of my project I am not sure it would work or not. I have RFID 125khz - Model no RFID6300. Do this module require MAX232 to be used in between ...
0
votes
1answer
98 views

Insufficient ground supply on my circuit? Ground capacitive foil

I'm playing with a wireless sensor device (with atmega, xbee, and Capacitive sensor (simple foil)) that works fine with the lab power supply but as soon as I try it with AA batteries stops working. ...
0
votes
1answer
24 views

Frequency of the CTC mode in the atmega328

I am trying to understand the expression for the waveform frequency of the CTC mode (p. 99 of the datasheet). Assuming that the prescaler is 1 and that \$OCR0A\$ is a constant value, in ...
0
votes
1answer
35 views

Buzzer not working with delay avr atmega162

Hi I have got a problem that will be simple to you guys but i am newbie so its difficult for me to get things done correctly, I Have buzzer interfaced with PinC0 of atmega162 , with crystal 12MHz ...
0
votes
0answers
310 views

Turn Nano with CH340G(16 pin) chip into a USB to Serial converter (TX not working)

I am trying to convert a CH340G Bases Arduino Nano into a serial converter with 50% luck. It is able to receive data on the serial side but the USB to to serial bit is not sending data out. (Validated ...
2
votes
1answer
59 views

Help for Changing the ATMega328's clock source to External Clock

I want to change the fuse bits of the ATMega328 to operate with external clock (function/signal generator) instead of the crystal. The clock speed will be 8MHz. I have been trying for months and all ...
0
votes
3answers
72 views

LCD not working!

I am using a PCI1602F-B from Powertip as an LCD and an ATmega8 to communicate with it. Connection: -PORT D of ATmega8 with data-bus of LCD -PORT B0 of ATmega8 with Rs pin -PORT B1 of ATmega8 ...
0
votes
1answer
54 views

Atmega ISP programming headers - muxing suggestions

I'm currently working on a project that involves multiple Atmega devices. I'm planning to leave ISP headers on the board, but I don't want to leave 1 set of ISP headers for each chip (I'll have 4-5 of ...
0
votes
1answer
73 views

Will MCP23017-E/SP be compatible with an ATtiny85? ATmega328P?

I mainly want to also be able to use the same I/O expanders with ATTiny85 projects since those chips have limited pins. I will be doing the main prototyping on an ...
0
votes
0answers
40 views

radxa serial vs atmega serial communication

I want to connect radxa to ATMega8, but I have the following problem: I wrote a simple program for avr to send some characters on serial port. when I connect Rx,Tx to MAX232 and look at hyperterminal, ...
4
votes
4answers
1k views

Why do microcontrollers have so many functionalities at once?

Being fairly new in the field of electronics, and being a computer scientist, it strikes me as a bit odd that almost every single microcontroller that I've come across thus far is fitted with: ...
1
vote
2answers
66 views

Can't use PROGMEM attribute with non - const variables

In an ATmega32, I intend to use the program memory for writing too but I am getting a ...
0
votes
1answer
69 views

Can I run an ATmega on 3.3V with an external 16 MHz crystal? [duplicate]

I have been told that is overclocking or it just will not work, but I want to be sure. And are there any real differences that would effect from this? Any tips and tricks will help, thanks!
0
votes
2answers
141 views

How to connect atmega32u4 to USB

I want to use a USB connection with the ATmega32u4, but there are 6 pins in the datasheet (http://www.atmel.com/Images/doc7766.pdf) associated with the USB. I don't know which ones connect to the ...
0
votes
1answer
74 views

Atmega328 to SD card issues [duplicate]

I am working on a board that includes an Atmega328 which needs to read data from an SD card. I am having problems. Here is a diagram: I believe the issue may stem from the voltage divider that is ...
-1
votes
1answer
93 views

atmega32 is working OK but atmega32A is NOT!

I have a board which there is an LCD on it and I want to show some lines in the LCD. I have a broken-pin Atmega32 which the broken pins didn't used for LCD, I have written a simple code which just ...
2
votes
2answers
71 views

Analyzing sniffed data from pins of LCD 2*16 using Atmega32

I sniffed DB4..7 of an 2*16 LCD using the below circuit : (Atmega32.PORTA1..3 is connected to GND) As you see above I connected En pin of LCD to INT0 of Atmega32 (That is configured for Falling ...
0
votes
1answer
50 views

Interacting with the host OS

I am wondering if an ATMEL micro controller such as an ATMEGA8 or ATTINY2313 has libraries to interact with a computer (windows OS) over USB? If so is there any premade libraries that does the bulk of ...
1
vote
1answer
211 views

Why do we need pull-up resistors or tri state pins for AVR external interrupts?

Let's say we need to write a program for ATmega32, that reacts to an external interrupt(INT0) through the pin D2. The interrupt is to happen during the falling edge of the signal. I noticed it in the ...
1
vote
2answers
140 views

FTDI (FT232RL) powers itself through RX/TX lines [duplicate]

I have an FT232RL connected to an AVR Atmega2184P (running the Arduino core) UART. The microcontroller has two power supplies - a LiPo battery (VBat), and USB power (Vin). The way I've designed the ...
2
votes
1answer
74 views

Help with schematic

I made a schematic with an ATmega328, a LT1763, and a HC-05 module. I was wondering if I made any mistakes on the schematic. It also has a 4 pin female header for a MPU-6050 module. It might end up ...
0
votes
2answers
101 views

How to run ATmega328P-PU using 3.7v Lipo 600mAh?

I want to run bare ATmega328P-PU using 3.7v 600mAh Lipo Battery. The Lipo is used to run Nano Quadcopter. The discharge rate is 20C. My Question is: 1. Will connecting Lipo to my atmega directly fry ...
0
votes
0answers
52 views

AVR ADC invalid conversion result

My circuit works very strange. Can you help me please? Parameters: ATMEGA32A-PU JTAG ICE3 3.3 VCC 8MHz internal osc as clock AVCC connected to VCC AREF connected to GND through 100n capacitor ...
0
votes
1answer
74 views

Changing voltage multiple times

I am trying to power an atmega328p, and the esp8266 for one of my projects. I am trying to drive a relay to switch lights on and off. The problem is that the relay runs on 12v, the atmega runs on 5v ...
0
votes
0answers
101 views

AVR - Simple(st) serial port programmer

As I'm just getting started with learning anything about microcontrollers, I started from making a very, very simple LPT port programmer (...I think it was just about 4 resistors). It worked well with ...
0
votes
1answer
42 views

How to Monitoring the lines between an Atmega8 and a LCD using Atmega32

I have a device that it use an Atmega8 to send some data to a 2*8 character LCD. the LCD has 8 pins and the pins are as below from left to right: DB7 | DB6 | DB5 | DB4 | En(Clock) | RS | VDD | VFF I ...
0
votes
0answers
30 views

Need Some Help Using a GLCD on EasyAVRv7

I am trying to use a GLCD, a WDG0151-TMI-V#N00 on my EasyAVRv7 board and I realized that I might need some help. The MPU I have is an ATmega32. Problem is, nothing works. For example I can't even tell ...
1
vote
1answer
89 views

LM35 output varies when connected to microcontroller

I am using an ATmega16A in my project. I have connected the Vref pin to Vcc (5Volts). I have connected my ADC input pin A1 (ADC1) to output of LM35 IC (output connected to RC damper). Now the problem ...