Difference between revisions of "MIDI-IN-OUT"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
(26 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Features == | == Features == | ||
− | * MIDI In/Out | + | * Module for Prototyping Synthesizer components |
− | * 5V MIDI | + | * MIDI In/Out Jacks |
+ | * Opto-isolated MIDI Input | ||
+ | * 5V MIDI interface | ||
* 3.3V or 5V Serial connections | * 3.3V or 5V Serial connections | ||
* MIDI In is opto-isolated | * MIDI In is opto-isolated | ||
+ | * (2) 4-40 Mounting holes | ||
+ | |||
+ | == Connectors == | ||
+ | |||
+ | === J1 - MIDI In === | ||
+ | |||
+ | [[FILE:MIDI_IN_SCHEMATIC.PNG]] | ||
+ | |||
+ | * Opto-isolated input | ||
+ | |||
+ | === J2 - MIDI Out === | ||
+ | |||
+ | [[FILE:MIDI_OUT_SCHEMATIC.PNG]] | ||
+ | |||
+ | === J3 - Serial/Power === | ||
+ | |||
+ | * Pinout | ||
+ | |||
+ | # V1 (3.3V or 5V | ||
+ | # 5V | ||
+ | # Receive data (out of card) | ||
+ | # Transmit (in to card) | ||
+ | # GND | ||
+ | |||
+ | === J4 - Short V1 to 5V === | ||
+ | |||
+ | * Short J3-1 to J3-2 | ||
+ | * Used when Host Serial interface is 5V | ||
+ | * Open when Host Serial interface is 3.3V | ||
+ | |||
+ | == Drive Circuit == | ||
+ | |||
+ | * Two options | ||
+ | ** 4N25 | ||
+ | ** CNY17-4 | ||
+ | |||
+ | === 4N25 Optocoupler === | ||
+ | |||
+ | * [https://www.mouser.com/ProductDetail/Lite-On/4N25?qs=gnaPJ2cis70RM9udB%2FP83w%3D%3D 4N25 Optocoupler] | ||
+ | * DC Current Transfer Ratio | ||
+ | |||
+ | [[File:4N28-DC-TransferRatio.PNG]] | ||
+ | |||
+ | [[File:4N28-CurrentTransferRatio-curve.PNG]] | ||
+ | |||
+ | * LED Current vs voltage | ||
+ | |||
+ | [[File:4N28-LED-IvsV.PNG]] | ||
+ | |||
+ | * Output transistor capacitance | ||
+ | |||
+ | [[File:4N28-OutputCapacitance.PNG]] | ||
+ | |||
+ | * Switching Time | ||
+ | |||
+ | [[File:4N28-SwitchingTime.PNG]] | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Param | ||
+ | ! Val | ||
+ | ! Unit | ||
+ | |- | ||
+ | | Vcc (MIDI) | ||
+ | | 5 | ||
+ | | V | ||
+ | |- | ||
+ | | Vf LED | ||
+ | | 1.2 | ||
+ | | V | ||
+ | |- | ||
+ | | Res ser | ||
+ | | 660 | ||
+ | | Ohms | ||
+ | |- | ||
+ | | If LED | ||
+ | | 5.76 | ||
+ | | mA | ||
+ | |- | ||
+ | | CTR (min) | ||
+ | | 0.2 | ||
+ | | A/A | ||
+ | |- | ||
+ | | Iout (min) | ||
+ | | 1.15 | ||
+ | | mA | ||
+ | |- | ||
+ | | Vout | ||
+ | | 3.3 | ||
+ | | V | ||
+ | |- | ||
+ | | R(min) | ||
+ | | 2.86 | ||
+ | | Kohms | ||
+ | |- | ||
+ | | Vout | ||
+ | | 5 | ||
+ | | V | ||
+ | |- | ||
+ | | R(min) | ||
+ | | 1.75 | ||
+ | | Kohms | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | === CNY17-4 Optocoupler === | ||
+ | |||
+ | * [https://www.mouser.com/datasheet/2/427/cny17-1767437.pdf CNY17-Xxx] | ||
+ | |||
+ | [[FILE:CNY17-4_CTR.PNG]] | ||
+ | |||
+ | [[FILE:CNY17-4_FWD_VOLTS_CURRENT.PNG]] | ||
+ | |||
+ | [[FILE:CNY17-4_SWITCHING_CHARACTERISTICS.PNG]] | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Param | ||
+ | ! Val | ||
+ | ! Unit | ||
+ | |- | ||
+ | | Vcc (MIDI) | ||
+ | | 5 | ||
+ | | V | ||
+ | |- | ||
+ | | Vf LED | ||
+ | | 1.39 | ||
+ | | V | ||
+ | |- | ||
+ | | Res ser | ||
+ | | 660 | ||
+ | | Ohms | ||
+ | |- | ||
+ | | If LED | ||
+ | | 5.46969696969697 | ||
+ | | mA | ||
+ | |- | ||
+ | | CTR (min) | ||
+ | | 0.56 | ||
+ | | A/A | ||
+ | |- | ||
+ | | Iout (min) | ||
+ | | 3.0630303030303 | ||
+ | | mA | ||
+ | |- | ||
+ | | Vout | ||
+ | | 3.3 | ||
+ | | V | ||
+ | |- | ||
+ | | R(min) | ||
+ | | 1.07736446379106 | ||
+ | | Kohms | ||
+ | |- | ||
+ | | Vout | ||
+ | | 5 | ||
+ | | V | ||
+ | |- | ||
+ | | R(min) | ||
+ | | 1.63237039968342 | ||
+ | | Kohms | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | * Use 2.2K pullup on Opto output | ||
+ | |||
+ | == Assembly Sheet == | ||
+ | |||
+ | [[MIDI-IN-OUT Rev 1 Assembly Sheet]] |
Latest revision as of 16:07, 29 September 2022
Contents
Features
- Module for Prototyping Synthesizer components
- MIDI In/Out Jacks
- Opto-isolated MIDI Input
- 5V MIDI interface
- 3.3V or 5V Serial connections
- MIDI In is opto-isolated
- (2) 4-40 Mounting holes
Connectors
J1 - MIDI In
- Opto-isolated input
J2 - MIDI Out
J3 - Serial/Power
- Pinout
- V1 (3.3V or 5V
- 5V
- Receive data (out of card)
- Transmit (in to card)
- GND
J4 - Short V1 to 5V
- Short J3-1 to J3-2
- Used when Host Serial interface is 5V
- Open when Host Serial interface is 3.3V
Drive Circuit
- Two options
- 4N25
- CNY17-4
4N25 Optocoupler
- 4N25 Optocoupler
- DC Current Transfer Ratio
- LED Current vs voltage
- Output transistor capacitance
- Switching Time
Param | Val | Unit |
---|---|---|
Vcc (MIDI) | 5 | V |
Vf LED | 1.2 | V |
Res ser | 660 | Ohms |
If LED | 5.76 | mA |
CTR (min) | 0.2 | A/A |
Iout (min) | 1.15 | mA |
Vout | 3.3 | V |
R(min) | 2.86 | Kohms |
Vout | 5 | V |
R(min) | 1.75 | Kohms |
CNY17-4 Optocoupler
Param | Val | Unit |
---|---|---|
Vcc (MIDI) | 5 | V |
Vf LED | 1.39 | V |
Res ser | 660 | Ohms |
If LED | 5.46969696969697 | mA |
CTR (min) | 0.56 | A/A |
Iout (min) | 3.0630303030303 | mA |
Vout | 3.3 | V |
R(min) | 1.07736446379106 | Kohms |
Vout | 5 | V |
R(min) | 1.63237039968342 | Kohms |
- Use 2.2K pullup on Opto output