0% found this document useful (0 votes)
37 views2 pages

Arduino Mega Wiring

The document provides a wiring table for connecting an Arduino Mega as a master to another Arduino as a slave using SPI signals, detailing the specific pins for SCK, SS, MISO, and MOSI. It also includes wiring instructions for connecting the Arduino Mega to an SD card, specifying the corresponding pins. Additionally, it lists the pin configurations for the Arduino UNO and Arduino MEGA for SPI communication.

Uploaded by

mohsin siddique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views2 pages

Arduino Mega Wiring

The document provides a wiring table for connecting an Arduino Mega as a master to another Arduino as a slave using SPI signals, detailing the specific pins for SCK, SS, MISO, and MOSI. It also includes wiring instructions for connecting the Arduino Mega to an SD card, specifying the corresponding pins. Additionally, it lists the pin configurations for the Arduino UNO and Arduino MEGA for SPI communication.

Uploaded by

mohsin siddique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Arduino Mega Wiring Table

Arduino Mega (Master) to Arduino (Slave) Wiring


SPI Signal Arduino Mega (Master) Arduino (Slave)
SCK (Clock) Pin 4 Pin 13
SS (Slave Select / RESET Pin 5 RESET
on Slave)
MISO (Master In Slave Pin 6 Pin 12
Out)
MOSI (Master Out Slave Pin 7 Pin 11
In)

Arduino Mega to SD Card Wiring


SD Card Signal Arduino Mega (Master)
SCK (Clock) Pin 52
MISO (Master In Slave Out) Pin 50
MOSI (Master Out Slave In) Pin 51
SS (Chip Select) Pin 53

Arduino UNO (ATmega328P)

 SCK (Clock) → Pin 13


 MOSI (Master Out Slave In) → Pin 11
 MISO (Master In Slave Out) → Pin 12
 SS (Slave Select) → Pin 10

Arduino MEGA (ATmega2560)

 SCK (Clock) → Pin 52


 MOSI (Master Out Slave In) → Pin 51
 MISO (Master In Slave Out) → Pin 50
 SS (Slave Select) → Pin 53 (Default, but can be changed)

You might also like