Hardware YM2612 Interface
Hardware YM2612 Interface
Hey all.
I've been visiting this forum as a guest a whole lot in the past months,
mainly to read the ""authoritative reference on the YM2612" thread by Mr. Nemesis as reference to my project.
I've been working on a really simple circuit where a Pic Microcontroller
makes writes to a YM2612 chip, which in turn happily dumps out an audio signal.
The patch that is programmed is the "Grand Piano" that is defined at the bottom of the SEGA2.DOC Technical reference manual.
Last night I made the very first sounds, and tonight I have a C4 scale working.
This is not the end of the road for this project and I'll update this thread as I go.
Here are some unpolished demo videos of what I've done so far:
http://www.youtube.com/watch?v=p63t3O9LIsc
http://www.youtube.com/watch?v=TOsozYpKqhY
I've been visiting this forum as a guest a whole lot in the past months,
mainly to read the ""authoritative reference on the YM2612" thread by Mr. Nemesis as reference to my project.
I've been working on a really simple circuit where a Pic Microcontroller
makes writes to a YM2612 chip, which in turn happily dumps out an audio signal.
The patch that is programmed is the "Grand Piano" that is defined at the bottom of the SEGA2.DOC Technical reference manual.
Last night I made the very first sounds, and tonight I have a C4 scale working.
This is not the end of the road for this project and I'll update this thread as I go.
Here are some unpolished demo videos of what I've done so far:
http://www.youtube.com/watch?v=p63t3O9LIsc
http://www.youtube.com/watch?v=TOsozYpKqhY
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
Ha, nice, good work. I guess you're going to have a VGM player going on sometime ?
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
Yes absolutely. First, I'm going to get a midi interface finished, then I'd like to consider my options as to other protocols to follow.
here's what I've got on that as of tonite:
http://www.youtube.com/watch?v=0JSV9F905Fs
I dont really know any computer programming languages, so i'd like to do something embedded like putting VGM files on a SD card, then loading it up into this circuit. I know there are Fat16-decoder ICs that could make that approach do-able.
[/url]
here's what I've got on that as of tonite:
http://www.youtube.com/watch?v=0JSV9F905Fs
I dont really know any computer programming languages, so i'd like to do something embedded like putting VGM files on a SD card, then loading it up into this circuit. I know there are Fat16-decoder ICs that could make that approach do-able.
[/url]
-
- Very interested
- Posts: 256
- Joined: Tue Sep 11, 2007 9:10 pm
Can I ask where you got the 2612 chip from? Are there still chips available? I had to remove one from one of Genesis systems ( ). I have it sitting on a PCE board and memory mapped to an open bus area.
Anyway, great project. I had plans to interface an MCU (8052 clone) to a different audio synth designs (doing my own PSG generating circuit too). Do you have any other pic related audio projects?
Anyway, great project. I had plans to interface an MCU (8052 clone) to a different audio synth designs (doing my own PSG generating circuit too). Do you have any other pic related audio projects?
First I'd like to say congrats on getting the YM2612 out of a genesis board. I tried doing this and only got a few pins desoldered (I also desoldered my fingers a few times).tomaitheous wrote:Can I ask where you got the 2612 chip from? Are there still chips available? I had to remove one from one of Genesis systems ( ). I have it sitting on a PCE board and memory mapped to an open bus area.
Anyway, great project. I had plans to interface an MCU (8052 clone) to a different audio synth designs (doing my own PSG generating circuit too). Do you have any other pic related audio projects?
I was lucky enough to find a parts distributor that had FIVE ym2612 chips in stock. that was at Quest Compoents - Quest does link to other companies that have thousands of YM2612 ICs, but I would imagine they have a high "minimum orders"... I actually had to order a bunch of other stuff from quest just to get up to their minimum order and get the chips.
Yes, this is my first audio project. The scope of this project is pretty large though.
Finally If you are documenting on your progress with the MCU project, I'd love to see what you have so far, please send me a pm.
A very interesting project! I wanted to build a mini test rig like this myself, but I had trouble figuring out all the parts I'd need to pull it off. Congrats on getting it working.
Hakko 808 - http://search.ebay.com/360102920404
It makes desoldering chips like the YM2612 dead easy. For SMD desoldering, ChipQuik looks like a good way to go. I've got some on standby, but I haven't needed to do any SMD desoldering since I picked it up.
Having the right tools makes all the difference for jobs like this. I found desoldering virtually impossible until I got myself one of these little beauties:First I'd like to say congrats on getting the YM2612 out of a genesis board. I tried doing this and only got a few pins desoldered (I also desoldered my fingers a few times).
Hakko 808 - http://search.ebay.com/360102920404
It makes desoldering chips like the YM2612 dead easy. For SMD desoldering, ChipQuik looks like a good way to go. I've got some on standby, but I haven't needed to do any SMD desoldering since I picked it up.
There is good old method how to easily desolder DIP components without special equipment and without damaging component and/or board. You need some old copper stranded wire, flux (solid or liquid) and soldering iron, of course. Put flux on wire, put wire on component pins, then heat each pin with soldering iron through wire. All solder moves to wire, leaving pins free. After removing the solder you can take component out of board.Nemesis wrote:I found desoldering virtually impossible until I got myself one of these little beauties
Nifty. Kind of like home-made solder wick. I never did try that method. I tried solder-suckers and didn't have much luck. Well, I did get a chip off using a solder sucker, but it was an incredibly slow and difficult process. It's pretty hard to beat 3 seconds per pin though, which is about how long it takes with the Hakko 808.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
I desoldered the YM2612 from my MD1 using a regular cheap 3$ soldering iron using the "heat and hit" method Heat one pin, hit the board on the desk, solder will fall off (or most of it). Repeat until all legs are free and remove the chip... slow, but if you have nothing better, its probably the only way.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 256
- Joined: Tue Sep 11, 2007 9:10 pm
Haha - those are some interesting desoldering methods. TmEE, I've *never* heard of that method
I used a flat tip screw driver underneath the chip and put pressure outwards while heating each pin in series. It takes quite some time to do. I do have a heat gun and I usually heat the opposite side of the board as not to damage the chip, but it tends to heat up the surrounding area and not every practical for isolating a single chip.
I used a flat tip screw driver underneath the chip and put pressure outwards while heating each pin in series. It takes quite some time to do. I do have a heat gun and I usually heat the opposite side of the board as not to damage the chip, but it tends to heat up the surrounding area and not every practical for isolating a single chip.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
My dad taught me this 10 or so years ago
Its quite effective, I desoldered a 68000 from my dead MD1 clone that way, and its cartslot and all other chips.
I need a heat gun too...
Its quite effective, I desoldered a 68000 from my dead MD1 clone that way, and its cartslot and all other chips.
I need a heat gun too...
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
hitting works better for 2 sided boards, and boards with tiny holes for chips... luckily I have no carpet on the floor, and the sloder splatters come off by just touching
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen