diff --git a/content/hardware/10.mega/boards/mega-2560/product.md b/content/hardware/10.mega/boards/mega-2560/product.md index d0f91b41f2..25505ce007 100644 --- a/content/hardware/10.mega/boards/mega-2560/product.md +++ b/content/hardware/10.mega/boards/mega-2560/product.md @@ -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' diff --git a/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/install-mega-core.png b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/install-mega-core.png new file mode 100644 index 0000000000..c05def2b32 Binary files /dev/null and b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/install-mega-core.png differ diff --git a/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/mega-connected.png b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/mega-connected.png new file mode 100644 index 0000000000..6ca3e37cbc Binary files /dev/null and b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/mega-connected.png differ diff --git a/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/mega-examples.png b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/mega-examples.png new file mode 100644 index 0000000000..ddeac6316b Binary files /dev/null and b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/mega-examples.png differ diff --git a/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/open-ide.png b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/open-ide.png new file mode 100644 index 0000000000..7f8a2b330f Binary files /dev/null and b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/assets/open-ide.png differ diff --git a/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/getting-started.md b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/getting-started.md new file mode 100644 index 0000000000..ead360e9ee --- /dev/null +++ b/content/hardware/10.mega/boards/mega-2560/tutorials/getting-started/getting-started.md @@ -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). \ No newline at end of file