this project is a midi controller which can be installed into an existing analogue organ. it is reasonably versatile and could be used as a standalone controller for a set of organ pedals.
云南快乐十分前三直选i designed this in my first year of university as a cheap way of getting a digital practise instrument at home. digital organ consoles generally cost upwards of $20k which is prohibit ably expensive for most people while old analogue organs are cheap and easy to find on the internet or at auctions.
i also think that small churches or schools might benefit from having a device like this available to them both as a musical and a learning tool. virtual organs playing packages such as are feature packed and can be used to simulater very large organs.
How does it work?
云南快乐十分前三直选the device sequentially reads the states of every manual key, stop and pedal board and sends midi on/off messages each time they change. it can do a couple more basic things as well.
Where can I buy one?
not in a store, and not from me. i provide all the information for someone with basic electronics knowledge to build one of these. if you fit that profile, read on. feel free to contact me if you get stuck or if you want to share photos of the working device.
- A menu system is used to collect data from the operator and also present to the operator the current configuration details. MIDI channels and transposition for manuals, pedalboards and stops can all be configured via this interface.
- An easily expandable system for identifying each device in the system and reporting the states of each “switch” in that particular device and
- Finally, a system for sending the MIDI out messages.
云南快乐十分前三直选the menu system consists of an lcd display and 4 pushbuttons (“down”, “up”, “next” and “previous”). all configuration of the system is done via these four buttons. on “boot” of the device, the lcd displays first the version number of the current firmware, then it proceeds to display a short description of each device (by device, i mean a manual, peadalboard or set of stops) that it has detected which is attached to the system (these messages are purely for testing purposes while building the system). after these messages have been displayed, the lcd will display the first menu item and the device will be operational.
The device chain is a set of parallel-to-serial shift registers which have their inputs connected to every single key/stop/pedal in the organ. To make the device capable of being installed in any organ with any combination of pedals, stops or manuals without云南快乐十分前三直选 it being necessary to make a different version of firmware, there is a single 8-bit shift register inserted at the start of each device in the chain to provide “header” information about the inputs that follow.
An example device chain:
[Controller]<–[8 bit header]<–[key states for pedalboard]<–[8 bit header]<–[key states for manual 1]<–[8 bit header]<–[key states for manual 2]
云南快乐十分前三直选the header consists of two bits which identify the type of device (manual, pedalboard, stopboard or termination of device chain), 4 bits that describe the number of keys that device consists of, 1 bit to state if the device is a toggled and 1 bit to state if the device wants feedback (i.e. wants to know if its down or up). see the following table for more information:
|Bits 6 – 7||
云南快乐十分前三直选 The state of these bits defines the type of device attached to the system
Possible combinations: (bit 6 to bit 7)
|Bits 2 – 5||
Device key count
云南快乐十分前三直选 This numeric value of these four bits is basically the number of 8-bit shift registers which follow holding the key states minus 1.
Examples: (bit 2 to bit 5)
Request feedback bit
If this bit is HIGH, the device also contains a set of serial-to-parallel shift registers which want to be sent the state of each key in this device. If it is LOW, no feedback information is used. Similarly to the toggle bit, this feature is only really useful on stop boards with momentary switches where you want a LED to be illuminated when the stop is active.
If this bit is HIGH, the note on and off messages are sent every-time a key completes a full up/down cycle. That is, the key will become “push on/push off”. If it’s LOW, the keys function normally. This feature is only useful on a stopboard with momentary switches.
Note that this assumes that the parallel-serial shift registers all send the MSB (i.e. bit 7) first.
Schematic Diagram for the Controller.
Important: The LCDCON and LCDDATA connectors in this schematic are used to connect a KS0066 LCD module to the device. LCDCON pins 1-6 connect to the LCD modules pins 1-6 and LCDDATA pins 1-8 connect to the LCD modules pins 7-14. Pins 15-16 of the LCD module are for the backlight of the LCD and are optional to connect. KS0066 LCD modules are readily available from in Australia for about AU$20.
below is the pinouts for the “keybus” (the name for the connections which interface to the shift-registers):
|Keybus Pin Number||Description of Pin|
|3||KBCLK – Connect to ALL shift registers CLK pin|
|4||KBPL – Connect to ALL shift registers PL* pin|
|5||KBDIN – Connect to the first headers D7 (data out) pin|
|6||KBDOUT – Connect to the first serial-parallel SER (data in) pin|
*云南快乐十分前三直选 active low signal.
云南快乐十分前三直选i have chosen these pinouts as it makes expansion simple (if pedal/manual/stop boards are designed similar to the examples below). each device can have an input and an output keybus socket, pins 1-4 can all be joined directly (there is a limit to how many devices the clock and pl signals can interface to – i have tested it with 14 74hc165’s and it still works fine – for more, buffers can be used) and pins 5 and 6 are kind of obvious (if a device has no feedback information, pin 6 can be connected directly to pin 6 as well).
Examples of two keybus devices
PIC Firmware Downloads
14th December 05
V188.8.131.52 Source code and compiled HEX file for the V1.0b controller board
4th December 05
V184.108.40.206 Source code and compiled HEX file for the V1.0b controller board