Thanks for the reply pcprogrammer
“For what I can tell of it the board with the troublesome MCU is for scanning the key presses, and this should not be that hard to implement on another MCU. If I'm correct, the other side of that board has a lot of small diodes on it and is capable of sensing key velocity, by measuring the time between two different contacts making contact in following order.”
Yes indeed. This is exactly how all digital keyboards “keybeds work”. Actually, this is super cheap since it only has 1 sensor. Meaning that sensor contains both on-off and velocity messages. Usually 1 sensor means no velocity sensitivity. But this had some (not all values but some like 10%-30%-60%-90% or so)
“It depends a bit on how the two systems pass information to make it all work, so some reverse engineering will be needed. The question is also if the other two boards are still fine, and if it is really worth the time and effort to get it working again.”
Can’t tell. I think there is some kind of code about transforming even the velocity messages digitally. Really feel like it’s not worth it.
“When I search for this HP66 DIGITAL PIANO, I see a full size standing piano with pedals and 88 keys, while the board with the MCU only has provisions for 48 keys (4 octaves), so is there another board with those rubber pads that connects to this one?”
Yes that’s the case. There is another board. No mcu there.
“Based on the needed number of pins of the MCU a replacement scanner board could be constructed with some STM32 MCU board like a 64 pin WeAct STM32F412, F405 or F446 board
https://www.aliexpress.com/item/1005006051651136.html or if more IO pins are needed a STM32F407 board like this one
https://www.aliexpress.com/item/1005001603853562.html. To interface with the other boards level converters might be needed to go from 5V to 3V3 on which the STM32 MCU runs.
It can be a fun project and code wise not that difficult.”
Have to admit that coding and the digital world is not my cup of tea at all. If it’s super easy I would try…but if not…let’s say it’s finished.
This is the site of a local digital spares - arduino store.
https://grobotronics.comCan you see anything that could work like the ones from aliexpress?