Rasberry Pi: Difference between revisions
Appearance
NickPGSmith (talk | contribs) m 14 revisions imported |
NickPGSmith (talk | contribs) |
||
| Line 39: | Line 39: | ||
Note: CVBS is on sleve; Gnd is ring 3. It is enabled when no HDMI monitor is connected. | Note: CVBS is on sleve; Gnd is ring 3. It is enabled when no HDMI monitor is connected. | ||
In config.txt, set | In /boot/firmware/config.txt: | ||
enable_tvout=1 | |||
dtoverlay=vc4-kms-v3d,composite | |||
Ensure hdmi_force_hotplug=1 is commented out or set to 0. | |||
In /boot/firmware/cmdline.txt, either: | |||
vc4.tv_norm=PAL | |||
vc4.tv_norm=NTSC | |||
=== Temperature === | === Temperature === | ||
Revision as of 16:08, 29 April 2026
Device
Windows IOT
Rasberry Pi OS
See /boot/firmware/config.txt.
Command line configuration program:
raspi-config
Upgrades
apt update && sudo apt upgrade -y
Web Server
apt install apache2
- Configuration: /etc/apache2
- Serve from: /var/www/html
Change swap
dphys-swapfile swapoff
Edit /etc/dphys-swapfile, eg 1 GB:
CONF_SWAPSIZE=1024
dphys-swapfile setup dphys-swapfile swapon
Composite Video
Note: CVBS is on sleve; Gnd is ring 3. It is enabled when no HDMI monitor is connected.
In /boot/firmware/config.txt:
enable_tvout=1 dtoverlay=vc4-kms-v3d,composite
Ensure hdmi_force_hotplug=1 is commented out or set to 0.
In /boot/firmware/cmdline.txt, either:
vc4.tv_norm=PAL vc4.tv_norm=NTSC
Temperature
Divide value by 1000 to get temp in C:
- /sys/class/thermal/thermal_zone0/temp
CPU Core throttling above 80 C.