Jump to content

jaytee

Members
  • Posts

    352
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by jaytee

  1. 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.
  2. 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.
  3. Yeah, I think you're right about that. The 1.5A sVreg is already ordered and I never soldered the 1A one back, so I'll just install the new one when it shows up and keep the old one as a spare part. Seems like a handy little part for all kinds of circuits!
  4. Looking over the MB-6582 PCB document and the original MIDIbox schematics, it seems a-ok. The sVreg is wired opposite how the PCB expects it. Because the 5V regulator is hooked into the rest of the circuit correctly via jumper wires, it doesn't really matter, and the only effect is that the input caps are on the output and vice versa. According to the MIDIbox Core schematic, the output of the 5V reg should have a couple smaller caps, while the big cap should go on the input (where there already is a big cap, C1). I think I'll solder in a smaller cap, like 10uF, which is what the Core schematic indicates. If it works, I'll call it good, and if it doesn't work, I'll take it back out and call it good. (Edit: it works, calling it good.)
  5. @latigid on wins the day! I was reading up on various DC/DC converters for an unrelated project this morning and stumbled on a datasheet that went into more detail about the "max capacitance load" and how it could stop the converter from starting up properly. I recalled your comment, did a little more research, popped C3 off the board and voila! Everything starts up just fine with eight SIDs stuffed. I already ordered that replacement sVreg, and may yet install it, since as Hawkeye points out, I'm already cutting it close without my CS installed, but for now the 1A seems to do the job. Sooooo, C3. I think all it's doing is filtering noise on the 5V line. With the C64 PSU, it might have provided some protection from voltage spikes, but behind my sVreg, it seems less necessary. Running a quick audio test, it sounds totally silent to my ears. Is there any danger to leaving it out completely if no noise is audible? Analyzing circuits is not my wheelhouse at all, so it'd be good to hear some input on this. (edit: And just to be safe, just went through each stereo output and confirmed that all four cores and all eight SIDs are firing as expected. I'll have to double check the SIDs more closely to make sure there are no blown filters, but the six that didn't come out of my known-working sammichSID don't appear to have ever left Wilba's original packaging, even though I got them elsewhere. Anyway, woohoo! I do believe this counts as a functioning MB-6582!)
  6. Just added this to my Mouser cart. It's a different prefix again, but it's the only Recom 5V 1.5A sVreg I could find (and other manufacturers had significantly worse ripple/noise ratings). I just want another set of eyes to verify that this is the correct part before hitting "submit."
  7. Alright, makes sense. What's another $10? ;) I went back through the Altitude thread and noticed that he's using a 1.5A sVreg in his build (not the Recom part, but an older, obsolete one). I only found one person using the 1A Recom in that thread, and it's not clear how many SIDs they were running or whether their MB SID ever completely worked. What a power hog!
  8. @latigid on, just saw this, must have missed it while writing my own response. I saw this in the datasheet and thought it might be related, but didn't really understand what it meant. Are you talking about the 2200uF caps? For the flyback diode, is 1N4148 ok? I don't think I have anything else handy. Edit: I do have a 1N4001 power diode here too.
  9. Hah, duh. Wish I had checked this thread again before firing up the iron. Anyway, pulled the R785.0-1.0 and breadboarded it for easier debugging. Double-checked that it's hooked up correctly by running it in this configuration: same results as before. With my multimeter in series with the 5V line, I measure: 6 SIDs: 710-730mA 7 SIDs: 730-760mA 8 SIDs: 810-840mA I also want to note that I get slightly different behavior when my meter is in series like this. - No matter how many SIDs are stuffed (6, 7, or 8), the LCD acts kinda funny—like the contrast is worse or uneven, maybe the backlight is dimmer and it is not nearly as responsive. - It seems to boot with a 7th SID installed, but still not that 8th one. - A couple times, it seemed to struggle to boot with just six SIDs installed. It would hang on "Launching CS..." or reboot itself. Perhaps this one is down to iffy connections. Between the breadboard and the alligator clips/probes, it wouldn't surprise me if something just lost connection briefly, especially since this happened just a couple of times while testing and retesting and testing a third time to be sure, but figured I should mention it for the same of completion. So anyway, still kinda stumped.
  10. @Hawkeye, @latigid on, great minds think alike, eh? Earlier when I was measuring current draw, it was on the 12V line coming directly from the power adapter. With seven SIDs installed and no LCD connected, there is still no startup tone. (This is actually one of the first things I checked last week, but I checked again just now to be sure.) Right now, there is no CS attached, so no weird LEDs or anything else that might be drawing extra current. I suppose the next step is trying to carefully desolder the Vreg and resoldering it with one leg out to measure current? I'll do that now.
  11. @latigid on Here is the part. Recom R785.0-1.0. I see now that in the thread about this power setup, various other prefixed regulators (R78C5, R78B5, etc) are offered, but looking over the datasheet, I can't find any reason why this one in particular would be crapping out.
  12. Ok. So I had a cheap wall-wart Amazon Prime'd to my house. Didn't want to spend a lot of money on the off-chance this wasn't my problem....and I'm glad I didn't. Hooked up to a 12V 2A supply, I have the same issue. Up to six SIDS, everything is gravy; once I put a seventh and/or eighth in (no matter which SIDs or which slot) then MIOS fails to boot, LCD backlight doesn't turn on and basically nothing happens. Is my 5V regulator the next thing to check? Is there any way to check it without just ordering a new one?
  13. Thank you. I tried uploading as attachments first, but the site was giving me trouble, maybe because I was on mobile.
  14. How did I miss that?! Anyway, that's great. I'm pretty sure my design places the Jack right around the same place. I need to double check that it'll clear those capacitors, but otherwise I'm pretty pleased! BTW, thanks so much for all the help @Hawkeye. Pretty sure I literally would not be able to do this project without it.
  15. Oh no, all the pictures are gone! I'm trying to redesign the rear panel and a 1/4" mix out Jack is high on my list of priorities. I'm trying to get a sense of how to position it so that it'll fit with the CS installed and I can't get an idea of where it should be placed.
  16. Here are photos of my single-supply wiring. basically exactly the same setup as Altitude. I chose slightly different soldering points for the insulated jumpers (combining them with small component-side jumpers) just to keep them out of sight, but they're functionally identical. This is a 9V only solution, with a 7809 installed alongside the Recom 5V regulator from earlier in this thread. Pay attention to jumper locations. To hook up to a power supply, looking at the first photo (component side) connect + to the left-hand 9VAC pad and - to the right-hand 9VAC pad.
  17. I don't suppose anyone can suggest a power supply? My head is spinning trying to find one that isn't a cheap piece of junk. OTOH, would a switching supply maybe be ok in this case, since all voltages are getting run through regulators and filtering caps?
  18. I measured voltage on the 5V line with six SIDs installed vs seven SIDs, as @Hawkeye suggested. 4.99V and 2.45V, respectively.
  19. Alright, I did some testing. First off, I gave the solder side of my board a thorough once over. Cleaned up questionable joints, got rid of flux splatter and errant blobs of solder, just generally cleaned it all up. I powered it up with four SIDs again—numbers 1,2,7&8—just to be sure that still worked. All good. I measure current draw, it's around 350mA. I stuff one additional SID in slot 3. It works. Try it in slots 4,5&6. It works. Leave it in slot 6. I stuff a sixth SID in slot 3. Everything still works. I stuff a seventh SID in slot 4. Nothing. Try it in slot 5. Nothing. Remove that SID and try the eighth SID in slots 4 and 5. Nothing. I remove the working SID from slot 3 and stuff the eighth SID there instead (so again, back down to six SIDs). It works. So it seems that it's only related to how many SIDs are stuffed, not where they get stuffed or which SIDs I use. Now I'm thinking it really is a matter of current draw. I test the current draw with six SIDs installed (working). About 550mA. I install a seventh SID. Current draw drops to about 360mA and as expected, the MB-6582 doesn't boot. Is my power supply crapping out? This is the one I use. I've been using it with my sammichSID for years. Any ideas?
  20. I will measure current draw later today; I ran out of workbench time yesterday. What other problems might cause this issue?
  21. So I just finished my MB-6582 base PCB. I tried it out with the first two SID chips mounted, success! Beautiful. I mount the other six SIDs....nothing. No startup tones, no LCD activity (not even a backlight). Uh oh. I removed half the SIDs (cores 2 and 3 FWIW) and everything seems to work again. Am I correct in thinking this is an issue of current draw? I am using a regulated 12V 1A supply (using Altitude's single supply approach), which I figured for sure would be enough juice (in the thread for the single supply, Altitude mentions only drawing 800mA with eight 6582s and a fan, and I don't even have a fan). Perhaps not? Is there anything else it might be? edit: And if it is just a matter of amperage (looking through old threads, I do see a few people referencing their MB-6582 drawing 1A or slightly more) can anyone suggest a decent power supply? I hate looking for this stuff; I don't want to run my precious gear off the cheapy-cheap switching supplies that are everywhere.
  22. Thanks! I had a vague suspicion it was just the LCD—the datasheet doesn't mention brightness control at least—but couldn't find any other references to that being a possibility, so I immediately jumped to user error. I tried your LED test real quick and...hmmmm. It actually causes the brightness of the screen to work...somewhat (limited range). In any case, I won't mess with it until I have my final display hooked up; this one is just for testing.
  23. So any ideas about my backlight brightness/luminance? I checked that the trimmer was working, and it is; voltage varies between 0-5V as it is turned. But by the time those lines make it to my LCD, it's a constant 5V no matter what. I'm not totally clear on what the little circuit near the trimmer does, with the transistor and resistors, but it seems to be the problem. Is it possible I burned out my BC337 while soldering it in?
  24. Success! (Though my brightness knob still doesn't seem to do anything...)
×
×
  • Create New...