add code quoting to measurements

This commit is contained in:
ohsqueezy 2023-02-20 21:45:53 -05:00
parent 5d3d67fa4c
commit 36cc14ecae
2 changed files with 15 additions and 15 deletions

View File

@ -14,16 +14,16 @@ The Playzing has three main components:
* mini toaster oven
* custom-built gamepad
The toaster is a commercial mini toaster oven which is modified to have a Raspberry Pi and screen attached to the top of it. The gamepad is built to connect directly to the Raspberry Pi's digital input pins.
The toaster is a commercial mini toaster oven which is modified to have a Raspberry Pi and screen attached to it. The gamepad is built to connect directly to the Raspberry Pi's digital input pins.
The [builder's manual](doc/Playzing_builder's_manual.md) has details on how to build the Raspberry Pi gaming device and attach it to the toaster.
See the [builder's manual](doc/Playzing_builder's_manual.md) for detailed instructions on how to build the entire system.
![Baguette heating](doc/img/Baguette_heating_1080x1593.png)
Launcher
--------
The code for launching games on the device is tracked by this repository. The launcher can run on any system, but it is intended to run on Raspberry Pi Lite OS when being used with the standard Playzing device.
The code for launching games is tracked by this repository. The launcher can run on any operating system, but it is intended to run on Raspberry Pi Lite OS when being used with the standard Playzing device.
### Requirements
@ -33,7 +33,7 @@ The code for launching games on the device is tracked by this repository. The la
### Running
Clone this repository
Clone this repository with PGFW using `--recursive`
git clone --recursive https://open.shampoo.ooo/shampoo/playzing
cd playzing/

View File

@ -134,15 +134,15 @@ Attach the socket end of the three JST wires to the Raspberry Pi's GPIO pins 9,
Screen mount
------------
The mounting holes of the screen need to be widened slightly if using the #6 1-1/4" screws. Alternatively, it's possible that smaller screws can be used as long as they are long enough. To widen the screen's mounting holes, carefully drill a 7/64" drill bit into each hole.
The mounting holes of the screen need to be widened slightly if using the `#6 1-1/4"` screws. Alternatively, it's possible that smaller screws can be used as long as they are long enough. To widen the screen's mounting holes, carefully drill a `7/64"` drill bit into each hole.
![Screen mounting hole widened](img/manual/Screen_mounting_hole_widened.jpg)
Put the screws through each hole and through the 3/4" spacers (in the photos, screw anchors are being used in place of the spacers).
Put the screws through each hole and through the `3/4"` spacers (in the photos, screw anchors are being used in place of the spacers).
![Screen mount spacers](img/manual/Screen_mount_spacers.jpg)
Stand the wood blocks up with 2 1/4" between them, using the shorter side as the base, and put their backs against a straight surface to keep them aligned. Use the screen and screws to mark where holes for the screws should be pre-drilled. Carefully hold the screen up to the blocks with the screws sticking out and the top screws 7/8" from the top of the blocks. Either carefully press the screws into the wood or mark with a pencil where to drill the holes.
Stand the wood blocks up with `2 1/4"` between them, using the shorter side as the base, and put their backs against a straight surface to keep them aligned. Use the screen and screws to mark where holes for the screws should be pre-drilled. Carefully hold the screen up to the blocks with the screws sticking out and the top screws `7/8"` from the top of the blocks. Either carefully press the screws into the wood or mark with a pencil where to drill the holes.
![Wood blocks marked](img/manual/Wood_blocks_marked.jpg)
@ -150,32 +150,32 @@ Drill shallow holes for the screen screws into the wood block using a thin drill
![Wood blocks pre-drilled](img/manual/Wood_blocks_pre_drilled.jpg)
Drill the #6 1 1/4" screws through the spacers and into the wood blocks.
Drill the `#6 1 1/4"` screws through the spacers and into the wood blocks.
![Screen mounted with spacers](img/manual/Screen_mounted_with_spacers.jpg)
Because the roof of the oven has hollow sections on the left and right edges, only one bracket can go on the outside of the wood blocks. However, there will still be enough support to hold the wood in place with brackets on the inside and one on the outside. Place the brackets with one on the outer right side of the wood blocks, one on the inner right side, and two on the inner left wide. Draw a mark with pencil where the screws will drill into the wood. Unscrew the screen from the blocks temporarily to create access for the drill and pre-drill holes into the wood using a thin drill bit. Drill the brackets in using 1/2" screws and reattach the screen.
Because the roof of the oven has hollow sections on the left and right edges, only one bracket can go on the outside of the wood blocks. However, there will still be enough support to hold the wood in place with brackets on the inside and one on the outside. Place the brackets with one on the outer right side of the wood blocks, one on the inner right side, and two on the inner left side. Draw a mark with pencil where the screws will drill into the wood. Unscrew the screen from the blocks temporarily to create access for the drill and pre-drill holes into the wood using a thin drill bit. Drill the brackets in using 1/2" screws and reattach the screen.
![Mount brackets](img/manual/Mount_brackets.jpg)
Place the entire mount on the roof of the oven and draw marks where the holes will be drilled into the roof for the brackets. The rightmost hole should be about 2 3/8" in from the top and 1 1/2" in from the right. The topmost hole should be about 2" in from the top and 3" in from the left. Drill holes through two layers of metal for the machine screws. Start with a thin bit and go up until the machine screws can be screwed into the holes. In the photos, there are only three holes because the lowest mark is above the oven's heating element, so I decided not to risk damaging the heating element with the drill. If drilled carefully, or the mount position is adjusted, it may be possible to drill all four holes safely.
Place the entire mount on the roof of the oven and draw marks where the holes will be drilled into the roof for the brackets. The rightmost hole should be about `2 3/8"` in from the top and `1 1/2"` in from the right. The topmost hole should be about `2"` in from the top and `3"` in from the left. Drill holes through two layers of metal for the machine screws. Start with a thin bit and go up until the machine screws can be screwed into the holes. In the photos, there are only three holes because the lowest mark is above the oven's heating element, so I decided not to risk damaging the heating element with the drill. If drilled carefully, or the mount position is adjusted, it may be possible to drill all four holes safely.
![Mount holes in oven roof](img/manual/Mount_holes_in_oven_roof.png)
Screw the 3/4" machine screws in through the top and tighten the nut by hand on the other end by reaching under the ceiling of the oven. The display should be securely attached with the Raspberry Pi and gamepad working.
Screw the `3/4"` machine screws in through the top and tighten the nut by hand on the other end by reaching under the ceiling of the oven. The display should be securely attached with the Raspberry Pi and gamepad working.
![Display mounted to roof](img/manual/Display_mounted_to_roof.jpg)
Gamepad shell
-------------
A piece of wood is used to create a shell for the gamepad. The suggested size 3 x 2-1/4 x 3/4" is a good portable size that fits well in people's hands. However, any size is fine. It is recommended, but optional, to use a router to carve out an inset for the circuit board and attached wires in the middle of the bottom of the wood.
A piece of wood is used to create a shell for the gamepad. The suggested size `3 x 2-1/4 x 3/4"` is a good portable size that fits well in people's hands. However, any size is fine. It is recommended, but optional, to use a router to carve out an inset for the circuit board and attached wires in the middle of the bottom of the wood.
If using a router, trace along the gamepad circuit board where the wood will be carved. In this photo, there are extra marks where the entire wood block needed to be cut. Set the router depth to 1/8" and carve out the parts inside the outline.
If using a router, trace along the gamepad circuit board where the wood will be carved. In this photo, there are extra marks where the entire wood block needed to be cut. Set the router depth to `1/8"` and carve out the parts inside the outline.
![Gamepad router outline](img/manual/Gamepad_router_outline.jpg)
Mount the circuit board to the wood by drilling 1/2" screws through the board's mount holes into the wood. If the board's holes are too small for the screws, widen the holes or drill new holes where there is no wiring.
Mount the circuit board to the wood by drilling `1/2"` screws through the board's mount holes into the wood. If the board's holes are too small for the screws, widen the holes or drill new holes where there is no wiring.
![Gamepad finished shell](img/manual/Gamepad_finished_shell.jpg)
@ -184,7 +184,7 @@ Gasket tape
Because the surface of the oven can get very hot, it is important to keep the plastic wire sheathing of the gamepad and Raspberry Pi power supply wires from touching it. The gamepad and power wires can be run down the back of the oven along gasket tape to prevent them from touching the oven surface, and screws can be drilled for guiding the wire along the back of the wood blocks.
Find a good position for the power and gamepad wires, and drill two 1/2" screws into the back of the wood blocks to hold them in position.
Find a good position for the power and gamepad wires, and drill two `1/2"` screws into the back of the wood blocks to hold them in position.
![Wire positioning screws](img/manual/Wire_screws.jpg)