| Author | 
Message | 
 
andrewF
 
  
  Joined: Dec 29, 2006 Posts: 1176 Location: australia 
Audio files: 4
  | 
 Posted: Thu Jun 07, 2007 7:56 pm    Post subject:
MTS-100 midi2cv Source Code? | 
       | 
 
 
  | 
 
I bought this kit from Midwest Analog, blew it up, bought a new PIC from Thomas, all worked fine....'til one day i was working on another module and dropped a patchcord just so it shorted the +5 and -15v terminals of my power supply and that was that. By then Midwest no longer existed.
 
Still have the MTS-100 PCB and now i have a PIC burner, so is there anyway i could get a copy of the source code for this???
 
thankyou | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
philpeery
 
 
  Joined: Nov 08, 2006 Posts: 137 Location: new jersey, usa
  | 
 Posted: Thu Jun 07, 2007 10:14 pm    Post subject:
 | 
       | 
 
 
  | 
 
 	  | Quote: | 	 		  | so is there anyway i could get a copy of the source code for this???  | 	  
 
 
Good question, I would also be interested in getting the source!  I actually have one o' these in my setup already (works great, is very handy, and inexpensive to boot), but would really like at least one more!  And since the project PDF is availabe from the nuts and volts web site, complete with pcb layout, it's a very doable project.   Er, well except for that source code thing.....
 
 
If anyone has it, let us know! | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Thomas Henry
 
 
  Joined: Mar 25, 2007 Posts: 298 Location: Southern Minnesota 
Audio files: 2
  | 
 Posted: Thu Jun 07, 2007 10:25 pm    Post subject:
Re: MTS-100 midi2cv Source Code? | 
       | 
 
 
  | 
 
 	  | andrewF wrote: | 	 		  
 
Still have the MTS-100 PCB and now i have a PIC burner, so is there anyway i could get a copy of the source code for this??? | 	  
 
 
I'll dig around on my old 486 machine, find the code and post it.  Keep in mind that it's not a PIC processor, but the old, reliable 68705 microprocessor.  
 
 
Thomas Henry | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
philpeery
 
 
  Joined: Nov 08, 2006 Posts: 137 Location: new jersey, usa
  | 
 Posted: Thu Jun 07, 2007 10:50 pm    Post subject:
 | 
       | 
 
 
  | 
 
| Does anyone know of a source for the mc68705p3 processor?  My searches on mouser and newark came up empty..... | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Dan Lavin
 
  
  Joined: Nov 09, 2006 Posts: 649 Location: Spring Lake, Mi, USA 
Audio files: 21
  | 
 Posted: Fri Jun 08, 2007 5:17 am    Post subject:
 | 
       | 
 
 
  | 
 
Phil:  I've probably got a couple in my semi box and since I recently trashed my trashed and heavily part-pirated 68705 programmer, it's a safe bet I won't be needing them.  I'd happily trade even up for 566's, CA3080's, or anything else that would be useful for TH designs.
 
 
On the other hand, redesigning (re-coding) this project for a PIC instead of a 68705 might be a good project for folks on this forum.  I'd be willing to help after Bill and I finish the TH Keyboard as long as someone can handle the bulk of the PIC code.  I can really use another Midi2CV as my PAIA Midi2CV8 is overkill for most of what I do. | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
philpeery
 
 
  Joined: Nov 08, 2006 Posts: 137 Location: new jersey, usa
  | 
 Posted: Fri Jun 08, 2007 5:13 pm    Post subject:
 | 
       | 
 
 
  | 
 
Hey Antman! If you have 2 or 3 laying around that you'd like to unload, I've got TONS of 3080e's that we could swap. I do have some 566's that I might be willing to part with, but I need to look at my list of projects that need them before I know how many I can give up. RIght now, I think I have about 20 or so. I do have a bunch of other chips too, lm394's, lm13600, 13700's, the list is long.... 
 
 
As far as loading the code on the chip, what's involved? I used to have an eprom burner, but I would bet that won't cut it. 
 
 
Let me know what you'd take in trade! 
 
 
Thanks and Best Regards, 
 
Phil | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Thomas Henry
 
 
  Joined: Mar 25, 2007 Posts: 298 Location: Southern Minnesota 
Audio files: 2
  | 
 | 
| 
Back to top
 | 
 | 
 
  | 
 
andrewF
 
  
  Joined: Dec 29, 2006 Posts: 1176 Location: australia 
Audio files: 4
  | 
 Posted: Fri Jun 08, 2007 11:41 pm    Post subject:
 | 
       | 
 
 
  | 
 
wonderful - thankyou
 
nothing wrong with well-documented code.
 
 
I think i can get access to a 68705 burner at uni, seems to be at lot of 68xxx stuff there.
 
a bloke on ebay has plenty of  chips buy-it-now $3.50 | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
philpeery
 
 
  Joined: Nov 08, 2006 Posts: 137 Location: new jersey, usa
  | 
 Posted: Sat Jun 09, 2007 7:39 am    Post subject:
 | 
       | 
 
 
  | 
 
 	  | Quote: | 	 		  | a bloke on ebay has plenty of chips buy-it-now $3.50 | 	  
 
 
I saw those, and was thinking about ordering a few.  They are MC689705U3's, and the mta-100 doc states a MC68705P3 part number.  Is there a significant difference between the P3 and U3 rev's, or is it usable?
 
 
Phil | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Dan Lavin
 
  
  Joined: Nov 09, 2006 Posts: 649 Location: Spring Lake, Mi, USA 
Audio files: 21
  | 
 Posted: Sun Jun 10, 2007 2:53 pm    Post subject:
 | 
       | 
 
 
  | 
 
Phil:
 
I have 1 of the P3 and 2 of the U3's.  The U's are a 40 pin expanded version, the P3's are 28 pins.  I also have a P3 driving a TH Midi to Trigger for the past 15 years or so.  But that's off limits until I update it!  Anyway, the burn process is to burn a 2716 with the source code, then slap a 68705 and the 2716 into the burner and flip a couple switches and wait for a green and yellow LED to do their thing.  The burner consists of a 4040, a couple 2N2222's, a 1N4742 zener (12V), a 1N4748A zener (22v), a 5 volt regulated power supply, 24V xformer, 1MHz Xtal, 11caps, 10 resistors, 5 diodes.
 
So basically you have to build one project to do another.  I hate when that happens and it happens more than I like to admit around my house!
 
 
The following articles outline details:
 
1.  68705 Microcontroller by TH in Radio Electronics Magazine Sep 89
 
2.  Part 2 of above Oct 89
 
3.  The One Chip "Midi Computer" Meet the 68705 by TH, Electronic Musician April 89
 
4.  68705 Microcontroller Programmer by Brian Beard Electronics Now Jan 94
 
I'd be willing to throw in these articles and the Motorola data sheet if you're still interested.  The P3 does have a window cover so I'm not sure what nonsense is programmed on there.  You'd need to slap it into a Eprom eraser.  I'd trade even up for 3080's.  Email me your address off forum at lavins49456 (AT) yahoo.com if you're still interested.  
 
 
On the other hand, I think I'll wait for some ambitious soul to port this code over into a Pic.  Blue Hell, you out there?! | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
blue hell
 
Site Admin
  
  Joined: Apr 03, 2004 Posts: 24493 Location: The Netherlands, Enschede 
Audio files: 298
 
G2 patch files: 320
  | 
 Posted: Sun Jun 10, 2007 3:50 pm    Post subject:
 | 
       | 
 
 
  | 
 
 	  | antman49443 wrote: | 	 		  | Blue Hell, you out there?! | 	    
 
  
 
Yes, in here actually   
 
 
I'm confused a bit, is this still the same keyboard we are talking about ? Probably, it's in the same thread   I did have a look at the 68705 code, just enough to see that it was documented ...
 
  
 
Coincidentally I just finished the legalization / license (GNU GPL) stuff on my x4th compiler (and a sort of a manual as well and some demo code) and made it web accessible. Hope there are not too many typos in it.
 
 
Actually it has a MIDI project example, a modified version of the software I used for my Noodle Radio. Very basic actually using a rotary encoder and a pot to send out two different MIDI CCs to control the radio (in it's non-internet version as I showed it at the electro-music 2005 festival). (And it has not been tested on hardware after the modifications were made    )
 
 
Making x4th publishable and public was step one for the possible midification of the TH keyboard as done by Bill and you.
 
 
Next step will be to make a MIDI SYSEX front end for the flash loader.
 
 
edit : made links working again. _________________ Jan
 
also .. could someone please turn down the thermostat a bit.
 
  Last edited by blue hell on Fri Dec 07, 2007 8:29 pm; edited 1 time in total | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Dan Lavin
 
  
  Joined: Nov 09, 2006 Posts: 649 Location: Spring Lake, Mi, USA 
Audio files: 21
  | 
 Posted: Sun Jun 10, 2007 4:26 pm    Post subject:
 | 
       | 
 
 
  | 
 
BH:
 
Sorry to throw you the curve ball there.  No, the MTS-100 is a Midi to KBD CV/Pitch Bend/Gate/Trigger circuit/program that TH did back with Midwest Analog Products.  
 
 
I'll check out your project example, etc. when I have some down time this week and see if it'll help.  I'd definitely want to finish the keyboard before tackling another forum project, though. | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
blue hell
 
Site Admin
  
  Joined: Apr 03, 2004 Posts: 24493 Location: The Netherlands, Enschede 
Audio files: 298
 
G2 patch files: 320
  | 
 Posted: Sun Jun 10, 2007 5:02 pm    Post subject:
 | 
       | 
 
 
  | 
 
Ah, OK, that deconfuses me enough fttb. _________________ Jan
 
also .. could someone please turn down the thermostat a bit.
 
  | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Trumpet1
 
 
  Joined: Aug 02, 2007 Posts: 10 Location: Long Beach, CA
  | 
 Posted: Thu Aug 09, 2007 2:33 pm    Post subject:
MTS-100 souce code - AVR might be better | 
       | 
 
 
  | 
 
I did a custom MIDI->CV adapter recently based using an AVR micro (easier to write code for than PIC - my opinion). I was going from the MIDI message spec and took some shortcuts. It works, but sometimes locks up or picks the wrong voice if multiple keys are pressed - that sort of thing.
 
 
I'd like to improve my AVR logic. If by chance TH has a flowchart, or state diagram, or if anyone has developed one from his original source, I'd be interested. Otherwise I will try to port the PIC code to AVR from the source listing.
 
 
Plus, in general, look at the AVR for your controller needs. It has a relatively small instruction set, a small set of packages to learn (mainly just pick the number of I/Os and A/Ds you want onboard, etc.) compared with the innumerable PICs. Cheap homemade programmers, etc. | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Dan Lavin
 
  
  Joined: Nov 09, 2006 Posts: 649 Location: Spring Lake, Mi, USA 
Audio files: 21
  | 
 Posted: Fri Aug 10, 2007 8:00 am    Post subject:
 | 
       | 
 
 
  | 
 
Trumpet1,
 
 
Try PM'ing philpeery.  I traded all my 68705 articles and chips on this to him for a number of analog chips.  He's a nice guy.  I'm sure he'll be willing to assist you. | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Thomas Henry
 
 
  Joined: Mar 25, 2007 Posts: 298 Location: Southern Minnesota 
Audio files: 2
  | 
 Posted: Tue Aug 14, 2007 2:42 pm    Post subject:
 | 
       | 
 
 
  | 
 
Have I got a deal for you (he said as he furtively pulled his trench coat aside).
 
 
While cleaning the basement, I came across (70) MTS-100 MIDI-to-Synth and (32) ADV-MIDI printed circuit boards.  These are nicely done, single-sided and tinned, but not silk-screened.  Both are 4" by 6" in size.
 
 
I don't need money for these (apart from possibly the shipping, since we're talking several pounds of boards here), but would be glad to trade all of them for anything interesting.  For example, I sure could use some 24VCT/smallish transformers or some tempcos.
 
 
But I'm open to just about any type of trade.  Any takers?
 
 
Also, did you notice in the last Jameco catalog of a month ago or so that they stock the 68705.  Seems to me it was around $25, which isn't much more than what I was paying some dozen years ago.
 
 
And this'll blow you away; they were stocking the NE566 (but at a fairly exorbitant price if I recall).
 
 
Thomas Henry Last edited by Thomas Henry on Tue Aug 14, 2007 3:36 pm; edited 1 time in total | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Thomas Henry
 
 
  Joined: Mar 25, 2007 Posts: 298 Location: Southern Minnesota 
Audio files: 2
  | 
 Posted: Tue Aug 14, 2007 2:45 pm    Post subject:
Re: MTS-100 souce code - AVR might be better | 
       | 
 
 
  | 
 
 	  | Trumpet1 wrote: | 	 		  
 
I'd like to improve my AVR logic. If by chance TH has a flowchart, or state diagram, or if anyone has developed one from his original source, I'd be interested. Otherwise I will try to port the PIC code to AVR from the source listing. | 	  
 
 
Sorry, I long ago trashed the pseudo-code for this.  However, the source code is heavily documented and could probably guide you.  It really isn't all that complex.
 
 
Thomas Henry | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
philpeery
 
 
  Joined: Nov 08, 2006 Posts: 137 Location: new jersey, usa
  | 
 Posted: Tue Aug 14, 2007 4:18 pm    Post subject:
MTS and ADV midi boards... | 
       | 
 
 
  | 
 
Hi Thomas!
 
 
I have some 24vct transformers and both 1k and 2k tempco's, how many are you looking for?  PM me if someone hasn't beat me to the punch!
 
 
Phil | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Trumpet1
 
 
  Joined: Aug 02, 2007 Posts: 10 Location: Long Beach, CA
  | 
 Posted: Wed Aug 15, 2007 11:06 am    Post subject:
Re: MTS-100 souce code - AVR might be better | 
       | 
 
 
  | 
 
[quote="Thomas Henry"] 	  | Trumpet1 wrote: | 	 		  
 
... the source code is heavily documented and could probably guide you...
 
Thomas Henry | 	  
 
 
After looking at the source, I believe you are right. I'll give it a try, anyway. Thanks -David | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
etaoin
 
  
  Joined: Jun 30, 2005 Posts: 761 Location: Utrecht, NL
  | 
 Posted: Thu Aug 16, 2007 12:15 am    Post subject:
 | 
       | 
 
 
  | 
 
 	  | Quote: | 	 		  
 
While cleaning the basement, I came across (70) MTS-100 MIDI-to-Synth and (32) ADV-MIDI printed circuit boards.  These are nicely done, single-sided and tinned, but not silk-screened.  Both are 4" by 6" in size.
 
 | 	  
 
 
I don't know to whom these are going, but I assume he or she isn't going to use all 70, so if possible I'd like one or two MTS-100 boards and an ADV-MIDI board.  I'll pay shipping, of course.  Please. _________________ http://www.casia.org/modular/ | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
factus10
 
 
  Joined: Jun 20, 2007 Posts: 158 Location: Buffalo, NY
  | 
 Posted: Fri Apr 11, 2008 10:38 am    Post subject:
 | 
       | 
 
 
  | 
 
[redacted for jolly-roger-ist behavior]
 
 
See Thomas' comment below. No need to help those who help themselves   _________________ Nothing succeeds like excess. Last edited by factus10 on Fri Apr 11, 2008 11:26 am; edited 1 time in total | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
Thomas Henry
 
 
  Joined: Mar 25, 2007 Posts: 298 Location: Southern Minnesota 
Audio files: 2
  | 
 Posted: Fri Apr 11, 2008 11:21 am    Post subject:
 | 
       | 
 
 
  | 
 
I'm surprised his Web site doesn't sport the Jolly Roger as a banner.
 
 
Beware, his PCB had/has nothing to do with me.
 
 
Thomas Henry | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
etaoin
 
  
  Joined: Jun 30, 2005 Posts: 761 Location: Utrecht, NL
  | 
 Posted: Thu Apr 17, 2008 11:38 am    Post subject:
 | 
       | 
 
 
  | 
 
I'm getting an MTS-100 and ADV-MIDI board through Phil.  Anyone know if the ADV-MIDI schematics are available anywhere?  I have already found the source code on archive.org (so no need for TH to go through old disks this time   ) _________________ http://www.casia.org/modular/ | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
philpeery
 
 
  Joined: Nov 08, 2006 Posts: 137 Location: new jersey, usa
  | 
 Posted: Thu Apr 17, 2008 3:38 pm    Post subject:
 | 
       | 
 
 
  | 
 
Hi Etaoin,
 
 
I may be able to help you out with docs too.  Sit tight!
 
 
Phil | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
etaoin
 
  
  Joined: Jun 30, 2005 Posts: 761 Location: Utrecht, NL
  | 
 Posted: Thu May 01, 2008 5:11 am    Post subject:
 | 
       | 
 
 
  | 
 
Okay, I probably managed to get my hands on some 68705P3's (not sure until they arrive).  Now on to programming them.  I can erase and burn 2716's, so I'd like to opt for the programmer from the datasheet.  However, 1 MHz crystals seem to be becoming obsolete.  Mousers asks $13+ for them (and that's without shipping to EU).  So still looking for that at a more reasonably price.
 
 
Also, does anyone have a cross-compiler?  The code is small enough to compile by hand if necessary, but I'd rather use a compiler.
 
 
[edit]
 
Okay, I found a cross-compiler for the Amiga, and since I still have an Amiga, it might work. _________________ http://www.casia.org/modular/ | 
 
  | 
| 
Back to top
 | 
 | 
 
  | 
 
 |