Skip to the content
PCBKitNew board
2 layers29.2 × 110.1 mmLogicModule, the printed circuit board in 3D

An eurorack logic module with several logic functions and a clock divider mode. Build around an arduino nano. So could be reprogrammed.

Size
29.2 × 110.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
59
Nets
58
Pads
174
Tracks, vias
337, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
7 Jul 2021
Updated
19 Dec 2023

Overview

LogicModule is an open-source printed circuit board by JanBurp, from the JanBurp/MorphaLogic repository on GitHub. It is a 2-layer board of 29.2 × 110.1 mm with 59 parts on 58 nets, routed with 337 tracks and 0 vias.

It is built around the BC337. Its parts include 23 resistors, 17 diodes, 11 connectors, 4 transistors and 3 switches. It belongs with the audio and music and lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

MorphaLogic

An Eurorack module based around a Arduino Nano.

With AND, OR, XOR logic functions, a Flip Flip (Q), a Clock Divider mode, and more.

Morgalogic Front Panel

Inputs, Outputs & Buttons

LEFTRIGHT
INPUT: input (A)OUTPUT: AND (or clock / 16)
INPUT: input (B)OUTPUT: OR (or clock / 8)
INPUT: Inverse (INV)OUTPUT: XOR (or clock / 4)
INPUT: Clock (CLK)OUTPUT: Q - Flip Flop (or clock / 2)
OUTPUT: Inverse of TRIG BUTTONTrigger on press & release of TRIG BUTTON
BUTTON: Mode buttonBUTTON: Reset button
TRIG BUTTON

Functions

Logic functions

  • Basic logic funcions AND, OR, XOR (using the first inputs on the left side).
  • Flip Flop (Q) (first input will SET, second input will RESET).
  • NOT input, or MODE button, to inverse all logic outputs (NAND, NOR, NXOR, NQ)
  • CLOCK input, when present, all Logic outputs only are HIGH when CLOCK is HIGH
  • RESET button to reset Q and CLOCK

Trig button

When the TRIG button is pressed (and released):

  • A LOW gate is send to the first (left) output. It will be HIGH when the button is not pressed.
  • A short pulse is send to the second output on press & release of the button.
  • If the module is in Clock Divider mode, the press & release time will set the Clock Tempe if no signal is present on the CLOCK input.

Modes:

Current mode is set in memory.

Normal mode (mode button is unlit):

  • Inputs A & B determines logic outputs (AND, OR, XOR, Q). Where A is set and B is reset for the flipflop (Q).
  • If the NOT input is HIGH, all logic outputs are inverted (NAND, NOR, NXOR,NQ)

Inverse mode (mode button is lit):

  • Pressing the mode button will inverse all logic outputs (same as when NOT input is HIGH)

Clockdivider mode (mode button is flashing):

  • A long press on the mode button will put the module in Clockdivider mode. The mode button will flash.
  • The logic outputs will divide the clock (where Q = /2, XOR = /4, OR = /8, AND =/16)
  • The clock source is:
    • The CLK input
    • If no clock is present on the CLK input, a standard 120 BPM clock is used.
    • Or, if the trig buttons has been pressed and released, the timing between press and release is used to determine the clock time.

External Trig Mode (trig button flashes):

  • A long press of the RESET button toggles between external trig options mode on/off. When on, the trig button flashes.
  • When external trig mode is on, the first input can function as an external trig for the trig button.

Uses

  • Use the logic function for all kinds of GATE manipluations, for interesting sequences for example.
  • Same for the CLOCK DIVIDER mode.
  • Make use of the CLOCK input to quantize the logic outputs with a clock signal.
  • Use the TRIG BUTTON (or external trig mode) for changing a GATE into two short TRIGS.
  • Use the TRIG BUTTON to fire a LOW gate (patch it into one of the logic function to have a HIGH gate on the OR output).

Example with a Morphagene

One of my main modules in my eurorack case is the Make-Noise Morphagene. One thing that i'd like it to do is:

  • Press and hold button to record - currently playing loop is stopped, and recording is started.
  • Release button - recording is stopped and starts playing.

To make this work:

  • Prepare the Morphagene by setting the Record option (rsop) in the options.txt file on the SD card to '1'.
  • Patch the TRIGGER output of the TRIG BUTTON to the RECORD input of the Morphagene
  • Patch the INVERSE output of the TRIG BUTTOON to the PLAY input of the Morphagene

Now:

  • When pressing (and holding) the TRIG BUTTON the Morphagene start recording (and stops playing).
  • When releasing the TRIG BUTTON the Morphagene stops recording and starts playing.
  • If in Clock Divider mode and no Clock signal is present at the CLOCK input, the tempo is set to the time between pressing and releasing the button.

Content:

In this repo you'll find:

  • Arduino program
  • Schematics
  • BOM
  • KiCad project with schematics & PCB & FrontPanel PCB
  • STL file for printing the buttons
  • Several pictures

Buying a kit

If you'd like to build this module you can buy a kit with:

  • PCB
  • Frontpanel
  • 3D printed buttons

Contact me if you are interested.

By Jan den Besten www.jandenbesten.com

Parts

59
QtyValueFootprintReferences
121KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6, R8, R10, R11, R12, R13, R15, R17, R18, R19, R21, R22
71kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R5, R9, R16, R23
410kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4, R7, R14, R20
41N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD4, D7, D11, D15
4BC337Package_TO_SOT_THT:TO-92_InlineQ1, Q2, Q3, Q4
1ANDConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ3
1Arduino_Nano_v2.xModule:Arduino_NanoA1
1ButtonButton_Switch_THT:SW_PUSH_6mmSW1
1Conn_02x05_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ11
1INPUT AConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ1
1INPUT BConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ2
1INPUT CLOCKConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ9
1INPUT NOTConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ6
1LED AND LED_THT:LED_D3.0mmD6
1LED ModeLED_THT:LED_D3.0mmD2
1LED ORLED_THT:LED_D3.0mmD9
1LED QLED_THT:LED_D3.0mmD13
1LED ResetLED_THT:LED_D3.0mmD3
1LED XORLED_THT:LED_D3.0mmD10
1LED buttonLED_THT:LED_D3.0mmD1
1LED inpALED_THT:LED_D3.0mmD5
1LED inpBLED_THT:LED_D3.0mmD8
1LED inpCLKLED_THT:LED_D3.0mmD17
1LED inpNOTLED_THT:LED_D3.0mmD12
1LED ngateLED_THT:LED_D3.0mmD14
1LED trigLED_THT:LED_D3.0mmD16
1ModeButton_Switch_THT:SW_PUSH_6mmSW2
1NGATEConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ8
1ORConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ4
1QConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ7
1ResetButton_Switch_THT:SW_PUSH_6mmSW3
1TRIGConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ10
1XORConnector_Audio:Jack_3.5mm_QingPu_WQP-PJ398SM_Vertical_CircularHolesJ5

Questions

How big is the LogicModule PCB?

It measures 29.2 × 110.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LogicModule use?

59 parts, built around the BC337. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the LogicModule KiCad files?

From the JanBurp/MorphaLogic repository on GitHub, at the commit this page was made from: the board is kicad project/LogicModule.kicad_pcb and its schematic kicad project/LogicModule.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LogicModule design in my own project?

Its repository states no licence, so its author keeps all rights: ask JanBurp before reusing the design.

Similar boards

  • 2 layers50 × 25 mmMbus master, the printed circuit board in 3D

    Mbus master

    roarfred/AmsToMqttBridge

    Minimalistic system to read AMS/HAN data from electrical meter

    50 parts223
  • 2 layers118 × 103.5 mmEV Charger2, the printed circuit board in 3D

    EV Charger2

    fotherja/EV_Charger

    Arduino Uno Code for EV Charger

    62 parts167MIT
  • 2 layers28.7 × 81.3 mmLine sensor mini wide, the printed circuit board in 3D

    Line sensor mini wide

    ukmars/ukmarsbot

    A simple beginners multi purpose robot platform

    37 parts138MIT
  • 2 layersLM80C R6, the printed circuit board in 3D

    LM80C R6

    leomil72/LM80C

    A Z80-based homebrew computer withTMS9918, AY-3-8910, Z80 CTC, Z80 PIO, and Z80 SIO

    153 parts123GPL-3.0
  • 2 layers121 × 68 mmFreeds sanchez, the printed circuit board in 3D

    Freeds sanchez

    pablozg/freeds

    Derivador de energía solar excedente creado por Pablo Zerón, Diseño PCB por Amcalo, Tester original por Aeizoon, Wiki por Zoilo Mora

    42 parts108
  • 2 layers56.6 × 57.7 mmTashTwenty Tiny, the printed circuit board in 3D

    TashTwenty Tiny

    lampmerchant/tashtwenty

    An interface for the DCD protocol used by Apple's Hard Disk 20.

    31 parts35GPL-3.0
  • 2 layers52.8 × 149.3 mmPixelSlasher, the printed circuit board in 3D

    PixelSlasher

    CTXz/Video-Glitch-Array

    A collection of glitch art circuits dedicated to VGA signal manipulation

    22 parts30
  • 2 layers37.1 × 24.1 mmZX81-Composite, the printed circuit board in 3D

    ZX81-Composite

    redhawk668/ZX81-Composite

    ZX81 Composite video with Backporch

    16 parts25GPL-3.0