Here are a couple of my experiences so far which may or may not be of benefit to other beginners. Much of the infos are already contained in the troubleshooting docs / forum but some of this may be useful to newbies who haven’t had step-by-step experience in what to expect during the construction phase and are a bit overwhelmed by the amount of reading and searching.
NOTE: - there may be mistakes in some of the info so please feel free to correct them where you see it.
Case design
To simplify the case design and save time, I opted to buy an aluminium DJ turntable flightcase and install the components inside. The front panel was made from 4mm acrylic plastic which is relatively easy to drill and machine at home with basic tools. I bolted a section of angled aluminium to the panel running through the middle from the left side to the right side to give it support and prevent flexing. The panel rests on brackets which were bolted to the inside of the case and makes for a reasonably rigid design. Afterward a thin aluminium sheet was stuck to the acrylic for a metallic look / feel. (Maybe this wasn’t so clever because it meant having to cut out the same holes / slots again. Would have been better if everything were done at the same time). I fitted a piece of board to the bottom inside of the case to mount the components on with plain old self tapping wood screws.
All the machining was done by electric drill, metal hacksaw blade, jigsaw (don’t use on the acrylic because it only melts) and metal files. It took a long time to complete and in retrospect you may want to do yourself a few favours by:
1 - Buying / borrowing / using some kind of a rotary tool & necessary attachments (probably one which can do around 33000 rpm, the cheaper models may be a bit slow) WEAR PROTECTIVE GLASSES!
2 - Avoid using square / rectangular switches (especially on a 64 switch project) by using round ones. Drilling a hole is easy, having to hand file / file 64 squares was not!! ;D
I designed the front panel with Schaeffer’s software. The angled aluminium that was added to the middle section was very useful to cable tie all the ribbon cables from the LCD, pots and switches to which prevents cable movement that would eventually have broken the connections. Make sure your cabling is neat and atttached securely and have spaces on the panel allocated for it to go. If possible, it may also be a good idea to mount the AIN’s and DIN’s to the bottom of the front panel though I only realised this after already opting for mounting them in the case.
For connectors on your modules you may want to avoid using SIL headers and rather use “multipole pcb connectors” such as those shown here:
http://www.rapidelectronics.co.uk/rkmain.asp?PAGEID=80008&CTL_CAT_CODE=30215
DIL cable connectors & sockets may also be useful for connecting DIN’s & AIN’s depending on your particular layout.
Although it doesn’t seem to plague me, it would also be a good idea to position your transformer and internal AC powerleads as far out of the way of the AIN’s as possible to avoid interference. Alternatively, use an external powersupply / wallwart but make sure it can deliver a enough current. The ones on eBay are often 300mA which I believe are too weak, especially if you plan on using your LCD’s backlight and using LED’s for the DOUT module.
Soldering
Get a decent soldering iron which delivers a reasonable amount of heat with a smallish tip. I made the mistake of using a large cheap & cold piece of junk. I also used poor quality solder with too high lead content. Clean & prepare surfaces to be soldered with alcohol (don’t get any on your hands because the methanol is poisonous and is absorbed through the skin) . Try not to touch surfaces about to be soldered because fingerprints leave oil residue.
Testing
1 - buy a cheap multimeter (if you don’t already own one)
2 - check the troubleshooting pages and pdf’s on http://www.ucapps.de/ and test that your core module’s values are as expected.
3 - Don’t perform a final assembly of the entire project, test every module first as much as possible before continuing because there are bound to be problems with poorly soldered joints, wiring mistakes etc.
I’d recommend you start with the core module. Check the troubleshooting pages and test the circuit. If it seems OK, plug in the PIC and test again. Then attach the MIDI In & Out connectors & powersupply.
To upload MIOS:
1 - Make sure the core is NOT powered up.
2 - Make sure MIDI In & Out cables are connected correctly to your computer interface
3 - Load MIOS Studio on your PC / MAC / Linux box / whatever works for you
4 - Set up MIOS Studio Ports as per the instructions
5 - Unzip MIOS v1.8 and locate the HEX file
6 - In MIOS Studio, select this HEX file and set it to await an upload request from the device and press start. (MIOS must be uploaded within 2 sec’s of the core being powered on)
7 - Power up the Core module, the upload should start. (Use input / output monitoring windows in MIOS studio to monitor this)
8 - You should see feedback confirming a succesful upload.
Upload the application you intend to use:
MIOS is the OS, now you’ll need to upload the app example Midibox 64 or Midibox 64E. You can use the same method as described above, but use the HEX from the application instead of MIOS.
AIN Messages
On the Midibox 64, once the app has been uploaded you should see loads of random analog input controller events in your monitor windows because the analog inputs aren’t clamped to ground. This is normal. Once all the pots are attached to the AIN module/s and the AIN module/s are attached to the core, these random events should stop.
If some messages persist, it means that one or more of the pots PIN2 is not properly attached to the AIN module or maybe the AIN module is not properly attached to the core.
BTW, if you experience one or two “dead” pots which don’t generate any controller info (althought there are no random events) this means that all the PIN 2’s are attached but you have a problem with either PIN 1 or 3. Check the soldering.
LCD
Once the AIN’s behave as expected, you may as well attach the LCD. Initially expect to see a row of black bars on the first line. (During start up and also if MIOS hasn’t been installed on the PIC)
Once MIOS has been installed, the display should read “Ready”.
Once the MB64 application has been been installed, it will display a copyright message from Thorsten and then present a set of menus specific to the app.
LCD problems I have encountered
1 - Wiring incorrect - try to get a datasheet before buying the LCD.
2 - backlight seems to have drawn too much current which reset the PIC and caused display anomalies.
Solutions
First, disconnect the LCD backlight to simplify troubleshooting.
Then, disconnect D7, D6, D5 etc. and experiment by disconnecting wires until the PIC stops resetting. In my case the powersupply / powercircuit was probably too weak to drive the modules and the LCD backlight. Problem solved by using a seperate power supply to power the LCD backlight.
DIN problems I’m encountering
One of the DIN’s is producing random on (127) events. There could be an issue with an incorrectly wired encoder / DIN wiring, Moebius has made some suggestions reg. this in the troubleshooting section. Wild_Weasel has also suggested checking for bad resistors with an ohmmeter / multimeter.
*****************************************************************************
To all the other posters, please feel free to add your experiences / tips here, what problems you encountered and how you solved them. This should help to eliminate repeated questions about typical issues facing the prospective constructor.