Stack Exchange Network

Stack Exchange network consists of 175 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 Exchange

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.

2
votes
1answer
3k views

Cannot open the serial monitor and get error “Board at COM 3 is unavailable” (3rd party Arduino)

I am using a 3rd party Arduino board made by Stensat (from their experimenters kit). The documentation that comes with it says that in the Arduino environment, the board that should be selected is the ...
0
votes
1answer
434 views

PCF8583 with Arduino delay of one second?

I'm trying to interface the RTC chip : PCF8583 with Arduino Uno. I'm using exactly the circuit shown below except instead of the variable capacitor near the crystal oscillator, I've used a 22pF ...
-1
votes
1answer
67 views

Uploading bootloader to ATMEGA328 P

I have a duemilanove which originally had a 168. I have some ATMEGA328 P chips and I've put one into the duemilanove. I am using a Uno as a programmer for the duemilanove. I am running Arduino 1.8....
-1
votes
1answer
123 views

Standalone 328P Arduino

I am creating a standalone Arduino using Atmega328P. The circuit is below. However, I'm seeing avrdude: Device signature = 0x000000 error whenever I try to burn the Arduino Uno bootloader. I'm ...
-1
votes
1answer
195 views

Design vehicle tracking device

I want to create an Arduino based vehicle tracking device which will be moved into a production board without Arduino later. Right now I have a few questions: What GPS module should I use for a best ...
-1
votes
1answer
91 views

DIY Arduino technical difficulties

I followed this ArduinoToBreadboard and I just added a 5V regulator just to be on the safe side. So my questions are: When I connect a Nokia LCD 5110 to the DIY arduino, nothing really happens but ...
-1
votes
1answer
202 views

Atmega328P and Arduino Studio and Pololu AVR - not working

I have standalone ATMega328p and I'm using external 16MHz oscillator, I hooked up and I triple checked my connections for Pololu AVR programmer and I make sure that I select a proper programmer \ ...
2
votes
0answers
33 views

What does “Update of OCR1x at” mean in the WGM table of ATMEGA328?

I just finished a reading a couple of online guides on how to use timer registers with pulse width modulation, so I'm still new to its concept. When I looked in the ATMEGA328 specification sheet, I ...
2
votes
0answers
297 views

Is it possible to put ATtiny85 to sleep while using TinywireS?

I have an arduino uno as the master I2C device talking to an ATtiny85 as the slave. What I want to do is have the Attiny85 receive a message from the UNO to tell it to power off which will then ...
1
vote
0answers
60 views

Arduino Program Memory Ran Out

I have a Arduino sketch I made and I have run out of dynamic memory on my Arduino Nano. How could I possibly reduce the amount of memory the program takes? (I'm not that good at this stuff) P.S: The ...
1
vote
0answers
89 views

Why does I2C On Nano Fail with LiquidCrystal_I2C library unless Nano runs at 8Mhz?

I have an Arduino Nano (running by default at 16Mhz). I am connecting a 20x4 LCD screen via I2C (using A4 for SDA and A5 for SCL). Here's the very simple code (which was previously only showing black ...
1
vote
0answers
264 views

Cannot upload to otherwise working bootloaded ATmega328P via RS232: “programmer is not responding”

I have an ATmega328P on a breadboard with the following circuitry around it: The ISP is a Tiny AVR Programmer. The RS232 to USB converter is this thing. Following is the test program I use: void ...
1
vote
0answers
245 views

ATMega328 to Arduino Mega Serial Communication

I'm working with an ATMEGA328 chip on a breadboard. I'm using the Arduino library for easy coding within Atmel Studio (and an ISP MKii for programming). I have no way to easily debug my code, so I ...
1
vote
0answers
430 views

PWM output maximum current

i made a project with arduino in wich I used arduino to activate 18 n-ch mosfet with PWM. I used the softPWM library to use PWM in 18 output pins, I used a nano v3. The question is about the maximum ...
1
vote
0answers
139 views

Garbage when listening to serial

This is the atmega328p code that is supposed to send a predefined message repeatedly. #include <avr/io.h> #include <util/delay.h> #define BAUD 9600 #define BAUD_PRESCALLER (((F_CPU / (...
1
vote
0answers
63 views

Standalone atmega328

I have a transistor tester with 16x2 LCD running a plug-in at328 with an 8Mhz xtal. I would like to use this hardware for another purpose. My first idea was to replace the crystal with a 16Mhz one, ...
1
vote
0answers
3k views

Can't burn bootloader, Says Invalid device signature

I am trying to burn bootloader on an Atmega 328P-PUon breadboard with minimal circuit using Arduino UNO, following up this Arduino Tutorial : https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard (...
1
vote
0answers
119 views

Board.txt configuration change Atmega328p

Hi I am trying to configure an Atmega328p to run with an 8MHz oscillator in part to reduce power consumption and so I don't need to have level shifters all over my project. I have changed the board....
1
vote
0answers
157 views

ATMega328 not able to fully switch coreless motor on

I'm having trouble regarding motor control in a project I'm working on. It uses an ATMega328 DIP package on a PCB. The motors I'm using are small coreless motors and I'm trying to control them using ...
1
vote
0answers
27 views

Atmega328 xbee and softaware serial libraries

I use an atmega328 with fdti cable wired at rx/tx and i want to connect a zigbee s2 at diferrent pins. I have tried to use SoftwareSerial library but i would like to use the xbee library too. Is ...
1
vote
0answers
26 views

Lightblue Bean BTLE tinkering

How does one modify the Bluetooth settings, like services or pincode, on a light blue bean? Ps I'm on Android http://legacy.punchthrough.com/bean/ if you don't know what I'm talking about
1
vote
0answers
302 views

Can't program bareduino. “avrdude: stk500_recv(): programmer is not responding”

I've built a bareduino. The blink sketch that it came preprogrammed with worked. I was also able to program the ATmega328 by putting it into a arduino uno. What I can't do is upload a sketch directly....
1
vote
0answers
453 views

SIM 900 stop after 1'5 hours; what's wrong?

I have a Gboard module (from Itead) configured to recieve data from Xbee sensors, and log data to a server DB on inet (via GPRS). This module is programmed with Arduino IDE. I turn on the module (...
1
vote
0answers
914 views

Unexpected Timer Conflicts (Uno)

I've been working on a project (Arduino Uno: Atmega328) that implements a gyroscope (which is used with the LSM9DS0 spark-fun library) that is communicated with through I2C and uses a Servo library. ...
1
vote
0answers
1k views

Several XBee End devices sending simultaneously; Only one packet recieved on coordinator

I'm trying to configure a Zigbee sensor network. My "gateway (coordinator)" and "End devices" are made with XBeePro S2B model and configured in API mode "2". The "gateway (coordinator)" also has a ...
1
vote
0answers
1k 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 ...
1
vote
0answers
887 views

Get a internal temperatura form ATMega328

I am making a circuit which takes three kinds of monitor temperature of the chip itself, in this case ATMega328 at room temperature, which is influenced by external thinks such as lasers, which will ...
0
votes
0answers
31 views

Why can you use FTDI with an ATMega328 with no external crystal?

I have read that serial (UART) communications are unreliable or will not work when using the 8MHz internal oscillator as the clock source. For example here are two results from a quick google. http:/...
0
votes
0answers
21 views

Using a 48 characters char[] for PROGMEM

I am trying to create a charliplexed display of 6x8 LEDS using a Arduino Nano with the ATMega328p chip. Because of the limited storage I am trying to use PROGMEM. I did my research and found some ...
0
votes
0answers
11 views

BLUNO Beetle V1.1 BLE seems defective, Bluno Beetle V1.0 works fine

I have previously had the Bluno beetle V1.0 before which works fine. I have just bought 3 Bluno Beetle V1.1 mc's, but the BLE is not discoverable. I have gone through the same process to update the ...
0
votes
0answers
15 views

Installed configuration won't show up on Board menu

So I was following these instructions on the official site. Download this hardware configuration archive: breadboard-1-6-x.zip, Breadboard1-5-x.zip or Breadboard1-0-x.zip depending on which IDE you ...
0
votes
0answers
64 views

ATMega328 AU bootloader burning issue using Nano

We are trying to burn bootloader into ATMega328P-AU SMD. We have taken the reference of the link and did the same. We checked wire connections and all looks fine and we tried with two chip with two ...
0
votes
0answers
41 views

Multiple Atmega328p wired communication

I am using multiple ATMEGA328Ps (4 ATMEGA328P) (OR Arduino Unos). The distance between two farthest ATMEGAs is 14 meters (One is Master Device and Other is Node), and other 3 are connected to each ...
0
votes
0answers
16 views

My ArI was using a potentiometer and the system shorted maybe. Do I have to replace the USB interface chip? It doesn't reset also

See I was using a micro analog rotary potentiometer to control a servo. The pot was in a pcb. The 5v output and gnd were connected to arduino from the pot. The third pin and 5v got touched and it got ...
0
votes
0answers
19 views

How can I merge my two scripts: Basketball Timer & Basketball Scorer?

I have a project in arduino, an arcade basketball machine using 4" Single-7-Segment Displays driven by IC 74HC595N. The purpose of my program is to record the score by merging 2 SSDs at the same time ...
0
votes
0answers
28 views

Making a ATMega328P-PU and computer communicate but not by standard serial communication

So i have been trying to make a ATMega328P-PU using the Arduino bootloader and a computer communicate the same way brands like Logitech and Razer makes their mouse's and keyboard's communicate with ...
0
votes
0answers
28 views

Programming an EL Sequencer

I have a EL Sequencer and FTDI 5V breakout board. I have been have been unable to program it. All my attempts get some variation of "programmer is not responding". I was using these instructions as ...
0
votes
0answers
252 views

ATmega328p PD0 and PD1 usage

I would like to use pins RXD and TXD (PD0 and PD1 in ATmega328p) as inputs. I am using Arduino Uno to upload a code to my ATmega328p, after that I plug in ATmega to my circuit board. Arduino Uno is ...
0
votes
0answers
49 views

Is the ATMega328P powerful enough to deal with a lot of SPI data while reading a rotary encoder?

I need to: Output data to a 128x64 screen with ug8lib (via SPI) Keep track of the position of a high-precision rotary encoder (1024p/r) Send about 2 bytes of data up to 120 times per second via an ...
0
votes
0answers
32 views

Problems using Arduino pcb as ISP with Atmel Studio 7

This issue has been bugging me for the past few days! I have learned a lot with my Arduino and the Arduino IDE over the past few years and decided to learn how to make faster, leaner code. I want to ...
0
votes
0answers
66 views

How to interface LCD?

I brought an ATmega328p chip today, which I bootloaded later on and I tried some basic circuit examples (like blink LED) with the chip (Minimizing the circuitry) and it worked perfectly fine. When I ...
0
votes
0answers
81 views

Use PWM to play notes on ATMega328

I have old speaker which I want to use to play sound. I chose to use PWM mode on ATMega328 (which is in turn on Arduino Uno R3 board) in order to do it. For signal on the speaker I chose rectangular ...
0
votes
0answers
324 views

failure to burn bootloader in ATMEGA328P on breadboard

As a novice to ATMEGA I try to use the arduino UNO (original) to burn a bootloader in a new ATMEGA328P on a breadboard. It is clear to me that SPI is used for this task and all connections have been ...
0
votes
0answers
44 views

Is it possible to test SPI communication having only one board?

How do I study my Arduino device? I just read ATmega328 datasheet and tutorials for some theory and then try to implement it on my device - Arduino Uno R3 (with ATmega328 on board). Now I am studying ...
0
votes
0answers
74 views

Bootloader fails when two Arduinos are connected over serial port

I’d like to connect two Arduinos over serial port so that they can communicate with each other. Initially, I put all necessary code onto one device and now connected another via serial port. As soon ...
0
votes
0answers
217 views

Atmega328p ISP won't work

I have a grbl board that runs on an Atmega328p. On the board I have also provided the ability to control the stepper drivers through an external control step and dir signals. The schematics are shown ...
0
votes
0answers
535 views

Minimal ATmega328p Ethernet Configuration

What would be minimal schematic for ATMega328P in order to have communication over ethernet? So I'm not asking about attaching existing shields to existing Arduino board, but just for bare minimum of ...
0
votes
0answers
561 views

Unable to reset arduino with RESET pin

I am using a custom built arduino UNO for some personal projects. I am using a custom optiboot bootloader given by Nick in this post. This was done to prevent the three LED flashes on digital pin 13. ...
0
votes
0answers
417 views

How to use the timer to generate a pulse wave of the specified frequency and duty cycle

So we have the tone library, which produces a 50% duty cycle square wave of varying frequency, and analogWrite() which produces a fixed frequency wave of varying duty cycle. Is there any way to ...
-1
votes
0answers
985 views

Creating a text file in Arduino and storing it in EEPROM

I am building a sensor that will use an ATMEGA328P chip. My goal is to be able to implement a calibration routine for the sensor which will store calibration data in a text file. Once the calibration ...