PIC Mapping for : for wiring details, refer to schematics on the website. ------------------------------------------------------- Version 1.0 - preliminary - 15.11.2009 Hub board wiring finished 16.11.2009 22.11.2009: first firmware version ready except for the 16-pulse board and the motor controls. 01.11.2009: BUG in the steering of the tremulant: PWM is inverted. (midihub board) Midi channel 9: as Harma PIC boards pulse/hold 1 - 6: cfr. site tables. PIC small midi pulse board (18F2525) This board does not have a programming header and needs a chip clip. X1-1: ghost solenoid, pulse only, mapped on note 0 - pic pin X1-2: ghost solenoid, pulse only, mapped on note 1 Wind slide control (controller 1, sets the position of the slide): X1-3: clock frequency Burroughs motor (ca. 250Hz) windslide - pic pin 3 X1-4: motor DIR, windslide X2-5: motor enable, windslider X2-6: analog input - position sensor windslide (option, if needed) Extra functions: (lites/ pulses) X2-7: reserved ICP X2-8: reserved ICP X3-9: X3-10: LED lite - note 126 - yellow X3-11: LED lite - note 125 - yellow X3=12: LED lite - note 124 - yellow X4-13: LED lite - note 123 - yellow X4-14: LED lite - note 122 - yellow X4-15: LED lite - note 120 X4-16: White LED spot, via solid state AC relais. ON on start-up., mapped on midi note 119. X11-1/2: PIC pin 13: PWM output for extra option - mapped on controller 81 PIC: 18F2525 On MidiHub board [ex-autosax board] Compressor motor, 2 linear steppers for swells, tremulant. PIC pin assignment: cfr. table on website. - X17.1: GND - X17.2: PIC pin 12 PWM analog compressor motor speed (0-10V) Ctrl 7 - X17.3: PIC pin 13 PWM analog output (external + voltage via X16- pin 3: extra connector) Tremulant DC motor BUG: the PWM should be inverted here! the range should be limited as well, such that the voltage over the motor cannot exceed 6.5V - X17.4: +10V from motor controller - X11,1: GND - X11.2: PIC pin 16 motor ON/OFF - Ctrl 66 - X11.3: PIC pin 15 not used - X11.4: +24V from motor controller - X12.1: GND - X12.2: PIC pin 21 frontal swell clock - X12.3: PIC pin 22 frontal swell dir - X12.4: + 5V Vcc - X15.1: GND - X15.2: PIC pin 14 frontal swell enable - X15.3: PIC pin 11 back swell clock - X15.4: + 5V Vcc - X16.1: GND - X16.2: tremulant out = X17.3 - X16.3: + power tremulant solenoid (@+12V) - X16.4: PIC pin 4 AN2 back swell dir - X16.5: PIC pin 3 AN1 back swell enable - X16.6: PIC pin 7 AN4 analog input (for optional sensor device) NOTE: the PIC should track whether any note is playing or not. In case no notes are playing, the stepper motors should always be switched OFF. Rejected 03.12.2009, since that would make it impossible to set the motors in a silence when no notes are played. All notes off, however, should also disable all motors. NOTE: on a cold boot, we will always assume that all steppers are in their OFF (closed) position.