User Tools

Site Tools


user:nordin:nightly_build_plans_-_pi_4b_case

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:nordin:nightly_build_plans_-_pi_4b_case [2021/02/14 21:35] – [The Job] Eduser:nordin:nightly_build_plans_-_pi_4b_case [2021/04/02 16:32] (current) Ed
Line 2: Line 2:
 ====== The Job ====== ====== 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.+I plan to bundle at Pi 4B and 5" touchscreen in a neat package for a few specific uses that tie into my hobbies. The end result will be used as a digimode radio headend for an otherwise headless ICOM 7100 radioand occasional retroPi gaming device. I planning to use <del>Kali Rolling 2020.1</del> Debian Buster (plus the hamradio metapackages) and RetroPi OSs. The case will be modelled on an old 90'scavenged serial-to-ethernet adaptor housing I have previously used with a PI 2B and the same screen. Perhaps not the best case shape, but I have grown attached to it. 
  
 {{ https://media.startech.com/cms/products/main/netrs232_4.main.jpg }} {{ https://media.startech.com/cms/products/main/netrs232_4.main.jpg }}
  
-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. + 
 +===== 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. Like all my OpenSCAD models, it's all based on primitive objects tied to variables, so I can modify the parameters to fit the hardware very easily (e.g. to fit UPS, batteries etc).
  
 {{ :user:case_v01.jpg?400 |}} {{ :user:case_v01.jpg?400 |}}
Line 12: Line 16:
 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. 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** +Install order: 
-  - Install kali-linux-2020.4-rpi4-nexmon-64.img rolling on to SD card +  - Install Kali Rolling (kali-linux-2020.4-rpi4-nexmon-64.img in this case) on to SD card, fit the [[https://www.amazon.co.uk/Resistive-Touch-Screen-Display-interface/dp/B071CKFTJH| Waveshare 5" HDMI TFT]] to the Pi
-  Hook up Pi with HDMI capture to PC + USB KB+  - 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.<code> 
-  - Install the kali-specific LCD drivers from [[https://github.com/lcdwiki/LCD-show-kali/blob/master/LCD5-show]] +hdmi_group=2 
-  - Start BT service, add BT Keyboard and mouse as trusted device and enable BT service at boot +hdmi_mode=1 
-  - Install [[https://www.waveshare.com/wiki/5inch_HDMI_LCD|Waveshare 5" Touchscreen]] and check function+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</code> 
 +  - Hook up Pi with a keyboard. Touchscreen drivers will work although [[https://www.waveshare.com/wiki/5inch_HDMI_LCD#Touch_screen_calibration| calibration]] may be needed.  
 +  Start Bt and enable on boot. <code> 
 +sudo /etc/init.d/bluetooth start 
 +sudo systemctl enable bluetooth 
 +</code> 
 +  - Add BT Keyboard & Touchpad as trusted device(s) 
 +  - Fit [[https://www.ebay.com/itm/UPS-V5-UPS-Plus-With-Remote-OTA-Firmware-Upgrade-For-Raspberry-Pi-4-B-3B-3B-/184635804446|UPS plus (EP-0136)]], [[https://www.amazon.co.uk/gp/product/B07TFSDKDV|LiPo batts]], [[https://wiki.52pi.com/index.php/UPS_Plus_SKU:_EP-0136|configure I2C for RTC and battery state]], add scripts 
 +  - Test the 18650 LiPo batts [[https://batterybro.com/blogs/18650-wholesale-battery-reviews/104619270-can-you-identify-the-fake-lg-hg2-18650-battery|are real]], then maybe against [[https://batterybro.com/blogs/18650-wholesale-battery-reviews/57179459-lg-hg2-review-20a-3000mah|their specs]], and maybe get some [[https://www.fogstar.co.uk/collections/batteries/products/fogstar-3500mah-10a|Fogstar Li-ion 18650 batts also]] to compare against. 
   - install I3 window manager   - install I3 window manager
   - Install OBCD onscreen keyboard   - Install OBCD onscreen keyboard
   - add onscreen KB helper to gdm3 window manager   - add onscreen KB helper to gdm3 window manager
-  - Fit [[https://www.ebay.com/itm/UPS-V5-UPS-Plus-With-Remote-OTA-Firmware-Upgrade-For-Raspberry-Pi-4-B-3B-3B-/184635804446|UPS plus (EP-0136)]], [[https://www.amazon.co.uk/gp/product/B07TFSDKDV|LiPo batts]], [[https://wiki.52pi.com/index.php/UPS_Plus_SKU:_EP-0136|configure I2C for RTC and battery state]], add scripts +  - Install HAM radio packages 
-  Test the 18650 LiPo batts [[https://batterybro.com/blogs/18650-wholesale-battery-reviews/104619270-can-you-identify-the-fake-lg-hg2-18650-battery|are real]], then maybe against [[https://batterybro.com/blogs/18650-wholesale-battery-reviews/57179459-lg-hg2-review-20a-3000mah|their specs]], and maybe get some [[https://www.fogstar.co.uk/collections/batteries/products/fogstar-3500mah-10a|Fogstar Li-ion 18650 batts also]] to compare against.  +    EITHER apt-get install hamradio-* or [[https://dl1gkk.com/setup-raspberry-pi-for-ham-radio/|individually]]  
-  - Install HAM radio meta-packages +
   - Add auto-mounting udev for USB storage (for radio contact logging)    - Add auto-mounting udev for USB storage (for radio contact logging) 
-  - Install OverlayFS and RO/RW switching scripts+  - Add [[https://shop.pimoroni.com/products/trackball-breakout?variant=27672765038675|I2C trackball]] ? 
 +  - Enable OverlayFS and RO/RW switching 
 + 
 +**27/03/21**\\ 
 +{{:user:nordin:20210327_121921_sm.jpg?400|}}\\ 
 +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.1613338524.txt.gz · Last modified: 2021/02/14 21:35 by Ed