Raspberry Pi: Difference between revisions
Line 27: | Line 27: | ||
=== Enable ssh === | === Enable ssh === | ||
On another computer, mount the Raspian boot SD card, navigate to the boot folder <code>cd /Volumes/boot</code>, create a blank file called ''ssh'' <code>touch ssh</code>. That's all. | |||
More details at https://phoenixnap.com/kb/enable-ssh-raspberry-pi | |||
== Project Ideas == | == Project Ideas == |
Revision as of 13:23, 20 August 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 Template:GithubDownload
<script src="https://emgithub.com/embed.js?target=https%3A%2F%2Fgithub.com%2Fpytorch%2Fpytorch%2Fblob%2Fmaster%2Ftorch%2Fnn%2Fcpp.py&style=github&showBorder=on&showLineNumbers=on&showFileMeta=on"></script>
Crontab
Sshpass
Server side
Finding the IP address
The SSH is disable by default after 2016. Below is show how to enable without using keyboard.
Use nmap -F 192.168.8.1-254
to fast scan all devices in the local network. The default passwords are listed at Raspberry pi default login-password.
Try ping raspberrypi.local
.
Enable ssh
On another computer, mount the Raspian boot SD card, navigate to the boot folder cd /Volumes/boot
, create a blank file called ssh touch ssh
. That's all.
More details at https://phoenixnap.com/kb/enable-ssh-raspberry-pi
Project Ideas
- Bluetooth LE & Polar Heart Beat Monitor
- Camera piano
- Controlling CD Drive motor
- Info TV/ Dashboad
- Microscope and photo stacking
- Online thermometer with local backup
- Sound spectrum
Peripherals
- Analog sensors https://www.rototron.info/raspberry-pi-analog-water-sensor-tutorial/
- Camera
- Dissolved oxygen meter https://www.instructables.com/Plotly-Atlas-Scientific-Graph-Real-Time-Dissolved-/ https://elexhub.com/product/gravity-analog-dissolved-oxygen-sensor-meter-kit/ https://how2electronics.com/dissolved-oxygen-sensor-arduino-interfacing-tutorial/ https://atlas-scientific.com/circuits/ezo-dissolved-oxygen-circuit/# https://atlas-scientific.com/probes/dissolved-oxygen-probe/
- Laptop Keyboard: https://raspberrypi.stackexchange.com/questions/5007/using-an-old-laptop-keyboard-with-raspberry-pi https://www.youtube.com/watch?v=AKWheG8wKxM
- Temperature, pH
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