English Version Spanish Version French Version

MIDIbox Hardware Platform, SID Module

More informations regarding the SID module can be read on the MIDIbox SID page, here just only the technical informations are listed.

Unlike the common SID synthesizer implementations I decided to connect the SID with a serial link to port J10 of the Core module via shiftregisters. The latency for every access is below 50 uS, so differences to a parallel bus connection cannot be regognized. The advantage of this method is an easier handling for the (still) unexperienced user and the high reliability.

The module requires a second power supply which delivers clean and stable 12V for the audio section of the 6581 chip. The current drain is below 100 mA, so the smaller "lite"-version of the 7812, the 78L12 can be optionally used as voltage regulator. If you plan to utilise a 8580 instead of the 6581, 9V are required instead - so replace the 78L12 by a 78L09 (or 7809...) in that case. Note that the original C=64 power supply unit can be used for the SID module, although it only delivers 9V AC - the 5V DC which is are also delivered this PSU shifts the voltage to 14V (see schematics below). If you don't want to use the C64 PSU, you can power both modules with the same transformer or wallwart for both modules. 14-15V AC (!!!before!!! the regulation unit) are required for a good and noiseless sound.

The SID has to be clocked at 1 MHz. As clock source the PWM output of the PIC has to be used (Core::J7:SO/PIC Pin #17). The usage of the oscillator found in older pictures is not recommended anymore, since it can lead to problems (details are described in this forum article).
Note that only the redesigned layout of the MBHP_SID module provides a terminal for this connection. If you've built a module based on the _v2 layout, you need to solder an additional cable between the CLK input of the SID and Core::J7:SO/PIC Pin #17.

An Audio Out and In can be found on the module. The function of the small transistor behind the SID Output isn't to amplify the signal, but to save the SID chip from any damage - so, never bypass this protection! If you are not able to find a BC547, just take any other "general purpose NPN" transistor - take care for the pinning! The SID also provides an Audio IN which allows external audio signals to be mixed with the SID output and to be processed through the 12db multimode filter.

The two caps between Pin 1/2 and 3/4 of the SID are required for the filter. The ideal values may differ with the SID version you are using, so it's possibly a good idea not only to purchase the recommended 470 pF caps for 6581, 22nF caps for 8580 (which have been taken from the original schematics), but also some other pairs: 1nF, 2.2nF, 4.7nF, 6.8nF - just to check for any better results.

The printed circuit board has been designed in a way which allows to stack CORE and SID module, so that both boards don't require much more place than a cigarette packet (just for the case that you plan to use multiple modules for a stereo or quattro SID system :)

If you are interested: here an Interview with Bob Yannes who created the SID chip 20 years ago and later co-founded the synthesizer company Ensoniq can be found.

MBHP_SID_V2

In the meantime, the SID module has reached it's third version. There are some minor improvements in the circuit and layout. However, the old modules can still be used. For the convenience of users who haven't populated an old board yet, a special webpage has been created which contains the old documentation.

Download

PCB data, can be viewed, modified and converted with Eagle Light. The .pdf based schematic has been created with xcircuit. There are no special eagle schematics available, since components have been netlisted in the .brd file directly!
Module Schematic Layout Data Quick-view
MBHP_SID_V3 mbhp_sid_v3.pdf mbhp_sid_v3.brd mbhp_sid_v3.gif
Additional informations
File Size Description
mbhp_sid_orderlist.txt 1k Reichelt orderlist
mbhp_sid_c64_psu.pdf 5k How to connect the C64 power supply unit with the core and SID module
mbhp_4xsid_c64_psu_optimized.pdf 5k How to connect the C64 power supply unit to MIDIbox SID V1 CS Step B (optimized version for best signal/noise ratio)
mbhp_8xsid_c64_psu_optimized.pdf 5k Same for MIDIbox SID V2 (stereo SIDs, optimized version for best signal/noise ratio)
Commodore_SID_6581_Datasheet LINK Link to 6581 datasheet. It has been reproduced by Simon Inns based on an original copy and is much better readable than PDF files that you can find in the net.

Available Ports

Following interfaces are provided by the SID module:

Name No. of pins Description
J1 2 Connection to the powersupply. Either the output of a 15V transformer, or a wall adapter can be used. 100 mA is recommended. AC or DC doesn't matter, since the rectifier behind J1 converts to DC anyhow. Also the polarity has not to be taken into account.
J2 8 J2 supplies the SID module with 5V from the core module and receives the serial signals. Please note that for best signal-noise ratio, it makes sense to connect the +5V/Ground pins directly to J2 of the core module like shown in these schematics: mbhp_sid_c64_psu.pdf and mbhp_4xsid_c64_psu_optimized.pdf .
J3 2 The Audio Out of the SID module (see description above).
J4 2 The Audio In of the SID module (see description above).

Used Components

Here a list of the used components. A complete orderlist for Reichelt can be found here, Mouser partlist for the US: see SmashTV's Website, if you have a orderlist for a distributor on your country, feel free publish it on this page!

Part Name Value Description
IC1 6581 or 8580 The famous SID, which unfortunately has been discontinued, but can be cannibalized from any C64. If you don't already own a C64 homecomputer, you will possibly find one on the fleamarket or at EBay for some bucks :-)
Personally I prefer the 8580 because of the better filter capabilities!
IC2/IC3 74HC595 Serial output registers for the reset, address and data inputs of the SID.
R2 1k This source resistor is required for the open-drain output of the SID.
all others see schematic see schematic
DIL SOCKETS Don't forget to buy sockets for the shift registers. 1*28 DIL and 2 * 16 pin DIL sockets are required.

Soldering Guide

Start with soldering the 3 bridges which save you from creating a 2-layer board. You can use the cutted legs of caps and resistors, before you throw them away after you finished all the modules! :-)
Mount all the parts with the exception of the three ICs. Apply power to the module and check the voltage level between pin IC1:Vdd(28) and IC1:Vss(14) - it must be 12V for the 6581 SID, 9V for the 8580 SID.
Now connect port J2 of the SID module with port J10 of the core module like described in mbhp_sid_c64_psu.pdf and mbhp_4xsid_c64_psu_optimized.pdf
Ensure the following voltage levels:
IC1:Vcc(25) - IC1:Vss(14) = 5V
IC2:Vdd(16) - IC2:Vss(8) = 5V
IC3:Vdd(16) - IC3:Vss(8) = 5V

Program MIOS and the MIDIbox SID firmware into the PIC like described here, stuff the 3 ICs, connect the Audio Out (J3) with your amplifier or mixer and connect your MIDI keyboard, MIDIbox or your computer with the core module.
Feel prepared for a long-night/day/week/month jam session with your new friend, the SID! :-)

Testing

Most of the details are described in the MIDIbox SID Walkthrough. Here a summary in short words: once you've uploaded the MIDIbox SID application, you can play some notes over MIDI channel #1.
If you don't hear a sound, upload the sid_testtone application in order to ensure that the core can access the SID module. If you still don't hear a sound, try the mbsid_interconnection_test in order to check if all interconnections between CORE and SID module are working.
These three programs can be downloaded from the MIOS Download page.



Last update: 2023-11-04

Copyright © 1998-2023, Thorsten Klose. All rights reserved.