Skip to content

Commit

Permalink
Merge pull request #2018 from arduino/jacobhylen/mega-getstartedguide
Browse files Browse the repository at this point in the history
[MKC-1673] Mega 2560 Get started Docs
  • Loading branch information
jacobhylen authored Jun 14, 2024
2 parents 09b6e19 + 26d5ddc commit 4e85519
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/hardware/10.mega/boards/mega-2560/product.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Mega 2560 Rev3
url_shop: https://store.arduino.cc/arduino-mega-2560-rev3
url_guide: /software/ide-v2/tutorials/ide-v2-board-manager#avr
primary_button_url: /software/ide-v2/tutorials/ide-v2-board-manager#avr
url_guide: /tutorials/mega-2560/getting-started/
primary_button_url: /tutorials/mega-2560/getting-started/
primary_button_title: Get Started
core: arduino:avr
productCode: '002'
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: Getting Started with Arduino Mega 2560 Rev3
description: A step-by-step guide to get started with the Arduino Mega 2560 Rev3.
author: Jacob Hylén
tags: [Mega 2560 Rev3, Installation, IDE]
---

To use the [Arduino Mega 2560 Rev3](hardware/mega-2560/) board, you will need the Arduino AVR Board Package, which comes pre-installed with the IDE.

You will need a version of the Arduino IDE, which you can download from the [Arduino Software page](https://www.arduino.cc/en/software). In this guide, we will use the latest version of the IDE 2.

## Software & Hardware Needed

- [Arduino Mega 2560 Rev3](https://store.arduino.cc/products/arduino-mega-2560-rev3)
- [Arduino IDE](/software/ide-v2)

***You can also use the [Cloud Editor](https://create.arduino.cc/editor) which comes with all Arduino boards pre-installed.***

## Download & Install IDE

1. First, we need to download the Arduino IDE, which can be done from the [Arduino Software page](https://www.arduino.cc/en/software/).
2. Install the Arduino IDE on your local machine.
3. Open the Arduino IDE.

![The Arduino IDE.](./assets/open-ide.png)

## Board Package

The [Arduino Core for AVR devices](https://github.com/arduino/ArduinoCore-avr) comes pre-installed with the IDE, so no additional installation is necessary to get started. To use a different version than the latest, open the "Board Manager" from the left-hand menu. Search for AVR and install the version you want to use.

![Arduino AVR Board Package](./assets/install-mega-core.png)

You should now be able to select your board in the board selector. You will need to have your board connected to your computer via the USB-B connector at this point.

![Arduino Mega 2560 Rev3 board found.](./assets/mega-connected.png)

Congratulations, your board is now ready to be used via the Arduino IDE.

## Compile & Upload Sketches

To compile and upload sketches, you can use the:
- **Checkmark** for compiling code.
- **Right arrow** to upload code.

There are several examples available for the Mega 2560 Rev3 board, which can be accessed directly in the IDE, through **File > Examples**. These examples can be used directly without external libraries.

![Mega 2560 Rev3 examples.](./assets/mega-examples.png)

## Summary

In this tutorial we prepared the Arduino Mega 2560 Rev3 to be used with the Arduino IDE.

For any issues regarding the Arduino AVR board package, please refer to the [Arduino Core for AVR devices](https://github.com/arduino/ArduinoCore-avr).

0 comments on commit 4e85519

Please sign in to comment.