ad
========================================
======================================== WIN 10 SETUP!
========================================
====================
=== Win32 Disk Imager
====================
— for .img files
— be save – always eject device
https://win32diskimager.download/
https://sourceforge.net/projects/win32diskimager/
====================
=== RASPBERRY PI IMAGER
====================
— for .xz files
https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/
— be safe – always eject device
========================================
======================================== PI SETUP!
========================================
https://www.raspberrypi.org/blog/buster-the-new-version-of-raspbian/
====================
=== PREREQUISITE
====================
— Update Pi
—
sudo nano /etc/apt/sources.list
–
sudo apt-get update
sudo apt-get upgrade
====================
=== PYTHON SETUP
====================
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi
–Update Pi and Python
sudo pip3 install –upgrade setuptools
–If above doesn’t work try
sudo apt-get install python3-pip
–Set your Python install to Python 3 Default
sudo apt-get install -y python3 git python3-pip
sudo update-alternatives –install /usr/bin/python python $(which python2) 1
sudo update-alternatives –install /usr/bin/python python $(which python3) 2
sudo update-alternatives –config python
–Python ide
sudo apt install idle3
====================
=== INSTALL ADAFRUIT CircuitPython
====================
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/overview
pip3 install adafruit-blinka
====================
=== INTERFACE SETTINGS
====================
— Raspberry Pi Config GUI
— Interfaces
— enable SSH
— enable VNC
— enable SPI
— enable I2C
====================
==== INSTALL BLUETOOTH — blueman and dev
====================
— BT libs and stuff (run separately)
sudo apt install bluetooth pi-bluetooth bluez blueman
sudo apt-get install libbluetooth-dev
sudo python3 -m pip install pybluez
http://people.csail.mit.edu/albert/bluez-intro/index.html
https://pimylifeup.com/raspberry-pi-bluetooth/
http://www.uugear.com/portfolio/bluetooth-communication-between-raspberry-pi-and-arduino/
https://learn.sparkfun.com/tutorials/bluetooth-basics/all
https://www.silabs.com/community/wireless/bluetooth/knowledge-base.entry.html/2015/08/06/_reference_ble_mas-gviy
https://www.bluetooth.com/blog/
https://gist.github.com/keithweaver/3d5dbf38074cee4250c7d9807510c7c3
https://www.programcreek.com/python/example/18698/bluetooth.discover_devices
https://rwisman.pages.iu.edu/c490/html/pythonandbluetooth.htm
https://pythontic.com/modules/socket/listen
https://www.tutorialspoint.com/python/time_clock.htm
https://www.instructables.com/id/Get-Started-With-Raspberry-PI-GUI/
====================
==== GPIO — Install Python libraries
====================
pip3 install RPI.GPIO
https://bloggerbrothers.files.wordpress.com/2017/01/rp2_pinout.png
https://pinout.xyz/
https://www.seeedstudio.com/blog/2020/02/19/how-to-use-raspberry-pi-gpio-pins-python-tutorial/
https://aytacgenc.files.wordpress.com/2016/06/raspberry.png
========================================
========================================
====================
==== GPS (Adafruit Ultimate GPS)
====================
https://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi/introduction
https://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi/further-resources
https://gpsd.gitlab.io/gpsd/client-howto.html#_what_gpsd_does_and_what_it_cannot_do
https://gpsd.gitlab.io/gpsd/client-howto.html#_the_sockets_interface
https://github.com/adafruit/Adafruit_CircuitPython_GPS
–Installing a GPS Daemon (gpsd)
sudo apt-get install gpsd gpsd-clients
–disable a systemd service that gpsd installs and that messes with manual interaction (our routines)
sudo systemctl stop gpsd.socket
sudo systemctl disable gpsd.socket
–Run gpsd manually
sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock
cgps -s
–Kill it
sudo killall gpsd
–To programmatically access gpsd
pip3 install gps
—
http://aprs.gids.nl/nmea/
https://www.gpsworld.com/what-exactly-is-gps-nmea-data/
https://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi?view=all
https://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi/further-resources
https://learn.adafruit.com/adafruit-ultimate-gps/direct-computer-wiring
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi
https://github.com/adafruit/circuitpython/releases
https://github.com/adafruit/Adafruit_CircuitPython_Bundle
https://www.bing.com/search?q=hciconfig+linux&qs=AS&pq=hciconfig&sk=AS5&sc=8-9&cvid=45D5462DAF824CC78F35E27130A18D4D&FORM=QBRE&sp=6
https://thispointer.com/how-to-append-text-or-lines-to-a-file-in-python/
https://www.instructables.com/id/Get-Started-With-Raspberry-PI-GUI/
https://projects.raspberrypi.org/en/projects/getting-started-with-guis/3
https://www.instructables.com/id/How-to-connect-the-DeLorme-Earthmate-GPS-LT-20-to-/
https://technogog.com/review/delorme-earthmate-gps-lt-20-usb-gps-receiver-wstreet-atlas-usa-2008-software/
https://gordonlesti.com/use-tkinter-without-mainloop/
https://gpsd.gitlab.io/gpsd/index.html
https://docs.fileformat.com/gis/gpx/
https://www.google.com/earth/outreach/learn/importing-global-positioning-systems-gps-data-in-google-earth/
https://pythonpedia.com/en/tutorial/5744/python-serial-communication-pyserial-
https://opensource.com/article/20/5/usb-port-raspberry-pi-python
https://github.com/adafruit/Adafruit_CircuitPython_GPS
https://www.filedesc.com/en/file/nmea
https://www.linux-magazine.com/Issues/2018/210/Tutorial-gpsd
====
hciconfig
hcitool scan
bluetoothctl
scan on/off
info xx:–
====================
== SETUP BLUETOOTH PAIRING
====================
sudo bluez-simple-agent hci# xx:xx:xx:xx:xx:xx (address of Bluetooth module)
== SETUP RFCOMM
sudo nano /etc/bluetooth/rfcomm.conf
==Append the following lines to the file:
rfcomm1 {
bind yes;
device xx:xx:xx:xx:xx:xx;
channel 1;
comment “Connection to Bluetooth serial module”;
==
sudo rfcomm bind all
========================================
========================================
====================
====MIC TO .WAV
====================
https://pimylifeup.com/raspberrypi-microphone/
https://www.raspberrypi.org/documentation/configuration/audio-config.md
https://www.raspberrypi-spy.co.uk/2019/06/using-a-usb-audio-device-with-the-raspberry-pi/
raspberry pi audio configure gui tool
http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/
http://www.rpilab.net/resources/audacity/
========================================
========================================
====================
==== desktop shortcut
====================
https://www.geeks3d.com/20191122/how-to-create-a-shortcut-on-the-raspbian-desktop/
https://www.raspberrypi.org/forums/viewtopic.php?p=1516491
========================================
========================================
====================
====TRS vs TRRS connectors
====================
https://www.bing.com/images/search?view=detailV2&ccid=S1ifbyp5&id=45A94A97FA1F4E97668DC96F1BB548CBD7925229&thid=OIP.S1ifbyp5U5BHYDPfZg-VsAHaDg&mediaurl=https%3a%2f%2flinustechtips.com%2fmain%2fuploads%2fmonthly_11_2015%2fpost-243744-0-04400700-1448827303.png&exph=289&expw=611&q=3+pole+vs+4+pole+connector&simid=608045409349208173&ck=4961EF4055815BB9596180FD1BB8E496&selectedIndex=14&FORM=IRPRST&ajaxhist=0
========================================
========================================
====================
==== WEB CAM
====================
— Most surveillance camera systems use Real Time Streaming Protocol (RTSP) to communicate with streaming media players
— v4l2 — Video4Linux version 2
— MMAL — Multimedia Abstraction Layer is a C library designed by Broadcom for use with the Videocore IV GPU found on the Raspberry Pi.
====================
— single – motion
https://pimylifeup.com/raspberry-pi-webcam-server/
https://motion-project.github.io/index.html
https://motion-project.github.io/motion_config.html
https://www.techradar.com/how-to/computing/how-to-build-a-raspberry-pi-security-camera-1321441
— single – motioneyeos
https://dronebotworkshop.com/motioneyeos-raspberry-pi/
https://github.com/ccrisan/motioneyeos/wiki/Supported-Devices
https://github.com/ccrisan/motioneyeos/wiki/Configuration
https://www.arrow.com/en/research-and-events/articles/motioneyeos-camera-setup-on-raspberry-pi-zero-w (it’s wpa_supplicant.conf)
https://www.open-electronics.org/cctv-with-raspberry-pi-and-motioneye/
— hub – motioneyeos
— to add standalone motion RPi to motioneyeos – use simple MJPEG camera with the streaming address
— usually something like http://192.168.0.55:8081
— no username or password
— Network Camera needs to have a camera that will output video using one of these formats: RTSP, MJPEG or JPEG URL
—
— create image on msd card and then create file wpa_supplicant.conf for wifi connections
— using the following lines — DON’T forget to change ssid & psk to your setup
country=US
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid=”CenturyLink0621″
psk=”your network’s password”
}
— don’t forget to eject
https://randomnerdtutorials.com/cctv-raspberry-pi-based-system-storage-motioneyeos/
https://gndtovcc.home.blog/2020/04/15/cctv-raspberry-pi-based-system-with-storage-using-motioneyeos/
https://github.com/ccrisan/motioneyeos/releases
====================
— OpenCV
https://www.pyimagesearch.com/2015/06/01/home-surveillance-and-motion-detection-with-the-raspberry-pi-python-and-opencv/
https://www.open-electronics.org/home-automation-with-opencv-4/
====================
https://learncctv.com/advantages-of-ip-cameras/
https://learncctv.com/hd-tvi-hd-cvi-ahd-comparison-best-explained/
https://reolink.com/connect-raspberry-pi-to-ip-cameras/
https://reolink.com/can-security-cameras-work-without-internet/
https://hackaday.io/project/174479-raspberry-pi-0-hq-usb-webcam
https://webcam.io/support/raspberry-pi-network-camera/
https://elinux.org/RPi_USB_Webcams
https://www.tomshardware.com/how-to/use-raspberry-pi-as-pc-webcam
https://piwebcam.github.io/
https://www.raspberrypi.org/documentation/usage/webcams/
https://howchoo.com/pi/raspberry-pi-security-camera-motioneyeos
https://www.instructables.com/id/How-to-Make-Raspberry-Pi-Webcam-Server-and-Stream-/
https://www.instructables.com/id/Raspberry-Pi-remote-webcam/
https://github.com/ccrisan/thingos/wiki
========================================
========================================
====================
====video output to composit (RCA) TRRS plug
====================
https://bhavyanshu.me/tutorials/force-raspberry-pi-output-to-composite-video-instead-of-hdmi/03/03/2014/
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
https://www.raspberrypi-spy.co.uk/2014/07/raspberry-pi-model-b-3-5mm-audiovideo-jack/
sudo nano /boot/config.txt
-Make sure that hdmi_force_hotplug=1 is commented out.
-add
hdmi_ignore_hotplug=1
#sdtv_mode=0. uncomment and change it to one of the following as per your type of TV/Monitor.
– sdtv_mode=0 Normal NTSC
– sdtv_mode=1 Japanese version of NTSC – no pedestal
– sdtv_mode=2 Normal PAL
– sdtv_mode=3 Brazilian version of PAL – 525/60 rather than 625/50, different subcarrier
========================================
========================================
====================
==== USING 3.5″, 5″, 7″ or HDMI screens
====================
— MAKE SURE that SPI interface is turned on
— then try
git clone https://github.com/waveshare/LCD-show.git
cd LCD-show/
chmod +x LCD35-show
— if that doesn’t work rename the LCD-show directory and try
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
— switch screen output to 3.5 and rotate sceen 180
cd LCD-show/
./LCD35-show 180
— switch screen output to hdmi
cd ./LCD-show
./LCD-hdmi
https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)#Driver — try first
http://www.lcdwiki.com/3.5inch_RPi_Display
https://darwindelacruz.wordpress.com/2017/06/06/how-to-install-a-3-5-lcd-display-on-raspberry-pi/
https://osoyoo.com/2020/03/18/3-5inch-raspberry-pi-touch-screen-lcd-display/
https://circuitdigest.com/microcontroller-projects/interfacing-3.5-inch-touchscreen-tft-lcd-with-raspberry-pi
https://trickiknow.com/how-to-install-waveshare-3-5-inch-lcd-on-raspberry-pi-4/
https://github.com/Elecrow-RD/Elecrow-LCD35
https://www.ebay.com/itm/3-5-5-7-Touch-Screen-Display-HDMI-LCD-Module-Case-Kit-Fr-Raspberry-Pi-3B-2B/142831776807?ssPageName=STRK%3AMEBIDX%3AIT&var=441833245440&_trksid=p2057872.m2749.l2649
========================================
========================================
====================
==== RPi PROJECT SITES
====================
https://electronicshobbyists.com/category/raspberry-pi/
https://makecademy.com/connect-esp8266-raspberry-pi/
========================================
========================================
========================================
========================================
====================
==== DEFINITIONS
====================
— MQTT (MQ Telemetry Transport or Message Queuing Telemetry Transport) is an open OASIS and ISO standard (ISO/IEC 20922) lightweight,
publish-subscribe network protocol that transports messages between devices.
— TF (TransFlash) vs Micro SD card — interchangable, for the most part
https://www.fonecope.com/difference-between-tf-card-and-microsd-card.html
—
https://mizzviolet.com/projects/violet-heart-beat-project/
https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/
https://www.maketecheasier.com/how-to-turn-raspberry-pi-into-wireless-access-point
https://en.wikipedia.org/wiki/Raspberry_Pi_OS
https://circuitdigest.com/microcontroller-projects/setting-up-wireless-access-point-using-raspberry-pi/#:~:text=Steps%20for%20Setting%20up%20Raspberry%20Pi%20as%20Wireless,the%20software%20from%20Running.%20…%20More%20items…%20
https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software
https://www.instructables.com/id/Raspberry-Pi-Wifi-Hotspot/
https://bluthochdruck-therapie.info/hostapd-tutorial-31/
https://raspberrypi.stackexchange.com/questions/75228/install-usb-wifi-dongle-on-raspberry-pi-3
https://www.electronicshub.org/setup-wifi-raspberry-pi-2-using-usb-dongle/
https://learn.sparkfun.com/tutorials/setting-up-a-raspberry-pi-3-as-an-access-point/all
http://www.knight-of-pi.org/configure-the-raspberry-pi-3-as-wireless-access-point-wap-for-raspbian-jessie/
https://www.raspberrypi.org/documentation/configuration/wireless/access-point-bridged.md
https://pimylifeup.com/raspberry-pi-wifi-extender/
https://raspberrypi.stackexchange.com/questions/43206/hostapd-no-such-device
http://www.ikethenetworkguy.com/2013/11/No-Adapter-Wifi-Config-Raspberry-Pi-fix.html
https://elinux.org/RPi_USB_Wi-Fi_Adapters
http://raspberry-at-home.com/hotspot-wifi-access-point/
https://www.raspberrypi.org/forums/viewtopic.php?p=459824
https://stackoverflow.com/questions/53982099/how-to-get-raspberry-pi-s-wlan1-interface-work-after-poweroff
https://stackoverflow.com/questions/20251320/default-settings-raspberry-pi-etc-network-interfaces
https://raspberrypi.stackexchange.com/questions/12276/how-to-make-pi-an-ap-with-2-wifi-adapters
https://www.raspberrypi.org/forums/viewtopic.php?p=462982#p462982
http://downloads.fars-robotics.net/
https://circuitdigest.com/microcontroller-projects/getting-started-with-raspberry-pi
https://www.instructables.com/id/Raspberry-Pi-BluetoothAirplay-Audio-Receiver-combo/#:~:text=Raspberry%20Pi%20Bluetooth%2BAirplay%20Audio%20Receiver%20Combo%3A%20Let%27s%20make,to%20get%20a%20bluetooth%20receiver%20working%2C%20some%20%28less%29
raspberry pi Pulse Audio
https://www.element14.com/community/community/raspberry-pi/blog/2019/09/14/asla-audio-glitch-issue-pi-4-fix
https://pimylifeup.com/raspberrypi-microphone/
https://www.raspberrypi.org/forums/viewtopic.php?p=978775
https://youness.net/raspberry-pi/how-to-connect-bluetooth-headset-or-speaker-to-raspberry-pi-3
https://www.tripadvisor.com/Attraction_Review-g143028-d109440-Reviews-Grand_Canyon_South_Rim-Grand_Canyon_National_Park_Arizona.html
https://www.tripadvisor.com/AttractionProductReview-g45963-d11450263-Grand_Canyon_South_Rim_Bus_Tour_with_Optional_Upgrades-Las_Vegas_Nevada.html
https://www.tripadvisor.com/AttractionProductReview-g45963-d11992111-Grand_Canyon_South_Rim_Day_Tour_from_Las_Vegas-Las_Vegas_Nevada.html
https://www.windowslatest.com/2020/06/08/enable-and-use-windows-10-bluetooth-a2dp-sink/#:~:text=Open%20Windows%2010%20Settings%20%3E%20Devices%20%3E%20Bluetooth,appear%20in%20the%20Bluetooth%20%26%20other%20devices%20page.
https://www.windowslatest.com/2020/05/27/download-and-install-the-windows-10-may-2020-update/