10 raspberry pi desktop - adafruit industries€¦ · 22.08.2018  · you can charge the battery by...

28
10" Raspberry Pi Desktop Created by Ruiz Brothers Last updated on 2018-08-22 03:49:50 PM UTC

Upload: others

Post on 18-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

10" Raspberry Pi DesktopCreated by Ruiz Brothers

Last updated on 2018-08-22 03:49:50 PM UTC

Page 2: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

244456

88

99

1010101011

121212131314141515161617171818191920202121222223232424252526262727

Guide Contents

Guide ContentsOverview

Raspberry Pi TabletMake it bigger!Parts ListTools

Circuit DiagramThe Circuit Diagram

3D PrintingPrinting SettingsCustomize DesignMaterialsTolerancesBed LevelingClean up

AssemblyArrange ComponentsMeasure wiresTin headersSolder power and groundSolder PowerBoost1000CPAM8302 power and groundAudio pigtail cableSolder Audio Cable to AmplifierPlug in audio cable to PiSolder power and ground to Display DriverConnect HDMIJST extensionShorten JST extension cableSlide switchMount boardsZip Tie BatteriesTrim Zip tiesPower testTapping screw threadsInstall DisplayClean holesScrews for DisplayDisplay tabsConnect displayArrange wiresDisplay controlDiffuser for illuminated logoBack coverInstall frameRemove protective filmTripod attachmentUsage

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 2 of 28

Page 3: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

28Recharge the Batteries

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 3 of 28

Page 4: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Overview

Raspberry Pi Tablet

This project showcases the scalibility of a 3D printed project for the Raspberry Pi. You've see this sorta thing before, anall-in-one portable Raspberry Pi fitted in a nice little 3D printed package with a PiTFT display. So, surely it's trivial toscale that up with the best screen in the shop!

Make it bigger!

This project takes the DIY approach with no compromises in cost. The cost of this build is easily goes over low budgetDIY projects, but it's ment to be premium build. It will be used for monitoring and wirelessly controlling a farm ofprinters. A dedicated linux box with a decent sized screen could cost about the same amount, but when the process ofbuilding a project is more meaningful than getting the cheapest deal, this sorta thing becomes a trophy item as well asa functioning utility. Also, we can mount it to anything and design custom brackets to adjust it in any configuration, andthat's pretty darn cool.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 4 of 28

Page 5: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Parts List

This are the parts we used in this project, but it can be customized. e.g If you'd like to only have the Raspbery Pi anddisplay. You will need some hardware to mount the components and secure the enclosure.

10.1" HDMI 4 PI IPS Display (http://adafru.it/1287)Raspberry Pi 2 (http://adafru.it/2358)2x PowerBoost 1000C (http://adafru.it/2465)2x 6000mAh Lithium Ion Battery (http://adafru.it/353)PAM8302 Audio Amplifier (http://adafru.it/2130)Pigtail 3.5mm Stereo Audio Cable (https://adafru.it/els)HDMI Cable (https://adafru.it/fUu)2x Slide switch (https://adafru.it/iNf)JST-PH extension cable (http://adafru.it/1131)Thin plastic speaker (http://adafru.it/1891)Kano Keyboard for Pi (https://adafru.it/iXD) (Orange Keyboard)3/8" to 1/4" Adapter Screw (http://adafru.it/2392)Swivel-Head Pan Tilt (http://adafru.it/2464)

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 5 of 28

Page 6: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Tools

Here's a list of useful tool we used to get this project completed.

3D Printer (https://adafru.it/fUw) with 300mm x 300mm minimum build volumeFilament (https://adafru.it/enm) (1.75mm, 2.85mm, ABS, PLA, etc.)Wire Strippers (https://adafru.it/dDI)ScrewdriverSoldering IronSilicone covered stranded-core wirePhillip Flat Head #4-40 x 3/8 (https://adafru.it/eIL)#2-56 1/8 machine screws#2-56 3/8 machine screws

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 6 of 28

Page 7: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 7 of 28

Page 8: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Circuit Diagram

The Circuit Diagram

PowerBoost1000C

The slide switchs connect to the EN and GND pins on each PowerBoost1000C.

The 6600mAh batteries plugs into the JST connector on the PowerBoost1000C. You can charge the battery byconnecting a microUSB cable.

Raspberry Pi 2:

Positive+ and -Negative pins on the PowerBoost1000C connect to the Pi on GPIO #2 for 5V power and GPIO # 6 forground.

PAM8302 Audio Amplifier:

GPIO #1 (3V) on the Pi connects to VIN on the PAM8302. GPIO #9 connects to GND on the PAM8302. The+Postive and -Negative connections are wired to the A+ and A- on the PAM8302.

The Audio jack plugs into the audio port on the Pi.

Display Driver:

+Positive and -Negative pins on the PowerBoost1000C connect to the 12V and GND labeled on the Display Driver.

The Slim HDMI cable connects to the HDMI port on the Raspberry Pi.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 8 of 28

Page 9: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

3D Printing

Printing Settings

Use the settings below for reference. The parts were printed on the Type A Machine Series 1. We used Simplify3D toslice the parts using our custom profile. You can download our profile for Simplify3D below.

https://adafru.it/Cg2

https://adafru.it/Cg2

https://adafru.it/fUy

https://adafru.it/fUy

rasDesk.stl

rasDeskDif.stl

rasCover.stl

rasDisplay.stl

245c Extruder

2mm Retraction

10% infill

3 Shells

90mm/s print speed

200mm/s travel speed

about about 12 hours to print all parts.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 9 of 28

Page 10: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Customize Design

You can modify the original solids in the CAD files to make a custom project.

Materials

The parts can be printed in different types of filament. The most common filaments like PLA and ABS will do just finebut you can of course experiement with copperFill, bambooFill, Semiflex, PET and Nylon.

Tolerances

The parts were tested with common printing settings (listed in the table). With a parameter of 2 shells, theres only afew areas where tolerances really matters - the port cutouts and the mounting holes.

Test fit the parts by inserting the top enclosure part over the Raspberry Pi. Check to see if the cutouts fit over the USBand ethernet ports. If the cutout is too tight, you can loosen it with a filing tool.

The standoffs with counter bores should fit the machine screws listed in the BOM. These can be threaded by fasteningin the appropriate sized screw.

Bed Leveling

Any parts with large surface require a well leveled build plate. If you're using a heated bed, you can minimize warping.Blue tapers tape, build tak, and sticky adhesives can help keep your part flat and adhere to the bed.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 10 of 28

Page 11: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Clean up

If there's any string or artifacts left over from retraction and oozing, clean up the part by trimming them off using a pairof flush snips.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 11 of 28

Page 12: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Assembly

Arrange Components

Layout the components on each stand-off. Measure how long each wire needs to be. You can alway constumize thethe layout by editing the CAD files.

Measure wires

We can solder wires from the bottom or top side of the GPIO header pins. Measure each wire so there is enough slackwhen we strip both ends.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 12 of 28

Page 13: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Tin headers

To make the enclsoure as thin as possible, we can solder directly to the GPIO header pins. Refer to the circuit diagramand connect power and ground to the PowerBoost1000C.

Solder power and ground

Hold the Pi steady with something like a Panavise Jr. Use tweezers to easily hold wires close to each pin. Solder eachwire to the side of the pin.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 13 of 28

Page 14: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Solder PowerBoost1000C

Positive and negative pins on the PowerBoost100C connect to pin #2 (5V power) and pin #6 (ground).

PAM8302 power and ground

Feed power from the Pi to the amp using pin #1 for power and pin #9 or #14 for ground.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 14 of 28

Page 15: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Audio pigtail cable

Measure the length of cable needed to connect the amplifier to the audio jack on the Pi. Cut the cable to the rightlength and strip about 1.5cm of insulation.

Twist together the stranded wire and tin to keep it from fraying.

Strip about 5mm of insultation from the red and white wires, then tin both wires.

Solder Audio Cable to Amplifier

Solder the tinned ground wire from the audio cable to the A- pin on the PAM8302.

You can solder either the red or white wire to the A+ pin on the PAM8302 (they are the left and right audio channels.)

Red wire IS NOT solder in the photo. Only the white wire.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 15 of 28

Page 16: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Plug in audio cable to Pi

Postion and check the audio cable length. You can always solder extra wire if you cut too much off.

Solder power and ground to Display Driver

To run the display, we can use a separate PowerBoost100C and 6600mAh battery. Reference the connections topower and ground above and connect to the +Postive and -Negative pins on the PowerBoost1000C.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 16 of 28

Page 17: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Connect HDMI

Position the display driver and PowerBoost on the stand-offs. Connect a slim HDMI cable from the driver to the HDMIport on the Pi. Coil the HDMi cable so that it tucks underneath the boards and between the stand-offs.

JST extension

The battery cable for the Pi might not reach the second PowerBoost. Measure and cut a JST extension cable to it helpreach the power connector.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 17 of 28

Page 18: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Shorten JST extension cable

With the desired measurement, cut one the wire short. Strip and tin the ends of the wire to splice them together. Useheat tubing to insultate the exposed connections.

Slide switch

Measure and cut wires for both of the slide switches. Solder wries to the slide switch first and then insert the switchinto each port before soldering to each of the PowerBoost breakouts.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 18 of 28

Page 19: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Mount boards

Use #4-40 3/8 screws to mount each board to its stand-off. To make it easier, we can use dril to tap each board beforescrewing into the snad-off.

Zip Tie Batteries

Thread zip ties through the slits. Position the batteries over the enclosure and tighten the zip ties secure the batteriesin place.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 19 of 28

Page 20: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Trim Zip ties

Cut off the excess from zip ties. Position the locking head near the bottom of the case.

Power test

Once all of the components are securely mounted, flip power switch on and make sure the connections work.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 20 of 28

Page 21: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Tapping screw threads

The standoffs on the enclosure frame will need to be tapped. Use a pointy #4-40 wood screw to help puncture throughthe plastic. Be careful not to make the holes so deep that it pokes through the frame.

Install Display

Align the display with standoffs on the frame. Make sure the longer tabs match up with the longer elevated tabs on theframe. Mark each hole on all of the tabs and then carfully tap each hole.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 21 of 28

Page 22: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Clean holes

Use flush diagnoal cutters remove excess material left over from tapping the thread. You'll want to make sure the tabsare flush against the display frame.

Screws for Display

The tabs on the display are thin enough to be held in place by short #4-40 1/8 flat phillips machine screws.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 22 of 28

Page 23: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Display tabs

Mount the display to frame by fastening the screws into the standoffs. If any of the screws pop out, make sure that thehole tapped is deep enough for the screws to have enough material to grip on to.

Connect display

Carefully connect the display to the driver. Arrange the wires so they coil when mounting the display to the case.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 23 of 28

Page 24: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Arrange wires

The glowing logo cutout works best if the cables are cleared away from covering up the displays backlight. Use gafferstape to keep wires away from the cutout.

Display control

Plug in the display controller to turn on the monitor. Set the input to HDMI. You can disconnect the controller from thedriver board to save space. The display will save the input selected on initial start up.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 24 of 28

Page 25: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Diffuser for illuminated logo

Attach the translucent diffuser part to the inside of the display cover using pieces of gaffer tape.

Back cover

Align the cover to the back of the case. Use #2-56 3/8 flat phillips machine screws to secure it in place.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 25 of 28

Page 26: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Install frame

Use four #2-56 3/8 screws to attach the display to the second half of the enclosure.

Remove protective film

Finally, we can remove the plastic film covering on the display. Grip it by the yellow tab and pull it off.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 26 of 28

Page 27: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Tripod attachment

The case is design to sit on any of its sides. You can also attach a 3/8" to 1/4-20 tripod adapter to easily connect it to atripod!

Usage

We’re using this project to monitor the bot farm and serve as a dedicated shop computer.

© Adafruit Industries https://learn.adafruit.com/10-raspberry-pi-desktop Page 27 of 28

Page 28: 10 Raspberry Pi Desktop - Adafruit Industries€¦ · 22.08.2018  · You can charge the battery by connecting a microUSB cable. Raspberry Pi 2: Positive+ and -Negative pins on the

Recharge the Batteries

Once the lipo batteries have depleted, you can recharge them using a microUSB cable and a power source/adapter.The two microUSB ports on the PowerBoost 1000C are exposed on the side of the enclosure. A yellow LED will lightup, indicating charging status. Once the batteries are fully charged, a green LED will light up.

© Adafruit Industries Last Updated: 2018-08-22 03:49:46 PM UTC Page 28 of 28