Rasberry Pi: Difference between revisions
Jump to navigation
Jump to search
NickPGSmith (talk | contribs) (Created page with "== Device == * [https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-3-model-b Rasberry Pi 3B] == Windows IOT == * [https://devblogs.microsoft.com/premier-developer/getting-started-with-windows-10-iot-core-raspberry-pi-3b/ Blog] == Rasberry Pi PO ==") |
NickPGSmith (talk | contribs) m (14 revisions imported) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* [https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-3-model-b Rasberry Pi 3B] | * [https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-3-model-b Rasberry Pi 3B] | ||
* [https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio-and-the-40-pin-header GPIO] | |||
== Windows IOT == | == Windows IOT == | ||
Line 7: | Line 8: | ||
* [https://devblogs.microsoft.com/premier-developer/getting-started-with-windows-10-iot-core-raspberry-pi-3b/ Blog] | * [https://devblogs.microsoft.com/premier-developer/getting-started-with-windows-10-iot-core-raspberry-pi-3b/ Blog] | ||
== Rasberry Pi | == Rasberry Pi OS == | ||
See [https://www.raspberrypi.com/documentation/computers/config_txt.html /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 config.txt, set for PAL (UK): | |||
* sdtv_mode=2 | |||
=== Temperature === | |||
Divide value by 1000 to get temp in C: | |||
* /sys/class/thermal/thermal_zone0/temp | |||
CPU Core throttling above 80 C. |
Latest revision as of 04:53, 8 May 2024
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 config.txt, set for PAL (UK):
- sdtv_mode=2
Temperature
Divide value by 1000 to get temp in C:
- /sys/class/thermal/thermal_zone0/temp
CPU Core throttling above 80 C.