[Howto] solve Raspberry Pi + YouTube “if playback doesn’t begin shortly, try restarting your device”

posted in: computer | 0

reason:pulseaudio is broken and blocks video playback temporary solution:restart pulseaudio with pulseaudio -k and retry video playback. it should play. permanent solution:1) install pipewire-pulse2) enable and start pipewire with systemctl –user start pipewire-pulse.service pipewire-pulse.socket and systemctl –user enable pipewire-pulse.service pipewire-pulse.socket3) … Continued

[Facts] Raspberry Pi + I²C + MCP23017: digital output toggle timespan (Bash, Python, C)

posted in: computer, electronics | 0

purpose: measuring the timespan between rising/falling-edge (=off/on/off-change) of a digital-output-bank (GPA0…GPA7) testing equipment: -Raspberry Pi 3 Modell B-I2C-adress of MCP23017-chip = 0x20-MCP23017 register-adress of 8 digital-outputs: 0x14-Owon SDS7102 digital ocsilloscope conclusion: I²C-baudrate bash Python C 100.000 5,18 ms @ 75 … Continued

[Howto] use GPIO from Raspberry Pi

posted in: computer | 0

the Linux-Kernel manages the GPIO-system under the path /sys/class/gpio. Use the following commands to manage the pins (e.g. GPIO 17):   activate GPIO 17: echo 17 > /sys/class/gpio/export deactivate GPIO 17: echo 17 > /sys/class/gpio/unexport   configure GPIO 17 as … Continued