0% found this document useful (0 votes)
9 views8 pages

Midicck CS8 e v1

The CS8 is a microchip designed for MIDI output, accommodating signals from eight KT12 devices, allowing for a four-octave MIDI instrument setup. It utilizes high-speed data communication for low-latency MIDI output and is based on the PIC16F977A micro-controller. The manual includes details on pin diagrams, example circuits, and operational functions such as program changes and pedal actions.

Uploaded by

diomarrs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views8 pages

Midicck CS8 e v1

The CS8 is a microchip designed for MIDI output, accommodating signals from eight KT12 devices, allowing for a four-octave MIDI instrument setup. It utilizes high-speed data communication for low-latency MIDI output and is based on the PIC16F977A micro-controller. The manual includes details on pin diagrams, example circuits, and operational functions such as program changes and pedal actions.

Uploaded by

diomarrs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

CS8 Reference manual

20060215
CS8

SUMMARY
midicck-CS8 accommodates the signal of eight midicck-KT12 per one chip, and it is the microchip
which does MIDI output. KT12 can make the MIDI instrument (controller) of four octaves by com-
bining one CS8 with four KT12's and using because it copes with the keyboard of 1 chip per one
octave. The MIDI output which a time lag is short in is possible because CS4 and KT12 do high-
speed-data communications by a couple of line cereal communication each.

midicck CS4 is the microchip which used the micro-controller, "PIC16F977A" of the U.S. Micro-
chip Technology Inc. and which has been programmed.

COMPOSITION
This is the image of the signal flow.

Fig.A

MIDI OUT
32kbps

Pedal Action
Program change
CS8 Channel change
Velocity Curve selecter
etc.

256kbps

KT12 KT12 KT12 KT12

keyboard keyboard keyboard keyboard


(24 contacts) (24 contacts) (24 contacts) (24 contacts)

8 octave max

20060215
-1-
CS8

PIN DIAGRAMS

Fig.B
Master Control Reset MCLR 1 40 MO MIDI Output
MIDI Channel-1 CH1 2 39 MML MIDI Monitor LED
MIDI Channel-2 CH2 3 38 ED2 Effect Depth-1
MIDI Channel-4 CH4 4 37 ED1 Effect Depth-2
MIDI Channel-8 CH8 5 36 VS2 Velocity curve Selecter-1
Enter Button EB 6 35 VS1 Velocity curve Selector-2
Enter LED EL 7 34 PD Program change Down
Damper Pedal DPP 8 33 PU Program change Up
Soft Pedal SFP 9 32 VDD Positive Supply
Extension Controller selecter EX 10 31 VSS Ground
Positive Supply VDD 11 30 RR8 Data Port(Ready to Read8)
Ground VSS 12 29 RR7 Data Port(Ready to Read7)
Oscillator Crystal input OSC1 13 28 RR6 Data Port(Ready to Read6)
Oscillator crystal output OSC2 14 27 RR5 Data Port(Ready to Read5)
Data Port(Read Data1) RD1 15 26 RD8 Data Port(Read Data8)
Data Port(Read Data2) RD2 16 25 RD7 Data Port(Read Data7)
Data Port(Read Data3) RD3 17 24 RD6 Data Port(Read Data6)
yellow
Data Port(Read Data4) RD4 18 23 RD5 Data Port(Read Data5)
Data Port(Ready to Read1) RR1 19 22 RR4 Data Port(Ready to Read4)
Data Port(Ready to Read2) RR2 20 21 RR3 Data Port(Ready to Read3)

Pkg: 40P-DIP(600mil)

PIN No. Pin name I/O Description PIN No. Pin name I/O Description
11,32 VDD Positive supply for logic and I/O pins 40 MO CMOS MIDI Output
12,31 VSS Ground reference for logic and I/O pins 39 MML CMOS MIDI Monitor LED
13 OSC1 Oscillator crystal input 33 PU TTL Program change Up
14 OSC2 Oscilator crystal output 32 PD TTL Program change Down
15 RD1 ST Data Port(Read Data1) 8 DPP ST Damper Pedal
16 RD2 ST Data Port(Read Data2) 9 SFP ST Spft Pedal
17 RD3 ST Data Port(Read Data3) 35 VS1 TTL Velocity curve Selecter-1
18 RD4 ST Data Port(Read Data4) 36 VS2 TTL Velocity curve Selecter-2
23 RD5 ST Data Port(Read Data5) 37 ED1 TTL Effect Depth-1
24 RD6 ST Data Port(Read Data6) 28 ED2 TTL Effect Depth-2
25 RD7 ST Data Port(Read Data7) 2 CH1 TTL MIDI Channel-1
26 RD8 ST Data Port(Read Data8) 3 CH2 TTL MIDI Channel-2
19 RR1 CMOS Data Port(Ready to Read1) 4 CH4 TTL MIDI Channel-4
20 RR2 CMOS Data Port(Ready to Read2) 5 CH8 TTL MIDI Channel-8
21 RR3 CMOS Data Port(Ready to Read3) 6 EB ST Enter Button
22 RR4 CMOS Data Port(Ready to Read4) 7 EL CMOS Enter LED
27 RR5 CMOS Data Port(Ready to Read5) 10 EX ST Ex. controller selecter
28 RR6 CMOS Data Port(Ready to Read6) 1 MCLR Master Control Reset
29 RR7 CMOS Data Port(Ready to Read7) TTL=TTL INPUT CMOS=CMOS OUTPUT
30 RR8 CMOS Data Port(Ready to Read8) ST= SCHMIT TRIGGER INPUT

20060215
-2-
CS8

EXAMPLE CIRCUITS
POWER SUPPLY
The direct current of 5V which stabilized supply of electric power is necessary for CS8.
The capacitance is to be decided referring to the data sheet of the voltage regulator to use.

Fig.C 1N400x
9VDC
INPUT 5V
0.1uF

0.1uF

LED 510
10uF

1uF

CLOCK CIRCUIT
A clock outside 10MHz is necessary for the midicck-CS8.
Fig.D shows the example of the clock circuit which used three pole ceramic resonator. And Fig.E
shows a simple oscillator with TTL gates.
It might be the cause of an error, if you use oscillators more the one on the same board. Use a
circuit like Fig.E or a packaged clock circuit of 10MHz in such a case.

Fig.D
10MHz CS8
OSC1
OSC2

reference image

Fig.E Hex Inverter Be sure to drop the input terminal


330 330 of TTL(or CMOS TTL-compatible)
7404, 74LS04 etc.
which isn't used to the ground.
0.1uF
OSC1
OSC2

HC49/US 10MHz

CS8

OS1 OS1
OS2 OS2

TTL
Crystal oscillator 7404
HC49/US KT12 KT12

20060215
-3-
CS8

Fig.F
EXAMPLE SYSTEM CIRCUIT 5V

220
10k
10k
10k
10k
10k
10k

10k
10k
10k
10k
10k
10k
220 5 2 4
DIP MCLR MO
SWITCH LED 560
CH1 MML
CH2 ED2 SEL

CH4 ED1 SEL

CH8 VS2 SEL

EB VS1 SEL
PB 560 LED
EL PD PB
3.3k 3.3k
DPP PU PB
3.3k 3.3k
SFP VDD
SWITCH

0.1u

0.1u
PEDAL

EX VSS
VDD RR8
VSS RR7
pair

OSC1 RR6
Clock OSC2 RR5
RD1 RD8
RD2 RD7
RD3 RD6
RD4 RD5
RR1 RR4
RR2 RR3

KT12-3~7
C3 C2 C3 C2 C3 C2
C4 C1 C4 C1 C4 C1
C5 OS1 C5 OS1 C5 OS1
C6 OS2 C6 OS2 C6 OS2
VSS VDD VSS VDD VSS VDD
R1 SD R1 SD R1 SD
R2 CD R2 CD R2 CD
R3 VA R3 VA R3 VA
R4 NN R4 NN R4 NN

KT12-1 KT12-2 KT12-8


10k

10k

10k

10k

10k

10k

-4- 20060215
CS8

EXPLANATION OF EXAMPLE SYSTEM CIRCUIT


Data Port for KT12: RDx, RRx
RD1-8 and RR1-8 are the ports to communicate for KT12s. RDx-RRx is a pair for example RD5-RR5.
RD1-8 should be pull-up by the resistance of 10k-ohms, and it must make a state of logic HI(1)
even if it is when it isn't used. When the pull up is forgotten, it may become communication
impossibility. Give a noise countermeasure with the shield line or the twist-pair-cables since
RD1-8 and RR1-8 are serial communication lines.
FRONT VIEW

MIDI Output port: MO


MO (MIDIOUT) port is connected to No.5 of 5P-DIN through the resistance
of 220-ohms.
5 4
Master Control Reset: MCLR 2

MCRL is a port to reset the CS8. CS8 is reset at the time of the start by connecting usually it
to VDD through the resistance of 10k-ohms like a Fig.F.

Input ports of the switches: PD, PU, EB, CHx, VSx, EDx
Even if you don't use the switch in these ports, all the ports should be pull-up with resistor
of 10k-ohms. PU, PD and EB ports use a switch that is the type of push button (momentary me-
chanical). CHx, VSx and EDx ports use a switch that is the type of toggle switch or DIP switch
(alternate mechanical). MIDI channel is specified by CHx that is four-digit number of binary. A
velocity curve is chosen by VSx. A effect depth is chosen by EDx.

Pedal of Damper & Soft: DPP, SFP


DPP and SFP port do as the pedal of piano by the momentary
switch. They don't do chatering removal of the swithces in the
software, because the time for about 10msec should be necessary
chatering removal, and the pedal must be act while performance.
Because of that, these switches must give the chatering removal
by hardware. In case of FIG.F, chatering
countermeasure was given with the 3.3k-ohms
resistance and the 0.1uF capacitor. DPP and
SFP ports are ST input port. And, you must
pay attention to the operating range of micro
load for the switch too. As for Fig.F, it is
supposed to be charged with electricity of
Recommendation
1.5mA to the switch.

Select Use/Unuse of Extention controller: EX


EX port is pull-uped to VDD when an extension controller which will be sold in the future is
connected. RR8 and RD8 become the port for the controller when the state of logic is made H
through the resistance of 10k. Otherwise drop it to the ground usually.

FUNCTION & OPERATION


Program Change Up & Down: PU, PD
A program change is done by the momentary switches such as the push button connected to PU and
PD. Each time this button is pushed, MIDI message is transmitted to the outside from the MIDI-
OUT terminal, and it increases or decreases from the present program number. When this button
is push-and-hold, It is fed rapidly.

Enter Button: EB
It is a button to confirm the input of the following MIDI-channel, the Velocity-curves and the
effect-levels. When this button is pushed, the state of the switches(CHx, VSx, EDx) are read,
and the LED is lighted with the #execution. They status of the switches are read at the time
for startup, too.
# the channel and velocity-curve are read in the memory of CS8, and the effect-depth sends the
MIDI message.

20060215
-5-
CS8

Setting of the velocity curves and Effect depth

Fig.G (Status of switches: 0=off, 1=on)

CHx VSx Velocity Curves


CH MIDI VS Velocity 120

8 4 2 1 Channel 2 1 Curve 100 FLAT


0 0 0 0 1 0 0 FLAT type
0 0 0 1 2 0 1 LIN type 80

OUTPUT
LIN
0 0 1 0 3 1 0 EXP type 60 S
0 0 1 1 4 1 1 S type
40
0 1 0 0 5
EXP
0 1 0 1 6 EDx 20
0 1 1 0 7
0 1 1 1 8 ED Effect 0
0 20 40 60 80 100 120
1 0 0 0 9 2 1 Depth LINEAR INPUT

1 0 0 1 10 0 0 Off
1 0 1 0 11 0 1 Light
1 0 1 1 12 1 0 Middle
1 1 0 0 13 1 1 Deep
1 1 0 1 14 MIDI Ctrl #91
1 1 1 0 15
1 1 1 1 16

DAMPER & SOFT PEDAL


Damper & Soft switches do the same function as the pedal of piano. There are some notes inef-
fective in MIDI sound source. See the reference manual of your MIDI equipment about it. CS8
doesn't correspond to "half-pedal".

MIDI MONITOR LED


This is the monitor LED which indicates the self initialization during start-up, the MIDI-
transmitting-message.

20060215
-6-
Development and Sale
BUTTERFLY SOUND
ZIP: 419-0201
ADDRESS: 1811-2 Atsuwara Fuji city Shizuoka Japan
PHONE: (81)545-73-2234
FAX: (81)545-73-2235
Web: http://www.butterflysound.jp/midicck/
Support, Inquiry: midicck@butterflysound.jp

About this manual


Though it makes an effort to do accurate description, the contents of this manual don't assure
that correctness.
Each company may use the company name mentioned in this reference manual, and a product name
respectively as a trademark or a registered trademark.
Let me know, if there is description which is inappropriate for the expression in this refer-
ence manual.

About this product


"midicck" is the trademark of this product.
The specifications of the product and an reference manual may be changed without notice.
A use part may be changed to the mentioned goods and the part of the equal performance.

Legal note
I have done my best to make midicck and this document. And the movement test of midicck was
done many times. However, the possibility that the problem which can't be confirmed happens is
not a zero by the bug which is characteristic of the chip, or the program. I accept no respon-
sibility for any damage caused by using midicck from such a reason. If you cannot accept this,
do not use midicck.

You might also like