home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / amfm / archives / amfm8.dms / amfm8.adf / text / midi2.desc.pp / midi2.desc
Text File  |  1992-09-16  |  3KB  |  84 lines

  1. MIDI interface V2.0 for the amiga 2000 by Antti Ketola, Finland
  2.  
  3. MIDI2.description
  4. -----------------
  5. This circuit is a midi interface for the Amiga 2000. The interface plugs in
  6. the Serial Port, and as a matter of fact it is only a signal converter.
  7. It contains no intelligence, no buffers, it only acts as a bridge beetween
  8. the serial port and Midi cables.
  9.  
  10. It consists of a RS232 line transmitter (1488), a RS232 line receiver (1489),
  11. an opto-isolator (6N139) and a +5V voltage regulator, and a few passive
  12. components. 
  13. Detailed description of these components are found in databooks, for example:
  14.  
  15.  1488,1489: Motorola telecommunications device data (DL136)
  16.  6N139:     HP Optoelectronics designers' guide
  17.  7805       Motorola linear/switchmode voltage regulator handbook (HB206)
  18.  
  19. The circuit should be in accordance with MIDI 1.0 specification, which I
  20. have refernced.
  21.  
  22. IC1 functions as receiver, it isolates input as speceified. Internally,
  23. MIDI in drives a led in IC1, and R5 limits the current. The diode V1 is
  24. for protection against wrong connections. R1 and R2 bias the phototransistor
  25. which leads the signal to pin 2 on IC2.
  26. IC2 is a RS232 line transmitter(driver). It needs supply voltages of -12V 
  27. (pin 1) and +12V (pin 14), which it takes from the connector pins 10 and 9.
  28. Not forgetting the zero volts ground, it connects from pin 7 to pin 7 on 
  29. the RS connector.
  30. IC3 is a RS232 line receiver, that is it takes ±12V in and gives 0-5V out.
  31. My connection makes a trick (almost). +5V is fixed to pin 4 of MIDI out 
  32. connector and the pin 5 goes up and down. It inverts,as well as IC1! 
  33. Don't worry, see the datasheets and the specification, and you'll see that it 
  34. should be like this. Not elegant? Nah, it's cheap and it works. In Midi, 
  35. "Current ON" means "0".
  36. IC4 takes some +12V and gives out +5V supply for the Opto, the 1489 and the Midi
  37. out 4. In the picture MIDI2.pic.320 it is the PLASTIC SIDE UP. 
  38. Left pin= Voltage IN
  39. Middle pin= GROUND 0 Volts
  40. Right pin= +5V out (from ground)
  41.  
  42. Capacitors are polyester, at least 30 V rated (I use EVOX 100V).
  43. Resistors are 1/4 W.
  44.  
  45. Parts list (it is in the drawing, too)
  46. ----------
  47.  
  48. IC1      6N139
  49. IC2      MC1488
  50. IC3      MC1489
  51. IC4      MC7805
  52.        (there are other manufacturers than Motorola)
  53. V1       1N914   or almost any small diode
  54. R1       270 Ohm
  55. R2       1.2 kOhm
  56. R3,R4,R5 220 Ohm
  57.  
  58. C1       0,33µF
  59. C2       0,1 µF
  60.  
  61. 2 pc     5p/180° female DIN connectors for MIDI IN and MIDI OUT
  62. 1 pc     RS-232 25-pin D-type female
  63.  
  64. connection board (I fitted mine to 75mm x 50mm)   
  65. case             (I fitted mine to a 80mm x 55mm plastic box)
  66. screws 
  67.  
  68. Use IC sockets: 1 pc 8pin DIL for the opto and 2pc 14pin DIL for RS ICs.
  69.  
  70. You might build it on a printed circuit board. I do not include a layout
  71. picture, but lay-outing is very simple from the drawing, because there is no 
  72. wire crossings. One-sided pcb is sufficient.
  73. Alternatively, use VERO -board, a test connection board with copper stripes 
  74. and drilled holes. Or just wire it up on a holeboard. 
  75.  
  76. Be careful with your Amiga. 
  77.  
  78.        DO NOT SHORT THE OUTPUT VOLTAGE PINS ON THE SERIAL PORT!
  79.  
  80. They are so damn near to each other. I shorted mine for a while and then
  81. I had to replace the RS line drivers on the Amiga. It's a hell of a
  82. job to replace something with no sockets on 4-layer Amiga motherboard. 
  83. I almost cut the foils!
  84.