Skip to content

Commit 9701b30

Browse files
Linter
1 parent 3a6b57f commit 9701b30

File tree

9 files changed

+32
-9
lines changed

9 files changed

+32
-9
lines changed
Binary file not shown.
Binary file not shown.

content/hardware/02.hero/shields/spe-shield/tutorials/getting-started/RS485-termination.png renamed to content/hardware/02.hero/shields/spe-shield/tutorials/getting-started/assets/RS485-termination.png

File renamed without changes.
Binary file not shown.
145 KB
Loading
Binary file not shown.
33 KB
Loading

content/hardware/02.hero/shields/spe-shield/tutorials/getting-started/power-connector.png renamed to content/hardware/02.hero/shields/spe-shield/tutorials/getting-started/assets/power-connector.png

File renamed without changes.

content/hardware/02.hero/shields/spe-shield/tutorials/getting-started/spe-getting-started.md

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
title: 'Getting Started With the Arduino SPE Shield'
3+
difficulty: beginner
4+
tags: [Getting Started]
5+
description: 'This tutorial will give you an overview of the core features of the SPE Shield.'
6+
author: 'Pedro Lima'
7+
---
18
Learn how to establish Single Pair Ethernet (SPE) communication using the Arduino® UNO SPE Shield, enabling industrial IoT connectivity with minimal wiring complexity.
29

310
## Overview
@@ -6,17 +13,17 @@ The Arduino® UNO SPE Shield brings industrial-grade Single Pair Ethernet (10BAS
613

714
In this guide, you'll learn how to set up your first SPE network, understand the fundamentals of 10BASE-T1S communication, and implement both point-to-point and multidrop network configurations.
815

9-
![Arduino UNO SPE Shield](assets/uno-spe-shield-overview.png)
16+
![Arduino UNO SPE Shield](assets/overview.png)
1017

1118
## Hardware and Software Requirements
1219

1320
### Hardware Requirements
1421

1522
- Arduino® UNO SPE Shield
1623
- Compatible Arduino board:
17-
- Arduino® UNO R4 WiFi (recommended)
18-
- Arduino® UNO R4 Minima
19-
- Arduino® UNO R3
24+
Arduino® UNO R4 WiFi (recommended)
25+
Arduino® UNO R4 Minima
26+
Arduino® UNO R3
2027
- USB cables for programming
2128
- Twisted pair cable for SPE connection
2229

@@ -110,7 +117,7 @@ A screw connector for powering the board and Shield assembly is provided with tw
110117

111118
## Termination Jumpers:
112119

113-
### SPI Termination Jumper:
120+
### SPE Termination Jumper:
114121

115122
To enable or disable the onboard termination resistors for the SPE bus there are two pairs of contact you can bridge.
116123
![Termination jumpers](assets/jumpers.png)
@@ -119,7 +126,7 @@ These are necessary always in the edge nodes both when using a multidrop or poin
119126
### RS-485 Termination Jumper:
120127

121128
The same principle applies to the RS-485 connector however in this case there is only a single jumper that needs to be bridged.
122-
![alt text](RS485-termination.png)
129+
![Termination jumpers](RS485-termination.png)
123130

124131
## First Use of Your Arduino UNO SPE Shield
125132

@@ -140,11 +147,11 @@ The shield can be powered through multiple sources:
140147

141148
![Powering your board](assets/SPE-power.gif)
142149

143-
## Simple broadcast Example
150+
## Simple Broadcast Example
144151

145152
This example demonstrates a simple broadcast communication system between multiple nodes on an SPE network. Each node can broadcast messages to all other nodes, and automatically responds with "pong" when it receives a "ping" message. This creates an interactive network where you can test connectivity and response times between different devices.
146153

147-
![Overview of the Ping/Pong example](assets/SPE-ping-pong.gif)
154+
![Overview of the Ping/Pong example](assets/SPE-ping-pong-01.gif)
148155

149156
### Hardware Setup
150157

@@ -372,6 +379,22 @@ void showHeartbeat() {
372379
}
373380
```
374381

382+
### SPI/RS-485 Network Example
383+
384+
This example demonstrates a hierarchical control system where a central SPE controller manages multiple Arduino Opta boards through gateway nodes. The system uses SPE (Single Pair Ethernet) for the main network backbone and RS-485 for connecting to end devices, combining the benefits of modern Ethernet with the reliability of industrial serial communication.
385+
386+
The architecture consists of three layers: a central control node that issues commands, gateway nodes that translate between SPE and RS-485 protocols, and Opta boards that execute the actual control operations. This design allows for scalable industrial automation where multiple Opta boards can be distributed across a facility while being managed from a single control point.
387+
388+
### Central Control Node (Server)
389+
390+
The central control node (Node 7) acts as the command center of the system, sending LED control commands to specific Opta boards through their associated gateway nodes. Operating on the SPE network, this node provides a simple serial interface where operators can type commands like "LED 3" to toggle specific LEDs on remote Optas.
391+
392+
![Central SPE Controller](assets/SPE-rs485-transducer-main.png)
393+
394+
```arduino
395+
work in progress
396+
```
397+
375398
### Transducer Node SPE/RS-485
376399

377400
The gateway nodes serve as protocol translators between the SPE network and RS-485 devices. Each gateway consists of an Arduino board with an SPE shield, where the board's hardware serial port (Serial1) connects to the RS-485 transceiver on the shield. These nodes receive UDP packets from the SPE network, extract the command data, and forward it to the RS-485 bus.
@@ -384,7 +407,7 @@ When an Opta board responds via RS-485, the gateway captures the response and se
384407
In Progress
385408
```
386409

387-
### Opta RS-485 interface
410+
### Opta RS-485 Interface
388411

389412
The Arduino Opta boards represent the end devices in this system, receiving commands via RS-485 and executing the requested actions. Each Opta configures pins 2-13 as digital outputs and listens for specific command formats on its serial interface. The boards can process three types of commands: reading individual pin states, writing to specific pins, or reading all pin states at once.
390413

0 commit comments

Comments
 (0)