User Tools

Site Tools


user:nordin:nightly_build_plans_-_pi_4b_case

This is an old revision of the document!


Back to Ed's Nightly Builds

The Job

I plan to make a new case for my Pi 4B and 5“ touchscreen, modelled on the old scavenged housing I currently use with a PI 2B and the same screen. Perhaps not the best case shape, but I have grown attached to it. The end result will be used as a digimode radio headend for an otherwise headless ICON 7100 radio, and occasional retroPi gaming device.

netrs232_4.main.jpg

Build log

20/02/21
Starting with my trusty OpenSCAD template, I found that I was able to use combined minkowski functions to get the two types of edge bevelling needed for the look.

An incremental refining of the case will take place in the background. Meanwhile, I have taken delivery of more items related to the Pi4, namely the heatsink and UPS batteries. I had bricked the OS whilst attempting to install the touch-screen drivers, so I diverted to reinstalling the same OS with the updated TS drivers for Kali, getting me ready to start on the I2C UPS comms for battery state tracking. Once I know this works, I can incorporate the UPS and battery space in the case design.

Install order:

  1. Install Kali Rolling (kali-linux-2020.4-rpi4-nexmon-64.img in this case) on to SD card, fit the Waveshare 5" HDMI TFT to the Pi.
  2. Add the following to the default config.txt to enable the Waveshare 5” HDMI full screen area and touch panel drivers from the get go.
    hdmi_group=2
    hdmi_mode=1
    hdmi_mode=87
    hdmi_cvt 800 480 60 6 0 0 0
    dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=129,xmax=3976,ymin=207,ymax=3975
    hdmi_drive=1
    hdmi_force_hotplug=1
  3. Hook up Pi with a keyboard. Touchscreen drivers will work although calibration may be needed.
  4. Start Bt and enable on boot.
    sudo /etc/init.d/bluetooth start
    sudo systemctl enable bluetooth
  5. Add BT Keyboard & Touchpad as trusted device(s)
  6. Test the 18650 LiPo batts are real, then maybe against their specs, and maybe get some Fogstar Li-ion 18650 batts also to compare against.
  7. install I3 window manager
  8. Install OBCD onscreen keyboard
  9. add onscreen KB helper to gdm3 window manager
  10. Install HAM radio meta-packages
  11. Add auto-mounting udev for USB storage (for radio contact logging)
  12. Install OverlayFS and RO/RW switching scripts

27/03/21

The hardware has been assembled and python scripts ran to check the hardware heat dissipation and stability. Everything is in the green. I plan to finish the case design for test printing next.

user/nordin/nightly_build_plans_-_pi_4b_case.1616862935.txt.gz · Last modified: 2021/03/27 16:35 by Ed