Kaossilator BPM-out mod (or any LED)

DSCN7577

 

NOTE: THIS ARTICLE IS UNDER SUPERVISION, THERE IS AN ERROR I CANNOT DETECT IN THE CIRCUIT

Welcome to acidotunismo.com!

This is the first article I post, I hope many will follow. Basically it’s a site about DIY (do it yourself). It’s a sort of open log of some of my projects for anyone that could be interested. It’s in english and spanish.

What does it do

This circuit is a mod/hack to Korg’s Kaossilator (v1) to extract clean rythm pulses (BPM) from it and be able to control other home-made devices and synchronize them. Specially practical for the “tapping” BPM control and sync’ing with the automatic drums (P.90-P.99).

The circuit is electrically autonomous, feeding from the Kaossilator itself, generating 0 to 6V pulses approx.

It’s not exclusive to the Kaossilator, it can also be used to extract pulses from any LED integrated to a device.

The circuit

Mainly it uses two BJT transistors to detect a negative and positive from a LED inside the digits display, then it goes two a monostable circuit using the famous LM555 to generate a reliable positive pulse and “absorb” small (fast) changes produced by PWM and digit iteration (see Why it works ahead).

LED pulse extractor_schem 2

Download LED pulse extractor Fritzing file (.fzz) (schematic & breadboard)

I’ve seen in other tutorials that they take ground (GND) from the battery spring, but that’s not optimal as pluging an external power source, the socket disconnects ground from the spring making it effectively disconnected from the rest of the circuit. The pins I found best to take as power source work for battery power and from an external source/transformer.

Int the next image it’s shown where you must solder cables inside the Kaossilator to use the circuit. Here’s a tutorial (third party) on how to open it: http://www.youtube.com/watch?v=wiZhB_BpINY

soldering bpm kaossilator

Origins

I’ve detectet that, no mater which condition, the Kaossilator turned on and off a LED in the numerical display with each rythm pulse and I imagined it could be extracted electronically.

As I don’t have an oscilloscope I’ve tried with a computer speaker: The sleeve of the TRS plug connected to circuit ground and the tip of the plug through a resistor to different pins on the numeric display to hear which one sounded more when the BPM LED was turned on. After detecting one, leaving the connection there, I started trying other pins with the plug’s sleeve to see which pin improved the signal. A common circuit bending technique.

Afterwards with a 9V battery and a generous resistor of 10kΩ (just in case) I tested and effectively with those pins, in the orientation thought to work, turned that led on.

Why it works

This is a more complete and technical explanation of the inner workings of the circuit.

7 seg 1

7 segment displays + dot inside are usually 8 leds that share a common anode (+) or cathode (-).

7-seg-disp-persist-anim

Most of the times, to economize pin counts in controllers, a method better than one pin per led is chosen. All anodes (+) of LEDs of the same segment on each digit is shared, but each digit has it’s own cathode (-). They change at high speed, faster than what the eye can perceive, iterating each cathode.

7 seg 2

The Kaossilator’s display has 3 digits monolithically sharing pins. With the classic method it would need (8 anodes) x (3 digits) = 24 pins, but optimized we have (8 anodes) + (3 cathodes) = 11 pins, cathodes are shared by each digit and anodes are shared by each segment on the digits.

The NPN and PNP transistors work as gates. When the NPN base conected to the LED’s anode detects a positive, it opens. Same happens with the base of the PNP detects a negative voltage.

ltspice tr bjtLogically it worked, but I was left with a doubt, because to turn on/open BJT transistors, the voltage in the base has to be higher than the one in the emitter for NPNs or lower than the emitter in case of PNPs. In this circuit the emitters are connected to each other, apparently being an “what came first: egg or chicken?” situation. I’ve ended up testing the circuit in a LTSpice IV simulation to try to understand what was going on.

Download the simulation file for LTSpice IV: LED sensor SPICE

I’ve concluded that leakage currents were filtering in both transistors, generating a snowball effect until both transistors open completly.

transistor guess

This afterwards gos to a monostable LM555 circuit (explained in thousands of sites) to generate a stable pulse.
The fastest rate the Kaossilator handles is 300BPM = 5 beats per second, or 1/5 seconds per beat.
Half of that period is good for us: 1/10 seconds.

In between, the circuit absorbs pulses from the iteration of digit cathodes and PWM used to lower the intensity of the digits (and save power).

According to calculations for the 555 monostable, we have that the period T = 1.1 x R x C. I used 100kΩ y 1μF, ergo T = 0.11s almost the 1/10 seconds I was aiming for. Good enough.

My other DIY devices generally use 9 volts. To be able to connect them to this device that delivers 6V, a PNP transistor could be used as the right side of the schematic shows.

I hope this was easy to understand and worked for you, thanks for reading!

9 comments

  1. Marcelo says:

    Wawww Great job! Please can i ask more details of where to connect the cables please. I mean, where the cables goes? I’m working on my own. Have already done several extreme mods as connect a linear lcd behind the Kaossilator. It does not worked yet. Hope i will not burn my device. I would like to give it a try of your idea… before i close and finnish it. Peace!

    • Martin says:

      Marcelo, thanks! You can see the connections in the photos I uploaded to the article. The article is under revision because it had some false triggering with my Korg Volca Beats but works ok with my other devices. I’ll be buying an oscilloscope soon to -hopefully- capture the glitch goblin and make it more stable.

  2. Continental Motor Works

    Kaossilator BPM-out mod (or any LED) | Acidotunismo

  3. Aleisha says:

    I see you share interesting things here, you can earn some extra money, your website has huge potential, for the monetizing
    method, just search in google – K2 advices how to monetize a website

  4. Caitlyn says:

    I read a lot of interesting content here. Probably you spend a lot of time writing,
    i know how to save you a lot of time, there is an online tool that creates unique, google friendly posts
    in minutes, just search in google – k2seotips unlimited content

  5. Max says:

    Ciao ! Vorrei pilotare dei laser a ritmo di BPM. Hai già un circuito per estrarre il sync BPM da una fonte audi ? grazie ciao Max

  6. Ede says:

    Great! I had the same idea, to suck the DP Point of the TOT-3301 to trigger. And whilest looking for a decoupler I found your site. :-)
    I never was able to get a schematic of the Kaossillator out of Korg. :-(
    The output Board KLM-2797 has two unused jack places. I guess its the same board as for the KaossPad 1 (this unit has 2 Audio in).
    Has anyone tried to feed an Audio signal into the Kaossillator?
    Greetings

    • Ede says:

      So, I checked this: No input signal will be go into the Kossillator! But the other issue is to also use the lower, RED Led which, in some cases activated, gives out a parallel 8x faster signal synched to the display-bpm-led.

Leave a Reply to Marcelo Cancel reply

Your email address will not be published. Required fields are marked *