Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
raspberry:videolooper [2021/05/31 16:42] admin [Software] |
raspberry:videolooper [2021/06/07 17:17] admin [all in one USB cable] |
||
---|---|---|---|
Line 27: | Line 27: | ||
=== Autostart === | === Autostart === | ||
+ | |||
To create the autostart open: | To create the autostart open: | ||
$ sudo nano / | $ sudo nano / | ||
Line 43: | Line 44: | ||
# start LEDs blinking | # start LEDs blinking | ||
printf "start to blink an LED on GPIO 27\n" | printf "start to blink an LED on GPIO 27\n" | ||
- | /home/pi/paper-duino-pi/ | + | /home/pi/python/ |
+ | e.g.: | ||
+ | $ wget http:// | ||
+ | $ tar xf blink_02.py.tar | ||
+ | $ sudo chown root:root blink_02.py | ||
+ | $ sudo chmod 755 blink_02.py | ||
And to start the omxplayer add that: | And to start the omxplayer add that: | ||
Line 50: | Line 56: | ||
omxplayer / | omxplayer / | ||
- | The video has to be an mp4 (H264) format\\ | ||
To run the omxplayer in the background one has to add the "&" | To run the omxplayer in the background one has to add the "&" | ||
+ | Copy the video to / | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | ==== all in one USB cable ==== | ||
+ | |||
+ | {{: | ||
+ | USB On-The-Go (OTG) for Zero\\ | ||
+ | |||
+ | To power and simultaneously connect an USB hub to the Raspberry Pi Zero with just a single USB cable one needs an [[https:// | ||
+ | An other possibility would be to solder a wire between the USB sense pin P40 (of USB J10) and the ground pin P6 on the Raspberry Pi. That way every USB cable on the USB socket J10 (not "Power In") act like an OTG cable.\\ | ||
+ | {{: | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ==== SSH over USB==== | ||
+ | |||
+ | [[raspberry: | ||
---- | ---- |