[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-720352-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-720352-en":130,"doc-similar-720352":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","arduino-mega-2560-datasheet","Arduino Mega 2560 Datasheet","","Arduino Mega 2560 overview and technical reference: describes the ATmega2560-based microcontroller board, including its pin counts (54 digital I/O with PWM-capable pins, 16 analog inputs), communication interfaces (USB via an ATmega8U2, four hardware UARTs), clock source (16 MHz crystal), and startup/power approach. Provides key electrical specifications for operating voltage, input voltage recommendations and limits, memory sizes (flash, SRAM, EEPROM), power pin meanings, and details of supported digital pin functions such as PWM, SPI, I2C, external interrupts, and serial mappings.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/arduino-mega-2560-datasheet/720352/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/arduino-mega-2560-datasheet/720352.png","ImageObject",300,407,{"name":42,"@type":43},"PakDamar76","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-11-18",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What microcontroller powers the Arduino Mega 2560 and what are its main I/O capabilities?","Question",{"text":63,"@type":64},"The board is based on the ATmega2560. It has 54 digital I/O pins (14 PWM-capable) and 16 analog inputs.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How can the Arduino Mega 2560 be powered, and what voltage ranges are recommended?",{"text":68,"@type":64},"It can be powered via USB or an external supply, with automatic source selection. External operation is specified for 6–20V, with a recommended range of 7–12V to ensure stable 5V output.",{"name":70,"@type":61,"acceptedAnswer":71},"Which communication interfaces and serial ports does the Mega 2560 provide?",{"text":72,"@type":64},"It provides four hardware UARTs for TTL (5V) serial communication and uses an ATmega8U2 as a USB-to-serial converter. It also supports serial monitoring for sending and receiving text data.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},720352,1795036784,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":105,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":80,"read_time":143,"preview_page_count":33,"preview_urls":144},962090893057,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Ard u ino Mega 2560 Datasheet  \nOverview  \nT he Ard u ino Mega 2560 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 USB connection, a power jack, an ICSP header, and a reset button . It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a ACto-DC adapter or battery to get started. The Mega is compatible with most shields designed for the Ard ui no Duemilanove or Dieci mila.  \nSchematic & Reference Design  \nEAGLE files: [arduino-mega2560-reference-design.zip](arduino-mega2560-reference-design.zip)  \nSchematic: ard ui no-mega2560-schematic. pdf  \nSummary  \n\n| Microcontroller | ATmega2560 |\n| --- | --- |\n| Operating Voltage | 5V |\n| Input Voltage ( recommended) | 7-12V |\n| Input Voltage (limits) | 6-20V |\n| Digital I/O Pins | 54 (of which 14 provide PWM output) |\n| Analog Input Pins | 16 |\n| DC Current per I/O Pin | 40 mA |\n| DC Current for 3.3V Pin | 50 mA |\n| Flash Memory | 256 KB of which 8 KB used by bootloader |\n| SRAM | 8 KB |\n| EEPROM | 4 KB |\n| Clock Speed | 16 MHz |\n\nPower  \nT he Ard u ino Mega can be powered via the USB connection or with an external power supply. The power source is selected automatically.  \nExternal ( non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1 mm center-positive plug into the board's power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector.  \nThe board can operate on an external supply of 6 to 20 volts. If supplied with less than 7V, 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 7 to 12 volts.  \nThe Mega2560 differs from all preceding boards in that it does not use the FTDI USB-toserial driver chip. Instead, it features the At mega8 U 2 programmed as a USB-to-serial converter.  \nThe power pins are as follows:  \n● VIN. The input voltage to the Ardu ino board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source) . You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin .  \n● 5V. The regulated power supply used to power the microcontroller and other components on the board. This can come either from VIN via an on-board regulator, or be supplied by USB or another regulated 5V supply.  \n● 3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA.  \n● GND. Ground pins.  \nMemory  \nThe ATmega2560 has 256 KB of flash memory for storing code (of which 8 KB is used for the bootloader), 8 KB of SRAM and 4 KB of EEPROM (which can be read and written with the EEPROM library) .  \nInput and Output  \nEach of the 54 digital pins on the Mega can be used as an input or output, using pinMode (), digitalWrite (), and digital Read () 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:  \n● Serial: 0 ( RX) and 1 (TX); Serial 1 : 19 ( RX) and 18 (TX); Serial 2 : 17 ( RX) and 16 (TX); Serial 3 : 15 ( RX) and 14 (TX) . Used to receive ( RX) and transmit (TX) TTL serial data. Pins 0 and 1 are also connected to the corresponding pins of the ATmega8 U 2 USB-to-TTL Serial chip.  \n● External Interrupts: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5),  \n19 (interrupt 4), 20 (interrupt 3), and 21 (interrupt 2) . These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.  \n● PWM: 0 to 13. Provide 8-b","cbCaivlx4GS8ephS","https://ap.wps.com/l/cbCaivlx4GS8ephS","pdf",7092986,"English","# Overview\n# Schematic & Reference Design\n# Summary\n# Power\n# Memory\n# Input and Output\n# Communication","[{\"question\":\"What microcontroller powers the Arduino Mega 2560 and what are its main I/O capabilities?\",\"answer\":\"The board is based on the ATmega2560. It has 54 digital I/O pins (14 PWM-capable) and 16 analog inputs.\"},{\"question\":\"How can the Arduino Mega 2560 be powered, and what voltage ranges are recommended?\",\"answer\":\"It can be powered via USB or an external supply, with automatic source selection. External operation is specified for 6–20V, with a recommended range of 7–12V to ensure stable 5V output.\"},{\"question\":\"Which communication interfaces and serial ports does the Mega 2560 provide?\",\"answer\":\"It provides four hardware UARTs for TTL (5V) serial communication and uses an ATmega8U2 as a USB-to-serial converter. It also supports serial monitoring for sending and receiving text data.\"}]","Arduino Mega 2560 Datasheet | PDF",18,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ea52c04ffd61ee82ee4b8d9f139078a0.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ced93df5eb9ae2cf569109da73ca03bf.webp",982,1270,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4046e7bfa72d6d7e970d0bf5e878bf81.webp",981,1269,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f3cc6606d41f68e46e9d7c240de0756d.webp",980,1268,{"list":162,"token":11},[163,169,175,181,187,193,200,206,212,218],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":101,"category_name":29,"create_tm":168},720309,"Arduino Mega 2560 - Board Specifications - Pinout, Power, Memory, Communication","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024391457/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=nU7GueKtBtW6RZitUWPZ9NQkQTY%3D","arduino-mega-2560-board-specifications-pinout-power-memory-communication",1795036357,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":105,"category_name":29,"create_tm":174},720350,"Arduino-Mega2560 - Datasheet - Compatible Controller Board Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393491/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=uX40FzyeXDFjWUli%2BqMjTTU7Dno%3D","arduino-mega2560-datasheet-compatible-controller-board-overview",1795036778,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":105,"category_name":29,"create_tm":180},720315,"Arduino Mega 2560 R3 - Technical Specifications, Programming, and Power Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023671792/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=t%2FUDYMAhkPr8gXpFMzWBmqZLSl8%3D","arduino-mega-2560-r3-technical-specifications-programming-and-power-guide",1795036428,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":105,"category_name":29,"create_tm":186},720348,"Arduino Nano  - Overview - Hardware and I/O Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393373/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=OjC0gfVix4UuuccsLbFolZ9ZuGo%3D","arduino-nano-overview-hardware-and-io-specifications",1795036749,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":33,"category_name":29,"create_tm":192},720342,"Arduino Uno","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393312/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=VvvsQAsaeRcHXhmffYbqlK%2BtO%2Bw%3D","arduino-uno",1795036735,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":198,"category_name":29,"create_tm":199},670891,"Arduino UNO Board Description - IV. Arduino UNO-Board Description","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988703412/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=Ujsm3sIObaUtkLerl7%2BePXt4Qu0%3D","arduino-uno-board-description-iv-arduino-uno-board-description",12,1793572517,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":105,"category_name":29,"create_tm":205},720351,"Arduino - MEGA 2560 Rev3 - Product Reference Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023672506/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=HQlZRMxX7LGtIA2mJHoQIxSCbD0%3D","arduino-mega-2560-rev3-product-reference-manual-720351",1795036779,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":55,"category_name":29,"create_tm":211},720355,"KEYESTUDIO KS0002 BOARD - Introduction - Mega 2560 R3 power supply design","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023672853/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=IdkH9U3fUb5l2zmeCpLLd2BBvBI%3D","keyestudio-ks0002-board-introduction-mega-2560-r3-power-supply-design",1795036865,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":55,"category_name":29,"create_tm":217},720253,"Arduino Nano Technical Overview - Pinout, Power, Memory, Communication","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024390057/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=c3t8MiakXzDqnWOE2dUQfFIr3Lw%3D","arduino-nano-technical-overview-pinout-power-memory-communication",1795035966,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":55,"category_name":29,"create_tm":223},720303,"Arduino Mega 2560 Rev3 - User Manual SKU A000067 - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024391435/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110499&Signature=v5WY7dE0bLHDJ93hocRNf0D5wmI%3D","arduino-mega-2560-rev3-user-manual-sku-a000067-overview",1795036345]