MIDIbox Forum: First Midibox project - MIDIbox Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

First Midibox project Rate Topic: -----

#1 User is offline   Triffki 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 18-September 11

Posted 19 September 2011 - 00:03

Hi all

I've wanted to get stuck into building a Midi controller for a few months now, and it looks like the Midibox64 is my safest bet. A few long sessions of browsing through uCApp have given me enough background knowledge to start visualising an end product.

I intend to use the device primarily as a mirror-mapped controller for Traktor; allowing me to control as many features in the software as possible. The majority of inputs will be buttons, but there should be a healthy selection of pots aswell for knobs and faders. Ideally, most of the buttons will have LEDs next to them to indicate their current state. I'm not fussed about having a jogwheel for scratching, and it would probably be too complex to implement anyway. I will also use the controller in FL Studio to aid in parameter control.

After doing some more research on these forums, I decided on the following as a preliminary layout:

PIC Based core running MIOS8
DINX4 with 32 buttons
second DINX4, chained to 1st, with 16 buttons and 8 encoders
DOUTX4 with 32 LEDs
AINX4 with 32 pots
DOGM26 lcd display

Are there any obvious blunders in this design? I was unsure about the 8 encoders/16 buttons on one DINX4 arrangement, I guess this will require quite a bit of manipulation in software.

I've been looking at encoders and pots on Alp's website, and to some extent they fit the bill for what I need. Does anyone know of any good suppliers in the UK, or a particularly good eBay seller? I would also like to get my hands on some encoders equipped with push switches as well, as these would be excellent for controlling loop lengths in Traktor.

In terms of acquiring the pcbs, would setting up a bulk order on this forum be my best bet, or should I see if I can get them manufactured locally?

I have decent electrical knowledge and respectable soldering skills, but my programming skills are still fairly meagre. I will be scouring this forum over the next few weeks to fill in all the gaps in my knowledge that I possibly can, and I'll be learning more about programming in C.

Thanks in advance for any help

#2 User is online   nebula 

  • MIDIbox Guru
  • PipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 864
  • Joined: 23-May 03
  • LocationCanada

Posted 19 September 2011 - 03:34

View PostTriffki, on 19 September 2011 - 00:03, said:

PIC Based core running MIOS8
DINX4 with 32 buttons
second DINX4, chained to 1st, with 16 buttons and 8 encoders
DOUTX4 with 32 LEDs
AINX4 with 32 pots
DOGM26 lcd display

Are there any obvious blunders in this design? I was unsure about the 8 encoders/16 buttons on one DINX4 arrangement, I guess this will require quite a bit of manipulation in software.


No major manipulation is required. Encoders and buttons can share the same DIN ICs. The only rule is that encoders must be on one of the 4 primary input pairs on a DIN IC (so 0+1, 2+3, 4+5, or 6+7 - you can't do 1+2 for example). You'll get this when you configure your first app.

Your parts list makes sense, but you should double-check the musings on these forums about DOG LCDs. I don't know how well they perform under MIOS8, and they don't work with all apps. You might be better off going with a "regular" HD44780-based LCD.

View PostTriffki, on 19 September 2011 - 00:03, said:

I've been looking at encoders and pots on Alp's website, and to some extent they fit the bill for what I need. Does anyone know of any good suppliers in the UK, or a particularly good eBay seller?


Try Farnell? Or maybe digi-key?

View PostTriffki, on 19 September 2011 - 00:03, said:

In terms of acquiring the pcbs, would setting up a bulk order on this forum be my best bet, or should I see if I can get them manufactured locally?


You'd be better served just ordering the boards from either of the two web shops that offer them for sale.
Smash TV: http://avishowtech.com/mbhp
Mike: http://www.mikes-ele...mshop_englisch/

Either that or try making them yourself - it's not that hard, and single-sided layouts for all these boards exist.

#3 User is offline   Triffki 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 18-September 11

Posted 22 September 2011 - 12:47

Thanks a lot for your help.

Is there a recommended limit on the number of DIN modules for a single core? I'm thinking I may need up to 3

#4 User is online   nebula 

  • MIDIbox Guru
  • PipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 864
  • Joined: 23-May 03
  • LocationCanada

Posted 22 September 2011 - 13:13

Maximum is 128 DIN inputs. DINX4 has 32 inputs, so you can use up to 4 of them.

http://ucapps.de/mbhp_din.html

#5 User is offline   Triffki 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 18-September 11

Posted 03 January 2012 - 15:07

Been a busy few months, but I've finally managed to finalise a panel layout (image below) and pcb to mount underneath.

I'm in the process of laying out tracks on a single sided pcb at the moment, but its proving ridiculously time consuming due to the limited space at my disposal (effectively 128 buttons, 96 LEDs and 64 pots on an area the size of an A4 sheet).

Would it be a bad idea to connect all the ground lines together on the pcb rather than having each one connected individually on the respective AIN/DIN/DOUT modules? This would probably make the task a little bit easier.

I know that linking digital and analog ground is generally a bad idea, but surely this won't be a problem so long as I isolate them.

I'm using DesignSpark PCB from RS to draw the circuit. Does anyone know if theres a way to add a plain hole to the design i.e. one with no copper lining?

Attached File(s)


This post has been edited by Triffki: 03 January 2012 - 15:08


#6 User is offline   Triffki 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 18-September 11

Posted 23 February 2012 - 12:19

Ok, I've managed to sort the pcb out, and all the parts are currently on order. Just need to order the circuit modules now. However, I'm still torn as to whether to go for the old PIC based MIOS8 approach or the snazzy new LPC17.

I understand there have been numerous updates to the new MIOS2 in the past few months, and I would feel more comfortable going for the newer hardware. Would this be overkill though? All I'm essentially trying to do is send and recieve MIDI signals from Traktor.

Would the fact that my project contains a fairly odd selection of modules (2 x AIN, 4 x DIN, 3 x DOUT) tip the balance in one method's favour?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users