Module requests

There are keyboard/sequencer devices like the Arturia Keystep (Pro or OG) that output CV and gate.

3 Likes

while waiting for a beatstep or other, if you have all the Sam modules built, you can use the LFO to send a signal in the sequencer or in the Envelope (otherwise the mini ADSR has a loop too :slight_smile: don’t need external trigger), a slowly square wave can make a trigger signal too (if you have several VCO)
and a multiple is very useful for multiplying a signal and sending it at the same time in several modules.
and the 8 step sequencer have 8 gate out too

2 Likes

I meant electrically inverted.
We want current to flow through the MIDI THRU outputs at the same time as is flows through the MIDI IN loop, but when current flows through the 6N137 input LED, its output goes low, the outputs of the inverters go high and no current flows through the MIDI THRU output.

2 Likes

Good idea to publish that. Following this example, here is mine for euro rack:

2 Likes

indeed!!! eagle eyes,., for the moment I just changed the 6n138 of the chip to not have to change the footprint on the pcb. Will rectify after I have finished that stuff.

which resistor are you talking about the pull up resistor??

2 Likes

im a little confused as to what you are angling towards. is this regarding the hex inverter used as the buffer?

that aspect of the circuit works, its been tested in the first prototype as the inverters re invert it.

I took that aspect of the circuit from a midi thru schematic I have in the gameboy megamachine.

unless you are talking about another aspect of it im not too sure. are you talking about the propagation delay of the inverters? as its quite a common midi thru design

1 Like

Yeah, the 10k pullup (R19). The output is open drain (i.e. shorting to ground), so the resistor provides all the on current and the signal rise time will depend on the pullup and the input capacitance of the next stage, whatever that is (a quick peek at the ATmega datasheet only says it’s Cpin which is only marginally helpful :slight_smile:).

The datasheet uses 350 ohm for all timing numbers, fwiw, but that’s probably overdoing things (those specs are ~10× better than required by MIDI anyway). I’ve used 2k2 iirc.

EDIT: Found it – it’s max 10 pF, and the MIDI spec says max rise time is 2 us which is about 100× the 6N137’s rise time (not 10×) measured at 350 ohm/15 pF, so 10k should be safe, even if it’s a bit above the recommendations.

1 Like

If it works as is, I must be missing something.

The example in the MIDI 1.0 spec shows a very similar MIDI THRU circuit, but with two inverters.

Is the output of the 6N137 inverted compared to the opto coupler shown in the spec? It doesn’t seem to be.

1 Like

Yeah, at first I thought there was some cleverness in how the jack pins were connected, but if it is it seems to be too clever for me :smiley: (maybe if I sleep on it)

So the MIDI signal is a 5 mA current loop where a logical 0 is defined as current from DIN pin 4 to DIN pin 5 (or ring to tip for minijacks, which I assume is pin 3 to pin 1 in the LMNC schematics). The opto-coupler is wired to pull the internal signal low when the LED turns on, so is effectively inverting the wire signal to produce the correct logical levels on the “inside,” which makes the ATmega happy.

The MIDI thru/output schematics feeds 5 V to pin 4 and pulls pin 5 low when the internal signal goes low, causing a current to flow from 4 to 5 (or 3 to 1 in the jack scheme).

The LMNC schematics has a single inverter, which pulls pin 1 low when the internal signal goes high, causing a current to flow from pin 3 (5 V via 220 ohm) to pin 1. The TTL inverter has no problem sinking 5 mA, but it looks like it’s sinking when it shouldn’t be… :thinking:

I love that spot so much.

3 Likes

yep im being a dimdimeon @antoine.pasde2 @fredrik . stupid. I see it now. somehow when editing it since the prototype I removed the inverter between the thru’s and the optoisolator.

I realise my error now, I tapped the signal for the atmega after the first inverter initially. realised the error in the circuit on the prototype pcb removed it instead of moving the where the atmega chip was reading it, so yes midi thru’s are wrong. you guys are too good! :smiley: I dont believe I did that very silly

thanks for persisting. yep definitely a silly oversight! why the proto works and this schematic doesn’t!

4 Likes

I’d point you to this thread, but if we caught this before you got around to order PCBs I’m not sure it belongs there :smiley:

(Looks like a very quick fix, given all the spare inverters you have in that chip. A tiny bit of rerouting and you’re done.)

5 Likes

how about a signed module , Sam Battle signature series ?

3 Likes

#200 :slight_smile:

6 Likes

I don’t know about anyone else but for me, waking up and firing up the Analog and waiting for the TUBE to warm up before I hear some Buzz, and that fade in sound. yup, love it. I know its got some quirks (BC107 Tubed VCA) but i love mine.

I think this module is a good candidate for PCB in the future ?

5 Likes

I’d like to see something like this in Kosmo format. This thing…

Skip to about 5 min. in, for some reason they didn’t edit out the fiddling around in the beginning.

4 Likes

Summary for anyone who doesn’t have an hour to spend watching the video?

2 Likes

5 Likes

Or an effects send/return, Big Muff + Sonic Orb phaser into a wasp filter…:speaking_head::poop:

3 Likes

“The 100 Grit is a touch controlled distortion unit inspired by the output section of a vintage synthesizer.”

(no schematics, but PCB has an LM13700, a TL074, two LM386s (!) and a surprising amount of low-distortion opamps for being a distortion unit :grinning:)

10 Likes