Geekduino Mega Olympic(2560)

From GOF_Wiki
Jump to: navigation, search

Contents

Overview

MEGAOTop1.jpg MEGAOBottem.jpg

Introduction

Quad-Core Arduino? No, It is Geekduino MEGA Olympic! The Geekduino Mega Olympic is a microcontroller board based on the ATmega2560 (datasheet). It has 54 digital input/output pins (of which 14 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a microUSB connector, a power jack, three ICSP headers(one for Atmega16u2,the other two for ATmega2560 ), and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a microUSB cable or power it with a AC-to-DC adapter or battery to get started.

The Mega Oliymic has 4 UNO R3 interfaces, each unit has one UART, 2 I2Cs and 4 analog inputs. Two of the 4 units have the same SPI interface(Unit 1 and Unit 3), and the other two units have the same ICSP of ATmega2560 (datasheet), so the Mega Oliymic not only can expand vertically but also can extend laterally, which makes it almost compatible with all the shields designed for the Arduino UNO, Duemilanove or Diecimila and their clones.

For detail break-outs, please refer to Hardware Diagram

Module: M2012072001

MegaOright.jpg MegaOleft.jpg

Features

Specification

Microcontroller ATmega2560
Operating Voltage 5V
Input Voltage (recommended) 6.5-12V
Input Voltage (limits) 6-15V
Digital I/O Pins 54 (of which 14 provide PWM output)
Analog Input Pins 16
DC Current per I/O Pin 40mA
DC Current for 3.3V Pin 150mA(500mA peak)
Flash Memory 256 KB of which 8 KB used by bootloader
SRAM 8KB
EEPROM 4KB
Clock Speed 16M
RoHS Yes

Cautions

  • Be gentle to microUSB connector.

Hardware Diagram

MegaOHD.jpg

Hardware Installation

HWinstall.jpg

Getting Started

Refer to Arduino Mega2560 Page

Power

The Geekduino Mega Olympic can be powered via the microUSB connection or with an external power supply. The power source is selected automatically.

The board can operate on an external supply of 6 to 15 volts. If supplied with less than 6.5V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 6.5 to 12 volts.

The power pins are as follows:

Input and Output

Each of the 54 digital pins on the Mega Olympic can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:

The ATMega2560 has 16 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and analogReference() function. The 16 analog inputs are broken out onto 4 units of Mega Olympic, each unit has 4 analog inputs.

There are a couple of other pins on the board:

Automatic (Software) Reset

Rather then requiring a physical press of the reset button before an upload, the Mega Olympic is designed in the way of Arduino Mega2560 that allows it to be reset by software running on a connected computer.

Refer to Arduino Mega2560 Page for more information.

Communication

The Mega Olympic has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega2560 provides four hardware UARTs for TTL (5V) serial communication. An ATmega16U2 on the board channels one of these over microUSB and provides a virtual com port to software on the computer (Windows machines will need a .inf file, but OSX and Linux machines will recognize the board as a COM port automatically. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the board. The RX and TX LEDs on the board will flash when data is being transmitted via the ATmega16U2 chip and USB connection to the computer (but not for serial communication on pins 0 and 1).

A SoftwareSerial library allows for serial communication on any of the Mega2560's digital pins.

The ATmega2560 also supports TWI and SPI communication. The Arduino software includes a Wire library to simplify use of the TWI bus. For SPI communication, use the SPI library.

Programming

The Mega Olympic can be programmed with the Arduino software (download). For details, see the reference and tutorials.

Refer to Arduino Mega2560 Page for more information.

Schematics

Schematic of Geekduino Mega Olympic

References

Arduino Mega2560 Page

Arduino Home Page

Programming Reference

3V3 linear voltage regulator datasheet

5V linear voltage regulator datasheet

ATmega2560 datasheet

How to buy

Mega Olympic can be ordered through the GOF store. Its product page is located here

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.

Personal tools
Variants
Actions
Navigation
Support
Toolbox