Author Topic: Using ESU Logic-level function outputs  (Read 7200 times)

0 Members and 1 Guest are viewing this topic.

RBrodzinsky

  • Crew
  • *
  • Posts: 1205
  • Gender: Male
  • Respect: +425
Using ESU Logic-level function outputs
« on: November 25, 2017, 12:11:13 PM »
+2
I have always been intrigued by the logic-level functional outputs on the ESU LokSound and LokPilot decoders. What good are they? How do I use them?  I know can purchase the Streamlined Backshop Aux3/4 board, which provides amplified output for them, but I kept wondering what exactly one could do, and could one use these directly.  Well, this week, the USPS has managed to lose my shipment of boards from Bryan at SBS, so I started digging a bit more.

I found this site, where the outputs are fully explained: http://gibitrains.pagesperso-orange.fr/en/automatisme/logique/logique-02.htm
Basically, as the name suggests, these are simply true logic state outputs from the decoder, without any amplification.  When "on" (function selected), the state of the output is +5V, as compared to the decoders ground; compared with the "amplified" outputs which are really the decoder's "ground" when "on", and the blue wire (common +) is used.

To amplify, one needs either an N-MOS transistor (such as an FDV301N from Digikey), or a bi-polar transistor, which then also needs a resistor on the Aux output. The "gate" or "base" input to the transistor is the Aux output; the "source" or "emitter" input is the decoder ground; and the "drain" or "collector" output goes to the device and then to the decoder's common + (blue wire)

OR, one can use the output directly for low current (<5ma) applications, such as an LED.  To test, I put a warm white 1206 LED, with ~400 ohm resistor in series, between the Aux1 logic output of a LokPilot Direct Micro and the decoder ground.  This would give slightly less than 5ma of current (forward voltage of LED 3.3V). Viola! The LED acted just as if it was on an amplified output!  The only difference was rather than using the blue wire, I attached the Aux output to where the blue wire would go; and the ground wire to where the Aux output normally goes.    (Note: for colored LEDs, which normally have 1.8-2.2 forward volts, the resistor should be upped to about 1000 ohms).

Since, for N-scale, about the only other things one can fit into the locos would be more lights, this saves significant room for not having the deal with an additional board.

Rick Brodzinsky
Chief Engineer - JACALAR Railroad
Silicon Valley FreeMo-N

peteski

  • Crew
  • *
  • Posts: 31839
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +4613
    • Coming (not so) soon...
Re: Using ESU Logic-level function outputs
« Reply #1 on: November 25, 2017, 06:59:56 PM »
0
What is the main application for those outputs?  I know ZIMO decoders have function outputs that can be configured as logic outputs to for example directly drive RC servo signals.
. . . 42 . . .

RBrodzinsky

  • Crew
  • *
  • Posts: 1205
  • Gender: Male
  • Respect: +425
Re: Using ESU Logic-level function outputs
« Reply #2 on: November 25, 2017, 07:43:38 PM »
0
I have never found anything in ESU literature on what the purpose of logic-only outputs were for. My idea will be to use the outputs for lights. Still debating whether I should continue doing amplification, or if just using the logic is safe for the long term.
Rick Brodzinsky
Chief Engineer - JACALAR Railroad
Silicon Valley FreeMo-N

jdcolombo

  • Crew
  • *
  • Posts: 2240
  • Respect: +926
Re: Using ESU Logic-level function outputs
« Reply #3 on: November 26, 2017, 10:49:38 AM »
0
What is the main application for those outputs?  I know ZIMO decoders have function outputs that can be configured as logic outputs to for example directly drive RC servo signals.

I think it's the same with ESU: the logic outputs were designed to drive RC servos in larger scale engines.  Think automated couplers, for example.  Practical in large scale or O (maybe even in HO these days), but not in N. 

John C.

Jbub

  • Crew
  • *
  • Posts: 1792
  • Gender: Male
  • HP 9999
  • Respect: +542
Re: Using ESU Logic-level function outputs
« Reply #4 on: November 26, 2017, 11:32:51 AM »
0
I'm assuming these logic outputs are simple on/off functions?  You couldn't use these as a flashing beacon or gryalight with the dimming and flash?
"Noooooooooooooooooooo!!!!!!"

Darth Vader

RBrodzinsky

  • Crew
  • *
  • Posts: 1205
  • Gender: Male
  • Respect: +425
Re: Using ESU Logic-level function outputs
« Reply #5 on: November 26, 2017, 01:32:37 PM »
0
I did try using flashing ditch lights, worked perfectly.

But, I have just been pointed to the NEM and NMRA standards, and they call for a maximum supported output on the logic pins of 0.5mA. So, while it works, I guess one shouldn’t rely on this method.
Rick Brodzinsky
Chief Engineer - JACALAR Railroad
Silicon Valley FreeMo-N

peteski

  • Crew
  • *
  • Posts: 31839
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +4613
    • Coming (not so) soon...
Re: Using ESU Logic-level function outputs
« Reply #6 on: November 27, 2017, 02:55:49 AM »
0
Are these logic outputs explained in any of the actual ESU manuals? If yes, which one?
. . . 42 . . .

wcfn100

  • Crew
  • *
  • Posts: 8797
  • Respect: +1128
    • Chicago Great Western Modeler
Re: Using ESU Logic-level function outputs
« Reply #7 on: November 27, 2017, 03:05:50 AM »
0
Logical outputs are in the manuals.

Jason

peteski

  • Crew
  • *
  • Posts: 31839
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +4613
    • Coming (not so) soon...
Re: Using ESU Logic-level function outputs
« Reply #8 on: November 27, 2017, 03:54:55 AM »
0
Logical outputs are in the manuals.

Jason

Could you be a bit more vague?  :)

Are these logic outputs explained in any of the actual ESU manuals? If yes, which one?

I looked over the 88-page one (51972_LokSound_V40_ESUKG_EN_User-Manual_Edition-4_eBook_03.pdf) and the only mention I found was under decoder specifications.  There is a section on "logical outputs" which is unrelated to logic outputs.
. . . 42 . . .

wcfn100

  • Crew
  • *
  • Posts: 8797
  • Respect: +1128
    • Chicago Great Western Modeler
Re: Using ESU Logic-level function outputs
« Reply #9 on: November 27, 2017, 10:11:12 AM »
0
The LokSound V4 Manual page 22.

Quote
6.10.4.1. LokSound with 21MTC Interface
LokSound decoders with 21MTC interface have two additional
outputs besides the 4 standard outputs, namely AUX3 and AUX4.
Since they are pure „logic-outputs“, it is not possible to connect
any external loads directly. External power transistors are required.
Connect AUX3 and AUX4 via the interface; there are no wire
leads. In terms of their functionality, AUX3 and AUX4 are equal to
the other outputs. ESU offers an appropriate adapater board (art.
no. 51968) with transistors

I believe those are the functions being referenced here, yes?

Here's a link to the manual -

http://www.esu.eu/uploads/tx_esudownloads/51972_LokSound_V40_ESUKG_EN_User-Manual_Edition-4_eBook_03.pdf

Jason
« Last Edit: November 27, 2017, 02:43:21 PM by wcfn100 »

peteski

  • Crew
  • *
  • Posts: 31839
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +4613
    • Coming (not so) soon...
Re: Using ESU Logic-level function outputs
« Reply #10 on: November 27, 2017, 02:31:09 PM »
0
Thank you!  So there is nothing special about these function outputs - only the fact that they are not designed to drive any loads directly.  I was curious if they could be configured to be utilized as something other than a function (like drivers for USB or susi bus).  They can't even be used to control servos.  And they are only available on decoders with 21MTC interface connector.
« Last Edit: November 27, 2017, 02:33:00 PM by peteski »
. . . 42 . . .

wcfn100

  • Crew
  • *
  • Posts: 8797
  • Respect: +1128
    • Chicago Great Western Modeler
Re: Using ESU Logic-level function outputs
« Reply #11 on: November 27, 2017, 02:47:48 PM »
0
They can't even be used to control servos.

They already have 4 outputs for that on the LokSound XL.

Jason

peteski

  • Crew
  • *
  • Posts: 31839
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +4613
    • Coming (not so) soon...
Re: Using ESU Logic-level function outputs
« Reply #12 on: November 27, 2017, 02:54:36 PM »
0
They already have 4 outputs for that on the LokSound XL.

Jason

I realize that, but I was looking at all this from the N scale perspective. Neither if these decoders is suitable for N scale models.  Basically for me this is "nothing to see here, move along  . . ."
. . . 42 . . .

RBrodzinsky

  • Crew
  • *
  • Posts: 1205
  • Gender: Male
  • Respect: +425
Re: Using ESU Logic-level function outputs
« Reply #13 on: November 27, 2017, 03:17:59 PM »
0
I realize that, but I was looking at all this from the N scale perspective. Neither if these decoders is suitable for N scale models.  Basically for me this is "nothing to see here, move along  . . ."

The logic Aux3/4 pads can be used in N-scale.  There are pads for them on the Select & V4 Micros (and most of the other decoder versions, too).  See Figure 1 on Page 12 of the LokSound user manual above.
Rick Brodzinsky
Chief Engineer - JACALAR Railroad
Silicon Valley FreeMo-N

RBrodzinsky

  • Crew
  • *
  • Posts: 1205
  • Gender: Male
  • Respect: +425
Re: Using ESU Logic-level function outputs
« Reply #14 on: November 27, 2017, 04:31:30 PM »
0
Here is an annotated image of the V4/Select Micro's connections

[ Guests cannot view attachments ]

The whole point of my exercise is I need 6 function outputs for a new install (front/rear headlights; front/rear "tail" lights (red markers, independently operated); flashing front ditch lights.
Rick Brodzinsky
Chief Engineer - JACALAR Railroad
Silicon Valley FreeMo-N