Skip to main content

ED Hardware Examples

This section provides practical wiring examples for connecting various hardware to your Brainboxes ED device.

Output to a Light Circuit

ED-588 output wiring diagram for a light circuit, showing lamp off and lamp on states with external 24V supply

Basic example showing how to connect a light or LED to an ED output.

Switch Input Circuit

ED device switch input wiring diagram with four switches (SW1-SW4) connected to digital inputs DIN0-DIN4 and GND

Example showing how to connect a simple switch to an ED input.

Digital Outputs: SINK

Sink output schematic showing a load connected to Vss with a switch to ground, representing how ED outputs pull low

Specifications:

  • Vss = 30V Max
How Sink Outputs Work

These Sink Outputs act like a switch shorting the Digital Output to the GND pin. When the Output is off, the external circuit pulls up to its supply Voltage (Vss).

ED terminal block wiring diagram for sink output circuit with load connected between Vss and D OUT 0 (Pin 2), GND on Pin 1

The ED-XXX outputs are current sinking outputs - they can easily pull the output down to ground but they cannot pull the output up.

Key Points:

  • The +ve supply (Vss) to the load isn't related to the ED power supply voltage
  • Ensure that the external circuit Ground is connected to the ED GND connection
  • Maximum Current one ED port can sink is 1 Amp so large loads can be switched
  • Vss = 30V Max

Digital Outputs: TTL Compatible

For TTL/5V CMOS Compatibility:

TTL outputs must drive below 0.35V for logic Low, and above 3.3V for logic High.

The ED outputs can drive down to below 0.35V while sinking over 1A, so the Low side of the output spec is not a problem.

Making Outputs TTL Compatible

ED Sink outputs do not drive high. To make the outputs TTL (or 5V CMOS) compatible, add a pull-up resistor (e.g., 10kΩ) from the outputs to 5V.

Ensure the external circuit Ground is connected to ED GND connection.

Turning ON Indicator Light

The ED-XXX outputs are current sinking outputs - they can easily pull the output down to ground but they cannot pull the output up.

When an LED and resistor is connected as shown, the LED lights when the Output is turned ON.

Example Configuration:

  • 12V supply
  • 20mA current
  • 500 Ohm resistor

Logic Levels:

  • 0V to 1V = "0"

Seven Segment Display Example

Green seven-segment LED display showing the digit 0 with decimal point, driven by ED digital outputs

Example using RS part# 719-2522 (7 Segment Display):

  • 12V supply
  • Vf = 7.8V
  • 20mA current
  • 210 Ohm resistor
  • 8 x 20mA = 160mA (still a small load even when all segments plus decimal point are lit)

Turning ON Indicator Sounds

ED terminal block wiring diagram for buzzer circuit with resistor and buzzer connected to D OUT 0 (Pin 2) and GND

When a Buzzer (e.g., RS Part# 754-2003) and resistor are connected, the Buzzer sounds when the Output is turned ON.

Logic Levels:

  • 0V to 1V = "0"

Digital Inputs: NPN/PNP Compatible

ED-XXX Has 8 Digital Inputs. Each Input can be individually set to accept either NPN or PNP signals.

NPN/PNP Jumper Settings

ED device PCB with NPN/PNP input selection jumpers visible, labelled INPUT PNP and NPN

Jumper Positions:

  • LEFT = PNP
  • RIGHT = NPN (default)

Diagram showing ED jumper positions: left position selects PNP mode, right position selects NPN mode (default)

NPN and PNP sensor wiring comparison showing brown, black, and blue wire connections for each sensor type

NPN vs PNP Sensors

NPN Sensor

StateOutput
Nothing nearNormally HIGH
Metal object nearGoes LOW

PNP Sensor

StateOutput
Nothing nearNormally LOW
Metal object nearGoes HIGH
note

Each sensor requires a Power Input of 12 Volts

Example Configuration:

  • A PNP Sensor on DIO 5 = 020x
  • A NPN Sensor on DIO 0 = 01x

ED-004 with PNP and NPN sensor wiring diagrams, inductive proximity sensor, and metal detection target

Dry Contacts

A "Dry" contact is so called because it doesn't have any voltage on it. A switch is a typical dry contact.

:::question Problem If there is no voltage on it, how do I tell whether it's open or closed? :::

Example: Switch is DI 02 = Bit 4

Rocker switch with red LED indicator in the off position, used as a dry contact example Rocker switch with red LED indicator in the on position, showing the closed dry contact state

Detecting Dry Contacts

Configuration

Set the User Configurable PNP/NPN Jumper to NPN

Dry Contact / Volt Free Detection:

StateLogic Level
Short to GND0
Leave unconnected1 (inputs pull high)

Dry contact detection wiring: switch connected between ED digital input and GND, NPN jumper pulls input high when open

Dry Contact: PIR Detector

Inputs: A relay is a dry contact.

Example: PIR Alarm = DIO 1 = 02x

Sensors & Actuators

Sensors

PIR motion detector sensor, a typical input device that connects to ED digital inputs

Sensors connect to Inputs

A sensor is a mechanical device sensitive to light, temperature, radiation level, or the like, that transmits a signal to a measuring or control instrument.

Actuators

Actuators connect to Outputs

An actuator is a servomechanism that supplies and transmits a measured amount of energy for the operation of another mechanism or system.

What can I control?

Any device that can be switched on/off with a digital signal:

  • Lights
  • Motors (via relay/driver)
  • Solenoids
  • Valves
  • Buzzers/Alarms
  • Display elements