jaytee

One MB-6582, One Power Supply: a Tutorial

52 posts in this topic

First off, here’s a link to the original thread on this topic, from which most of this tutorial is derived. Many thanks go to @Altitude, who first conceived of this solution and figured out the wiring details.

There’s nothing wrong with the old thread, and there’s a lot of good information there, but I thought it would be good to get a fresh thread going with a clearly laid out tutorial. The old thread, while useful, has a lot of obsolete and occasionally conflicting information, is organized as a discussion between members rather than a tutorial, and is missing some possibly important information depending on the parts you use. So while the old thread is great reference material, this is more of a step-by-step, newbie-friendly guide. If the mods disagree, feel free to merge this into the old thread.

 

Quick note: I’m considering an MB-6582 stuffed with only 8580/6582 SID chips to be the “default” configuration for the purposes of this document (especially the photos at the end), but I’ve tried my best to cover any configuration of SID chips wherever possible. I have not personally built anything with 6581 chips though, so anything regarding such setups should be considered theoretical at best. Double-check before you install. The two basic types of SID chips require different voltages (12V for 6581, 9v for 8580/6582), and if you mismatch the two, you could fry a precious SID!

 

 

 

What are we trying to do?

 

The MB-6582 is designed to be fed 9VAC and 5VDC, i.e. what a Commodore64 PSU puts out. This is convenient for a few reasons—the MB-6582 needs 2-3 different voltage rails to function anyway, and a lot of folks making SID synths are probably already interested in C64s and may have an extra PSU—but inconvenient for other reasons—AC power must be rectified immediately, C64 PSUs are notorious for breaking and taking out SID chips with them, and any replacement PSUs are expected to also put out multiple voltages, which is uncommon and expensive. This tutorial aims to solve for these disadvantages by reducing the power input to a single 12-15VDC source (aka a common wall-wart).

 

This is accomplished with a switching voltage regulator. Normally, if you tried to regulate 12V down to 5V with much of a load, your linear regulator (good ol 7805) will overheat and shut down. It’s just too much energy to dissipate. However, in the past, your hands were tied, as more efficient regulators (switching instead linear) tended to generate too much noise to be used in a synthesizer. Technology marches on though, and today’s sVregs are good enough that any noise is inaudible. So basically, you feed 12VDC into the MB-6582, regulate it down to 9V with a linear 7809 for one rail (a drop of 3V is much more reasonable than a drop of 7V) and use your 5V sVreg to generate your 5V rail. (Alternatively, you can feed the MB-6582 15V, use a 7812 and both 9V and 5V sVregs to get 12V, 9V, and 5V to run a mixed SID environment, but more on this later.)

 

A few people in the old thread were getting confused about the PSU Options in the official build documentation, and where this setup falls in those categories. It’s closest to PSU Option C, but for the sake of simplification, let’s just call it PSU Option E. It’s its own thing. There are a few “sub-options” depending on whether you want to run all 8580/6582s, all 6581s, or a combination, but as a whole, this option stands on its own.

 

Fwiw, like the official build docs, please read the entire tutorial before proceeding. Let’s get started.

 

 

 

How does the BOM change?

 

- You will need a power supply. For 6582/8580-only builds, you want 12VDC. For 6581-only or mixed-SID builds, you want 15VDC. For either setup, you probably want at least 1.5A. You may be able to get away with less amperage, especially if you’re not using the maximum number of PICs, SIDs or LEDs.

 

- You will not need B1 (the bridge rectifier).

 

- You will not need C14 or C13 (although if they’re installed already, it doesn’t hurt anything).

 

- C3 will be 10uF instead of 2200uF (you can just steal C13 if you’ve already ordered).

 

- V4 will be a 5V switching regulator. Recom R78B5.0-1.5 (Mouser part #: 919-R-78B5.0-1.5) seems to be a good choice. There are other parts that will probably work. There are other brands, other Recom parts, etc. Some of them are discussed in the older thread, although some of those options are now obsolete. Pay attention to current output. For a full 4-core, 8-SID, complete control surface MB-6582, 1.5A is recommended, although. You may be able to get away with 1A, especially if you’re leaving out some SIDs/PICs/LEDs. If you don’t want to experiment, just buy this one.

 

- You will need a few small jumpers (I used headers and shunts, but discarded resistor legs soldered to the board will work fine too) and a couple longer, insulated jumpers (I used some solid-core hook-up wire I had handy).

 

- If you’re installing 6581s (exclusively or as part of a mixed-SID setup), you need a 7812 voltage regulator. (More on this later.)

 

- If you’re installing a mixed-SID setup, both 6581s and 8580/6582s, V1 changes from a 7809 to a 9V switching regulator. Recom R-78C9.0-1.0 (Mouser part #: 919-R-78C9.0-1.0) seems to be a good choice. (More on this later.)

 

(Technical note—ignore this if you don’t care *how* things work and just want to get to building—on why we change the capacitors… If you check out the MB-6582 base PCB around V4, you’ll notice that it’s not actually connected to the rest of the circuit; it needs to be jumped in via J74. We are actually installing V4 backwards from what the original design expects, which allows us to get rid of a couple redundant caps and reduce the size of another. C14 and C13 are meant to smooth the output of V4, but now they’re on the input, which is already being smoothed by C1 and C2. C3 and C4 are meant to smooth the input of the 5V line (which would be separate if using a C64 power supply, but isn’t in this setup), but are now on the output of V4, so C4 takes over the function of C14, while C3 is reduced in value to take over the job of C13. You may notice in the older thread that nobody else has messed with these capacitors. This is fine in a lot of setups; they’re just smoothing what are probably already pretty smooth power rails. However, an issue can arise with certain switching voltage regulators, where an excess capacitance load on the regulator prevents it from starting up properly, which in turn prevents then entire MB-6582 from booting. In other words, if you’re starting from scratch, set it up as instructed; and if you’re modifying an already-built unit, you can try leaving the capacitors as-is to see if it works.)

 

Alright, now how to build it…

 

 

 

PSU OPTION E

- Jumper pin 2 and pin 3 of J71. This connects V1 common pin to ground.

 

- Jumper pin 2 and pin 3 of J72. This connects V1 output to 9V rail.

 

- Jumper pin 1 and pin 2 of J73 and pin 2 of J74. This connects the output of V4 to 5V rail (as well as a few smoothing caps). If you take a look at my photos, you can see I used just one piece of wire to jump all three pins—a short, uninsulated section on the top of the board to jump J73 pins 1&2 together, with a longer, insulated section underneath the board between J73 pin 2 and J74 pin 2. I felt that this was the cleanest possible installation, as it keeps all extra wiring on the solder side of the board. However, you may find it easier or prettier, especially if you’re modifying an already built MB-6582, to wire up slightly different points. Check out Altitude’s photos in the old thread for an alternate wiring scheme, or follow traces on the PCB (nice diagram here: http://www.midibox.org/dokuwiki/lib/exe/fetch.php?media=mb-6582:mb-6582_base_pcb_r2_color.pdf) to come up with your own.

 

- Jumper the “~” and “+” pins of B1 (the two pins closest to S1; see photos for clarification) and pin 1 of J74. Just like the previous step, you can use one piece of wire to jump all three points and keep the top of the board looking clean, or choose your own wiring scheme according to your needs.

 

- Jumper the “-“ and “~” pins of B1 (the two pins closest to C1; see photos for clarification). Important note: there are two pins on B1 labelled “~”. Pay attention to which one you’re bridging to where. Look at the photos!

 

- Install V1. Pay attention to pinout. The square (rightmost) pad is pin 1 (input).

 

- Install V4. Pay attention to pinout. The square (bottommost) pad is pin 3 (output). (If you’re curious why, go back and read that technical note you skipped earlier in the tutorial.)

 

If you want to use only 8580/6582 SID chips, you are done!

Make sure all your SIDs have a shunt installed at J1_SIDx and J2_SIDx connecting them to the 9V rail and you are good to go.

 

If you want to use 6581 chips only (NO 8580/6582!)

If you’re using all 6581 SIDs, with zero 8580/6582s installed, you can follow the above instructions with only two changes. Simply switch out the 7809 at V1 for a 7812 and connect a 15V DC wall wart instead of a 12V one. The advantages of this are that it keeps your rewiring minimal and keeps some smoothing caps that are absent from the 12V rail as labeled on the PCB. Of course, the disadvantage is that your 12V rail will be labeled on the PCB as 9V. If you never plan on opening your MB-6582 again, this is fine, but if you ever work on it again, or sell it to someone else who does, this could prove confusing. If you do this, set the shunts on J1_SIDx and J2_SIDx to 9V (which is really 12V).

 

You could alternatively install your 7812 in V2 and run a jumper between J72 pin 1 and V1 pin 1 (square pad). This adds an extra jumper (not a big deal, but ugly) and forgoes the smoothing caps on the output of your regulator (probably not necessary, not used in mixed-SID setups anyway), but would actually put your 12V on the rail labeled 12V. If you do this, set the shunts on J1_SIDx and J2_SIDx to 12V (which really is 12V).

 

Pick one and only one of these methods, and you are good to go.

 

If you want to use both types of SIDs

If you want to mix 6581s with 8580/6582s, things are just slightly little more complicated.

 

Start by following the 8580/6582 instructions above right up until you get to installing the voltage regulators. 

- V4 stays the same—you still want your 5V switching regulator. Pay attention to pinout. The square (bottommost) pad is pin 3 (output).

- V1 changes from a 7809 to the 9V sVreg, as noted in the BOM changes. Pay attention to pinout. The square (rightmost) pad is pin 1 (input).

- V3 must be stuffed with a 7812. Pay attention to pinout. The square (topmost) pad is pin 1 (input).

- You must install an additional jumper wire between the input of V3 and the main 15V line. J72 pin 1 is an obvious place to connect to V3, and the J25 pin “9V-11V” (possibly unused pad) or pin 1 of V1 (shortest possible jumper) are good places to connect to the 15V line, though you have plenty of choices.

 

After that, place a shunt at J1_SIDx and J2_SIDx according to the type of SID you have installed there (12V for 6581, 9V for 8580/6582), and you are good to go.

 

No matter what type of SIDs you use, the only other thing to pay attention to is the polarity of your DC power. The two 9VAC pins of the power connector/header are your new 12 or 15VDC + and -. If you bridged B1 the same as shown in my photos (double check!), then the square (leftmost) pad of J1A, or the bottom left pad of J1, is +12V or +15V. The rightmost pin of J1A, or the bottom right pad of J1, is 0V (ground).

 

That’s all! Remember, before you install any ICs, test for correct voltages according to the official build documentation.

 

Here are some images. Sorry the text turned out so small, you will probably have to click on the image and display it full-size to read it.

 

111f1FqGis.thumb.jpg.f089256d640f4f270e0

 

 

111KLmuaVb.thumb.jpg.54d0f1558d918c92a0a

Edited by jaytee
1 person likes this

Share this post


Link to post
Share on other sites

I proofread this a couple times, but if anyone spots any typos or corrections that need to be made, or has any suggestions for info to be added, just let me know and I will edit.

I hope this is helpful to someone! I know it's not much—just compiling known information into a step-by-step format—but I wanted to contribute back to the MIDIbox community in some way.

Edited by jaytee

Share this post


Link to post
Share on other sites

Nice walkthrough about your experiences around 6582 PSU , might be a nice add in the wiki . You might ask a wiki account to @smashtv or @Shuriken to do that.
Grettings,
Jerome

1 person likes this

Share this post


Link to post
Share on other sites

One thing that would also be worth adding is how to wire up the 7 pin DIN socket, the way I did mine is to simply get one of the Rean 7 pin DIN connectors and use that

IMG_2594.JPG

Edited by Altitude

Share this post


Link to post
Share on other sites

That's a really good idea; I actually haven't figured out that part of my build yet. I had actually planned on connecting J1A to a panelmount barrel jack so I could use a standard wall-wart without modification. Upon investigation, however, the placement of J1A interferes with the obvious placement of the barrel jack on the rear panel. So I may end up putting a 7-pin DIN on a wall-wart, as you've done.

Either way, once I have a permanent solution, I'll take pictures and add it to the tutorial.

Edited by jaytee

Share this post


Link to post
Share on other sites

Thanks for the writeup, and I second the idea of making a wiki entry. The diagram needs work, maybe choose a better-contrasting font. As well, the correct connections/mods/swaps can be indicated on a PCB diagram for improved clarity. I think someone may have done that already.

Share this post


Link to post
Share on other sites
4 hours ago, latigid on said:

Thanks for the writeup, and I second the idea of making a wiki entry. The diagram needs work, maybe choose a better-contrasting font. As well, the correct connections/mods/swaps can be indicated on a PCB diagram for improved clarity. I think someone may have done that already.

What I would really love is a high-res scan or clear photo of an unpopulated board. I didn't think to take one, and I couldn't find one on google images. I just know that when I was a beginner, PCB diagrams were kind of hard to follow.

Share this post


Link to post
Share on other sites

Thank you! I've been meaning to build a psu like this for ages and putting it off. No excuses now!

Edited by lukas412

Share this post


Link to post
Share on other sites

These scans are pretty cool , it should end in the wiki too !!
As some members mentionned , off-site doc tend unfortunately to disappear along time.

Edited by Psykhaze

Share this post


Link to post
Share on other sites

Yeh i know. I tried to attach them to the post but it came up with an error. Maybe the files are too big? Anyhow they will be there until the wiki is updated or mediafire shutdown their servers :happy:

Share this post


Link to post
Share on other sites
1 hour ago, thumper said:

I tried to attach them to the post but it came up with an error. Maybe the files are too big?

That's right, file size is the problem here.

Share this post


Link to post
Share on other sites

FWIW I've also had issues with some PNG encoding, even with small file sizes.

Share this post


Link to post
Share on other sites

Either way, I think the wiki is a better place for those scans, with the rest of the documentation, as opposed to buried in the forums somewhere.

Share this post


Link to post
Share on other sites
On 2/3/2017 at 0:59 AM, Altitude said:

One thing that would also be worth adding is how to wire up the 7 pin DIN socket, the way I did mine is to simply get one of the Rean 7 pin DIN connectors and use that

IMG_2594.JPG

Hi Altitude, 

did you tie a knot on the cable inside the strain relief for the DIN connector to help take force away from the solderd joints if one tugs on the wires insted of the connector?

Luckily i have 2 neutrik DIN connectors i bought when stocking up for mb-6582 build in case a day like this ever came, I love when extra components lying around become needed.

I also have a 12 VDC 2A psu from an old Western Digital external hard drive I have lying around.

Could be quite a cheap and common place PSU to use for MB-6582.

Share this post


Link to post
Share on other sites

Excellent write up Jaytee, this is exactly what i wanted to see!

It was a long time coming but finally we have the perfect replacement for the c64 brick thanks to Altitudes findings.

Share this post


Link to post
Share on other sites
10 hours ago, Smithy said:

Hi Altitude, 

did you tie a knot on the cable inside the strain relief for the DIN connector to help take force away from the solderd joints if one tugs on the wires insted of the connector?

Luckily i have 2 neutrik DIN connectors i bought when stocking up for mb-6582 build in case a day like this ever came, I love when extra components lying around become needed.

I also have a 12 VDC 2A psu from an old Western Digital external hard drive I have lying around.

Could be quite a cheap and common place PSU to use for MB-6582.

I use moisture seal heat shrink (it has glue on the inside) which grabs the cable VERY well, then I just use the strain relief built into the Rean DIN jack

Share this post


Link to post
Share on other sites
14 hours ago, Altitude said:

I use moisture seal heat shrink (it has glue on the inside) which grabs the cable VERY well, then I just use the strain relief built into the Rean DIN jack

Ooo thats even fancier! Do you have any online link for the heat shrink you used?

Maybe something like this but a smaller diameter?

http://www.newark.com/te-connectivity-raychem/atum-16-4-0-stk/heat-shrink-tubing-16mm-id-po/dp/41J2177

 

Share this post


Link to post
Share on other sites

that looks right, I used 11/32", you want something big that results in a large diameter to make up the for the small size of the DC power leads.

Share this post


Link to post
Share on other sites

I think I installed my 9v sVreg backwards.  Please tell me I don't have to desolder this thing lol.  (I know I do) 

 

20170219_094654.jpg

Share this post


Link to post
Share on other sites

Yup, backwards, sorry. If the 5V were the backwards one you could readjust the wiring but I'm pretty sure you should just desolder the 9V.

1 person likes this

Share this post


Link to post
Share on other sites

So I bought a cheap PS adapter from ebay. 12v/2a. I cut the barrel connector off to measure the length needed to strip back for soldering the 7-pin DIN and then I realize this....

 The gauge of the wire is much smaller than  the sleeve on the DIN connector. Obviously this isn't major but it's really triggering my OCD. I guess cracking the PSU enclosure and running a thicker gauge is the best way? 

 

 

20170312_103608.jpg

20170312_103600.jpg

Share this post


Link to post
Share on other sites

I think cracking the adapter open is probably a dangerous idea. Small chance you'll ever get it back together.

I would either deal with the smaller gauge (after it's all built, how often are you going to be looking at the plug?) or install a panelmount 2.1mm barrel jack in the MB6582 so you can just use a stock adapter.

1 person likes this

Share this post


Link to post
Share on other sites

WOOOOOHHHH

Soldered up the DIN, powered it up. 5v to all the sockets and 9v on the SIDs!!

Now on to the CS!

This is the best solution for a PS. Thanks everybody that was involved in this!

20170313_143151.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now