English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 23 January 2024, 14:46   #1
appiah4
Registered User
 
Join Date: May 2015
Location: Somewhere in Time
Posts: 491
Amiga 500 MIDI Interface Options

Hey there EAB, I've been gone for a while but now I'm kind of sucked back in.. I've been engrossing myself in retro x86 stuff for half a decade and ended up acquiring quite a bit of MIDI gear, in the form of both external synthesizers as well as internal wavetable daughterboards. Now I want to make use of some of these with my Amiga, but I have no MIDI interface. So I was wondering.. are there any modern options to add MIDI capabilities to an Amiga? Maybe an opensource Github project with an off the shelf BOM and a gerber I can get printed at JLCPCB? I am way more experienced with soldering than I used to be, having built my own Snark Barker and PicoGUS in the last few years, so a DIY project is definitely something I would enjoy. Cheers!
appiah4 is offline  
Old 23 January 2024, 15:31   #2
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,178
MIDI is basically just serial. MIDI interfaces are optoisolated to protect the devices at each end but beyond that sent the same rs232 signals. I'm sure there are schematics.

http://davbucci.chez-alice.fr/index....nt/midiint.inc

Last edited by Karlos; 25 January 2024 at 17:26.
Karlos is online now  
Old 23 January 2024, 15:35   #3
appiah4
Registered User
 
Join Date: May 2015
Location: Somewhere in Time
Posts: 491
Quote:
Originally Posted by Karlos View Post
MIDI is basically just serial. Most midi interfaces from the day were optoisolated to protect the serial port but beyond that sent the same signals. I'm sure there are schematics.

http://davbucci.chez-alice.fr/index....nt/midiint.inc
Well, I have found this: https://github.com/amigamess/AmigaMidi
appiah4 is offline  
Old 23 January 2024, 16:48   #4
offog
Registered User
 
Join Date: Aug 2023
Location: Scotland
Posts: 25
The Datel MIDI Master boxes sometimes come up at sensible prices (<£10) on eBay, but it'd be very easy to build a clone - I've attached photos of the PCB. It's the usual MIDI arrangement with a 74LS chip driving the outputs through 220R resistors, and an optocoupler for the input.
Attached Thumbnails
Click image for larger version

Name:	datel-midi-top.jpg
Views:	55
Size:	628.3 KB
ID:	81406   Click image for larger version

Name:	datel-midi-bottom.jpg
Views:	41
Size:	719.6 KB
ID:	81407  
offog is offline  
Old 23 January 2024, 20:00   #5
appiah4
Registered User
 
Join Date: May 2015
Location: Somewhere in Time
Posts: 491
Thank you but reverse engineering that PCB in Eagle or KiCAD is beyond me. I'll probably end up building the AmigaMidi kit, which is more or less the same thing with only single MIDI In and Out, which is good enough for my needs!
appiah4 is offline  
Old 24 January 2024, 09:38   #6
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by appiah4 View Post
are there any modern options to add MIDI capabilities to an Amiga? Maybe an opensource Github project with an off the shelf BOM and a gerber I can get printed at JLCPCB?!
KA12 MIDI interface

It is a proven project, I have made over 600 pieces of it. :-)
Krashan is offline  
Old 24 January 2024, 13:44   #7
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,864
Quote:
Originally Posted by Karlos View Post
Most midi interfaces from the day were optoisolated to protect the serial port but beyond that sent the same signals.
The opto isolator is part of the MIDI spec. In my opinion it should never be left out, you might (will) end up with a ground loop and have a bad time.

https://learn.sparkfun.com/tutorials...implementation
Jope is offline  
Old 24 January 2024, 14:53   #8
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,178
Quote:
Originally Posted by Jope View Post
The opto isolator is part of the MIDI spec. In my opinion it should never be left out, you might (will) end up with a ground loop and have a bad time.

https://learn.sparkfun.com/tutorials...implementation
There was no suggestion it should be left out.
Karlos is online now  
Old 24 January 2024, 15:17   #9
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 468
Quote:
Originally Posted by Krashan View Post
KA12 MIDI interface

It is a proven project, I have made over 600 pieces of it. :-)
Yes it does work fine, i use it on my A1200.
Calabazam is offline  
Old 25 January 2024, 06:48   #10
appiah4
Registered User
 
Join Date: May 2015
Location: Somewhere in Time
Posts: 491
Quote:
Originally Posted by Krashan View Post
KA12 MIDI interface

It is a proven project, I have made over 600 pieces of it. :-)
Thank you, I will look into it. There are no renders on the github page, and I can't view the Gerbers at work. Going by the BOM it is a single MIDI In/Out board with a DB25 cable?
appiah4 is offline  
Old 25 January 2024, 10:07   #11
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,864
Quote:
Originally Posted by Karlos View Post
There was no suggestion it should be left out.
Your use of the word most might carry the implication that the opto is optional to some readers, so this compelled me to add some information to the thread. Nothing personal.
Jope is offline  
Old 25 January 2024, 17:25   #12
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,178
Quote:
Originally Posted by Jope View Post
Your use of the word most might carry the implication that the opto is optional to some readers, so this compelled me to add some information to the thread. Nothing personal.
You are technically correct. Which is the best kind of correct. I shall amend accordingly.

I've also used nullmodem cables to send MIDI data between Amigas.
Karlos is online now  
Old 25 January 2024, 17:56   #13
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by appiah4 View Post
There are no renders on the github page, and I can't view the Gerbers at work. Going by the BOM it is a single MIDI In/Out board with a DB25 cable?
The PCB fits inside standard DB25 shell.

It has two shielded two-wire cables ended with DIN5 plugs.
Krashan is offline  
Old 28 January 2024, 10:58   #14
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,864
Quote:
Originally Posted by Karlos View Post
You are technically correct. Which is the best kind of correct. I shall amend accordingly.
:salute:

Quote:
I've also used nullmodem cables to send MIDI data between Amigas.
Yeh, between computers you probably won't get as many problems with a null modem. Synths, drum machines, mixers etc are much more prone to ground loops and such.
Jope is offline  
Old 28 January 2024, 12:00   #15
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,773
Quote:
Originally Posted by Jope View Post
Yeh, between computers you probably won't get as many problems with a null modem. Synths, drum machines, mixers etc are much more prone to ground loops and such.
To prevent this you need to have fully isolated MIDI interface and to be honest i never saw such solution either for Amiga or other computer.
pandy71 is offline  
Old 28 January 2024, 12:22   #16
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by pandy71 View Post
To prevent this you need to have fully isolated MIDI interface and to be honest i never saw such solution either for Amiga or other computer.
Every MIDI device has (should have, according to the standard) optoisolation on receiving side. So when you connect such a device to Amiga MIDI interface, it is fully optoisolated. One optocoupler is inside the interface, the second one in the connected device.

Last edited by Krashan; 28 January 2024 at 12:27.
Krashan is offline  
Old 28 January 2024, 14:12   #17
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,773
Quote:
Originally Posted by Krashan View Post
Every MIDI device has (should have, according to the standard) optoisolation on receiving side. So when you connect such a device to Amiga MIDI interface, it is fully optoisolated. One optocoupler is inside the interface, the second one in the connected device.

Yep but this not prevent problems similar to grounding loop to occurs - you still may face issues especially in case where you dealing with larger cabling, power cables and capacitive coupling.
pandy71 is offline  
Old 28 January 2024, 14:57   #18
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by pandy71 View Post
Yep but this not prevent problems similar to grounding loop to occurs - you still may face issues especially in case where you dealing with larger cabling, power cables and capacitive coupling.
Having two cascaded optocouplers instead of one won't help a bit in this regard, but creates another interesting problem: how to power the cable between them. Energy created in illuminated phototransistor is not sufficient to lit the LED in the second optocoupler.

A MIDI cable is constructed in a way that transmitter lits a LED in an optocoupler inside receiver. Then two wires of a MIDI cable constitute a differential pair. EM field generated by it is very small, external EM disturbances cancel out. A good cable also has a shield around the pair, connected to ground of transmitter (but not connected to ground of receiver, or, according to MIDI standard, connected via 100 pF capacitor, to ground high frequency radio interferences). Then even if a long MIDI cable goes along AC high power cables, there is no coupling.
Krashan is offline  
Old 28 January 2024, 18:54   #19
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,773
Quote:
Originally Posted by Krashan View Post
Having two cascaded optocouplers instead of one won't help a bit in this regard, but creates another interesting problem: how to power the cable between them. Energy created in illuminated phototransistor is not sufficient to lit the LED in the second optocoupler.

A MIDI cable is constructed in a way that transmitter lits a LED in an optocoupler inside receiver. Then two wires of a MIDI cable constitute a differential pair. EM field generated by it is very small, external EM disturbances cancel out. A good cable also has a shield around the pair, connected to ground of transmitter (but not connected to ground of receiver, or, according to MIDI standard, connected via 100 pF capacitor, to ground high frequency radio interferences). Then even if a long MIDI cable goes along AC high power cables, there is no coupling.
You can provide power with isolated DC\DC converter. Cable capacitive coupling is common if you are using power cables - this unavoidable so whenever power island is beyond your control (i.e. you are powering various devices from various sources) then full isolation is more than just recommended.
Also nowadays you have plenty devices powered by SMPS as such most of them is galvanicaly coupled with power network (trough Y class capacitors) anyway.

MIDI is same concept as current loop so industrial practices can be applied to MIDI as well. In home where everything is powered from same phase - same power bar this is not critical and overall risk is way lower but still - personally i would keep Amiga safe at all cost.
pandy71 is offline  
Old 28 January 2024, 19:07   #20
Krashan
Hardware Designer
 
Join Date: Aug 2018
Location: Bialystok/Poland
Age: 50
Posts: 178
Quote:
Originally Posted by pandy71 View Post
personally i would keep Amiga safe at all cost
There are optic fiber MIDI extenders. If $1000 per pair fits your definition of "all cost". ;-)
Krashan is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
a new amiga midi interface... motosega support.Hardware 7 22 January 2018 01:07
Amiga MIDI interface tinofsild New to Emulation or Amiga scene 9 14 March 2012 10:23
wanted: midi interface for A500 (midi out) lost_lemming MarketPlace 1 19 February 2010 14:24
Amiga midi interface G.Longsword support.Hardware 1 18 October 2009 13:42
For Sale: Amiga 500+, Midi interface, Digital Sound Studio, Original Software &amp; Games Sid MarketPlace 2 07 October 2005 15:01

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:23.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10707 seconds with 14 queries