Cookie Information, please respect my cookie handling while usage this website, or close this session. click here
Skip to end of metadata
Go to start of metadata
Project

Projecttitel:MB6582

Status: DONE

Startdate: 08/2019

Duedate: 05/2020

Manufacture link: ucapps.de

BOM:

wilba_mb_6582_parts_list [MIDIbox].pdf

BOM note:

the most important things are:






PIC chippreprogrammed with bootlader

ask me if you want one preprogrammed PIC chip 



SID chips

2x needed - one minimum

8580 or 6581 or 6582

ebay or ask me

Frontpanel and rearpanelsee note for the ID:output in this list to improve the rear panel 

http://thebeast.co.uk/?product_cat=midibox

schaeffer - see extra notes after this list


original power supply (latest square box version)

ebay

or better this new stable version:

https://www.c64psu.com/c64psu/43-commodore-64-c64-psu-power-supply.html


powerswitch from ebay- or use a DPDT switch on rearpanel


Powersupply DIN Jack


low current LED´s - which fit against the front panel holemake sure the color match with the displaytme, mouser

Display HD44780make sure the color match with the LEDs

ebay or

https://www.reichelt.de/?ARTICLE=197539&PROVID=2788&gclid=Cj0KCQjwnv71BRCOARIsAIkxW9EoN6P8R7GphI8wu7xhxPxjfkRsPToMK2CHZ0oIArMaQMHIwGbID6QaAtPiEALw_wcB


case Pactec PT10
mouser

FAN only when you install 6 or 8 SIDs

5Volt  40mm fan - ebay


9x flat ribbon cable to connect the pcbs together

571-FST-21A-8

FST-21A-8
TE Connectivity FFC / FPC Jumper Cables
TARIC:8544499500 ECCN:EAR99 COO:MX


DO NOT INSTALL ALL headers and IC sockets or output drivers

if you only want 2 SID chips - you have to install and buy less parts

you only need 2 SID chips and one preprogramed PIC chip.

more SIDs. can be played on a different MIDI channel - but there's no real Polyphonic playing on one midi channel. (correct me if I´m wrong)

everything inside the blue marking isn't needed when you only want a 2 SID chip version.

also the headers which are blue marked.


ID:outputABSOLUTLY important 

the outputs are Stereo per jack !!

if you only install 2 SIDs - you can improve the jacks - 

install 2 MONO Jacks at the rear panel and connect each on the (Voice 1) stereo solder holes - other wise you need a adapter from stereo to 2x mono cables (insert cable)

todo: improve the rear panel to 2 or 4 MONO jacks (9.5mm holes)  move the holes more to top to get enough space between PCb and the jacks.

remove the unused holes from the panel files




Panel Files:


MB-6582_frontpanel_r2.fpd

This one has all artwork as objects in FPD, with two HPGL engravings for the Osc and LFO waveforms. You can change individual text labels if you want:


MB-6582_frontpanel_r2_opt.fpd

This one is the same as the one above, but pen 1 is used for all text, control group lines and waveform lines, i.e. - 1=text & control group lines & waveform lines, 2=arrow labels, 3=section dividing lines. You can then change the colour and/or thickness of each type of artwork.


MB-6582_rearpanel_r2_opt.fpd

This one has all artwork as a single HPGL engraving object

Build Infos (mostly for myself)

Buildguide of Control panel

http://midibox.org/forums/topic/14564-building-the-mb-6582-control-surface-photo-tutorial/


Control surface build:

http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_6582


Base PCB build:

http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_6582_base_pcb_construction_guide


Display:

http://midibox.org/forums/topic/14564-building-the-mb-6582-control-surface-photo-tutorial/

I used the 2004A model: (HD44780)

Pinout


number_marked_on_Display














Display PIN12345678910111213141516
Display FunctionVSSVDDV0RSR/WEDB0DB1DB2DB3DB4DB5DB6DB7

BLA(+)

LED +

BLK(-)

LED -

on Mainboard:1112131415

16 

87654321910
check(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)(tick)


Mainboard:

12345678910111213141516
D7D6D5D4D3D2D1D0B+B-VSSVDDV0RSRWE





for OLED VERSIONS:

use the wiring as shown on bottom - you don't need all Pins connected (on LCDs you have to connect all pins as shown above) 

bridge on the Mainboard the pins


   


You  have to solder the 4 small SMD Jumper bridges on the bottom on the  MainboardPCB (only for OLED version)


User Manual:

http://www.ucapps.de/midibox_sid_manual_fp.html


before programming:


J11 (not J11_CORE1) is a 4×2 pin header which controls which Core (PIC Tx pin) is connected to the MIDI Out port. You would only need to use this once for the first upload of MIOS and the MB-SID V2 firmware, thereafter connect the master PIC (1) to the MIDI out and after uploading new MB-SID V2 firmware, the master PIC can clone itself to the other PICs across the CAN bus.

NOTE: All Cores (PIC Rx pin) are connected to the MIDI In port. The different device ID (0,1,2,3) on each PIC determines which PIC receives an upload, J11 is used to get “feedback” from that PIC during the upload.


The absolute bare minimum headers you should put in are:

  • J11 (for switching which Core is connected to MIDI Out) (tick)

  • J15_CORE1 (for master Core’s LCD)

  • J3_SIDx, J23_SIDx (for connecting feedback pots, or at least grounding the SID audio inputs) (tick)

Then the list of useful headers for a “default” MB-6582 setup (no expansion port usage):

  • J70 (for passive mixed output, to connect to headphone jack) (error)

  • J2 (for power LED) (error)

  • J25 (~9V-11V DC, for connecting to fan) (error)

  • J3 (5V DC, for connecting to fan, if 9V-11V makes the fan too noisy) (error)

  • J1_SIDx, J2_SIDx (for voltage switching between 9V and 12V per SID, see PSU Option B and D) (tick)

Then for the advanced users, perhaps wanting to connect things via the expansion port:

  • J6_COREx, J7_COREx (for analog outputs via AOUT modules) (error)

  • J5_COREx (for analog inputs) (error)


Check this:

Now after soldering all those, you can start soldering together the PSU section. Go back to the start of this guide and follow the soldering instructions for the PSU option you want to use. Then follow the soldering instructions for the power socket and power switch for that PSU option.

  • Test that the power rails and ground are not connected (shorted). You can test this at J4.

  • Test that each of the following IC socket's pins are correctly connected to the 5V rail:

SIDs: test pin 25 (fourth from top right); COREs: test pin 11 (eleventh from top left); 74HC595/74HC165s: test pin 16 (first from top right) Optocoupler 6N138: test pin 8 (first from top right)

  • Test that each of the following IC socket's pins are correctly connected to ground:

SIDs: test pin 14 (bottom left) COREs: test pin 12 (twelfth from top left) 74HC595/74HC165s: test pin 8 (bottom left) Optocoupler 6N138: test pin 5 (bottom right)

You should now be ready to plug in your power supply and turn on the power switch. It is important that you get your multimeter ready to test the voltages at J4, and test them quickly after turning on the switch, so if you don't see the right voltages, then you can turn it off quickly and avoid damaging components. If you've put the bridge rectifier and capacitors in the correct way and tested for short circuits across the power rails, then you should not have a problem.

Before connecting power to the power socket:

  • Check you've completely followed the soldering instructions for the PSU option of your choice, especially soldering the bridge at J71, J72 and J73 (if instructed to do so).

  • Check the orientation of J1A (if you are using a panel-mount socket to connect a C64 PSU). It is a good idea to test the voltages coming out of the C64 PSU first, to make sure you really have 5V and ground connected to the right pins! Ideally you should use a polarized header and connector for J1A to avoid swapping 5V and ground and destroying components!

Then connect the power, turn on the switch and:

  • Check DC voltage between 5V and ground at J3.

  • If using PSU Option A or B, check voltage at J25 (should be above 9V, around 11V depending on load).

  • Check output of V1 by checking voltage across C12 (bottom pin should be 9V relative to top pin).

  • Check 9V pin of J1_SID1, J2_SID1 relative to ground (at ground pin of J3).

  • If using PSU Option B, check 12V pin of J1_SID1, J2_SID1 relative to ground (at ground pin of J3).

  • Insert jumper into J1_SID1, J2_SID1 depending on type of SID - 9V for 8580/6582, 12V for 6581

  • Check voltage between pin 28 of SID socket (top right corner) relative to ground.

If these voltage checks are passed, then you have finished the PSU section and can continue. If these voltage checks fail, disconnect power immediately. You will have to work out what is wrong by testing connnections. Start with testing pins on the C64 PSU, then checking for any breaks in continuity between the power socket and the rest of the circuit, i.e. you can test if the switch is working and pins 1&2 and 4&5 are connected when the switch is on, etc.



Programming/flashing


  1. in case you have a PIC burner - download the file:

       bootloader_v1_2b_pic18f4685.hex. (that's for the 18F4685 PIC model - not for other models)

       (this the bootloader which enable the MIDI function, that you can connect by MIDI the MB6582)

if you don't have a PIC burner, ask me for a preprogrammed chip.


2. download the latest MIOS software: MIOS_Studio_2_4_8_OSX.app.zip

or for windows: MIOS_Studio_2_4_8_Win.zip

3. install the MIOS software and connect the MB6582 with your MIDI Interface to the PC/Mac - don't start it yet.

4. download the Firmware:

mios8_v1_9h_pic18f4685.hex.  (that's for the 18F4685 PIC model - not for other models)

(this install the "software" in your PIC chip) s


5. start the MIOS app on your PC - and start the MB6582  - check that the MIOS tool are able to find your Core (PIC) that's an example - but its different to that what you need.

if the software isn't able to connect to your MB6582 - you get a red text warning !!

 


6. if the MIOS tool find your MB6582 (PIC) use the "browse" function and upload from Step 4. the firmware and press "start".

7. you will see that your MB6582 starts acting on the Display and the LEDs comes to life. 

if the display stays dark or don't show text, turn on the MB6582 the 2 trimmers close to the PIC chip (contrast and brightness)


8. download the "application" this is the "player/editor" of the synth. there are some other apps on the ucapps website too (test tools)

setup_mb6582.hex. (this file works for all SID chips !!)

9. install with the MIOS app the setup_mb6582 file 

that's it.


leave a comment or contact me in case of questions.


Advanced programming with more than 1 PIC 

when you use more than 1 PIC to drive 3-8 SID chips you need to change the ID:

change_id_v1_9g.zip

you must connect the JUMPER from position 1 to 2 on J11 

also you can connect the display cable to the J_15core2 and changed with the trimer the contrast (no LED background light is normal here)

Important: after you have changed the device ID, you must install with MIOS the setup_mb6582.hex file !!!! 

to test the function: press the SID_ENGINE tactile switch (above the Display)


http://midibox.org/forums/topic/18680-solved-debugging-my-mb-6582-part-2-software-upload-issue/

Build infos for myself:



Todos after build:

after programming:

fit LED resistors R40-R55  - start with one and check the brightness  - some colors need 1K or more. they are connect in a chain - but in the Matrix is often only one LED at one time powered - its different with the other LEDs !! so it can happen that the LED matrix LED´s needs a other resistor value.


What's the purpose of the J70 header?

This is a passive mixed output of the four stereo channels, which you can connect to the small phono jack above the power switch. Totally optional.

This was a late design idea I threw into the prototype, the resistors below each audio socket are used to connect the audio signals together when there is no plug in the switched audio socket, i.e. it will only mix those sockets without plugs. You need to connect it together with insulated wire under the board though…. I didn't want to mess up the ground plane with tracks. To the right of the resistors R70-R77 (below the stereo sockets) are pads, these pads should be connected in two sets of wires, one set connects the pads that are next to R70, R72, R74, R76, the other set connects the pads that are next to R71, R73, R75, R77. (NOTE: R2 boards do not require the wires, there are tracks on the top layer.)

I used 10K resistors there because that's what I've seen before in passive mixer designs, but the output is very attenuated, and I am guessing that you could drop these to 1K or less, as the outputs of the audio buffers after each SID can probably handle that. Someone with more audio electronics (and SID!) knowledge can probably answer that question.


Troubleshooting:


http://www.ucapps.de/midibox_sid_manual_ki.html


depends on the failure, but from my experience its the best to use a glass magnifier and check every solder point  - ground pads !! the red PCB isn't that good - some solder core stay on the pcbs - wash the pcb with isopropyl from the solder side.


PCB traces: 

mb-6582_base_pcb_r2_color.pdf

mb-6582_cs_dout_wiring.pdf

mb-6582_cs_din_wiring.pdf

mbhp_core_v3.pdf



Sound Demos and testing:

download the player: https://www.elektron.se/support/?connection=x-sidstation#resources

connect MIDI and open the tool which can play SID files


SID Sound Files for the above player:

http://www.ankman.de/commodore-64-sid-music/#a1998