Questions tagged [arduino-mega]

A microcontroller board based on the ATmega2560 or 1280 chip. Use this tag for questions specifically regarding the Mega, and not just general Arduino usage.

The Arduino Mega is a board based on the ATmega2560 or 1280 chip.

Use this tag for questions specifically regarding the Mega, and not just general Arduino usage. This applies to both versions of this board.


Arduino Mega 2560:

From official Arduino page:

Microcontroller ATmega2560

Operating Voltage 5V

Input Voltage (recommended) 7-12V

Input Voltage (limits) 6-20V

Digital I/O Pins 54 (of which 15 provide PWM output)

Analog Input Pins 16

DC Current per I/O Pin 40 mA

DC Current for 3.3V Pin 50 mA

Flash Memory 256 KB of which 8 KB used by bootloader

SRAM 8 KB

EEPROM 4 KB

Clock Speed 16 MHz


Arduino Mega 1280:

From official Arduino page:

Microcontroller ATmega1280

Operating Voltage 5V

Input Voltage (recommended) 7-12V

Input Voltage (limits) 6-20V

Digital I/O Pins 54 (of which 15 provide PWM output)

Analog Input Pins 16

DC Current per I/O Pin 40 mA

DC Current for 3.3V Pin 50 mA

Flash Memory 128 KB of which 4 KB used by bootloader

SRAM 8 KB

EEPROM 4 KB

Clock Speed 16 MHz

1814 questions
7
votes
1 answer

What are these stray resistors on the Arduino Mega schematic?

I am using the Arduino Mega schematic found here and it's mostly clear, but there are a few resistors floating in the middle and I'm not quite sure what they're for or where they go: Does anyone know what these are and where they go?
3ddavies
  • 193
  • 5
6
votes
2 answers

What is the circular gold pad on arduino mega 2560 v2 and above?

Could someone point me to the documentation that describes the gold dot and surrounding gold circle on the front of my arduino mega v2 board. It is right above the ICSP header and reset button, and directly underneath the letter 'U' in the silk…
Nate
  • 63
  • 3
5
votes
1 answer

How to generate gcode for Arduino Mega 2560 and Ramps 1.4 CNC Router

I had a Prusa I3 3D Printer which use Arduino Mega 2560, Ramps 1.4 and Pololu - A4988 Stepper Motor Driver. I want to convert my 3D printer to CNC Router using my Dremel with Flexible shaft like this. I found the one project on instructables.com…
ANKIT JAIN
  • 185
  • 2
  • 4
  • 12
5
votes
1 answer

Arduino /dev/ttyUSB0 permission denied even when user added to group "dialout' on Ubuntu 18.04

I bought Arduino Mega board (CH341 usb) and I am able to connect to /dev/ttyUSB0 (upload to device) only by using sudo. OS: Ubuntu 18.04 What I've tried: I have downloaded Arduino IDE and added my user to dialout group. Logged out and logged in.…
Vladimir Djuricic
  • 211
  • 1
  • 2
  • 8
5
votes
1 answer

Whats the function of the resistor between MCU and its Resonator in Arduino Mega?

I was looking Arduino Mega's schematic and I noticed a resistor between the MCU and its resonator. R3 in this image: Why is it there and what is its function?
Wesley Lee
  • 420
  • 3
  • 10
5
votes
3 answers

Entering integers as bytes in serial monitor

I am doing some byte manipulation in Arduino, but when I enter an integer into the serial monitor, such as 1, and my program stores it as byte incomingByte, the value stored in incomingByte is 49 and not 1. How do I enter the ASCII equivalent of an…
tpm900
  • 385
  • 3
  • 10
5
votes
3 answers

How to read bitmap image on Arduino

I want to convert a bitmap into binary array. My bitmap image is 272*208 pixel monochromatic 1bpp image. I'm confused when the width I get from my image is 16 instead of 272, the height is corrected. And when I skip the bitmap header to get bitmap…
Seawish
  • 51
  • 1
  • 1
  • 2
3
votes
1 answer

What is the name of this chip on Arduino Mega ? I am not finding its datasheet 56 TI MSP?

What is the using purpose of this chip?
vrdevfr
  • 33
  • 3
3
votes
0 answers

How to rotate a servo continuously?

I'm new in robotics. I bought a mini robot ( Link ), which i rebuilt a little. Now it has legs and arms. This little robot has 4 little servos (Link). There are two wheels attached to two of these servos. I'd like to spin them, so the robot will…
kampi
  • 131
  • 2
3
votes
2 answers

What are these components in Arduino Mega Schematic?

I was looking at Arduino Mega's reference schematic here and trying to understand how the circuit functions. However, I am unable to understand what these schematic symbols (marked in black rectangles) represent or what their function is. Can…
rithvikp
  • 53
  • 1
  • 7
3
votes
1 answer

Why does an Arduino MEGA 2560 have different PORTS

I'm currently looking at my Arduino MEGA 2560 board and was just wondering why there are different ports to it e.g. ANALOG IN, DIGITAL, Communication? in fact I've only seen this in some microcontrollers. Not many microcontrollers have ports…
Zer0
  • 131
  • 3
3
votes
2 answers

Mega2560 R3 pin functions

When I read about mega2560 I saw it has 54 digital that can be used as input or output. later on I saw the some of them are used for things like communication. So I would like to know if the communication pin can still be used as output ? (to power…
Maor
  • 33
  • 4
3
votes
1 answer

How can I rename how my Arduino shows up on the computer?

I have a clone of a Mega 2560, and the Chinese manufacture apparently had a broken shift key. To my annoyance, whenever I connect it to my computer it reads, arduino compatible mega 2560. With my extreme annoyance with slightly misspelled or…
Anonymous Penguin
  • 6,285
  • 10
  • 32
  • 62
3
votes
2 answers

Raspberry pi -Arduino bridge

I am building a small wireless controlled robot using the Arduino and the raspberry pi. It works by the user wirelessly connecting through to the raspberry Pi (using vnc or some other form wirelessly) and using the user inputs to send a command to…
3
votes
1 answer

Unable to program Arduino mega2560?

I am using arduino mega for my application . Board works well for a week , from yesterday it is not programming at all , it shows me some error like timeout . What could be the problem kindly help me to solve this. avrdude: Version 6.3, compiled…
1
2 3
14 15