Last week, the Raspberry Pi foundation released the first official Raspberry Pi-branded keyboard and mouse. As a keyboard, it’s probably pretty great; it’s clad in a raspberry and white color scheme, the meta key is the Pi logo, there are function keys. Sure, the Ctrl and Caps Lock keys are in their usual, modern, incorrect positions (each day we stray further from God’s light) but there’s also a built-in USB hub. Everything balances out, I guess.
The Pi keyboard started shipping this week, and it took two days for someone to put a Pi zero inside. Here’s how you do it, and here’s how you turn a Pi keyboard into a home computer, like a speccy or C64.
The parts required for this build include the official Pi keyboard, a Pi Zero W, an Adafruit Powerboost, which is basically the circuitry inside a USB power bank, and a LiPo battery. The project starts by disassembling the keyboard with a spudger, screwdriver, or other small wedge-type tool, disconnecting the keyboard’s ribbon cables, and carefully shaving down the injection molded webbing that adds strength to the keyboard’s enclosure. The project is wrapped up by drilling holes for a power LED, a button to turn the Pi on and off, and the holes for the USB and HDMI ports.
One shortcoming of this build is the use of a male-to-male USB cable to connect the keyboard half of the circuitry to the Pi. This can be worked around by simply soldering a few pieces of magnet wire from the USB port on the Pi to the USB input on the USB hub. But hey, doing it this way gives the Official Pi keyboard a convenient carrying handle, and when one of the ports breaks you’ll be able to do it the right way the second time. Great work.
Nice, but I’d add proper mounting for the Pi and some strain relief support for the ports. And maybe a power switch that doesn’t stick out so much.
what do you mean by “strain relief support for the ports”?
be sure to upload your built when you are done:)
It’s to avoid the ports from being pushed in-wards when you plug in devices.
Its already got strain relief. The USB ports are throughhole right angle and the PCB its on is held in place by some plastic pegs and clips. Anyone who breaks that is a shaven ape.
That’s awesome. They should release a version of the keyboard with this capability built in.
It really feels like a lost opportunity to not have this ability as default, in retrospect.
Hmm… he could have identified a suitable keyboard key to use as the on/off button. Would work somehow like one of those old Apple keyboards then …
modern zx spectrum, nothing new under the sun
Nothing new, of course. BUT, as hacks go, this is pretty epic. Also, did you read the article? In the second paragraph, Brian says just that, so your comment is redundant. And yeah, it’s a ZX Spectrum, if the Spectrum was high-definition and ran Linux.
It’s a shame the Raspberry Pi organisation didn’t think of this :(
Would have been easy to have the moulding allow for a Pi Zero board with mounting lugs and the knockouts for the connectors. No need for the power supply or battery as these can be external.
Perhaps a rev2 keyboard case???
I thought the same as you while rading the article.
They probably did but perhaps didn’t want to put too much work into an item that might not sale to begin with. Now if sales are good and enough customers start asking for keyboards with usable compartments for projects like this then we’ll start seeing changes in that direction (such as a slightly modified usb/keyboard circuit with available pinholes for power/data).
Now something else they could do is create a partial diy where ya get the keyboard top (modified to use screws) and electronics along with files for 3d-printing the bottom casing which would allow you to make whatever changes you wanted for X project. Granted for a project like we see above there aren’t that many changes necessary, or perhaps someone out there likes the keyboard+pi so much that they want to build a laptop casing around them (maybe).
I’m sorry but I fail to see why this adds anyting.
Not everything that can be done, should be done. Nor are good Ideas to do.
Back in the the 80’s with home computers most computer enthusiasts learned that it was quite annoying to have a bundle of cables dangling from your keyboard, and to make things worse this guy settles on a solution with both (HDMI and possibly other) cables and a battery ???
If you don’t want to see your computer then slap it on the back of your monitor with a standard 100x100mm mount (Is that called “Vesa”?), or put everything (inclusive monitor) together into a box such as we’ve seen here repetatedly, or the Laptop like box from Olimex.
“Science isn’t about WHY. It’s about WHY NOT.” – C. Johnson
I got one better ………why is gamora
+1
I disagree. This would be a very nice travel/server console set up. Sans a monitor.
To very many people, no, it doesn’t add anything useful to them. What this means to some people, though, is that you can take your one-piece computer to your friend’s basement and plug it into his monitor.
Your way of thinking is what leads to hacking. An industry determines that 90% of people will have no need for something, and they decide not to make it, leaving the other 10% high and dry. Or low and wet – I don’t see how “high and dry” is a problem. Anyway, they only stopped making plug-into-your-tv computers because the market decided that we had to have either more expandability (thus, a PC box) or even more all-in-one (thus, laptops).
The market also decided that netbooks – laptops with reduced keyboards and 8-10″ displays – were a loser, so they stopped making them. Then they started making 8-10″ tablet computers, and what does everybody do? They add keyboards to them!
Why is there a (highly irritating) caps lock on any new KB? Lost opportunity to set a trend!
How do you propose we fill out government forms, then? Wear out my pinky finger(s)!? Pfft
You do what anyone who reads HaD would do! Use an RPi with voice recognition to operate a relay hacked into your KB. Or put a toggle switch – preferably military style with a safety shroud – on the side of the KB. I superglue caps-lock keys or cut the trace. Removing the key cap leaves an awkward hole. Same with numlock.
Supergluing the key seems like a lot of work considering you can easily just disable caps lock in your OS.
Gluing it means I’m SERIOUS!
But where do you fit the Arduino?
yeah!alsothespacebarisstillplacedonthisone…ridiculous
I like it.
Just wondering if the pi could be powered from the monitor is the hdmi cable this would make it a one cable solution.
For my little development system I power the pi from the USB port on the cheap lcd tv I use as a display – I hadn’t thought of looking into trying to suck power from the hdmi cable – if it is possible at all
I think you have power on the HDMI, but only 100mA.
I have a little bsckup cam monitor I use sometimes when working with pis or when i want to look at a computer and not tie up my main monitor that for sure can run on the power coming over from the HDMI connection, so it is for sure a one connection monitor. I’ll have to play with it, but I think it worked the other way too when working with the pi, powered the monitor and the HDMI would backpower the pi.
And I thought my Pi velcroed to the back of the monitor was cool. Now I’ll have to update to the touchscreen.
Oh please let’s hope that people start making full size kits for the B2…
looks like it might be thick enough for a 3A
>as a keyboard, it’s probably pretty great
I haven’t tried it, but it looks pretty awful – it’s certainly not mechanical, it looks cheap and super lightweight.
Pimoroni blogged about putting a 3A+ in the new Pi Keyboard last week : https://blog.pimoroni.com/putting-a-raspberry-pi-3-a-in-the-raspberry-pi-keyboard/
Excellent post, but they ruined it by running nano in the end.
What’s so bad about nano? Much more intuitive than vi(m) imo.
I did this already, first day the pi zero was released in fact.
I hate keyboards with flat keys. And I prefer keyboards with a numpad. So in my eyes this keyboard is far from great.
Is something wrong with just letting your bare rpi zero hang off the side of your desk by the cables?
First thing people always mention when they see my room is the pi dangling by the cables from the TV.
I like this, I think the guy did a great job!
That said… I think I would change a few items.
Route USB internally, I get you want to repurpose the keyboard and all, but maybe we could toss in something like this:
https://www.lindy.com.au/2-port-usb-keyboard-mouse-switch
Then I was thinking about the HDMI port thing, and having to bring in power. I barter is awesome so we could make an HDMI power “injector” and use an unused wire in the HDMI cable and connectors to pass 5.1-volts to the system. Would have to make both the injector and the customization on the Pi to route power. Then the device would only have a single cable going to it.
Lastly toss in an arduino and wire into the keyboard matrix to make a key combination to control power up and shut down of the Pi.
Then again, personally I agree with others, put the Pi behind the screen and use Bluetooth keyboard and mouse. Wires are overrated.
It’s still a really cool hack and I love these sort of things! Great job!
I disagree, anything wireless can have interference and or can be hacked… Not to mention input lag. Although there are keyboard/mouse combos that have sub 1millisec response times which is plenty fast but at a steep premium.
If the Comodore 64 or Vic computers were ever cool then this is. It makes me think of them in general form factor.
I was too young for those but I somehow miss the floppy drive in the side of my Amiga 1200 keyboard. That thing didn’t slide about when you typed angrily!
What I’d like to see is a replacement board for the USB/keyboard pcb which adds a slot for a CM3 and only two USB along with HDMI in place of the third USB…
Perhaps the next version of the keyboard will have enough room for a for a 3 B+
Looks great, but I would have used a keyboard with integrated touchpad so you have an integrated computer/mouse/keyboard combo, just need to connect the screen…
I dream a good keyboard and e-ink
similar Z88 https://en.wikipedia.org/wiki/Cambridge_Z88 small as keyboard usefull as terminal
only for terminal nothing more.
P.S. and working on one AA battery whole day ;)
meybe sometime with fpga
Next thing: build in a low-power ATSC transmitter.
Now you’ve got me started. :-) He said ATSC heh heh…heh heh :-) A couple decades ago when my kids were learning to walk, turn on the TV, and use a trackball, I created my hown household TV channel using an NTSC UHF rf modulator that I got from Radio Shack. It worked great on the inhouse RG-6 cable network. I had accumulated a collection of quality video files that I had recorded off the air, Magic School Bus, Peanuts, Arthur, etc. and had a playlist randomly selecting and playing from that collection as an alternative to having my kids exposed to the kind of crap that is on the TV nowadays. That all went well and dandy until TV went digital and I didn’t have any affordable ATSC modulators. I had to take the “station” offline and it has been that way since. Still, it would be nice to be able to do it again so I can do the same for any grandchildren (none yet) who might spend a lot of time at my house. I’ve tried streaming methods but transitions from show to show seem to break connections and cause other problems. A cheap practical ATSC modulator would rock so very much. :-)