# Link activity LEDs on UbiSwitch BaseBoard Mini

**URL:** <https://forum.botblox.org/t/link-activity-leds-on-ubiswitch-baseboard-mini/72>\
**Category:** BotBlox Hardware\
**Tags:** ubiswitch\
**Created:** [September 14, 2023, 9:13am UTC](https://forum.botblox.org/t/link-activity-leds-on-ubiswitch-baseboard-mini/72 "2023-09-14T09:13:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [September 14, 2023, 9:45am UTC](https://forum.botblox.org/t/link-activity-leds-on-ubiswitch-baseboard-mini/72/2 "2023-09-14T09:45:28Z")

</div>

The forum post below provides useful context on how the LEDs work on UbiSwitch.

> [@UbiSwitch LED matrix](https://forum.botblox.org/t/ubiswitch-led-matrix/30):
>
> Can you give more details about the link/signal LEDs for the SFP ports ? As the schematic is not very clear in this.

The LED lines are multiplexed, so one line does not correspond directly to one LED signal. The schematic below shows how they are connected.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/581d9aaae3117cf19a7a5c53c711a628cfd521d1.png)

The lines named on the connector are shown below.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/275713290a4ab8eccce60a849255373c324d1fed.png)

EE\_CLK\_C0\_LED\_P1\_LED0\_FLOW = C0\_LED (C0 printed on the board)  
EE\_DOUT\_C1\_LED\_P6\_LED0 = C1\_LED  
C2\_LED\_P7\_LED0 = C2\_LED  
C3\_LED\_P8\_LED0 = C3\_LED  
R0\_LED\_P1\_LED0 = R0\_LED  
R1\_LED\_P2\_LED0 = R1\_LED

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/0378640c4123d16a88df6f132229414d468c5b55.png)

By connecting the Column lines (C0, C1, C2, C3) and Row lines (R0, R1) in specific ways, you can access the LED lines as needed.

The table below shows how the rows and columns correspond to different LED signals. Each port has two LED signals associated with it, one for activity, and one for link.

| | C0\_LED | C1\_LED | C2\_LED | C3\_LED |
| --- | --- | --- | --- | --- |
| R0\_LED | Port 1, LED0 | Port 1, LED 1 | Port 2, LED 0 | Port 2, LED 1 |
| R1\_LED | Port 3, LED0 | Port 3, LED 1 | Port 4, LED 0 | Port 4, LED 1 |

**LED 0**  
Off = No Link  
On = 1000M link  
Blink = 1000BASE-T activity

**LED 1**  
Off = No Link  
On = 10/100M link  
Blink = 10/100 activity

These LED signals are designed for use with dual colour LEDs. This allows a single LED package to display both link speed information (with colour) and link activity information (off/on/blink).

To clarify how you connect an LED… For Port 1, 1000M link/activity LED, you would connect an LED between C0\_LED (anode) and R0\_LED (cathode).

If you are using a single colour LED, you would only be able to use either the 10/100M or the 1000M link/activity combination, which is not ideal.

You mention that your LEDs do not blink, and are always on. Please share your schematic for how you have connected your LEDs so we can check.

Regarding LED brightness, R4 and R5 (150 Ohm resistors) limit the current flowing in both the onboard LEDs, and your external LEDs. For your external LEDs, you can either add them directly on the LED header (in which case, the R4 and R5 will limit the current flowing through them), or you can add additional resistors in series with the external LEDs to reduce the brightness.

Note that the LED anodes (C0 to C3) are 3.3V level signals.

You should avoid modifying R4 and R5. Please note that modifying the board will void the warranty.

---

_[View the full topic](https://forum.botblox.org/t/link-activity-leds-on-ubiswitch-baseboard-mini/72)._
