********************************* * * ********************************* 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). version 1.2: 09.10.2006 storm 3-phase generator improvements. Midi hub board sysex should now also be possible on this board. Midi channel for Thunderwood: 5 (offset 0) [ same channel as ! There should be no note overlap] MIDIHUB BOARD: ************** Weidmueller X17: PWM Motor control: Weidmueller X17, pin2 - PIC pin 13 = RC2 big motor, 24/35V PWM output for Windmachine motor. Midi note 24, velo = PWM value TO DO: double mapped with controller 1 Weidmueller X17, pin3 - PIC pin 12 = RC1 rotating orange light 24V PWM output for orange light, Controller 70 , value = PWM value TO DO: double mapped on Midi note 27, velo = PWM value. Weidmueller X17, pin1 - GND Weidmueller X17, pin4 - + power motor. On reception of note off or controller zero, PWM should be entirely OFF Weidmueller X11: Thundersheet (shaking code, as used for Klung): Midi note 19 [20] TO DO: 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] TO DO: 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 solid state relais 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. (Now we measured 48Hz - 720Hz). TO DO: 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... TO DO here: improve wave form by sending (signal on the 3 pins): 000100 010000 000001 for low speeds, and 001100 110000 000011 for high speeds or, even better patterns such as: 001001 011110 0100100 011110 010010 0010010 010010 001001 0111100 Better patterns may have been documented by other designers... pin 4 = GND pin 5 = PIC pin 15 (RC4) random generator for rain engine. Mapped on midi note 16 TO DO: 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) [ok] 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 TO DO: check PIC firmware to find out why note 2 is not working... PWM output on PIC pin 13 to be mapped on controller 3. (extra lights to be fitted) (? Is this already done?) ************************************ 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)