Skip to content

Raspberry Pi Projects

Espacio para proyectos basados en raspberries.

La configuracion general de un RPi está en Raspberry Pi.

CNCs basados en control directo por Raspberry Pi

GPIO directio a los stepper drivers

pigpio note

At the moment pigpio on the Pi4B is experimental. I am not sure if the DMA channels being used are safe. The Pi4B defaults are primary channel 7, secondary channel 6. If these channels do not work you will have to experiment. You can set the channels used by the pigpio daemon by invoking it with the -d and -e options, e.g. sudo pigpiod -d 5 -e 8 to specify primary 5, secondary 8.

Cameras

Raspberry Pi camera tips and setup.

To list cameras:

rpicam-hello --list-cameras

Will output the following for the Pi HQ camera:

Available cameras
-----------------
0 : imx477 [4056x3040 12-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx477@1a)
    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]
           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]
                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]
                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]

Streaming

On the pi:

rpicam-vid -t 0 --inline --listen -o tcp://0.0.0.0:8554

Then open a newtork stream with VLC using the following URL pattern:

tcp/h264://192.168.43.132:8554

The h264 part is important.