Atlas Robotics
Hardware InterfacesIntermediate

What is Ethernet? When embedded buses no longer provide enough bandwidth

Atlasbot · 16/8/2026 · 11 min read

What is Ethernet? When embedded buses no longer provide enough bandwidth
Ethernet has bandwidth far beyond other embedded buses

All the standards mentioned — UART, I2C, SPI, CAN — are designed for data Small and real-time (a few bytes to a few dozen bytes, need low and deterministic latency). But when the robot needs to transmit image stream from camera, or having a computer running SLAM/Nav2 communicate with another computer running object recognition, none of those standards have enough bandwidth — this is where Ethernet get involved.

Key concepts

Ethernet is the world's most familiar wired network standard (RJ45 port on every router/switch), operates on MAC addresses (unique hardware identifiers) at the low layer, and often runs a TCP/IP protocol stack on the upper layer to route data using familiar IP addresses. Unlike embedded buses, which use the same line for all devices, Ethernet uses switch to route data — each packet only goes to the correct receiving device, not "spread" throughout the bus.

Compare bandwidth with learned standards

CorrectMaximum speed (actual)
UART~1 Mbps
I2C~1-3.4 Mbps
SPI~10-50 Mbps
CAN~1 Mbps
Ethernet100 Mbps – 1 Gbps+

In short: In exchange for huge bandwidth, Ethernet requires a dedicated PHY chip, consumes more power, and the entire TCP/IP protocol stack is much more complex than just reading/writing a register over I2C — not the "default" choice for every embedded connection, only used when bandwidth is really needed.

How it works

Camera (Ethernet)  ──┐
                      ├──► Switch ──► Computer running ROS2 (SLAM, Nav2)
LiDAR (Ethernet) ──┘ (each packet routed to the correct destination,
                                     does not "radiate" the entire common wire)

Technical details

Formulas

Each Ethernet frame has a fixed overhead (preamble, MAC address header, CRC...) of about 38 bytes, regardless of the actual data size (payload, maximum 1500 bytes according to the standard) — actual performance is calculated according to the payload/total frame ratio:

Efficiency (%) = payload / (payload + overhead) × 100%

For example: send a payload of 1500 bytes (maximum size of 1 frame)
Efficiency = 1500 / (1500 + 38) × 100% ≈ 97.5%

For example: send a small payload of 20 bytes (like a short control command)
Efficiency = 20 / (20 + 38) × 100% ≈ 34.5%

This is why Ethernet is most effective for large data (images, point clouds) but is quite a waste of bandwidth if only used to send small control commands continuously — in which case CAN/UART is still much more reasonable despite the lower bandwidth.

Parameters

Actual cabling and bandwidth requirements of common sensor devices on AMR:

Standard/EquipmentRequest
100BASE-TX (Fast Ethernet)Cat5 cable or higher, maximum 100m/section
1000BASE-T (Gigabit)Cat5e cable or higher, maximum 100m/section
H.264/MJPEG compressed camera (1080p)~5-20 Mbps
LiDAR 3D qua Ethernet (VD: Ouster, Livox)~50-100+ Mbps

Register / Bit / Byte

MAC address — the unique hardware identifier of each Ethernet device — is 48-bits (6 bytes) long, divided into 2 parts: The first 3 bytes are OUI (Organizationally Unique Identifier, issued by IEEE to each network chip manufacturer) and the last 3 bytes are freely assigned by the manufacturer. assign to each specific device — thanks to this structure, every Ethernet device in the world has a unique MAC address without the need for a central authority to allocate each individual address.

Protocol

Based on TCP/IP, two popular transport layer protocols have very different characteristics: TCP ensures data arrives in the right order, no packet loss (automatically resends if missing) but has higher latency and overhead; UDP sends "best-effort" — no guaranteed arrival, no guaranteed ordering, but low latency and small overhead. ROS2 (running on top of DDS) typically favors UDP for high-frequency sensor data (LiDAR, cameras) — losing a few point cloud packets every now and then is much less impactful than data delays caused by TCP trying to resend the lost packet.

Practical applications

In AMR software architecture, Ethernet often appears at the top layer — the connection between embedded computers (Jetson, industrial computers) running ROS2, IP cameras, high-speed LiDAR — while the lower layer (between MCU and simple motor/sensor) still uses UART/I2C/SPI/CAN because it's fast enough, cheaper, and consumes much lower power. A complete AMR almost always combines both layers: embedded bus at the real-time control layer, Ethernet at the large data processing layer — For example, a small Ethernet switch placed in the robot body connects Jetson, camera, and LiDAR together, completely separate from the CAN/RS485 network that controls the motor.

Practical example

$ ping 192.168.1.50
Output:
PING 192.168.1.50 (192.168.1.50): 56 data bytes
64 bytes from 192.168.1.50: icmp_seq=0 ttl=64 time=0.412 ms
64 bytes from 192.168.1.50: icmp_seq=1 ttl=64 time=0.398 ms

--- 192.168.1.50 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
$ ethtool eth0 | grep Speed
Output:
	Speed: 1000Mb/s

ping confirm whether the device (e.g. IP camera) is responding on the network — the first step when debugging "no data received" before suspecting the code. ethtool confirms the actual connection speed negotiated — if you see 100Mb/s even though both ends and the cable support Gigabit, it's usually because the cable is of poor quality or does not meet Cat5e standards or higher.

Common mistakes

  • Using a low quality cable for Gigabit connection — the cable does not meet Cat5e standards (wire is too long, poorly shielded) causing 2 devices to self-negotiate to a lower speed (100Mb/s or lower) without reporting an obvious error — check with ethtool as in the example above.
  • IP address conflict on the robot's internal network — 2 devices (e.g. camera and computer running ROS2) are configured with the same static IP causing intermittent connection loss that is difficult to diagnose — always plan a clear static IP range for each device on the robot's internal network.
  • The operating system's default receive buffer is too small for LiDAR/high-speed camera data — causing dropped packets even though the physical network is completely stable, manifesting as missing point cloud/image data — need to increase the operating system's UDP buffer size when using high-bandwidth sensors.
  • The PHY chip on the self-designed board is incorrectly configured via MDIO — on the self-designed embedded board (not a regular computer), the link light is still on but data cannot be transmitted because the PHY configuration register (via MDIO interface) is not correct - need to compare correctly with the specific PHY chip datasheet being used.

Conclusion

Ethernet is the answer to the bandwidth problem that no other embedded bus can solve — at the cost of much higher complexity and power consumption. Understanding when Ethernet is needed (big data: images, point clouds) and when a simple embedded bus is enough (small control commands, high frequency) is an important architectural decision when designing multi-computer systems for AMR. This is also the last article in the Hardware Communication category - combined with the 3 categories of Fundamental Knowledge, Electronic Components, Microcontroller and C/C++ Programming learned, enough solid foundation to move to the next Motor Control section, where these communication standards are practically used to control motors.

Get new articles and lessons by email

When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.

Unsubscribe any time with the link in each email. See our Privacy policy.

What is Ethernet? When embedded buses no longer provide enough bandwidth — Atlas Robotics