Raspberry Pi: Difference between revisions
From wikiluntti
No edit summary |
|||
Line 2: | Line 2: | ||
=== Raspistill === | === Raspistill === | ||
<syntaxhighlight lang="python"> | |||
raspistill -w 2592 -h 1944 -o name.jpg | |||
</syntaxhighlight> | |||
Take a photo and send it to an external server: | |||
<syntaxhighlight lang="python"> | |||
</syntaxhighlight> | |||
=== Crontab === | === Crontab === |
Revision as of 09:47, 7 March 2021
Simple things used in every Project
Raspistill
raspistill -w 2592 -h 1944 -o name.jpg
Take a photo and send it to an external server:
Crontab
Sshpass
Server side
Project Ideas
Bluetooth LE & Polar Heart Beat Monitor
Bluetooth
Erase the SD card
Use camera to format the SD card, or see https://www.raspberrypi.org/forums/viewtopic.php?t=204167 .
Bluetooth on Raspi 3
sudo apt update
sudo apt upgrade
sudo apt-get install python-bluez
#sudo apt install bluetooth pi-bluetooth bluez blueman
sudo nano /etc/systemd/system/dbus-org.bluez.service
. Modify ExecStart=/usr/lib/bluetooth/bluetoothd –C
sudo sdptool add SP
sudo reboot
sudo apt-get install bluetooth bluez libbluetooth-dev
sudo python3 -m pip install pybluez