0
\$\begingroup\$

I need to control the link between three wires:

  • Nothing touches == State 1 == Light is off
  • Red touches brown == State 2 == Light is on
  • Red touches grey == State 3 == Light blinks

A little drawing: edited by irfanview TS..

enter image description here

I control it through a raspberry.

I have it solved with 2 relays: ![enter image description here

But I am wondering if there is a single electronic part that can manage this function (then save one relay?).

Any idea?

\$\endgroup\$
  • 1
    \$\begingroup\$ What type of "light" are you using ? If it's LED's just implement the functionality in software \$\endgroup\$ – Sorenp Oct 17 '19 at 11:07
  • \$\begingroup\$ it's a signal tower light: patlite.com/product/detail0000000627.html \$\endgroup\$ – user777466 Oct 17 '19 at 12:10
  • \$\begingroup\$ DC or AC version? (Of the light stack.) \$\endgroup\$ – rdtsc Oct 17 '19 at 12:36
  • \$\begingroup\$ DC version, 24V \$\endgroup\$ – user777466 Oct 17 '19 at 13:03
  • \$\begingroup\$ Your question is inadequate for logic. is it RED or BROWN (flash) with possibly both? Next time show more info. Dont need relays to do logic, just 2 ports for 3 or 4 states . All inputs are 0V connect to active ( open drain chip) \$\endgroup\$ – Tony Stewart Sunnyskyguy EE75 Oct 17 '19 at 15:55
0
\$\begingroup\$

The LRx-x02 Datasheet says that for this series of stack light,

  • Black is 0v, unless buzzer is present, then it's Grey (wire 9.)
  • If buzzer is present, it is the Purple wire (6.)
  • Yellow is +24v.
  • Tying low (0v, 50mA max) to Red will illuminate the red lamp.
  • Tying low (0v, current not specified) to Brown will make (all) lamps flash.

While relays could be used for this, you are correct, two relays would be needed. There is no such thing (that I've seen) of a three-position relay. The easiest solution would be to use two "open collector" transistors to pull these lines low:

schematic

simulate this circuit – Schematic created using CircuitLab

If the unit has a buzzer, then the purple wire (low) turns that on. A beefier transistor than the venerable 2N3904 would be required, as this draws more current than that transistor can supply under all conditions.

But realistically, only Q1 would be needed as you could turn on and off that GPIO to flash the lamp.

Also, for an industrial application, consider the Controllino instead of an Arduino.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.