Raspberry PI I2C and SPI
I2C
"scripts": { "preinstall": "bash deps.sh", "start": "modprobe i2c-dev && node app.js" } CMD modprobe i2c-dev && python /app/demo.py
SPI
dtparam=spi=on
Raspberry PI I2C and SPI
I2C
"scripts": { "preinstall": "bash deps.sh", "start": "modprobe i2c-dev && node app.js" } CMD modprobe i2c-dev && python /app/demo.py
SPI
dtparam=spi=on
Raspberry PI 3 bluetooth, serial & UART settings
The BCM2837 on the Raspberry Pi3 has 2 UARTs (as did its predecessors), however to support the Bluetooth functionality the fully featured PL011 UART was moved from the header pins to the Bluetooth chip and the mini UART made available on header pins 8 & 10.
specifically
To enable the mini UART an entry should be added to config.txt
as follows:
enable_uart=1
There is actually very little difference between the CPUs on a PI B rev 2 and on a PI ZERO
PI B rev 2
root@9a98b74:~# cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2835 Revision : 000d Serial : 000000007175d124 Model : Raspberry Pi Model B Rev 2
PI ZERO
root@743af1a:~# cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 997.08 Features : half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xb76 CPU revision : 7 Hardware : BCM2835 Revision : 9000c1 Serial : 000000006597f274 Model : Raspberry Pi Zero W Rev 1.1
raspberry pi and webbluetooth
heres a great raspberry pi balena starter project that only needs ONE led and ONE resistor
Raspberry Pi docker
Raspberry Pi 2 & 3 booting from USB
opensuse for aarch64 / arm
elinux
raspberry pi iot tips & tricks from @sensoriot
raspberry pi @linuxformat @bigles projects
raspberry pi wifi config with iwlist and wpa_cli and wpa-supplicant
raspberry pi dietpi gnu/linux distro