MIDI Hack for YK-20 Keyboard (comes with cx5m 11 computer)

271 views
Skip to first unread message

Dan Honeyman

unread,
Oct 22, 2016, 6:13:56 AM10/22/16
to London Hackspace
I am new to hacking and am attempting to get this keyboard working as a MIDI keyboard for use with a rasberry pi/ Arduino. First does anyone out there know if this is possible? I'm not sure how to start. I've google to find any other similar projects and there is nothing for this keyboard. There was one post from 2001 on a german website with some one attempting similar. Any ideas on how to start?

Victor Florea

unread,
Oct 22, 2016, 4:35:14 PM10/22/16
to London Hackspace
What kind of connector does it have? Could not find much about it after searching on google

Dan Honeyman

unread,
Oct 23, 2016, 6:04:50 AM10/23/16
to London Hackspace
Im not sure what the connector is. It seems to be a Yamaha specific connector (1982). I also have not found any spec information on the internet yet.

Michele Panegrossi

unread,
Oct 23, 2016, 6:11:45 AM10/23/16
to london-h...@googlegroups.com

I have found this, but haven't had time to look at it proper.
It definitely shows that the connector is a custom one.

Michele


--
You received this message because you are subscribed to the Google Groups "London Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to london-hack-space+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

CX5MIIE2.pdf

Victor Florea

unread,
Oct 23, 2016, 7:40:47 AM10/23/16
to London Hackspace
I think that the best way to start is to open it up and see how it is like inside. If each key has it's own switch and if its not on a pcb then I think it might be possible to wire them in a matrix and connect them to a teensy or some microcontroller, the way custom mechanical computer keyboards are usually made.


sâmbătă, 22 octombrie 2016, 11:13:56 UTC+1, Dan Honeyman a scris:

Michele Panegrossi

unread,
Oct 23, 2016, 7:44:50 AM10/23/16
to london-h...@googlegroups.com

Why not to open the connector and see what there is inside? You may find some clues :)

There's probably a couple for power, a few for MIDI and maybe a few for custom messages.

Or would it be possible to use the MIDI out port of the computer as a THRU out for the messages coming from the keyboard?

Michele


--

David

unread,
Oct 23, 2016, 8:41:36 AM10/23/16
to london-h...@googlegroups.com
On 23/10/2016 08:22, Dan Honeyman wrote:
> Im not sure what the connector is. It seems to be a Yamaha specific
> connector (1982). I also have not found any spec information on the
> internet yet.

The computer side is well documented:

<https://www.google.co.uk/search?q=cx5m+11+pinout>

This may be what you're after:

<http://home.vikenfiber.no/eiriklie/bilder/sfg05.gif>

You might be able to make a simple adapter to connect it to the GPIO on the Pi.

David.


Nigel Worsley

unread,
Oct 23, 2016, 11:43:30 AM10/23/16
to london-hack-space
> Im not sure what the connector is. It seems to be a Yamaha specific
> connector (1982).

It looks like a bog standard 2x10 0.1" pitch header to me, eg.
http://uk.farnell.com/amphenol/t821120a1s100ceu/header-vertical-2-54mm-20way/dp/2215309
for the matching half.

Nigle

Nigel Worsley

unread,
Oct 23, 2016, 11:46:49 AM10/23/16
to london-hack-space
On 23 October 2016 at 12:40, Victor Florea <victor.f...@gmail.com> wrote:
> I think that the best way to start is to open it up and see how it is like
> inside. If each key has it's own switch and if its not on a pcb then I think
> it might be possible to wire them in a matrix and connect them to a teensy
> or some microcontroller, the way custom mechanical computer keyboards are
> usually made.

I would be more than a little surprised if it isn't already wired in a
matrix, the connector would need a lot less than 20 pins othwerwise.

Microprocessors were expensive in the 80s, it makes far more sense for
the keyboard to be dumb and use the host for the intelligent stuff.

Nigel

Victor Florea

unread,
Oct 23, 2016, 1:43:02 PM10/23/16
to London Hackspace
I found this http://www.codetinkerhack.com/2012/11/how-to-turn-piano-toy-into-midi.html?m=1 as a rough guide on how you could do it.


sâmbătă, 22 octombrie 2016, 11:13:56 UTC+1, Dan Honeyman a scris:

Alex McConnachie

unread,
Oct 24, 2016, 5:49:57 AM10/24/16
to London Hackspace
I've done this in the past. Often there's a 20 pin connector that hooks up to a matrix thats already inside the keyboard and you basically have to have a matrix scanner sketch running on an arduino that scans it all and spits out serial. You can run it into a raspberry pi using a program called TTY MIDI although you need to run it at a different baud rate due to some wierd thing with the UART clock

If you need a hand I'll be in on open day!


On Saturday, October 22, 2016 at 11:13:56 AM UTC+1, Dan Honeyman wrote:

Patrick Dent

unread,
Oct 25, 2016, 9:48:55 AM10/25/16
to London Hackspace
I was just thinking that it most likely doesn't have any computational power aboard and is just a matrix, like the keybed from most cheap midi keyboards.

http://i61.tinypic.com/nh05kx.jpg

Dan Honeyman

unread,
Oct 29, 2016, 4:28:54 PM10/29/16
to London Hackspace
Thank you for all the posts I am reading (slowly) and getting my head around this. Also I have not so much time as Family commitments. :)

On Saturday, October 22, 2016 at 11:13:56 AM UTC+1, Dan Honeyman wrote:

Earture

unread,
Mar 4, 2020, 1:25:44 PM3/4/20
to London Hackspace
Reply all
Reply to author
Forward
0 new messages