Space is quite tight in the Electron, and I couldn't find a good place to fit in a model B sized Raspberry Pi without having to cut away a lot of the case. To avoid that, I went for the smaller model A+. This was before the release of the even smaller Raspberry Pi Zero, which would also be an option for future builds.
The A+ is a cut down version, smaller than the B/B+/2, but with less processor cores, less RAM, and without the combined USB hub and USB-LAN chip. The lack of the associated LAN jack and the double USB sockets makes it quite low profile. This is ideal for the Electron, where I used the limited space of the expansion port. The A+ was positioned so the HDMI connector faced outwards, this also gave access to the headphone / composite video jack, should that be required.
The model A+ only has a single USB port, and it needs to have several, at least one external, and one internally for the USB keyboard controller. I again raided my assortment of unusual USB hubs, and here I have a 4 port hub. It's short lead plugs directly into the Pi. It has 3 ports on one side, which will face out of the expansion slot, and one on the side to which the USB keyboard controller can be connected.
The caps on there are high quality Nichicon brand, which is probably why it is still working, they all tested fine. Externally, the original 19V AC Electron power supply could still be used, but it works just as well with a 12V 1A DC power supply which is more easily available.
The finished result all fits within the case of the Electron, from left to right, the USB keyboard controller, 4 port hub, Raspberry Pi model A+, and the original Acorn Electron switch mode power supply.
You can order an Acorn Electron USB keyboard kit from the link on the previous post.
UPDATE:
I have now switched the microSD card on here for RISC OS Pico
Tune in tomorrow to open another window on the Advent Calendar of USB keyboards.
2023 Update
USB Keyboard Controller Kits are available from my Sell My Retro store: