Difference: WoodenBox (10 vs. 11)

Revision 112018-12-16 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Wooden Box for the RaspiElf
Intro
The ELF Membership Card, the RaspiElfDisplay, and the RaspiElfKeypad need a home. I found a wooden box from efco, 23.5 x 17 x 9 cm. There is enough room to stow away the hefty Raspberry Pi Universal Power Supply too.

Schmuckkästli (Swiss German): jewelry box

Hardware

Changed:
<
<
|
wooden-box.jpg
Closed wooden box
|
box-psu.jpg
Box with Raspberry Pi and Universal Power Supply
>
>
|
schmuckkaestli.jpg
Closed Schmuckkästli
|
schmuckkaestli-open.jpg
Schmuckkästli with Raspberry Pi and Universal Power Supply
 
box-running.jpg
RaspiElf running
box-tft.jpg
RaspiElf w/ TFT

Of course you do not need any monitor but it is very convenient to have one built in (e.g. HDMI Monitor 5" 800x480 from Adafruit). Especially if you want to use emulators like the YAZE-AG (Z80, CP/M Plus), the DOSbox, or a terminal emulator for the BASIC3. A USB keyboard can simply plugged in, I use Bluetooth keyboard because the Raspi has Bluetooth on board.

Buttons for Shutdown and Run

To keep prices down, the Raspberry Pi is missing something that most electronic devices come with: a switch to turn it on and off. That’s OK, you say, we’ll just pull the plug to turn it off. Unfortunately, this can lead to corruption problems with the SD card. All the instructions say you should run the shutdown command before pulling the plug, but this is not always possible, particularly when your Raspberry Pi is running headless without a connected keyboard and monitor, and possibly even without a network connection. So, what can a self-respecting DIYer do? The answer, of course, is ‘add your own switch’!

To switch off the Raspberry Pi from the console:

pi@cosmac:~ $ sudo poweroff

I would like to use only one button for turn off and on again the Raspi as described in How to add a power button to your Raspberry Pi but for this we need the GPIO3 and this pin is already used by the I2C communication. I instead chose GPIO21 (pin 40) for shutdown, this can be configured with overlays

Add following line to the file /boot/config.txt

dtoverlay=gpio-shutdown,gpio_pin=21

If the Raspberry Pi is in HALT mode then you can start it again with switch off (pull the plug) and switch on again or hit the RUN button.

P6 Pinout

Pin Number Pin Name Rev2 Hardware Notes
P6-01 RUN Short to ground to reset the BCM2835
P6-02 GND  

run-shutdown-bottom.jpg
Wiring the RUN and the SHUTDOWN switches
run-shutdown-switches.jpg
There is pullup resistor (10 k to 3.3V, pin 17) for SHUTDOWN switch

Front Plate Design

The front plate was created with Inkscape (for the design source file see cosmicos.svg). I used the fonts Retro Stereo Wide, RCA, and Univers Pro 65 Bold (non-free).

cosmicos.png

-- Peter Schmid - 2018-06-24

  • cosmicos.png:

META FILEATTACHMENT attachment="box-psu.jpg" attr="" comment="" date="1529851014" name="box-psu.jpg" path="box-psu.jpg" size="3618816" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="box-running.jpg" attr="" comment="" date="1529851014" name="box-running.jpg" path="box-running.jpg" size="3514358" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="wooden-box.jpg" attr="" comment="" date="1529851014" name="wooden-box.jpg" path="wooden-box.jpg" size="473233" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="box-small.jpg" attr="" comment="" date="1529851492" name="box-small.jpg" path="box-small.jpg" size="57633" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="run-shutdown-switches.jpg" attr="" comment="" date="1535297757" name="run-shutdown-switches.jpg" path="run-shutdown-switches.jpg" size="124491" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="run-shutdown-bottom.jpg" attr="" comment="" date="1535297758" name="run-shutdown-bottom.jpg" path="run-shutdown-bottom.jpg" size="231142" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="box-tft.jpg" attr="" comment="" date="1535319204" name="box-tft.jpg" path="box-tft.jpg" size="319219" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="cosmicos.svg" attr="" comment="" date="1537992145" name="cosmicos.svg" path="cosmicos.svg" size="16370" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="cosmicos.png" attr="" comment="" date="1537994736" name="cosmicos.png" path="cosmicos.png" size="40124" user="PeterSchmid" version="3"
Added:
>
>
META FILEATTACHMENT attachment="schmuckkaestli.jpg" attr="" comment="" date="1544977721" name="schmuckkaestli.jpg" path="schmuckkaestli.jpg" size="142631" user="PeterSchmid" version="1"
META FILEATTACHMENT attachment="schmuckkaestli-open.jpg" attr="" comment="" date="1544977721" name="schmuckkaestli-open.jpg" path="schmuckkaestli-open.jpg" size="215962" user="PeterSchmid" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback