Jump to content

LPT to MIDI interface (first build, v.1.0.0.0)


plog

Recommended Posts

Hey again,

Yes, they're definitely "A" chips.

I'll let you know how it goes. :)

George

PS- There are probably a few archived posts here from me looking for DIY parallel MIDI circuits over the years. It's really surprising that there weren't any out there.

Link to comment
Share on other sites

I didnt know that it is possible to connect via LPT....

I have an Opcode patchbay providing 8 ins and outs through the parallel port, and it has a lot of standalone features, it's impressive, considering it's 100% made of easy to find parts (software is on ROM chips ;-) ).

Link to comment
Share on other sites

Well, i wanted to connect my midi controller to my laptop :)

PCMCIA sound cards doesn't have a game port, so the only way was to buy a midi interface.

But why to buy then you can do it yourself=)

I made it over LPT because my laptop doesn't have any other ports :)

Im planning to rewrite firmwire to support midi in & midi out in one PIC16F84A, or try to make more midi in's.

The current firmwire source isnt optimized very well, and i have idea how to make it faster =)

In future i'll try to port driver to win98/me, acctually i tried it but unsucessfuly =) programming and testing on separated PCs is confusing.

Link to comment
Share on other sites

I have an Opcode patchbay providing 8 ins and outs through the parallel port

Yes, but does it actually cooperate in 2008?? ;D

I've got a nice MOTU parallel box that I don't trust for crap here due to its flaky 2K/XP drivers and a small MIDIMan 1x1 which does serial over one of those 25 pin ports (stuck at 98SE). Also an Opcode 2x6 rack box which is old Mac serial.

If Plog's driver and circuit do OK, it might be cool to share some board swap designs for some of those old boxes. I redid the board for that 1x1 MIDIMan Portman box a while back, to switch over to a 9-pin serial connector, and still have the layout and hole diagrams:

Port.jpg

BTW- That had PICs in it too. I think it was three 16C54 chips. The box itself is solid as a rock though, all steel and feels like you could run over it with a car without killing it.

George

PS Plog- That 98 driver would be great too. I've run some decent 98 machines which didn't do well with audio & USB activity. 

Link to comment
Share on other sites

but someone took the time to make XP drivers for it

Man, that's cool as s***. I'm surprised I hadn't heard about that. Which Opcode box is it, the 128? I wish more of those parallel port manufacturers had done that, but maybe it makes a difference whether the company is dead yet. I wonder if they worked with Opcode on it.

George

Link to comment
Share on other sites

It's the Opcode MusicQuest 8Port SE.

Drivers here:

http://8portse.earthvegaconnection.com/index.html

It's quite common on eBay for about $40-$80

http://www.harmony-central.com/Events/WNAMM96/Other/midi-solution.html

As I said, it would probably be easy to clone it as it uses commonly available parts (if it ever becomes hard to find, for example).

I'm surprised I hadn't heard about that.

The interface isn't that well known. Opcode was bought by Gibson and dropped a few years after, an invididual made the driver.

Link to comment
Share on other sites

Quick post:

1) We're working on a opcode/motu style multi port design concept. Don't ask: it's likely to be vapor for a while, it's not a trivial task.

2) For those who don't seem to know this already, LPT-driven MIDI has the best timing, and USB has the worst. LPT good.

Link to comment
Share on other sites

If Plog's around--

I started throwing together a layout for that tonight (because I hate breadboard ;D).

I'm guessing all those LED symbol things are just standard signal diodes, like the 4148 or something? Also guessing the MIDI i/o requires the same supplemental parts like in Thorsten's core circuits here (the opto,resistors,etc.)?

Thanks Again,

George

Link to comment
Share on other sites

Jidis,

yes its the simple led diodes=) on RB7 - indicates error,  led near 8bit_register,  indicates NOT ENABLED (means that if on, then device is OFF, and 8bit register is in high impedance state, the all 8 bit data leds, show value comming from LPT port, so dont be scare then you see randomly lighted leds =)

about midi i/o you are right :) but im just  using common ground between converter and my midi ctrl  without any optos & resistors.

you do not need a resistor on MIDI IN, cause its open collector (RA4 is input pin),

you don't need a resistor on MIDI OUT too, cause its pin is from LPT control port, which means that they are already with 4.7kohm pull-up resistors :)

if you made some PCB's you may share it with us =)

Link to comment
Share on other sites

Thanks Plog,

So they actually are LEDs. I just couldn't figure why there were so many. I guess I should have skimmed over the whole batch of files (the asm) before asking. :-[

I'll probably leave the MIDI i/o parts off this circuit and just put a couple pads or something to connect to, so I can change the stuff on the outside for right now.

Im planning to rewrite firmwire to support midi in & midi out in one PIC16F84A

Didn't quite understand that part either. So, what exactly does it do for now if hit by simultaneous i/o traffic?

Thanks!

George

PS (if Stryd's here) - So are you talking about another parallel port design? :o

Link to comment
Share on other sites

So are you talking about another parallel port design? :o

Yeh this is the same thing I've been talking about for a while now (you actually posted to one of the threads, but that was over a year ago so I'll forgive you for forgetting ;) ) the big stumbling block has always been the driver - I've written seqs and controllers for windows but never a driver.

When I posted, I had been talking with plog about making the device an evolution of this one, but as it uses a rather different architecture (IIC_MIDI taking care of UART duties, PIC18F in the master core which talks to the LPT port, works standalone, etc) I think I should separate it from this project after all. However, plog has been kind enough to give me some tips on driver dev, which actually led me to some example source code (although very bare) that I had been looking for all along... so I should be able to overcome that problem and get it moving :)

I'll start another thread about that project when there's more to tell, and stop hijacking here :)

Link to comment
Share on other sites

Stryd,

This Plog thing is quite small, so it won't be like two of the same design.

Plog- I just read over the info on the website and saw my duplex question (among others). Somehow I forgot there was a whole page, and was getting all my info from that gif & asm file. :-[ :-[ :-[

Still working on a temporary layout to try it out. If it gets done early enough to etch today, I may be playing with it tonight, but I've got some housework to do as well.

George

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...