Jump to content

LED Driver and Output Board for SEQv4 DOUT


Nirokesan
 Share

Recommended Posts

I know this topic has been raised before, and I've read through some of those threads, but I haven't found a definite answer and couldn't find Altitude's files on the wiki to use as reference.  I saw that Hex Inverter's MIDI2CV was mentioned as an example of a usable LED driver.  The specs of the MIDI2CV quote a gate output of 0-5V.   Some research proved that this is a common method of LED driving, and of course that there is plenty of debate about which method is best. 

I have designed an 8-output board based on that, but I had D0-D7 reversed on my first batch.  Before I order new boards, and as I'm not an EE, I figure it's best to confess my ignorance and get some input on the circuit from some other MBHP builders here before I have these fabricated.  Below is a schematic of the circuit, one instance per output.  The 220Rs are already installed on my DOUT board, so I've included them in the sketch.    The 33k is based on the original circuit, but I changed his 1K at the collector to 150R (based on a basic LED-resistor calculation) and plan to use some of the 220s I have left over instead...but this doesn't account for other variables (the 33k, the 3904) because I honestly don't understand the equations.  

jGPQmoB.jpg

Here's the datasheet for the 3904 http://www.mouser.com/ds/2/308/2N3904-1118515.pdf

I tried this circuit in a simulator with various resistor values.  I was attempting to tune it for Vbe saturation per someone's advice, but I don't know what I'm doing.  If I change R2 to 18K, I get the following results, but I'm not sure that matches my targets from the datasheet (again, I don't pretend to have a grasp of this yet).

P69VbVh.jpg

 

What are most people doing for their gate/trig/clock outs?  Sockets wired directly to J3-6 on DOUT with no LED or output protection?  Am I totally off track?

Thanks in advance for any advice!  

 

Edited by Nirokesan
Link to comment
Share on other sites

NPN transistors don't source current very well. I'd suggest moving the diode in series with the resistor on the collector and tying the emitter to 0V. This way the current can be controlled with R1, otherwise it's not doing much. The capacitor you've shown in the Falstad sim won't do anything. R3 isn't necessary if you have the 220R in place. D1 will block reverse voltages but will also drop the gate voltage. Voltage < 0V will pass through. As long as the current is limited the 595 output will probably be okay with another output connected, even excluding D1. Diode clamps are better done in parallel with the node to protect, diodes connected e.g. to the power rails.

I'd suggest testing the circuit on a breadboard or perfboard/stripboard before ordering the PCBs.

Edited by latigid on
Link to comment
Share on other sites

Thanks for your reply.  The sim works fine with the configuration you suggest, but I haven't tried much on the breadboard, haven't had time and my SEQv4 and DOUT are not ready to use for testing.  Part of the reason I had the LED on the emitter is because I'm trying to salvage some of the version 1 boards which already have sockets and LEDs installed, so adding a daughter board with the drivers would save me from desoldering or scrapping those parts. I had figured out a way to send signals back and forth to the daughter using existing headers, but I can't go to and from the LEDs, only one or the other.  So R1 doesn't limit current in the sim above?  There is certainly a change in LED brightness when changing R values.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...