Duggle Posted October 30, 2003 Report Share Posted October 30, 2003 The idea is a MBHP module which interfaces to a standard PC QWERTY keyboard (anyone can get these 2nd hand cheap or free) and produces IIC slave output to connect to IIC bus of 18F MIOS core.This way a user can have a reletively hugh array of dedicated midi event triggers for very little cost or construction effort. The module plus DIN keyboard socket could be added to many (any?) existing MidiBox.I imagine that the module would output an array of bits or event messages which the MIOS Core would translate and include in the MIDI output stream. In this way the great diversity of user requirements is satisfied by modifying the MIOS host (the core application).  The module code itself should not be particularly complex and should not require user customisation.I imagine a Core PCB "stuffed" with a 16F877 would surfice. In fact the layout could be simpler than that of the core.  If customisation is neccessary (it probably isn't) then the module could  itself be MIOS 18F.The QWERTY keyboard could be spraypainted a new colour and decals or other custom labels to replace the existing key markings.Possible uses:Midi Remote - dedicated application shortcuts and functionsMixer - dedicated per channel buttons (mute, arm, solo, select, etc.)Instrument - bazaar midi piano accordian (use wireless QWERTY to really rock!)Edit:found some tech info here:http://www.electronic-engineering.ch/microchip/projects/keyboard/v1xx/keyboard_v1xx.htmlInfact an adaptation of this 16F84 application would be a highly compact cost effective implementation. Quote Link to comment Share on other sites More sharing options...
Poeloq Posted October 30, 2003 Report Share Posted October 30, 2003 Nice idea! Should be pretty easy to do, I guess. I could really use a module like this, as I have a huge amout of QWERTY keyboards sitting around here. I would use them as program changers... Quote Link to comment Share on other sites More sharing options...
lemonhorse Posted October 30, 2003 Report Share Posted October 30, 2003 Damned good idea!  A MBHP Universal-Shortcut-Keyboard-Interface for all kinds of Midievents - a lot of options for every Midibox-Maniac  :DI got some old PC keyboards too...  ;D  ;D  ;D...e.g.  Midibox SID controllable by keyboard, a rotary encoder (datawheel, endless pot)  + LCD  :)I'm highly interested!-------------Addendum:The module code itself should not be particularly complex and should not require user customisation.I imagine a Core PCB "stuffed" with a 16F877 would surfice. In fact the layout could be simpler than that of the core.  If customisation is neccessary (it probably isn't) then the module could  itself be MIOS 18F. Year - it would be usefull to take the normal MBHP Core Module (with a new "MIDIBox-Keyboard Firmware" for the 16F877 or 18F452) - the Core Module is already tested, available and provides a lot of useful connectors - the LCD-Connector is a nice feature especially for working with a Keyboard ["special funktions" & future options]... - Lemonhorse Quote Link to comment Share on other sites More sharing options...
smashtv Posted October 30, 2003 Report Share Posted October 30, 2003 Heya!These keyboards are not bad for the price (under $4 USD):http://www.cyberguys.com/templates/searchdetail.asp?T1=138+0207Have Fun!Smash Quote Link to comment Share on other sites More sharing options...
Duggle Posted October 31, 2003 Author Report Share Posted October 31, 2003 There a different ways an I idea like this could go.One approach is to make it a subsystem that is as transparent as possible. This means that it interfaces to an existing Midibox without any modification to the (host) Midibox firmware. This way all display/setup and other functionality as to how the keys are used is up to the Midibox firmware as it is currently implemented.The way I can see of doing this is to have a small say PIC16F84 application scanning the keyboard codes as per the project link above. The PIC then loads a 64bit serial/serial shift register with the keyswitch states which are in turn shifted into MIOS by the normal DIN operation. The 4517 is a low cost dual 64bit serial in/out shift register in DIP16 package. Quote Link to comment Share on other sites More sharing options...
TK. Posted November 1, 2003 Report Share Posted November 1, 2003 I'll definitely also build such a module based on your plans. :)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Duggle Posted November 1, 2003 Author Report Share Posted November 1, 2003 I'm currently planning a low cost, high availability implementation that will suit most users and be easily adaptable for variations.cheers Quote Link to comment Share on other sites More sharing options...
arumblack Posted November 1, 2003 Report Share Posted November 1, 2003 would this be possible to implement usig the commodore 64 keyboard?I'm sure more ppl than me have a few lying around after SID Extraction.could even build it into the case, and maby add a few pots and small lcd?just an idea, as i hate to throw things away.....(and since starting my sid project i have actually used some things i kept because "i might be able to use it one day") Quote Link to comment Share on other sites More sharing options...
lemonhorse Posted November 1, 2003 Report Share Posted November 1, 2003 I'll definitely also build such a module based on your plans. :) :D :D :D Quote Link to comment Share on other sites More sharing options...
pay_c Posted November 2, 2003 Report Share Posted November 2, 2003 @arumblack: Nope, not without BIG modifications on the C64 keyboard. It's not a IIC device. If you look at your keyboard, there are many cables going to the motherboard. I think it's some multiplexed matrix system or so behind there.... Quote Link to comment Share on other sites More sharing options...
Duggle Posted November 2, 2003 Author Report Share Posted November 2, 2003 The keyboard adpator I'm planning at the moment is to accept serial data from a standard PC AT Qwerty and convert it into IIC slave interface for connection to a MIOS core. It will be based on the low cost PIC16F84 (18pin device),programmable from a JDM. Once constructed it is unlikely that the firmware will ever need change. All user options and functionality are provided by the MIOS Midibox it is connected to.If someother exotic keydevice is wanted, I suggest to cut tracks(!) and wire keyboard switches to DIN module(s).I'll be oherwise very busy for a few weeks, then I expect to implement it quickly. I'll post back here when more news. cheers Quote Link to comment Share on other sites More sharing options...
DrBunsen Posted November 5, 2003 Report Share Posted November 5, 2003 One step closer to the MIDIbox personal computer.... TK has already given us the TV output. What do we need next, an IDE interface? Quote Link to comment Share on other sites More sharing options...
Captain_Hastings Posted November 6, 2003 Report Share Posted November 6, 2003 One step closer to the MIDIbox personal computer.... Â TK has already given us the TV output. Â What do we need next, an IDE interface?That is probably next after the ISA bus interface.... Quote Link to comment Share on other sites More sharing options...
nerd Posted November 21, 2003 Report Share Posted November 21, 2003 would this be possible to implement usig the commodore 64 keyboard?I'm sure more ppl than me have a few lying around after SID Extraction.....Liked the idea so much I made one. :) Had a C64 keyboard leftover from my MBHP_SID project.I wrote it for a PIC16F628 (or you can use a 16F84, but the 16F628's are only $2.50 USD), also needed a demultiplexer ( DM74LS138 ) so you can have a 8 by 8 matrix. This Makes the whole thing very cheap to make.Here's the matrix that the C64 keyboard useshttp://www.howell1964.freeserve.co.uk/logic/burched/b5_c64_kbd.htmI don't know MIOS well enough yet, but I'm sure you could do the 8 by 8 matrix on the core module. You wouldn't even need a multiplexer (unless you wanted to save pins)Right now I just have the keys mapped to midi notes and patch changes, but I'm thinking of making it more complex. I can post more details later if people are interested.Christopher. Quote Link to comment Share on other sites More sharing options...
d2k Posted November 21, 2003 Report Share Posted November 21, 2003 Nice work :) wish i hadnt slung the c64 keyboard parts out now :/BestDan Quote Link to comment Share on other sites More sharing options...
pay_c Posted November 21, 2003 Report Share Posted November 21, 2003 Interested? :D DefinitelyTell me, who of us does not have any opened up C64 keyboards? Not anyone who hasn´t built a SID! Cool! Quote Link to comment Share on other sites More sharing options...
arumblack Posted November 22, 2003 Report Share Posted November 22, 2003 this is cool, i will try to make one, after i finish the sid.(wich i have taken a break from for a week but need to get back to) Quote Link to comment Share on other sites More sharing options...
Duggle Posted November 22, 2003 Author Report Share Posted November 22, 2003 Hi,Progress has been made on the PC/AT Keyboard decoder.A design and firmware will be released to the midibox community in the next few weeks:Features in development:1) MIOS interface. IIC 2wire bus interface to MIOS core host.2) Midiout for use as standalone kbd-midi adaptor.Possible features for subsequent firmware updates:-Alternative key mappings with on-the-fly user selection for: - different key layouts (exotic European variants) - different midiout mappings3) Midi merger (just insert adpator in midi chain with other control surface/s) Options (1) and (2) will definetly be included in the first release.Two hardware configurations are being documented:-MBHP Core module using PIC16F877-a custom "mini-core" optimised (for size and construction effort) just for this application using PIC16F876.Both will use the same firmware.The firmware for this project is based on foundation programs by Thorsten and others (who will be credited in the release).I making this post just to let users know of the substantial progress and in light of alternatives being offered.cheers Quote Link to comment Share on other sites More sharing options...
smashtv Posted November 22, 2003 Report Share Posted November 22, 2003 Hi,Progress has been made on the PC/AT Keyboard decoder.A design and firmware will be released to the midibox community in the next few weeks: Sweet! ;DHave fun!Smash Quote Link to comment Share on other sites More sharing options...
Guest memon Posted November 23, 2003 Report Share Posted November 23, 2003 How complicated it would be to add support for a mouse? Or yet better, two mice?I have demonstrated in few places (this year at Pixelache, and Assembly) a way to utilise an optical mouse to read the movement of a turntable (that is scratching).My app used second mouse plugged into a USB port, but since Windows allows only one mouse pointer, the mouse is occupied to the scratching limiting the possible UI. So, a midi version would be nice :)The con with this method is that there will be more latency (compared to the mouse straight at USB port), which is really bad. I'm not sure though how bad the latency would be.But generally speaking, the optical mouse is really great, since you can use it to read pretty much anything that moves (yeah, you can have a jog wheel big as a your table if you wish ;) . Quote Link to comment Share on other sites More sharing options...
Duggle Posted November 24, 2003 Author Report Share Posted November 24, 2003 Hi,The use of optical mouse is really clever!There should be no particular problem with latency, however addition of mouse decoding will not be included now, but perhaps in the future. The source code may be available with the release.cheers Quote Link to comment Share on other sites More sharing options...
EvilTez Posted November 25, 2003 Report Share Posted November 25, 2003 Hi Peeps :)If an optical mouse could be implemented it might be possible to modify a turntable so that if you "scatched" a record it would change it to a midi controller. Â So it would be possible to use turntable skills on any midi instument...Come to think of it it would be nice to link that to a scrub function on a sequencer.If I had the skills to do it myself! :) Quote Link to comment Share on other sites More sharing options...
nerd Posted November 25, 2003 Report Share Posted November 25, 2003 If an optical mouse could be implemented it might be possible to modify a turntable so that if you "scatched" a record it would change it to a midi controller. Â So it would be possible to use turntable skills on any midi instument...Come to think of it it would be nice to link that to a scrub function on a sequencer.Have you seen Final Scratch? It actually samples a digital record to see how fast its playing and what direction. (by digital i mean digital data cut into vinyl, so if you played the record on a stereo it would sound like garbage.)Here is a review:http://news.harmony-central.com/Newp/2002/Final-Scratch-Ships.htmlThe response time on it is amazing. I'm not into dj'ing but this is a cool toy.Christopher. Quote Link to comment Share on other sites More sharing options...
LO Posted November 26, 2003 Report Share Posted November 26, 2003 Another way to skin the cat:Open up the turntable and conect an encoder to the drive, as long as you have a high torque table should be OKNow you have a 3 wire conection to a midibox good for scratches, spin backs, whatever?But you will void your warranty!LO Quote Link to comment Share on other sites More sharing options...
EvilTez Posted November 27, 2003 Report Share Posted November 27, 2003 Hi Nerd. I ve seen final scratch before but it seems really expensive. People have been using turntable skills on...well turntables for ages. What would be intresting is if you could use the same skills for manipulating filter cut-offs or envelope attacks.Hi LO. A high torque turntable? Hmm. I wouldnt mind if I couldnt play records on the turntable again because Id be using it as an interface. Thank you very much LO I'll get researching for a turntable :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.