Frame, Case, Cable
March 1, 2022 ยท View on GitHub
For a more polished look that's display ready, check out the Frame, Lasercut Case and cable build below.

Frame
FrameLabs produces an excellent frame that can easily be used with the 6". 9.7" and 13.3" WaveShare IT8951 compatible panels. The quality of the frames is excellent and there is plenty of space for mounting driver boards and routing cables. Contact info@framelabs.eu for more information.
See below for some tips for mounting a panel inside of a FrameLabs frame.
| <img src=./images/frame_completed.jpg alt="Completed Frame" width=600/> Completed Frame |
| <img src=./images/frame_board_cutout.jpg alt="PLA Mounting Board" width=600/> PLA Mounting Board |
| Use PLA board or something similar to provide a mount for the IT8951 Driver Board. |
| <img src=./images/frame_board_mounted.jpg alt="IT8951 mounted to frame" width=600/> IT8951 mounted to frame |
| Mount the frame to the top right corner of the frame. Use M3 bolts to secure the PCB to the PLA board and secure the PLA board to the frame. |
| <img src=./images/frame_mounting_tape.jpg alt="Panel secured to matboard" width=600/> Panel secured to matboard |
| Secure the e-paper panel to the matboard using packing tape or something similar. Secure the flexible PCB to the back of the panel using kapton tape or something similar. |
| <img src=./images/frame_backing_board.jpg alt="Backing board" width=600/> Backing Board |
| Cut the backing board as needed to accommodate the PLA mount. |
| <img src=./images/frame_spacer_cutout.jpg alt="frame spacer" width=600/> Frame Spacer |
| Some of the foam will need to be removed from the spacer to accommodate the PLA mount. Use a hobby knife to remove as much as needed. |
Carefully clean the glass and assemble the frame using the included magnet tape as per the instructions provided by FrameLabs.
Case
This laser cut case works with a Pi4 and a HiFi Berry DAC+ HAT. The opening in the front allows room for plugging in a 40 pin header cable.
The included SVG file is made for 4mm multi-plex (plywood). If your plywood is thicker or thinner, a new SVG can be generated with OpenSCAD by adjusting the material value.

Cable
<img src=./images/Finshed_Cable.jpg alt="Completed Cable" width=300/>
Before connecting a WaveShare HAT with the JST cable, it is a good idea to check the WaveShare Wiki to verify the pinouts. An incorrectly built cable is a great way to let the magic blue smoke out of your hardware.
The included JST to Dupont cable is quite short. Cables up to 40 cm have been tested and work properly with both the IT8951 and Non-HD panels. To build your own cable you will need:
- 1x JST 2.0 mm pitch PHR-8 Female Connector
- 8x JST BPH-002T-P0.5S Crimp contact
- buy some extra, crimping is difficult
- 1x Molex Female 2.54 mm pitch 2x20 Connector or 2x Molex Female 2.54 mm pitch 2x10 Connector
- 8x Molex Crimp Terminal Contact
- buy some extra, crimping is difficult
- 8x 1 meter 20-24 AWG wire
- Crimper
- buy a good set like these. The other, cheaper, "automatic" crimpers have terrible dies and destroy crimp ends just to make you cry.
- 1 meter Braided Cable Sheath (optional)
- Tape (optional)
- Thin string (optional)
- Wire coat hanger or stiff wire (optional)
- Heat shrink tubing (optional)
Construction
| Completed Cable | JST End | Molex End |
|---|---|---|
| <img src=./images/Finshed_Cable.jpg alt="Completed Cable" width=200/> | <img src=./images/JST_end.jpg alt="JST End" width=200/> | <img src=./images/Molex_end.jpg alt="Molex End" width=200/> |
- Cut the wire to length.
- Hookup wires up to 40cm have been tested and work properly with both the HD and Non-HD panels.
- Cut the braided cable sheath to a length approximately equal to your wires
- Cut two lengths of heat shrink tubing approximately 2cm in length
- Push the two lengths heat shrink tubing onto the braided cable sheath
- The heat shrink tube will help prevent the braid from coming apart as you work
- Bundle one end of the the wires together with a piece of masking tape. Add a piece of string to the bundle.
- The string will assist in pulling the wire bundle through the
- Push the coat hanger through the tubing and attach the string to the end
- Use the string to pull the wire bundle through the sheath
- Strip the ends and crimp on the JST and Molex connectors.
- See this (excellent short video)[https://www.youtube.com/watch?v=XvdePo12vIM]
- Slide the JST and Molex connectors into the housings
- See the pinouts below for HD and Non HD panels
- Use scissors to trim excess braided sheath
- Make sure there is enough slack that the cable sheath does not pull too tightly on the wires and connectors
- Slide the heat shrink tube over the end of the sheath and shrink in place
IT8951 HD Panel
This applies to the WaveShare HD panels such as: 6inch HD, 7.5inch HD, 9.7inch HD, 13.3inch JST header to 40 pin GPIO header pinout for Raspberry Pi
| FUNCTION | +5V | GND | MISO | MOSI | SCK | CS | RST | HRDY |
|---|---|---|---|---|---|---|---|---|
| COLOR | RED | BLACK | BLUE | YELLOW | ORANGE | GREEN | WHITE | PURPLE |
| PI GPIO | +5V | GND | SPI0 MISO | SPI0 MOSI | SPI0 SCLK | SPI0 CE0 | GPIO 17 | GPIO 24 |
| Physical GPIO Header Pin | 2 | 6 | 21 | 19 | 23 | 24 | 11 | 18 |
Non HD SPI Panels
This applies to the WaveShare non-hd panels such as: 2.7inch, 5.83inch, 7.5inch JST header to 40 pin GPIO header pinout for Raspberry Pi
| FUNCTION | +3.3V | GND | DIN | CLK | CS | DC | RST | BUSY |
|---|---|---|---|---|---|---|---|---|
| COLOR | RED | BLACK | BLUE | YELLOW | ORANGE | GREEN | WHITE | PURPLE |
| PI GPIO | +3.3 | GND | SPI0 MOSI | SPI0 SCLK | SPI0 CE0 | GPIO 25 | GPIO 17 | GPIO 24 |
| Physical GPIO Header Pin | 1 | 6 | 19 | 23 | 24 | 22 | 11 | 18 |