Subversion Repositories svn.mios

Rev

Rev 379 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 379 Rev 931
Line 30... Line 30...
30
<P CLASS=DESC>The master core has to be stuffed with a PIC18F452, the appr. firmware is available at the <A HREF="mios_download.html">MIOS download</A> page. The slave cores can either be stuffed with a PIC18F452 or PIC16F877 - so, if you still own some old PIC16F derivatives, this is the chance to reuse them!</P>
30
<P CLASS=DESC>The master core has to be stuffed with a PIC18F452, the appr. firmware is available at the <A HREF="mios_download.html">MIOS download</A> page. The slave cores can either be stuffed with a PIC18F452 or PIC16F877 - so, if you still own some old PIC16F derivatives, this is the chance to reuse them!</P>
31
31
32
<P CLASS=DESC>The MIDI interfaces of master and slave modules can be connected via port J11 of the core module. With this direct digital connection an optocoupler is not required on the slave site (-> <B>Only the MIDI In port of the master module requires an optocoupler</B>).<BR>
32
<P CLASS=DESC>The MIDI interfaces of master and slave modules can be connected via port J11 of the core module. With this direct digital connection an optocoupler is not required on the slave site (-> <B>Only the MIDI In port of the master module requires an optocoupler</B>).<BR>
33
<A HREF="midibox_sid_cs/sid_csB_connections.gif">This diagram</A> shows the required MIDI connections.</P>
33
<A HREF="midibox_sid_cs/sid_csB_connections.gif">This diagram</A> shows the required MIDI connections.</P>
34
34
35
<P CLASS=DESC>A single power supply can be used for all modules, although the power input of the core is rated to 9V. The whole system (4 core modules and 4 SID modules) draws about 600 mA. Note that especially the 7805 of the master core module can get very hot when a backlit LCD is connected. This can lead to problems if the SID module is stuffed with a 6581, as this chip needs 12V for working and therefore at least 15V at the power input (before the 7812) - the 7805 will convert the 10V voltage difference into heat and this can lead to trouble. A simple workaround is the use of a 7809, connected behind the rectifier of the core module. Since the 78xx needs DC, it's recommented to connect this voltage regulator between C9 (the 2200uF cap behind the rectifier) of the SID module and C5 of the core module like <A HREF="mbhp/mbhp_core_power_fix.pdf">shown here</A>.</P>
35
<P CLASS=DESC>A single power supply can be used for all modules, although the power input of the core is rated to 9V. The whole system (4 core modules and 4 SID modules) draws about 600 mA. Note that especially the 7805 of the master core module can get very hot when a backlit LCD is connected. This can lead to problems if the SID module is stuffed with a 6581, as this chip needs 12V for working and therefore at least 15V at the power input (before the 7812) - the 7805 will convert the 10V voltage difference into heat and this can lead to trouble. A simple workaround is the use of a 7809, connected behind the rectifier of the core module. Since the 78xx needs DC, it's recommended to connect this voltage regulator between C9 (the 2200uF cap behind the rectifier) of the SID module and C5 of the core module like <A HREF="mbhp/mbhp_core_power_fix.pdf">shown here</A>.</P>
36
<P CLASS=DESC>The best solution is the use of the original C64 power supply unit since it delivers 5V DC for the core and additional 9V for the SID module - a schematic can be found <A HREF="mbhp/mbhp_4xsid_c64_psu_optimized.pdf">here</A>.</P>
36
<P CLASS=DESC>The best solution is the use of the original C64 power supply unit since it delivers 5V DC for the core and additional 9V for the SID module - a schematic can be found <A HREF="mbhp/mbhp_4xsid_c64_psu_optimized.pdf">here</A>.</P>
37
<P CLASS=INFO>Of course, it's also possible to create a single PCB for the whole circuit. See also the questions from Nebula in <A HREF="http://www.midibox.org/forum/index.php?topic=994.15">this forum article</A>.</P>
37
<P CLASS=INFO>Of course, it's also possible to create a single PCB for the whole circuit. See also the questions from Nebula in <A HREF="http://www.midibox.org/forum/index.php?topic=994.15">this forum article</A>.</P>
38
38
39
<P CLASS=DESC>The audio outputs of all SIDs can either be cascaded (Audio Out SID1->Audio In SID2->Audio Out SID2->...) or <A HREF="midibox_sid_cs/mbhp_sid_joined_audio.gif">connected in parallel</A> via 10k resistors in order to get a 2-channel signal from 4 SID channels. Note that both methods are lossy. An active mixer, realized with operating amplifiers (OPs) would be better, but requires a biased voltage (+/- 9V or more). The best and most flexible solution is the use 4 separate channel strips on a mixer or soundcard for every SID, because this allows you to change the position of the sound source across the stereo panarama and to lead every signal to a dedicated Fx unit.</P>
39
<P CLASS=DESC>The audio outputs of all SIDs can either be cascaded (Audio Out SID1->Audio In SID2->Audio Out SID2->...) or <A HREF="midibox_sid_cs/mbhp_sid_joined_audio.gif">connected in parallel</A> via 10k resistors in order to get a 2-channel signal from 4 SID channels. Note that both methods are lossy. An active mixer, realized with operating amplifiers (OPs) would be better, but requires a biased voltage (+/- 9V or more). The best and most flexible solution is the use 4 separate channel strips on a mixer or soundcard for every SID, because this allows you to change the position of the sound source across the stereo panarama and to lead every signal to a dedicated Fx unit.</P>
40
40
Line 54... Line 54...
54
   <LI>do the same for the other slaves (ID 0x02 and 0x03)</LI>
54
   <LI>do the same for the other slaves (ID 0x02 and 0x03)</LI>
55
   <LI>test the slaves on the master module first (they are all assigned to MIDI channel #1 by default).</LI>
55
   <LI>test the slaves on the master module first (they are all assigned to MIDI channel #1 by default).</LI>
56
   <LI>now plug the PICs into the core of the slave. Enable MIDIbox Link on the core (if you haven't connected a Link button + LED, do it now!), and play a note again to check if some sound is coming out of the slave SID.</LI>
56
   <LI>now plug the PICs into the core of the slave. Enable MIDIbox Link on the core (if you haven't connected a Link button + LED, do it now!), and play a note again to check if some sound is coming out of the slave SID.</LI>
57
</UL>
57
</UL>
58
58
59
<P CLASS=DESC>There is also a "through master" programming method for the slave SIDs, but it isn't very newbie friendly, and therefore not recommented here! It's described at the bottom of <A HREF="mios_bootstrap_newbies.html">this page</A>.
59
<P CLASS=DESC>There is also a "through master" programming method for the slave SIDs, but it isn't very newbie friendly, and therefore not recommended here! It's described at the bottom of <A HREF="mios_bootstrap_newbies.html">this page</A>.
60
60
61
<H2>Preparation of PIC16F slaves</H2>
61
<H2>Preparation of PIC16F slaves</H2>
62
62
63
If PIC16F slaves are connected, you have to change their device ID by hand. The first slave requires ID 1, the second slave ID 2, the third slave ID 3. This step can be done with MIDI-Ox, just connect <B>only one</B> core with your PC and send following SysEx string: <I>F0 00 00 7E 46 [old device-number] 0D 03 00 [new device-number] F7</I>.<BR>
63
If PIC16F slaves are connected, you have to change their device ID by hand. The first slave requires ID 1, the second slave ID 2, the third slave ID 3. This step can be done with MIDI-Ox, just connect <B>only one</B> core with your PC and send following SysEx string: <I>F0 00 00 7E 46 [old device-number] 0D 03 00 [new device-number] F7</I>.<BR>
64
<B>Slave 1: </B> F0 00 00 7E 46 00 0D 03 00 01 F7<BR>
64
<B>Slave 1: </B> F0 00 00 7E 46 00 0D 03 00 01 F7<BR>