Pinebox Portable Computer

31,708

539

40

About: Software geek, electronics enthusiast, musician, artist ... I enjoy making stuff, and discovering new things!

Intro: Pinebox Portable Computer

This is a multi-part instructable for a Portable Raspberry PI computer and development system:

It's a Pi, in a box, a box made of pine, hence the name: PInebox!

Uses:

  • Portable Linux computer/laptop
  • Raspberry Pi hardware/software project development platform
  • Backup emergency PC (web browser/email)
  • General 5 Megapixel Camera/HD Video (with audio)
  • Portable Audio recorder/player
  • Remote ZoneMinder CCTV camera source and ZoneMinder CCTV camera montage monitor
  • DVB-T2 television receiver?
  • VOIP/Skype phone?
  • And more!

Step 1: Specifications

Hardware spec :-

  • Raspberry Pi 2 Model B, Quad core ARM, 1G memory
  • HD Screen from Cyntech (HDMI 1280 x 800, LED backlit)
  • HD camera (front, side and rear) with 2 x LED flash
  • Wired and WiFi network access
  • 8G system/OS drive (Micro SDHC 8G/Noobs)
  • 16G internal onboard storage (USB stick)
  • Full size keys, compact keyboard (wired)
  • Wireless Mouse LIRC (Infra Red control) Transmitter and Receiver
  • Audio Out: Headphone (ext)/Speakers (int)
  • Audio In: Line In (ext)/Mono Mic (int)
  • Approx 55WH battery pack and internal charger
  • Flexible recharging/external power requirements
  • Custom wooden case

Ports :-

  • 2 x USB
  • 1 x RS232C (D9)
  • 1 x Wired network (RJ45)
  • Universal AC/DC In (2.1mm DC jack)
  • 2 x Audio (line in/spkr out) (3.5mm jacks)
  • 40 way GPIO with boosted (i.e. non Pi powered) 3V3/5V supplies (internal)

Step 2: Concept/Design

After lots of paper scribblings and sketching, physical layout for this project was mocked up in Blender 3D for checking sizes, clearances, and to give cutting/marking guides. The attached video is rendered from the Blender model to give an exploded view.

I took photos and flatbed scans of the actual hardware, to be used as textures onto accurately sized boxes in Blender, and downloaded photos and measurements for the HDMIPi screen/HDMI controller (which I didn't physically have at the time).

Various boxes were added to the flat PCB modules for marking upstanding components (e.g. connectors) that could interfere.

I imported the STL file of the Camera Spinner into the Blender model.

The final design differs slightly from the concept pictures/video shown here.

  • The whole box and screen surround is slightly wider
  • The camera, flash, and LIRC module were moved further down the case
  • DC-DC Converters both in the base unit now - there was one in the lid originally
  • Two clasps were used (left and right) instead of one (centred)
  • External friction stays added to keep the screen upright

Major components are picked out in the image comments above.

Step 3: Subproject Links

Here are all the parts of the project so far, and placeholders for those to come!

Screen:

HDMIPi screen original assembly video and extra build notes and mods

Camera:

Camera spinner provides HD/5Mp front/rear/side camera for stills and video

Macro adapter to allow camera to focus closer for detail

Electronics:

Power And Control PCBs Design Using LTSpice to simulate/prototype, EagleCAD for layout

Power And Control PCBs Build To give power supply, battery charger/monitoring, power saving, camera handling, LIRC port, RS232 port and lots of other useful interfacing.

Wooden Box:

Hinged case for project, a mitred box with splined corners.

Upper framework to mount HDMIPi (Screen), Raspberry Pi and camera

Lower framework for keyboard, ports, speakers, power PCBs, batteries.

Logos for inside and outside

Build:

Final assembly of all the parts into the case

Software:

Rapid setup/customise of Pi checklist (to be updated with latest Raspbian)

Custom Python software for power and control boards/camera spinner boards.

Step 4: Latest Progress June 2015

All major components fitted into the bare (unpainted) case, with a temporary lash up of batteries/DC-DC converter. It can go battery powered (but with no internal charger), and it can go wireless. No expansion/IO ports yet, and no wired network. Camera spinner and manually activated flash works.

Step 5: Latest Progress July 2015

Disassembled to finish case off and do painting/staining, pending finishing up the custom PCB designs.

Step 6: Latest Progress September 2015

Finally finished tweaking and writing up all the electronic design parts for the PCBs, which are being made!

Step 7: Latest Progress December 2015

All boards built, tested and schematics/LTSpice files added to the Electronics Build instructable.

"Backup emergency PC (web browser/email)" feature unexpectedly tested and found working when I was put off-line by my firewall machine failing just before Xmas. :( Thank you Raspberry PI! -- still mounted on a piece of MDF :)

Step 8: Latest Progress February 2016

All parts finally fitted into the case!

Still to do :-Custom software bits.

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Optics Contest

      Optics Contest
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge

    40 Discussions

    0
    None
    Tesla871

    9 months ago

    How much procsessing power does this have? I would like to turn one of these into a mini pc for my monitor.

    0
    None
    MikBRick alde

    Reply 2 years ago

    Box says: "K-Smart 88 Key Mini Multimedia Keyboard" which appears to be

    "1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory" by lsusb output.

    It's a full size keys, but reduced footprint keyboard. I can't be doing with keys that aren't the right size (miniaturised layouts), it messes up my typing :)

    0
    None
    Ibrahimomarkhan

    2 years ago

    can you dounload google or any search engines on it

    0
    None
    TravisM18

    2 years ago

    Nice but a Pine 64 can run ubuntu for about 15 dollars.

    1 reply
    0
    None
    MikBTravisM18

    Reply 2 years ago

    I think you've misunderstood something. The Pine 64 is just the bare board for $15 -- if you think for $15 you get an SBC, SD card, memory stick, batteries, display, keyboard, mouse, wifi then you really missed something. There's no comparison.

    0
    None
    MikBCollcroc123.

    Reply 3 years ago

    Other than detailed instructions and wood templates already posted, no :)

    You need to read the sub-projects more closely -- lots of detail -- there are templates for the case outer, but not for the inner, as parts were built directly around the screen, keyboard. etc.

    There is more to do on the case-rear, subject to the electronics getting finished up -- all for a future instructable.

    0
    None
    jakekusters

    3 years ago

    I've been looking to do this in a mini briefcase type box for a while. What I'm wondering is I have a leftover laptop LCD screen that I have the pcb to power it and plug a hdmi into, could this be worked into?

    1 reply
    0
    None
    MikBjakekusters

    Reply 3 years ago on Introduction

    If the LCD panel has a driver board with it that takes HDMI as an input, then it should work fine. One useful feature of the HDMIPI screen is that if you cut the power out from under it, when power is restored it switches itself back to the "on" state, meaning I didn't have to extend any of its controls - power/menu etc. The custom electronics rudely interrupts the 5V supply to the HDMI Pi screen to save power when the case is closed. If the screen didn't self power on, then there would be a need to automatically operate the power switch.

    i think you may have stumbled onto something way more usefull than one may think although i only took a quick look at the first page so far it seems this would be really useful for audio and video production. among many other handy uses! great project.

    2 replies
    0
    None
    MikBHan_Solo_Order66

    Reply 3 years ago on Introduction

    Certainly for gathering audio/video (and previewing back) -- yes. Although there are portable still camera/video camera projects, PI based, that are lighter and smaller, if that's your main interest.

    For editing/production, I would still be tempted to offload the raw files to a PC for editing/transcoding, due to the processor intensive nature.

    The temporary camera/video test scripts I'm using store all the pictures/video on the USB stick in a spool directory, and when the wired/wireless network comes up and it has sight of my home PC, pushes all the files across to free up space.

    0
    None
    Han_Solo_Order66MikB

    Reply 3 years ago on Introduction

    yes that's what i had in mind for it, because my PC is absolutely terrible when it comes to capturing audio and video so a cheap computer like this built for this would be much cheaper for this than a better laptop so thank you.

    0
    None
    Infinit_

    3 years ago on Introduction

    I'm planning to build a laptop like yours but with my dead laptop's screen(15.6") and as power i was thinking of using very powerful batery banks so you can attatch one whilst the other is charging. What is your oppinion on that do you think it will work?

    2 replies
    0
    None
    MikBInfinit_

    Reply 3 years ago on Introduction

    Yes your idea would work (and even better if you could find one of the
    rare versions of the power bank that lets you charge AND use the device,
    then you wouldn't have to swap over. They do exist!), I did look at them, but here's why I didn't do that ...

    I avoided using standard lithium battery banks due to expense. It would work, but an equivalent battery bank to mine (19V/2900mAh=55WH) would be about a 18000maH/3.1v lithium single cell power-bank, with built in boost to 5V. That's a big one.

    Also, they only charge from 5V USB -- my design for charger/input will run about 8V-18V, either AC or DC. So any available power, almost! The charger (is/will be) built in, and laptop runs on external power (priority override) when provided, that way the batteries are only used when working wire-free, and always kept topped off.

    Final point: I can monitor the voltage of my pack (23v-16v range), and a) drop off non-essential loads (screen, keyboard, USB hub) when things get tight (below 16v), starting a 2-3 minute "shutdown" warning process, and b) force an immediate shutdown/power off at truly EMPTY battery (14.5v).

    a) will be reversible, so if you plug in to external power, these components will come back, and the shutdown will be cancelled (and the battery start charging). b) is rapid, but controlled loss of power.

    I don't know how you do this with a USB power bank, which will give 5V right up until the point where the lights just go out, with usually no ability to monitor.

    All this stuff will be in the electronics/software bits to come later.

    0
    None
    Infinit_MikB

    Reply 3 years ago on Introduction

    Thanks, sorry for the very late responce, I appreciate you responding and will take all your proposals in consideration :) .

    0
    None
    Edgar

    3 years ago on Introduction

    All that, and you can handle Blender, too? ;) A great and very useful Instructable. Thank you, made my day.