# Communication between Arduino Mega to RPi3 over Ethernet

**URL:** <https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820>\
**Category:** Programming\
**Created:** [February 9, 2024, 11:38am UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820 "2024-02-09T11:38:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kittu20](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kittu20/32/1127224_2.png) [@kittu20](https://forum.arduino.cc/u/kittu20)\
**Post date:** [February 9, 2024, 11:38am UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820/1 "2024-02-09T11:38:11Z")

</div>

I have an Arduino Mega with an Ethernet module 5500, LAN cable, and a Raspberry Pi 3. I want to send data from the Arduino to the Raspberry Pi over the ethernet cable using the Ethernet module.

Do I need a router to send data from my Arduino Mega with an Ethernet module to my Raspberry Pi 3 using an Ethernet cable, or can it be done without one?

---

<div class="post-metadata">

**Author:** ![horace](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/horace/32/1014299_2.png) [@horace](https://forum.arduino.cc/u/horace)\
**Post date:** [February 9, 2024, 11:56am UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820/2 "2024-02-09T11:56:35Z")

</div>

I have always used a router when connecting Ethernet (UNO, Mega, ESP32, etc) to a PC or RPi etc  
however, have a web search for _raspberry pi ethernet do i need a router_ there are plenty of links

---

<div class="post-metadata">

**Author:** ![kittu20](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kittu20/32/1127224_2.png) [@kittu20](https://forum.arduino.cc/u/kittu20)\
**Post date:** [February 9, 2024, 12:01pm UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820/3 "2024-02-09T12:01:54Z")

</div>

> [@horace](#):
>
> I have always used a router when connecting Ethernet (UNO, Mega, ESP32, etc) to a PC or RPi etc

Indeed, I've managed to establish communication using a router. However, I'm curious if it's achievable without one. Have you attempted this approach before?

---

<div class="post-metadata">

**Author:** ![horace](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/horace/32/1014299_2.png) [@horace](https://forum.arduino.cc/u/horace)\
**Post date:** [February 9, 2024, 12:03pm UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820/4 "2024-02-09T12:03:44Z")

</div>

> [@kittu20](#):
>
> Indeed, I've managed to establish communication using a router. However, I'm curious if it's achievable without one. Have you attempted this approach before?

I have connected ethernet devices directly to a PC but not attempted it with a RPi

---

<div class="post-metadata">

**Author:** ![kittu20](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kittu20/32/1127224_2.png) [@kittu20](https://forum.arduino.cc/u/kittu20)\
**Post date:** [February 9, 2024, 12:57pm UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820/5 "2024-02-09T12:57:54Z")

</div>

I have this module  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/8/c/9/8c9035de07751f4b36088b13baa2ef2efbd494b5.jpeg)

I see two interface connection this one show corner at right side [https://www.arduino.cc/reference/en/libraries/ethernet/](https://www.arduino.cc/reference/en/libraries/ethernet/)

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/0/b/d/0bde2f21321596661fac2006a0d522aca7e8d141.png)

and another interface show connection at centre of board  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/5/b/b/5bb22dd5ef23af3d98857ab86499db147fbe4625.jpeg)

How to interface module W5500 with Arduino. Which one would you prefer

---

<div class="post-metadata">

**Author:** ![RayLivingston](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@RayLivingston](https://forum.arduino.cc/u/RayLivingston)\
**Post date:** [February 9, 2024, 5:25pm UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820/6 "2024-02-09T17:25:30Z")

</div>

You should be able to directly connect the two devices using an ethernet crossover cable.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [August 7, 2024, 5:26pm UTC](https://forum.arduino.cc/t/communication-between-arduino-mega-to-rpi3-over-ethernet/1221820/7 "2024-08-07T17:26:13Z")

</div>

Closed on August 7, 2024, 5:26pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
