# Fatar TP/40L Midification

**URL:** <https://forum.midibox.org/t/fatar-tp-40l-midification/20225>\
**Category:** MIDIfication\
**Created:** [February 26, 2018, 1:48pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225 "2018-02-26T13:48:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thoskan](https://forum.midibox.org/user_avatar/forum.midibox.org/thoskan/32/637_2.png) [@Thoskan](https://forum.midibox.org/u/Thoskan)\
**Post date:** [February 26, 2018, 1:48pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/1 "2018-02-26T13:48:06Z")

</div>

Hi everybody,&nbsp;my name is Florian (aka Thoskan) and I live near Toulouse in France.

First of all, Thanks to all of you for sharing all this documentation about the project MIDIBOX KB.

Initially I wanted to buy the controller [LMK2+](http://www.doepfer.de/lmk2.htm)&nbsp;alone without the keyboard, but Doepfer wanted to sell me 500 euros. So I refuse and opt for the MIDIBOX project, more interesting, configurable and also much cheaper.

My project is to midify a keyboard [Fatar TP/40L](http://www.fatar.com/pages/TP_40_GH_ES.htm), and I chose to use [MIDIBOX KB](http://www.ucapps.de/midibox_kb.html), with the [CORE\_STM32F4](http://www.ucapps.de/mbhp_core_stm32f4.html) and [DIO\_MATRIX](http://www.ucapps.de/mbhp_dio_matrix.html).  
I bought the 2 PCBs from [https://modularaddict.com](https://modularaddict.com) and I also printed the FantomXR PCB (Fatar keybed adapter [http://www.midibox.org/dokuwiki/doku.php?id=fantomxr](http://www.midibox.org/dokuwiki/doku.php?id=fantomxr)) at [OSHpark](https://oshpark.com/). Thank you FantomXR for this missing piece to my project.

For the moment, i just want to connect the keyboard (2 micromatch of 20 pins ), a sustain pedal and 2 yamaha FC7 pedals to control volume and fx.

I bought all the components from [https://www.reichelt.de/](https://www.reichelt.de/) from the orderlist.&nbsp;Moreover, the STM32F407G-DISC1 is available here: [https://www.reichelt.de/?ACTION=3;ARTICLE=219363;SEARCH=STM32F407G-DISC1](https://www.reichelt.de/?ACTION=3;ARTICLE=219363;SEARCH=STM32F407G-DISC1). It is a little more expensive than at [Mouser](https://www.mouser.fr/) but the shipping costs are lower (20 euros at mouser vs 5 euros at reichelt).

I look forward to receive all these components and I hope that i will solder very soon.  
I will share every step of the construction, that’s why I created this topic.

I hope I will not have too many questions.&nbsp;

Thank you Thorsten for this great project and for your generosity.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Zam](https://forum.midibox.org/letter_avatar_proxy/v4/letter/z/e95f7d/32.png) [@Zam](https://forum.midibox.org/u/Zam)\
**Post date:** [February 26, 2018, 5:17pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/2 "2018-02-26T17:17:36Z")

</div>

Bienvenue ici !

Looking forward.

Best

Zam

---

<div class="post-metadata">

**Author:** ![Antichambre](https://forum.midibox.org/user_avatar/forum.midibox.org/antichambre/32/201_2.png) [@Antichambre](https://forum.midibox.org/u/Antichambre)\
**Post date:** [February 26, 2018, 10:20pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/3 "2018-02-26T22:20:47Z")

</div>

Bienvenue à toi, le toulousain, t’as fait le bon choix 😉

I will follow your project too!

> 7 hours ago, Thoskan said:
> 
> It is a little more expensive than at [Mouser](https://www.mouser.fr/) but the shipping costs are lower (20 euros at mouser vs 5 euros at reichelt).

For you to know that if your order amount is more than 70€, shipping is free at Mouser, then it’s some time better to wait and group your order.

Best regards  
Bruno de Dax 😉

---

<div class="post-metadata">

**Author:** ![Thoskan](https://forum.midibox.org/user_avatar/forum.midibox.org/thoskan/32/637_2.png) [@Thoskan](https://forum.midibox.org/u/Thoskan)\
**Post date:** [April 27, 2018, 6:03pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/4 "2018-04-27T18:03:19Z")

</div>

Hi everybody ! Bonjour à tous ^^

&nbsp;

I received my electronic cards, and I sold everything. Everything worked perfectly right the first time,&nbsp;except that I had just reversed the cables that connected the TP40.

At first I installed the firmware MIDIBOX KB, but I really struggled to get something reliable in terms of velocity. While looking on the forum, I saw that other people used the MIDIBOX NG in order to be able to use velocity curves. ()

I will do the same, and try to find the right settings for me.

I still have to know how to connect my 2 sustain pedals and my 2 expression pedals. In fact I use mainstage with a left hand part (rhodes bass) and a right hand part for other sounds, and I would like to have two separate sustain pedals. I still have to find out how to do that. If you have ideas I’m interested.  
&nbsp;  
Here are some pictures.

 ![IMG1291.JPG.jpeg.2a9144900e9c756ec2298d339624cc69.jpeg](https://forum.midibox.org/uploads/default/original/2X/7/740aaf5918d9dd189957a460a5bfd127b9b951ec.jpeg)

 ![IMG1294.JPG.jpeg.3d2293ebfbe1a6a7858aeeda0eed3d9e.jpeg](https://forum.midibox.org/uploads/default/original/2X/1/1c6b39e45c48e86cc5f189fc08b6d6012de160e7.jpeg)

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![gerald.wert](https://forum.midibox.org/user_avatar/forum.midibox.org/gerald.wert/32/608_2.png) [@gerald.wert](https://forum.midibox.org/u/gerald.wert)\
**Post date:** [April 27, 2018, 8:20pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/5 "2018-04-27T20:20:17Z")

</div>

if your sustain pedals are just on and off you just need a din. You can just build with 1 74hc165 and have 8 inputs.

[http://ucapps.de/mbhp/mbhp\_dinx1.pdf](http://ucapps.de/mbhp/mbhp_dinx1.pdf)

&nbsp;

---

<div class="post-metadata">

**Author:** ![Markus\_Heidt](https://forum.midibox.org/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@Markus\_Heidt](https://forum.midibox.org/u/Markus_Heidt)\
**Post date:** [May 10, 2018, 9:53am UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/6 "2018-05-10T09:53:21Z")

</div>

Hello Florian,

I have a Studiologic SL880 (Fatar action) and want to replace the electronic.

Now I evaluate my two options. Making it a Doepfer PK88 (only Midi channel 1, but support of all three pedals) for 250EUR.

Or building a MidiBox. Have you finished your project already and do you have at least a volume and sustain pedal working?

Do you know the total costs?

&nbsp;

thx,

Markus

---

<div class="post-metadata">

**Author:** ![Thoskan](https://forum.midibox.org/user_avatar/forum.midibox.org/thoskan/32/637_2.png) [@Thoskan](https://forum.midibox.org/u/Thoskan)\
**Post date:** [May 10, 2018, 11:53am UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/7 "2018-05-10T11:53:24Z")

</div>

Hi markus,&nbsp;

For this project, i used Midibox NG cause i can use the interpolation to compute the velocity. It works very well with&nbsp;my TP40/L.

if you choose MidiBox Project, You&nbsp;will pass many hours to study topics and documentations, but you will be very proud of you. I can affirm you that my keyboard works well and i can connect my sustain pedal. I study now the connection for expression pedal.&nbsp;

If you have time, i will write a tutorial for my project very soon

best regard

---

<div class="post-metadata">

**Author:** ![FantomXR](https://forum.midibox.org/letter_avatar_proxy/v4/letter/f/3d9bf3/32.png) [@FantomXR](https://forum.midibox.org/u/FantomXR)\
**Post date:** [May 15, 2018, 11:52pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/8 "2018-05-15T23:52:12Z")

</div>

> On 10.5.2018 at 11:53 AM, Markus Heidt said:
> 
> Hello Florian,
> 
> I have a Studiologic SL880 (Fatar action) and want to replace the electronic.
> 
> Now I evaluate my two options. Making it a Doepfer PK88 (only Midi channel 1, but support of all three pedals) for 250EUR.
> 
> Or building a MidiBox. Have you finished your project already and do you have at least a volume and sustain pedal working?
> 
> Do you know the total costs?
> 
> &nbsp;
> 
> thx,
> 
> Markus

Where are you located?

I have made a core, that has everything on board. Just connect the keybed and that’s it. I think I still have some units left.&nbsp;

Let me know!

---

<div class="post-metadata">

**Author:** ![Thoskan](https://forum.midibox.org/user_avatar/forum.midibox.org/thoskan/32/637_2.png) [@Thoskan](https://forum.midibox.org/u/Thoskan)\
**Post date:** [January 31, 2019, 4:50pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/9 "2019-01-31T16:50:54Z")

</div>

Hi eveyrbody, just for information, i published an github ([https://github.com/OrangePeelFX/DIY-Keyboard-Fatar-TP40](https://github.com/OrangePeelFX/DIY-Keyboard-Fatar-TP40)) with my notes on this project.

My fatar slept for a year, but I found the energy to finish this project.

Thx to&nbsp;FantomXR&nbsp;and&nbsp;Thorsten for your help and your sharing !!

&nbsp;

 ![IMG2021.jpg.1a079882b4f5f65368cd1d1bdb920afd.jpg](https://forum.midibox.org/uploads/default/original/2X/3/3509b51336043a6d38c3890c268174e53c8fe972.jpeg)

---

<div class="post-metadata">

**Author:** ![FantomXR](https://forum.midibox.org/letter_avatar_proxy/v4/letter/f/3d9bf3/32.png) [@FantomXR](https://forum.midibox.org/u/FantomXR)\
**Post date:** [February 1, 2019, 11:26am UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/10 "2019-02-01T11:26:56Z")

</div>

Great! Looks good! 🙂

Strange keybed… from C to B?

---

<div class="post-metadata">

**Author:** ![Thoskan](https://forum.midibox.org/user_avatar/forum.midibox.org/thoskan/32/637_2.png) [@Thoskan](https://forum.midibox.org/u/Thoskan)\
**Post date:** [February 2, 2019, 2:10pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/11 "2019-02-02T14:10:31Z")

</div>

Yes it’s an unconventional keyboard&nbsp;

I adapted the fatar to my needs and especially the size of the flight case !!

It also makes me piano parts (Keys, springs, …) , and the keyboard goes into the trunk of my car 😉 Also it’s much ligther (27 Kg now&nbsp;Vs 37kg with the PC3X and case). My Back is so happy !!&nbsp;

**,&nbsp;** Do you have pictures of your old MIDIBOX project ?

&nbsp;

---

<div class="post-metadata">

**Author:** ![pifano](https://forum.midibox.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@pifano](https://forum.midibox.org/u/pifano)\
**Post date:** [August 30, 2019, 1:57pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/12 "2019-08-30T13:57:35Z")

</div>

> On 15.5.2018 at 1:52 AM, FantomXR said:
> 
> Where are you located?
> 
> I have made a core, that has everything on board. Just connect the keybed and that’s it. I think I still have some units left.&nbsp;
> 
> Let me know!

if you still have 2 of these i am in for it.

have 2 sl880 converted with wood casing and now the motherboards act very strange

---

<div class="post-metadata">

**Author:** ![FantomXR](https://forum.midibox.org/letter_avatar_proxy/v4/letter/f/3d9bf3/32.png) [@FantomXR](https://forum.midibox.org/u/FantomXR)\
**Post date:** [August 31, 2019, 3:56pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/13 "2019-08-31T15:56:06Z")

</div>

Yes. I still have some boards. Not soldered yet but I could do it. Pls drop me a message if interested.&nbsp;

---

<div class="post-metadata">

**Author:** ![pifano](https://forum.midibox.org/letter_avatar_proxy/v4/letter/p/ba9def/32.png) [@pifano](https://forum.midibox.org/u/pifano)\
**Post date:** [September 1, 2019, 3:09pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/14 "2019-09-01T15:09:51Z")

</div>

Great i am in for it. I love those Keybeds.&nbsp;&nbsp;I can solder too but you seem to be the more experienced guy. i need at least 2.&nbsp;&nbsp;both Motherboard died recently i have one working as lower manual to a Hammond xk3 organ. Lets do it like this.&nbsp; solder one for me the other one i solder myself i like to learn something. maybe i am going to build a pedalboard for my organ. do i have to change something on the ribbon cables to be able to attach the keybed? and what is the price you are asking?

---

<div class="post-metadata">

**Author:** ![chaimstest](https://forum.midibox.org/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@chaimstest](https://forum.midibox.org/u/chaimstest)\
**Post date:** [September 16, 2019, 3:05am UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/15 "2019-09-16T03:05:34Z")

</div>

hi i got a fatar keybed 76 note i just wont to make it into a small desktop midi controller what do i need for that i got a 20 pin and a 16 pin and a 4pin for probably the aftertouch from&nbsp; ketron sd 1&nbsp; thanks&nbsp;

---

<div class="post-metadata">

**Author:** ![Skunk](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@Skunk](https://forum.midibox.org/u/Skunk)\
**Post date:** [June 17, 2020, 5:14pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/16 "2020-06-17T17:14:49Z")

</div>

Hi Florian,

I have now nearly the same project in front of me: Generating – out of a naked TP40WOOD from Fatar that I got some years ago – a MIDI Keyboard like the Doepfer LMK4+. Doepfer charges 1500€ for this, and the solution with MIDIbox is much, much cheaper, thanks to Thorsten! I’ll use the STM32F4 on a MIDIbox NG baseboard plus DIO\_Matrix plus MIDI\_IO plus AINSER8 (for the wheels and Pots) plus a 2x40 LCD blue plus a MBHP\_DIN for the 24 Keys. So the same functions as the LMK4+ and a very similar control panel. But much cheaper.

Will see how it works… Next phase is the Mechanics for the whole thing, and then the Electronics and the SW. May be I’ll contact you at a later stage if I have questions. Especially the SW development might be a pitfall…

Cheers,

Andreas

&nbsp;

---

<div class="post-metadata">

**Author:** ![FantomXR](https://forum.midibox.org/letter_avatar_proxy/v4/letter/f/3d9bf3/32.png) [@FantomXR](https://forum.midibox.org/u/FantomXR)\
**Post date:** [June 18, 2020, 7:19pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/17 "2020-06-18T19:19:22Z")

</div>

Hi Andreas,

if you use the NG-App for this task, you will end up with a quite bad velocity resolution. You only will get about 16 different velocity values or so instead of 127. This is due to the lower scan rate.  
If you want the full resolution, you’d need to take KB.

---

<div class="post-metadata">

**Author:** ![Skunk](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@Skunk](https://forum.midibox.org/u/Skunk)\
**Post date:** [June 19, 2020, 11:17am UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/18 "2020-06-19T11:17:36Z")

</div>

Hi Famtom,

thanks for the feedback! I was not aware of it. I have the STM32F4 Board already in place, so I guess the only chance to change to more than 16 velocity values is to change it somewhere in the NG software. Or is there any physical limitation for the 16 values instead of the 128 that can’t be changed in the software? I didn’t dig deep into the software yet… Right now I’m taking care about the mechanics, and as soon as this is done I’ll take care about the software and electronics. My original goal was just to use what I have in place, and this is the TP/40WOOD and the STM32F407 board. Both I already got years ago, but didn’t have the time to build a real master keyboard out of it. And now I have the time to build – since my retirement approaches… Or do I really need the LPC17 core for the KB instead of the STM32F4?

Thanks,

Andreas

&nbsp;

---

<div class="post-metadata">

**Author:** ![Thoskan](https://forum.midibox.org/user_avatar/forum.midibox.org/thoskan/32/637_2.png) [@Thoskan](https://forum.midibox.org/u/Thoskan)\
**Post date:** [June 19, 2020, 4:59pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/19 "2020-06-19T16:59:36Z")

</div>

hi fantomxr and skunk.

As fantom said before, you can use KB software if you want a better scan rate.

But personally, I used the NG software because you can define a velocity curve, and I preferred in terms of feelings.

You can start with KG or NG, whatever and later just change the program. I did that and it was ok.

I made a github deposit after my first experience just to keep a written record because it’s a lot of research work when we don’t do electronics.

You can visit it&nbsp;:&nbsp;[https://github.com/OrangePeelFX/keyboard-fatar-tp40](https://github.com/OrangePeelFX/keyboard-fatar-tp40)&nbsp;

Good luck for your project.

---

<div class="post-metadata">

**Author:** ![Skunk](https://forum.midibox.org/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@Skunk](https://forum.midibox.org/u/Skunk)\
**Post date:** [June 19, 2020, 5:24pm UTC](https://forum.midibox.org/t/fatar-tp-40l-midification/20225/20 "2020-06-19T17:24:29Z")

</div>

Hi Florian,

this sounds very good for me and meets exactly my original imagination! It fully fits to my plan and you mentioned one thing that is important: you used the same board STM32F4 for both – the NG as well as the KB software. Out of the KB threads I assumed for a long time that it can only be realized with the&nbsp; LPC17 board and somehow there were some inconistencies in Thorsten’s documentation that confused me. I also had a look on your github page that finally convinced me that I’m on the right track!

Now I can sleep much better again and proceed with the mechanical work…

Thanks & and best regards to Toulouse (I was there last time 20 years ago for business&nbsp; – you have nice restaurants over there, for instance the Caves de la Marechale ),

Andreas

&nbsp;
