EasyManuals Logo

Arduino MEGA 2560 Application Note

Arduino MEGA 2560
6 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #3 background imageLoading...
Page #3 background image
©16March2017CO2Meter,Inc.AllRightsReserved 3
CreatinganArduinoProject
ThisArduinoprojectusestheSoftware.SerialdriverwhichisbuiltintotheArduinosoftware.This
statement
SoftwareSerial T66_Serial(12,13)
Setsupavirtualserialportusingpin12forRxandpin13forTxonbothUNOandMEGAboards.
Demofiledownloadinstructions
1.ClickonthefollowinglinkorcopythisURLtodownloadtheexamplecode:
http://co2meters.com/Documentation/AppNotes/AN157-T6613-Arduino-uart.zip
2.Savetheexamplecodetoyourharddrive.Insidethe.zipfile,navigatetotheAN157‐Arduno‐T6613‐
uart.inofileintheexamplefolder.Extractitfromthe.zipfile.
3.Double‐clicktheK30_basic.inofiletoopenitintheArduinoGUI.Itwillstartandaskthefollowing:
4.ClickonOK.ObservetheArduinoprojectcodeisdisplayed.
5.ClickonSketch>>Verify/Compile.Theprojectshouldcompilewithouterrors.
6.VerifythatyourArduinoboardisrecognizedcorrectly:
a.ClickonTools.SetBoardtoArduinoUnoorMEGA.
b.ConfirmthatProcessormatchesyourArduino:UNO,MEGAorMEGA2560.
7.ClickonUpload.Whendoneuploading,yourprojectisnowrunningintheArduinoboard.
8.Toviewprogramoperation,clickonTools>>SerialMonitor.
9.Observethefollowing:

Other manuals for Arduino MEGA 2560

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino MEGA 2560 and is the answer not in the manual?

Arduino MEGA 2560 Specifications

General IconGeneral
MicrocontrollerATmega2560
Operating Voltage5V
Input Voltage (recommended)7-12V
Input Voltage (limit)6-20V
Digital I/O Pins54
PWM Channels15
Analog Input Pins16
DC Current per I/O Pin20 mA
DC Current for 3.3V Pin50 mA
Flash Memory256 KB of which 8 KB used by bootloader
SRAM8 KB
EEPROM4 KB
Clock Speed16 MHz
LED_BUILTIN13
Length101.52 mm
Width53.3 mm
Weight37 g

Related product manuals