Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Capacitance touch midi 'key-tar'

Threaded View

  1. #1
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    New Ulm, Mn

    Capacitance touch midi 'key-tar'

    This is a wireless midi keyboard project that uses MPR121 capacitance touch breakouts, a pair of old XBee radios, a Teensy 4 , a 240x240 pixel ST7789 display, an ADS1015 analog-to-digital card.

    At the moment, the receiver is based on a mega2560 but I'm going to replace that with a Teensy 3.6 and add a simple synthesizer output as well as the midi.

    It is powered by a 5000 mAh lipo battery. I'm using one of these TC4056A chargers:

    ...and one of these Pololu step down converters to share the 3.3 volt burden as the combination of the xbee radio and the capacitance sensors is a bit much for the Teensy's on board regulator.

    It could be built in any form you'd like but I went for a key-tar configuration and took style cues from the Yamaha SHS-10. I have included my original blueprint, and made the body out of voidless birch craft plywood and poplar 3/4" square doweling.

    I used copper foil tape for the keys, covered with Cricut vinyl.
    I cut the vinyl on a Brother Scan N Cut, and will share that file.
    (If I can, I'll export it as a generic cad file as well)

    The pitch bend is optical but one could easily substitute a common maker-type joystick. The detail photos aren't that great but give the general idea of how it was done.

    By default the software turns on with the keyboard in a fixed velocity output, but there is touch velocity output as well as channel aftertouch. There is also a panic button that sends an "all notes off" message that can be used while playing to send staccato notes.

    It performs as well as any professional keyboard I've ever used with the added benefit of things you can do with flat capacitance touch keys you simply cannot do with mechanical keys.

    The MPR121 device may be end of life, but it looks to me like there are thousands of breakout boards sitting in warehouses waiting for a use. I find them at various vendors on Amazon, as well as the usual alternatives like Banggood, aliexpress, ebay, etc. There's no shortage of them.

    Click image for larger version. 

Name:	C557C6CC-152C-44B0-BF63-D2DD700FFB9C.jpeg 
Views:	32 
Size:	95.1 KB 
ID:	21574
    Click image for larger version. 

Name:	16C89D35-85D8-4FE6-892C-CE529A9C6DB6.jpeg 
Views:	38 
Size:	85.4 KB 
ID:	21575
    Click image for larger version. 

Name:	3B2EAC5A-C658-436D-9639-87117A468EEE.jpeg 
Views:	38 
Size:	69.1 KB 
ID:	21576
    Click image for larger version. 

Name:	58D40B8A-D2CB-469A-906D-63F943D0AE64.jpeg 
Views:	39 
Size:	53.3 KB 
ID:	21577
    Click image for larger version. 

Name:	30D08D7F-DC22-4B7D-860A-D56DE03B8799.jpg 
Views:	35 
Size:	233.3 KB 
ID:	21578
    Click image for larger version. 

Name:	A4748B3B-9C5C-4FB6-9080-6655AE57CD3F.jpeg 
Views:	42 
Size:	342.2 KB 
ID:	21579
    Click image for larger version. 

Name:	A32D7E9F-5B40-4206-9B52-62B534065DC7.jpg 
Views:	35 
Size:	198.2 KB 
ID:	21580
    Click image for larger version. 

Name:	2E68EBE9-BA88-4FA3-82AD-53ABFE7D5E96.jpg 
Views:	35 
Size:	134.2 KB 
ID:	21581
    Click image for larger version. 

Name:	0F5BECB6-2282-47B8-B475-9889E821B50B.jpg 
Views:	41 
Size:	109.6 KB 
ID:	21582
    Click image for larger version. 

Name:	9C13574B-888E-497B-942A-DB881D8A43A1.jpg 
Views:	49 
Size:	115.4 KB 
ID:	21583
    Last edited by ETMoody3; 09-02-2020 at 01:26 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts