-
Adding Java OpenJDK 17 to Raspberry Pi Raspbian
This solution is for 32 and 64 bit Linux operating system: browse to adoptium.net click Other Platforms set Operating System to Linux set Architecture to arm32 for 32 bit Linux or aarch64 for 64 bit Linux set Package Type to JDK set Version to 17 (or later) click the download .tar.gz button (doesn’t say download…has…
-
Launch and Run Java Programs on the Raspberry Pi Without a Persistent Command Window
Desktop shortcut file contents (Example: Launch Program.desktop) should look similar to the following: [Desktop Entry]Name=Launch ProgramComment=Launch programIcon=icon.pngExec=bash “/srv/Examples/Linux/Scripts/Launch Program.sh”Type=ApplicationEncoding=UTF-8Terminal=trueCategories=None; Launch program script executed by desktop shortcut should look similar to the following: # Launch Programnohup java -jar “/srv/Examples/Program.jar” & # Sleep for 3 seconds to ensure program has time to launch.# If this is not…
-
Raspberry Pi Zero Serial Port
Overview The Raspberry Pi has two serial ports; one is very robust (the PL011) and the other is less powerful (the mini-UART). On the older Pis, the PL011 was used to drive the console and was freely available for other uses by disconnecting the console from the UART. On the Pis with wireless/Bluetooth modules (such…
-
Common Commands & Functions for Rasperry Pi
Pi Related get configuration setting for maximum CPU frequency: vcgencmd get_config arm_freq get actual current CPU frequency (will vary based on processing load): cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq Maximum CPU frequency: cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq Minimum CPU frequency: cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq Current CPU frequency (will vary based on processing load): cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq get CPU temperature: Script to Display Various Status Info…
-
Streaming the Raspberry Pi Camera
Using UV4L for Streaming User space Video4Linux (UV4L) is a set of tools and drivers which can be installed on Linux machines to provide various media capabilities such as video streaming. Follow the instructions on this page to install UV4L: Official UV4L Installation Page Be sure to follow the instructions for your particular distribution flavor,…
-
Setting Up the Pi Zero
To prepare the Pi for use with a 5″ HDMI display and the ability to connect via SSH on a USB connection, flash the latest Raspbian to an SD card and then use Windows to make the following edits on the card: SSH over USB Settings Add the following line to the bottom of /boot/config.txt…
-
Small HDMI LCD Displays for the Raspberry Pi
Adding a small display to your Raspberry Pi is a great addition. You can sit in a coffee shop and access the Pi with a wireless keyboard and mouse without needing a large monitor. The Adafruit 5″ 800×480 TFT HDMI Backpack without Touchscreen costs $59.95 as of 10/21/2017. This gizmo plugs into the Pi’s HDMI…
-
Raspberry Pi 3 Overheating
It has been noted that the Raspberry Pi 3 is prone to overheating, at which point it will freeze operation. The manufacturer claims that this only happens during extreme usage, such as high GPU processing. Here at SDR, we have found that running any Java program with continuous GUI operation, however minimal, results in overheating.…