The Monday Jolt is a column about microcontrollers and electronics that appears in MAKE every Monday morning. This post was written by Max Ogden and in January 2013. It is reposted here on the MAKE site with permission.
Recently I got to go down to Australia to attend an awesome conference called CampJS. It isn’t really a conference, actually, but instead a bunch of programmers in the woods for a few days hacking on side projects and learning new things. Getting out of the big city was really refreshing and at the same time made me realize how badly my glossy screened laptop works in the great outdoors.
Recently I got to go down to Australia to attend an awesome conference called CampJS. It isn’t really a conference, actually, but instead a bunch of programmers in the woods for a few days hacking on side projects and learning new things. Getting out of the big city was really refreshing and at the same time made me realize how badly my glossy screened laptop works in the great outdoors.
It got me wondering if there existed a laptop that was designed for hacking in direct sunlight… something that had a ridiculously long battery life and was still readable in high brightness situations. Instead I stumbled upon a more awesome solution: the kindleberry, a combination of theRaspberry Pi and the Amazon Kindle.
The advantages of the kindleberry are pretty desirable for me:
- Week-long battery life: the pi and the kindle both have low power ARM processors so you can use any USB charger to power them
- The kindle screen is designed for use in direct sunlight
- The whole setup is small enough to carry around in a pouch inside my normal backpack along with my normal laptop. I work from coffee shops in Oakland and often move around by bicycle during the day — now I can work from almost anywhere and still be at least a little productive.
The idea of the kindleberry is to have the kindle just act as screen and have it log into an ssh session on the pi. Then you can plug a keyboard into the pi and it when you type it will show up on the kindle screen. This approach pretty much only works for terminals so you can’t do anything except edit code in vim. I like this limitation as it gives me an option that is free from distraction for writing long pieces of code or text.
Since the screen on the kindle is e-ink it has a slower-than-normal refresh rate. If you are a touch typist this shouldn’t be an issue, I would recon that between the wifi latency and the screen latency there is a ~200ms screen delay, but it doesn’t bother me at all when typing.
The first problem I ran into was that the kindleberry instructions only worked on Kindle 3 devices, and the newest generation of Kindles (e.g. the paperwhite) are Kindle 5’s. While the end result is similar this just means that essentially all of the steps to set up and install the peripherals correctly were different, including the terminal software that runs on the kindle. The other issue was that I wanted a totally wireless version: no cords between the keyboard, kindle or pi.
Here is a list of physical parts that I am using in my setup:
- Raspberry Pi Model B with a 3D printed fork of this case
- 8gb SD card to put the raspbian OS onto
- Kindle Paperwhite cause it has the fastest e-ink refresh rate of all the kindles + a nice backlight
- Apple Wireless Keyboard because I use a mac laptop and the layout is the same
- IOGEAR GBU421 bluetooth USB because it is small and works on raspbian
- Edimax EW-7811Un wifi USB because it is small and works on raspbian
- EasyAcc USB LiPo battery pack a friend recommended this and said he ran a raspi off of it for a week
- TP-LINK TL-WR702N Travel Router for establishing wireless connectivity between the kindle and the pi
- 4 port USB hub just because it is useful to have around for cable management
For the software side of things, the best resource is this nice tutorial that Rod Vagg has put together for getting the paperwhite set up with a terminal emulator. He even compiled node.js 0.10.0 for the kindle as well!
My pi is configured to boot up and join the wifi hotspot that the TP-LINK router creates, then I can have the kindle communicate to the pi over wifi. There is probably a way to ad-hoc them together automatically but having a little hotspot is handy for other things like too like mobile web app development.
Thanks to Max Ogden for allowing us to repost his article here on the MAKE site.
ADVERTISEMENT