From the Loftsmith Workshop
ESP32 CYD desk seismograph case and MPU6050 sensor pad
Turns an ESP32 CYD board into a little desk seismograph that sits at a comfortable tilt. The screen shows through a window in the front, and a round pad with two screw tabs holds the MPU6050 sensor on its own. Change the tilt or the board clearance to suit your build.
4 parts · 160 g · 251 × 153 × 75 mm
They show up here as sliders as soon as the model is built.
How to print it
Parts
- console · PLA (dark grey) · Upright on its flat base, as shown
93.8 x 96.8 x 75.2 mm, about 90 g and 128 min at 2 walls / 15% infill. No supports: the slot is open at the top, the window edges are bevelled and the lead tunnel is a teardrop. PLA is fine for a stiff indoor desk part powered over USB.
- cap · PLA (orange accent) · Lying on its flat front face (the slicer orientation is set in the file)
87.8 x 14.4 x 14.6 mm, about 8 g and 16 min. Printed this way, the two 1.6 mm snap fingers bend along the layers rather than across them.
- pad · PLA (dark grey) · Upright on its flat base
156.0 x 108.2 x 19.4 mm at the default 140 mm screw spacing, about 47 g and 66 min. Contains the breakout pocket, S-shaped lead channel, four 26.5 mm weight wells and three heat-set insert bosses.
- pad-lid · PLA (orange accent) · Flat, engraved trace facing up
92.9 x 95.5 x 3.0 mm, about 16 g and 25 min. A tongue on its edge closes the gate where the lead leaves the rim.
Print settings
- Layer height
- 0.2 mm
- Walls
- 2
- Infill
- 15%
- Supports
- None
- Notes
- At the defaults (2 walls, 15% infill) all four parts take about 164 g of PLA and about 4 h 1 min. The console is the longest part at about 128 min. With 3 walls and 15% infill it is about 206 g and 5 h 3 min, and a heavier console resists sliding better. Print the console and pad in dark grey and th
Hardware
- ESP32 Cheap Yellow Display, 2.8 in (ESP32-2432S028), 86 x 50 mm board · Not printed. The 3.5 in boards do not fit this case.
- MPU6050 breakout (GY-521, about 21 x 16 mm) or a similar accelerometer board up to 28 x 22 mm · Set the Sensor board length and width sliders to your board.
- 2 × M2.5 x 6 mm self-tapping screws · Fix the breakout to the pocket floor through its two mounting holes, so it moves with the pad.
- 3 × M3 heat-set inserts · Pressed into the pad's bosses.
- 3 × M3 x 8 mm countersunk screws · Hold the pad lid on.
- 2 × Countersunk wood screws, about 4 mm · Optional, for screwing the pad to a floor or shelf through its ears.
- 4 × Stick-on rubber feet, 8-10 mm · Under the corners of the console; the skid check assumes them.
- 4-core lead up to 4 mm across, with a 4-pin JST 1.25 plug at the board end · From the sensor to the CYD's 4-pin connector.
- Coins up to 26 mm across, or steel shot · To fill the four weight wells. Fills of about 69-169 g are expected, depending on the Weight well depth slider.
- USB-C cable · 5 V USB power only.
Assembly
- Press the three M3 heat-set inserts into the bosses in the pad.
- Solder a 4-core lead (up to 4 mm across) to the breakout's VCC, GND, SCL and SDA pads. Screw the breakout into its pocket with two M2.5 x 6 mm screws, pins toward the lead channel.
- Press the lead into the S-shaped channel and out through the gate in the rim.
- Fill the four wells with coins (up to 26 mm) or steel shot. Fit the lid with its tongue in the rim gate and fix it with three M3 x 8 mm countersunk screws.
- Feed the JST end of the lead through the 8 mm tunnel at the back of the console into the board cavity, and plug it into the CYD's 4-pin connector.
- Drop the CYD into the slot from the top, screen facing out and the USB end toward the side slot. It slides down and rests on three corner pads behind it.
- Press the orange cap into the top of the slot until both ends click. To remove it, lift its back edge at the fingertip notch.
- Stick four rubber feet under the console's corners and plug USB-C in through the side slot.
- Put the pad on a solid floor or shelf away from the desk. Screw it down through its ears if you want it fixed.
Good to know
- An MPU6050 on a desk or floor picks up felt shaking and nearby vibration, not distant earthquakes. This is a display and hobby project, not a warning or safety device.
- The 86 x 50 mm board size is sourced. The other board sizes are estimates: 5 mm for the screen above the board, 8 mm for parts on the back, and a USB connector near the middle of the short edge. Check your board before printing; boards with tall pin headers soldered on the back may not fit.
- The screen window position is an estimate. Hold your board against the printed case, or measure it, and correct it with the Screen window offset slider. If the USB is at the other end, use the USB end choice.
- Only the 2.8 in CYD is supported; 3.5 in boards are a different size.
- The tilt goes from 20 to 35 degrees. Below 20 degrees the case would tip or slide under a firm press without extra weight.
- The stability numbers assume rubber feet under the console and a print about a quarter solid. Without feet the case can slide on a smooth desk when you press the screen.
- The snap cap and the lead channel's grip are geometry checks only; their holding force has not been tested.
- The breakout's screw holes are placed 2.75 mm in from the corners on the edge opposite the pins. Check this against your board.
- At screw spacings above 164 mm the pad is too wide for a 180 mm bed; it still fits a 256 mm bed.
- Use 5 V USB power only.
Comments