This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
scratchcontroller [2016/07/04 01:03] psykhaze [Firmware] |
scratchcontroller [2016/07/04 01:46] (current) psykhaze [Software] |
||
---|---|---|---|
Line 1: | Line 1: | ||
======MB-Scratch Controller====== | ======MB-Scratch Controller====== | ||
+ | //By Rasteri// | ||
+ | |||
+ | {{ ::neonking:scratchcontroller.jpg?direct&600 |}} | ||
===== Introduction : DJ Controllers Issue ===== | ===== Introduction : DJ Controllers Issue ===== | ||
Line 10: | Line 13: | ||
* A smooth, reliable, high quality crossfader with curve control. | * A smooth, reliable, high quality crossfader with curve control. | ||
- | **[[http://midibox.org/forums/topic/10400-scratch-wheel/|Forum thread]]** | + | **[[http://midibox.org/forums/topic/10400-scratch-wheel/|Original Forum thread]]** |
===== Design ===== | ===== Design ===== | ||
==== Crossfader ==== | ==== Crossfader ==== | ||
- | The crossfader is the simplest part of the project. There are a number of faders on the market specifically designed for scratch DJs. For example : | + | The crossfader is the simplest part of the project. |
- | * [[http://www.eclecticbreaks.com/proxfade/|Eclectic Breaks Pro-X-Fade]] | + | For example : **[[http://www.innofader.com/whichinno.php|Audio Innovate Innofader]]** |
- | * [[http://www.infiniumtechnologies.com/|Infinium Technologies digital fader]] | + | |
- | * [[http://www.audioinnovate.com/|Audio Innovate Innofader]] | + | |
- | * [[http://www.vestax.com/|Vestax CF-CC]] or CF-PCV | + | |
- | The analogue ins of the PIC mean the fader can be used with no additional circuitry. Hooray! | ||
==== Jog Wheel ==== | ==== Jog Wheel ==== | ||
Line 33: | Line 32: | ||
I put the two photodiodes into two voltage dividers and wired them into pins 4 and 5 of the PIC. The comparators of a PIC18F4620 (or 4685) can be used to avoid extra circuitry. | I put the two photodiodes into two voltage dividers and wired them into pins 4 and 5 of the PIC. The comparators of a PIC18F4620 (or 4685) can be used to avoid extra circuitry. | ||
+ | |||
+ | |||
==== Software ==== | ==== Software ==== | ||
Line 38: | Line 39: | ||
The MIOS code tracks the encoder wheel, and counts the number of forward and backward steps. Then every couple of milliseconds it sends the relative position as a CC event. The value of the CC is equal to 64 (0x40)plus/minus the number of steps, for example for 10 steps back the value would be 54 (0x36). | The MIOS code tracks the encoder wheel, and counts the number of forward and backward steps. Then every couple of milliseconds it sends the relative position as a CC event. The value of the CC is equal to 64 (0x40)plus/minus the number of steps, for example for 10 steps back the value would be 54 (0x36). | ||
- | There are quite a few DJ applications that support MIDI scratching in this format, the two I've tried are [[http://www.mixvibes.com/|Mixvibes DVS]] and [[http://www.native-instruments.com/index.php?id=traktor3_us|Native Instruments Traktor 3]]. M-Audio Torq doesn't work as of the current version (1.0.6) as it has a bug in the MIDI code. | + | There are quite a few DJ applications that support MIDI scratching in this format, the two I've tried are [[http://www.mixvibes.com/cross-dj-mac-pc/|Mixvibes DJ]] and [[http://www.native-instruments.com/en/products/traktor/|Native Instruments Traktor]]. M-Audio Torq doesn't work as of the current version (1.0.6) as it has a bug in the MIDI code. |
+ | |||
Line 45: | Line 48: | ||
This is how to build the device the way *I* did it. It's not pretty (see photos) but works acceptably. It could be improved upon immensely if you have any actual construction skills, metalwork experience, access to a CNC mill, etc. | This is how to build the device the way *I* did it. It's not pretty (see photos) but works acceptably. It could be improved upon immensely if you have any actual construction skills, metalwork experience, access to a CNC mill, etc. | ||
+ | ==== Schematic ==== | ||
+ | |||
+ | {{ ::neonking:scratch-schem.png?direct&800 |}} | ||
==== Parts ==== | ==== Parts ==== | ||
Line 70: | Line 76: | ||
==== Assembly ==== | ==== Assembly ==== | ||
- | [[http://picasaweb.google.co.uk/rasteri/Scratchtroller/photo#5216080813603959586|Here is the assembly diagram]]. | + | {{ ::neonking:scratchtroller7.png?direct&600 |}} |
- | Notes/Hints : | + | **Notes/Hints :** |
* There should be washers between the nuts and the scratch wheel. | * There should be washers between the nuts and the scratch wheel. | ||
Line 85: | Line 91: | ||
Code can be found in <del>[[http://www.midibox.org/forum/index.php/topic,11167.msg94756.html#msg94756|this forum post]].</del><sup>dead link</sup> | Code can be found in <del>[[http://www.midibox.org/forum/index.php/topic,11167.msg94756.html#msg94756|this forum post]].</del><sup>dead link</sup> | ||
- | |||
- | ===== Schematics ===== | ||
- | |||
- | [[http://picasaweb.google.co.uk/rasteri/Scratchtroller/photo#5216080810302030418|This schematic]] shows how to wire everything up to the PIC. Should be trivially adaptable to work with a "real" midibox core module. | ||
Line 102: | Line 104: | ||
- | ===== Photos ===== | + | ===== Original Photos ===== |
http://picasaweb.google.com/rasteri/Scratchtroller | http://picasaweb.google.com/rasteri/Scratchtroller |