PiPad Build
Two weeks before I had to leave for Maker Faire Bay Area 2013, I decided it was time I built an enclosure for the PiPad. I’d been helping a guy in the Shed Tech Support queue that needed some help with his Maker Faire project, and thought “You know, I want a Maker Faire project too.” Crazy – right? I had all the parts, so really the only thing holding me back until this point was a deadline. According to Parkinson’s Law “work expands so as to fill the time available for its completion” so at two weeks, I didn’t have much time for expansion. I started on some conceptual CAD work for the project before so I had a *slight* idea of what I was doing.
Design Goals:
I like simplistic, functional design. I don’t like extra crap that doesn’t do anything and I enjoy fun, hidden features. I also like for my projects to look as “sexy” as possible. I thought about hollowing out a book and putting it in there (like Penny’s book computer from Inspector Gadget) but decided to go with a stand-alone tablet form-factor. Since I wanted to let the PiPad keep me company on flights, the enclosure had to look as factory as possible, while remaining accessible and usable. The last thing I want is for it to freak out the TSA or the old lady sitting next to me.
Bill of Materials:
- Frame Material – 1/2″ Baltic Birch Plywood (local lumber supply)
- Backing Material – 1/16″ Carbon Fiber Sheet (I buy scraps from here and happened to get a flawless, large piece. Don’t count on that!)
- Finish – Watco Dark Walnut Oil Finish – Amazon
- Latch / closing – 14 – NdFeB Magnets – Amazon (These are *probably* overkill.)
- Battery – Anker Astro3E 10,000mAh battery – Puts out 3A @ 5V! Gives me about 6hrs of battery life.
- WiFi – I’m using this adapter from Monoprice, but this one from Amazon should work well too.
- USB HUB – IOGear Micro Powered USB Hub (removed from casing)
- Bluetooth – After experiencing issues with an AZIO bluetooth dongle, I switched to one like this and it worked great.
- Keyboard – Adesso Bluetooth Mini Keyboard
- Main brain – Raspberry Pi Model B (Ethernet and 1 USB port removed.) Edit – The Raspberry Pi Model B has been discontinued. The most recent version is the Raspberry Pi 3 Model B+ which is available here. You’ll need to retool the build for this board or try to find an old Model B if you’re trying to recreate it exactly.
- Heat Sinks for Raspberry Pi – Amazon (There’s no airflow in the case so I figured this was a good idea.
- Misc USB ends – Male A (3), Micro (1), Female A (I hacked an extension I had laying around.)
- Screen – 10″ Capacitive Touch Screen with LDVS Adapter from Chalk-Elec.com. I had a great experience with this company (they are based in Malaysia) but have heard mixed reviews from others.
- Brightness adjustment – 10K Potentiometer (I had this lying around – it replaced the light sensor that came with the screen / LDVS adapter.)
- GPIO – Ribbon cable and connectors (male and female) for GPIO.
- Power switch – Waterproof Metal On/Off Button with White LED Ring – From Adafruit.
- Screen / backing adhesive – Permanent double stick scrapbooking tape -Picked up locally from Hobby Lobby (if this ever fails I’ll get the 3M stuff they use on iPads)
- Hinges – 1″ Brass hinges (Picked up locally from Hobby Lobby)
- Extension for battery charging – Micro to Mini USB adapter – Amazon (to extend the charging port to outside the case.)
- Amplification – Fiio E5 Headphone Amplifier (Now replaced by the Fiio E6) – The Pi doesn’t have an on-board amplifier. This miniscule amp works and sounds great and pumps out enough volume to hear on planes.)
- Audio extension – 3.5mm Audio jack (like this) and hacked extension cable.
- Probably one or two other things I’m forgetting.
Associated Files:
Everything I used in one .zip file. (Now available on GitHub!)
Construction:
The principle components of the enclosure are 1/2″ Baltic birch plywood and 1/16″ carbon fiber (for the back). I designed the cut files in Vectric’s incredible Aspire CAD/CAM package (though everything I did was in 2D) and used the image tracing feature to digitally recreate the components to ensure enough clearance. The components were placed on a scanner and loaded into the software so I could manipulate them for what I thought would be the best layout. Fortunately the folks at Chalk-Elec published a datasheet for the display with dimensions, although the corner radius wasn’t listed (it’s 10mm if you’re wondering.) I wanted to make the back the same size as the LCD panel, but the carbon fiber scrap I had was slightly too small so I had to re-size. I intended to machine the slots for the components using multi-sided machining but kept getting my layers confused. Because I was short on time and had limited material, I decided I’d hand cut the necessary slots (which ended up being easier than I thought.) I bought a new spiral downcut bit for a smooth finish and turned my CNC machine loose on the wood. After a bit of sanding and an inspection, I machined the carbon fiber with a 1/8″ carbide Dremel bit, sanded, and did a test fit. Everything lined up!
Next I laid out the electronics and marked out where I needed to cut access holes in the plywood frame. After everything was marked I cut though one layer of plywood with an Exacto knife, popped out the layer, and continued down until the slot was deep enough. Then I popped in the component, placed on the top, and checked to see if any more material needed removed. The SD card slot was another challenge. After measuring where the SD card would be and marking the area that needed removed, I taped a level onto my drill and drilled a series of holes using a 1/8″ bit. Then I used a coping saw to remove the rest. The results were a bit jagged so I cut a strip of sandpaper and worked it though the slot until smooth. Once I was satisfied with the holes, cut out the area for the hinges and mounted them into place. I’m not sure if was just me or a “thing” with hinges, but once installed the frame didn’t quite line up. Despite tweaking as much as I dared, it still wasn’t perfect. I ended up getting mad, mounting a belt sander in a vise and sanding the heck out of it until it lined up 100%. Once I was happy with it, I drilled in holes for the magnets. After I got the polarity right (yeah – I messed up a few times) I glued them in. Once dry, I removed the hinges and applied several coats of rub-on varnish.
When the varnish dried, I glued the carbon fiber backing in place, then installed all the components and ran / soldered the wiring. I put the whole thing together (nothing anchored in place yet) and turned it on. The power indicator blinked on and after a few tension-filled seconds, it booted! Everything including the touchscreen functioned as expected (which NEVER happens for me). I shut it down, finalized the layout, and started anchoring the components in place using either hot glue (I used this mainly for the wiring), permanent double sided tape, and foam tape. The display was affixed “Apple Style” using some crazy strong permanent tape around the inside edge. I clamped the battery and screen down and allowed the tape to cure over night to ensure a good bond.
The next day I realized I had a problem – the touchscreen wasn’t tracking my finger and a section of the screen was the wrong color. I quickly realized that I didn’t have enough clearance between the back of the Pi and the back of the screen. At this point I only had a few days before I left for Maker Faire, so I started freaking out a little. The Pi had to stay in it’s current location and was already as low as I could get it due to the SD card slot. I tried bending the metal around the USB port down but the issue persisted. So I got out my exacto knife and some pliers and pried the metal USB housing off completely. Then I took some cutters and completely removed the top USB port connections and plastic. That had to do it, right? Nope.. now the Ethernet jack was touching. While it didn’t distort the screen it was causing the touch to be erratic – so out came the soldering iron and away it went! Essentially I converted my Raspberry Pi Model B into a Model A with 512mb of RAM. But importantly, it worked and the PiPad was complete!
Conclusion:
This image was taken while on my fight from Ohio to San Francisco (using a mouse because the touch-screen doesn’t work with RaspBMC.) The PiPad preformed flawlessly and didn’t raise an eyebrow going through security. On the plain though, a flight attendant kept walking by, looking closely at the homebuilt gadget I had on my tray table playing Talladega Nights. At one point I could feel her looking over my shoulder and was sure she was going to say something. She nudged me (I thought it was over at this point) and said “I love that movie – you’re coming up to the best part!” I’ve taken the PiPad on every flight I’ve been on since then and it’s never raised an eyebrow.
I’d e-mailed Eben Upton a few times for work, but didn’t have the chance to meet him at Maker Faire Bay Area. I did catch up with him at Maker Faire New York though. Eben is probably the most humble, down to earth person I’ve ever met – I really can’t say enough about him. After a long chat I showed him the PiPad. After several compliments and a few minutes of playing with it, Eben graciously signed the back at my request. His signature looks amazing on the carbon fiber!
Future Upgrades:
I’ve been considering adding a camera and IR sensor but am not quite sure if I want to bugger up the case. I do need to figure out how to get the touch screen working in Raspbmc – evidently it isn’t compiled with the nTrig driver. I may someday build a version 2.0 if I get ambitious..maybe if the Pi gets an upgrade. We’ll see!
[polldaddy poll=7989441]
Great Idea … did you have any progress with the touchscreen and the mediacenter?
I’m trying to build a mediacenter (like a jukebox) with a Pi and an ELO touchscreen monitor ….
Make still has the PiPad so I haven’t had a chance to work on it but several kind people have left comments with potential fixes that I plan to try.
The ELO should work providing it’s USB and you can find (or write) drivers. Pretty sure they have Linux drivers available.
I am building one of these but I have a problem. Chalk Elec is completely sold out of all the HDMI LVDS stuff that I need. They are discontinuing the bundle and the coords and screens separate are much smaller and more expensive. I need a1 0″ LCD LVDS bundle with capacitive touchscreen and ambient light sensor (RaspberryPi)
Anyone know of a place where I can buy this?
Michael Castor, if you read this then please help me 😀
Good job on your PiPad BTW its amazing and very “sexy” with the carbon fiber.
Hello – I left a reply on your earlier comment. Please let me know if you didn’t get it.
Thanks! Carbon fiber certainly does have sex-appeal. I love working with it (just have to be careful about the dust.) Keep your eye out for more CF projects!
So cool! I am planning on building one. Do you have some tips on some other stores for some of the other parts you used? Thank you so much.
Hi Mr Castor,
Thank you very much for sharing! Chalk-elec seems to ran out 10inch stock. Where can I find an other one?
Thanks
YES Chalk-Elec has some screens in stock!!!!!!!!!
YES!!!!! Ordered one!!!!!
Thanks for the alert! I ordered 5…
How did you get the on off switch to work?
The switch breaks the 5V+ wire. I drew a truly awful wiring diagram here – https://www.evernote.com/shard/s81/sh/b6180196-9cd0-41c2-8be9-7539f6f80773/9220a85c7ce964eb8b5adb5f0a02ee6a
Let me know if that isn’t clear enough.
Hello Michael,
not for me. Do you have a photo of the wiring?
Whould help. Many thanks
This is probably the best picture I have of the wiring – https://www.flickr.com/photos/62562887@N05/8875259817
Right now the PiPad is with Make. I’ll take some better shots for you when I get it back.
Hi, would this work with the 9inch HD Mi Pi screen?
http://hdmipi.com/
Hi, but it’s not a touch screen.So useless to be used as a tablet.
Face palm sorry
Hello again,
but in fact it would be nice to have an alternative to chalk-elec, as they do not seam to be able to produce screens anymore.
It would be. I’m also looking for an alternative. The RPi foundation may have something on the horizon but I’m not sure how far out it is – http://blog.pi3g.com/2014/03/embedded-world-in-nuremberg-2014-new-developments-on-the-raspberry-pi-sbc-market/
If anyone finds an alternative please let me know!
How much did it cost you??
Around $350 not including labor or the cost of the scrap carbon fiber I used.
I also want to know how much the parts cost total.
Hi, I’m interested in buying one from you since I think it would be worth buying the raspberry pi tablet already made from someone who has experience with it.
E-mail sent.
whats the 10K Potentiometer used for ???
nnm you answerd my question
It’s all good. the LDVS had auto-brightness based on a 10K LDR sensor. I removed the LDR and used the 10K pot made it manual.
Would you consider selling another wooden case? I really want to make one of these for school!
Yeah – I could probably do that. Will e-mail.
I’d like to buy a case too if possible?
I’d like to buy one too if possible?
Also could you say how you installed the 10K potentiometer?
Sure – I simply cut off the light dependent resistor on that is hooked up to the LDVS board and soldered on legs 1 and 2 of the 10K pot. The LDR is a 10K, so instead of using it as an ambient light sensor, I just made it manual. The stock setting was far too dim for my liking.
Hi would you be able to upload some lazer print files like these but with a scale:
https://wiki.openjdk.java.net/download/attachments/16318606/DukePad%202.7%203mm%20rev%202.pdf?version=1&modificationDate=1379803574000&api=v2
Thanks a lot,
Harry
Hi Harry,
I’d rather not repost those files without permission from the DukePad folks.
No, what I meant was would you be able to create some sort of 3D printable file from the PiPad because I don’t have the software. (I would use a company like Shapeways to do the printing for me)
Unfortunately I don’t have the time or reason to do this at the moment. In the event that I do I’ll happily post the files. I would be willing to sell you a pre-cut frame though (a duplicate of what I used.) Let me know if this would be something you’re interested in.
how much would you charge for a pre-cut frame?
How much does your creation weigh ?
I’d say a pound and a half or so. It doesn’t feel heavy or bulky when in a backpack or in your hands.
How much did the whole thing weigh when you got it all put together?
I’d say a pound and a half or so. It doesn’t register on my bathroom scale so I can’t give anything more definite at the moment. It feels nice in your hands.. not too heavy and not light and cheap.
Also what did you use the misc USB ends for and the magnets for?
Thanks,
Harry
I used one USB male end to plug into the power supply, another for the touchscreen (it was a USB mini female originally), and a micro-USB male to plug into the Pi for power.
The magnets work as a latch to keep the PiPad closed.
Hi, I was thinking of making this except I would 3D print it, I was wondering if you could tell me the dimensions of it?
Thanks,
Harry
The overall dimensions are 10.84″ wide, 7.54″ tall, and 1″ thick. I would have 3d printed it but that’s too big for my Ultimaker.
What changes do you think would have to be made to replicate your build with a 7″ display instead (as chalkboard electronics doesn’t offer the 10″ anymore)? And do you have detailed instructions on the wiring or a wiring diagram? I’ve always wanted to build a Pi tablet and your build really inspired me to actually commit to it but my electrical skills are low to nonexistent and I don’t want to explode anything.
Chalkboard’s stock does fluctuate quite a bit and seem to rarely have things in stock. On their blog it says a new 10in display is in the works but only gives the date as Feb. To make a 7″ you’d have to resize the inset on the frame. You could probably make the entire frame smaller but you’d have to watch the internal dimensions to make sure you can squeeze all the components in there. If I ever get a 7″ screen I’ll give it a whirl and let you know (if it doesn’t end up in my car.)
Wow! I really love this. I’ve never supported a crowd funding project, but for such a kit (for maybe 500$) I’d definitely participate. I hope you’ll pursue this great project whether or not there will be a crowd funding.
I don’t think I’d go the big name crowd funding route but I *might* decide to do a run of them depending on interest levels. I’ll let you know if I ever move in that direction.
[…] Source: MK Castor […]
[…] specification, it was no doubt worth it. If you’re keen to see how Castor created his PiPad, an overview of the process is available on his own […]
Not only a great build but also surprisingly good looking too for how much electronics you’re putting in it.
Nice work!
Thanks!
Very cool. This resembles the The DukePad Do-It-Yourself, make-at-home tablet computer based on the Raspberry PI and Java SE Embedded 8 shown at JavaOne 2013.
Plans and instructions for building the DukePad are available at: https://wiki.openjdk.java.net/display/OpenJFX/DukePad
YouTube video of DukePad here: http://www.youtube.com/watch?v=Lrl862uE5Po
Wow, I haven’t seen the DukePad before. Their design and components look awfully familiar. I wonder if they borrowed some ideas from me? (I can say that since this was build in May 2013.) I love the OS / skin their using, looks like it’d work great with the touchscreen.
[…] Michael Castor’s PiPad […]
I’d love to do this for my school project, but I have no idea how I’d make the case, no-one around where I live does that, I don’t think!
I see you have all theses usbs but where do end up hooking them up?
I’m using a powered USB hub that’s hooked up to the one remaining USB port on the Pi. Everything else plugs into the hub, including the external port.
Did you have to do anything “special” with Raspbian to get the touchscreen to work?
Nope! The screen uses the Ntrig driver which is supported out of the box by Raspbian. Basically it’s plug and play.
amn. I’m following a tutorial to use an egalax based touchscreen ( http://engineering-diy.blogspot.com/2013/02/raspberry-pi-raspbian-xbmc-and-egalax-7.html ), and although following that gets my touch to work per se, my axes are all messed up.
I tried that too. The axes were messed up and I couldn’t get it calibrated. I messed with it for a while but then I broke something and it stopped booting.
[…] a vyzkoušejte postup, který pro vás připravil Michael Castor a prezentoval jej na svém blogu. Podle podrobného návodu dokáže vyrobit svůj PiPad, jak svůj výtvor autor pojmenoval, […]
[…] https://mkcastor.com/2014/01/02/pipad-build/ […]
[…] eigenes Tablet auf Basis von Raspberry Pi bauen will, kann sich auf Castros Blog Bilder und seine Bauanleitung […]
[…] Pi als Basis für ein selbstgebautes Tablet genutzt. Die Bauanleitung und Bilder des von ihm “PiPad” genannten Geräts hat er als Anregung für andere in seinem Blog […]
[…] […]
how good is the battery? does it provide reliable power over time? for a normal use, with reasable network and video playback
It gives me about 6 hours of battery life watching H.264 encoded DVDs. Just browsing the internet you could probably squeeze 8 hours out of it.
Nice build! Have you figured out how to get the touchscreen working with raspmc or another xbmc distro? I’ve got the same problems, but it doesn’t seem to work for me. I got the same screen as well.
Thank you for sharing c:
Not yet. When I do I’ll post a how to.
Have you tried the generic evdev driver?
I haven’t. Would that work?
[…] устройство Michael Castor ласково называет PiPad, и в целом полностью им доволен. Даже несмотря на то, […]
This is amazing! Pure Michael-Castor-RPi-Love!
I was actually playing around with a similar thought, I, however, never started because I didn’t find a 5V touch pad. Thank you so much for sharing this!
Glad you enjoyed!
Hello, I was going to build this but the website that you used for the touchscreen is out of stock and they are stopping the production of that screen. The smaller screen and prebuilt converter for the HDMI-LVDS are also sold out. Any other websites to buy this stuff? If so, please respond.
Thank you,
Unfortunately I don’t know of anywhere else to get a 5V HDMI / LVDS breakout. The displays can be found on Alibaba (just search LP101WX1-SLB1) as well as HDMI / LVDS converters – but all seem to be 5V. I’m keeping my eye out for options though!
I believe i found a way to power 12v lcd screens using 5v usb batteries using a DC to DC Step Up Converter Car Laptop Notebook Power Supply Voltage Regulator. found at http://www.ebay.com/itm/DC-to-DC-Step-Up-Converter-Car-Laptop-Notebook-Power-Supply-Voltage-Regulator-/390787055996?_trksid=p2054897.l4275.
Not sure if it will work. I am just now getting into projects like this by researching making a tablet with cubieboard 2 and 12 inch pos touch screen with linux support. Would like to use rasberry pi but want ubantu arm support. thought about 10 inch screen but runs about as much as samsung tablet at sams club.
I’m not 100% sure that would work. Step-up converters can boost voltage but will reduce the amount of available current. The Pi will need at lease 750ma@5v to function happily. Unfortunately the ebay listing didn’t include a datasheet.
What I’d do is go the other way around. I’d use a 12V source (or an 11.1V LiPo RC battery) and use a voltage regulator to power the Pi. You’ll probably need the 12V anyway to power an LVDS / HDMI converter and the touch screen.
A Cubie version would be awesome. Let me know if you build one.
[…] Источник: mkcastor […]
this is a great project!!! unfortunately, i don’t have access to a machine to cut-out the wood frame. any thoughts of taking orders for just the frame setup (frame, hinges, and carbon fiber)? the rest of the project is more a matter of getting the pieces/parts, and putting them together.
you can e-mail me “offline” if you want. (PBTiam@cfl.rr.com)
thanks,
Pete.
I might be persuaded.
[…] tot are la bază o carcasă de lemn şi un design destul de prezentabil, cine ştie, creatorul proiectului poate va primi o ofertă pentru producţia în […]
Reblogged this on anthonyvenable110 and commented:
I liked this idea quite a bit
Nice build, i think I’ll try to build my own tablet too. Have you ever considered using a cubieboard? You would have Preinstalled android(of course linux possible too), it’s much faster than Raspberry pi and there’s SATA for 2.5″HDD/SDD. It would be a much better tablet, at least better specs. And try to open the battery, maybe you could disconnect the actual cell from the controller and rearrange everything so it would get thinner/larger battery. Nicely done, congrats
[…] It is not available for purchase, but if you are interested in making one by yourself – HERE are the […]
[…] However, the best part about the entire scope is that Castor has conscientiously shared his detailed step-by-step process for creating the PiPad tablet. If you are seriously interested, please do follow his website’s build link. […]
Hi,
Do you have more detailed pictures concerning the wiring?
[…] Der Blog des Entwicklers: PiPad Build […]
[…] PiPad Build | Michael K Castor. […]
simply WOW! and many thx for sharing to the world.
it gave me much of inspiration and ideas. i own a PI and thanks to you now i know what really can be done with this. It’s possible to run android on this, maybe only the hardware’s bit too slow.
but who owns a CNC privately ?! 😉
yes, if things’ll get more commonly used, everybody could print out their cases and finally independent of retailers…
Hi Raoul,
I’m glad you enjoy it! There is a port of Android for the Raspberry Pi but I’ve heard it is buggy and slow. I’d recommend using another board like the PCDuino, Cubie Board, or Riotboard if you want to use Android.
Yes, owing a CNC machine privately is very nice. If you ever get the chance, I highly recommend it! Let me know if you ever get to the States, I’ll show you how to use it.
Hello friend really liked his work was pretty cool, I have two questions for you first: the screen is touch sensitive? What other operating systems you can install this device?
Thanks but it would be more interesting if you make a video showing the workings of it but anyway congratulations, just forgive me if the spelling is wrong because I’m from Brazil and I’m using google translator.
Hello,
Yes – the screen is touch sensitive. You can run Raspbian (Debian), Arch Linux, Fedora, RISC OS, Raspbmc, and OpenElec. Any software / operating system that runs on the Raspberry Pi will run on the PiPad.
P.S. If you’ll have need of some rendering of your product…I’ll be glad to help you with a lot of pleasure! I really love this project and i love a lot that you’re sharing it! It’s an amazing resource! 🙂 (sorry for my poor english :D:D:D)