********************************* * * ********************************* Version 1.0: 06.09.2006 for consult to Johannes Taelman and Kristof Lauwers PC boards used: MidiHub board, rev2, 01/2006, X16 added in the breadboard area. PIC: 18F2525 Pulse board small - PIC: 18F2525 Version 1.1: 08.09.2006 (small corrections and additions). Midi channel for Thunderwood: 5 (offset 0) [ same channel as ! There should be no note overlap] MIDIHUB BOARD: ************** Weidmueller X17: PWM Motor control: PWM output for Windmachine motor. Midi note 24, velo = PWM value ? double mapped with controller 1 Weidmueller X17, pin2 - PIC pin 13 = RC2 big motor, 75V PWM output for orange light, Controller 70 , value = PWM value. ? double mapped on Midi note 27, velo = PWM value. Weidmueller X17, pin3 - PIC pin 12 = RC1 rotating orange light 24V Weidmueller X17, pin1 - GND Weidmueller X17, pin4 - + power motor. On reception of note off, PWM should be entirely OFF Weidmueller X11: Thundersheet (shaking code, as used for Klung): Midi note 19 [20] Key pressure should control the shaking speed as long as note stays on evt. double mapped on notes 60 and 61 (not alternating) weidmueller X12: Windchimes (shaking code, as used for Klung): Midi note 17 [18] Key pressure should control the shaking speed as long as note stays on evt. double mapped on notes 62 and 63 (not alternating) weidmueller X15: pin 2= ratchet on/Off : mapped on midi note 15 - via relais - 24V pin 3- lightning strobo on/off Midi note 0, on/OFF - via relais (these components do not need the velo byte, only on/off) weidmueller X16 (breadboard area): pin 1 = PIC pin 23 (RB2) pin 2 = PIC pin 22 (RB1) pin 3 = PIC pin 21 (RB0) these 3 generate 3 phase current responding to midi note 25, whereby the frequency in the range 40-500 Hz is mapped on the velo byte. Note that frequencies below 40Hz are not acceptable. ? double mapped with controller 2 velo 0 should switch off the mosfets of the drivers (cfr. circuit drawing) Bit inversion required. To switch off the power mosfets, the PIC should make all three pins high. (Also required on PIC initialisation!!!) Making the 3 pins low simultanously, leeds to smoke stacks... pin 4 = GND pin 5 = PIC pin 15 (RC4) random generator for rain engine. Mapped on midi note 16 this pin should generate random pulses whereby the density is controlled by the value of the velo byte. If possible we could implement another controller (nr.15) for the pulse width range. pin 6 = + power rain engine (+45V) sil-jumper JP3, pic pin 6 (RA4): pin code bit, mapped on controller 66 ( power on/off) Second PIC board (pulse board, small): ************************************** Woodpecker-drivers: these require pulsing only. Velocity controls the pulse duration. Same type/code as Vacca, Vitello, Psch, Snar Board used: 16 output pulse only board. (enough for existing components). woodpeckers low to high: Weidmueller pins: 1-14: notes 1 - 14, velo-pulse Cricket: 15: note 26, velo- pulse Bird-solenoid: 16: bird: note 22, velo pulse optional: PWM output on PIC pin 13 (RC2) to be mapped on controller 3. (extra lights to be fitted) ************************************ On Both PIC's: All notes off should zero all outputs. (watch out: 3-phase outs are inverted!!!) Sysex velocity lookup required on both PIC's. Remark: if changing midi mapping, take into account that uses the same midi port and channel as , so there can be no note overlap! (psch uses notes 72 to 87)