Free standard shipping on orders over $150
Leave us a review on
Arduino Mega 2560 (Klon)
The Arduino Mega 2560 is a microcontroller board based on the Atmega2560. It has 54 digital I/O pins (15 of which are PWM outputs), 16 analog inputs, 4 UART (hardware serial ports), a 16Mhz crystal, a USB socket, a power socket, an ICSP connector, and a reset button. On the board, you'll find everything you need to run the microcontroller. It is easily connected to a computer using a USB cable and can be powered by an adapter or a battery.
To load programs and communicate with computers, it has an Atmega16u2 (Rev 2 had an Atmega8u2) usb-serial converter. Many improvements have been made to the Mega rev 3 version to make it easier to use and more stable than the rev 2 version.
Arduino Mega can get its power via usb or external power supply. The external power source can be either an AC-DC adapter or a battery. The adapter can be connected from the 2.1mm center-positive power socket on the board. The battery can be connected via the GND and Vin pins on the board. It is not necessary to have the USB constantly connected for the card to work. The card can only be powered by adapter or battery. In this way, the card can be operated independently from the computer. It can be used as an external power supply between 6-20V. However, these values are limit values. The recommended external supply for the board is between 7-12V. The operating voltage of the Mega board's microcontroller is 5V. The voltage between 7 and 12 volts applied to the Vin pin or power socket is reduced to 5 volts by the board's voltage regulator and distributed to the board.
Power pins are as follows:
VIN: Voltage input pin between 7-12V when using external power supply.
5V: 5V is pin outputs 5V from the regulator. If the board only works over usb (5V), 5V from usb is output directly over this pin. If power is supplied to the board via Vin (7-12V) or power socket (7-12V), 5V from the regulator is output directly over this pin.
3V3: It is the output pin of the 3.3V regulator on the board. Max. It can output 50mA.
GND: Ground pins.
Memory: Atmega2560 has 256 KB flash memory (8 KB is used by bootloader). It has 8 KB SRAM and 4 KB EEPROM.
Input and Output:
All 54 digital pins on the Mega can be used as inputs or outputs. There are also 16 analog input pins. These analog input pins can also be used as digital inputs and outputs. on the other hands, there are 70 digital input and output pins on the board. The logic level of all these pins is 5V. Each pin max. It works with 40mA input and output current. In addition, some pins have different properties. Special pins are as follows.
To communicate with a computer, another Arduino, or a microcontroller, the Arduino Mega has several options. The Atmega2560 has four hardware UART TTL (5V) serial communication ports.The card's Atmega16u2 usb-serial converter establishes a bridge between the Atmega2560 and the computer by opening a virtual com port on the computer. The Arduino computer program, which includes a serial monitor, allows text-based information to be sent and received between the arduino and the computer. The RX and TX leds on the card will light up when there is USB communication between the usb-serial converter and the computer.
There are 4 serial ports on the Mega as hardware. However, this number can be increased in software with the SoftwareSerial library.
Atmega2560 also provides I2C and SPI ports. The Wire library that comes with the Arduino computer program is used to use I2C, and the SPI library is used to provide SPI communication.
Arduino Mega board is programmed with Arduino computer program (Arduino IDE).You can begin programming by selecting Arduino Mega from the program's Tools > Board tab. You can find more information on the reference and basic functions pages. On the Arduino Mega, a special software called bootloader is installed on the Atmega2560. This eliminates the need for an additional programmer when programming the card. The original STK500 protocol is used for communication.
By bypassing the bootloader software, the board can be programmed directly via the ICSP header of the microcontroller with the ISP programmer (Reference).
The source software in the Atmega16u2 is open source, as is the bootloader software. This software is also known as the DFU bootloader. This software can be reinstalled using the FLIP software (Windows) or the DFU programmer from Atmel (Mac OS X and Linux). It can also be programmed with an ISP programmer in 16u2 like the Atmega2560. The software in both the Atmega2560 and the 16u2 is always the most recent version. As a result, unless absolutely necessary, you should not change this software.
USB Overcurrent Protection:
The resettable fuse on the Arduino Mega protects the USB port of the computer from short circuits or excessive current consumption. When the card draws more than 500mA current through the computer usb port, the card automatically cuts off the power it receives from the usb for protection. When the overcurrent condition or short circuit is eliminated, the fuse returns to its normal position and reconnects.
Get more information about: