Raspberry Pi 3 connecting and setting static IP addresses on multiple networks

So you got Wifi at home and a pocket mobile wifi dongle for remote access when you are traveling. You want Raspbery Pi 3 to know which network it is currently connecting to and assign a static IP accordingly. Here is how. Edit /etc/wpa_supplicant/wpa_supplicant.conf, then ctrl+x y: $sudo nano /etc/wpa_supplicant/wpa_supplicant.conf…

Editing Text Files on Raspberry Pi remotely with Atom

Install atom on your Debian / Ubuntu laptop / PC: Download atom-amd64.deb from the Atom releases page. Run sudo dpkg –install atom-amd64.deb on the downloaded package. Launch Atom using the installed atom command. On atom go to Edit -> Preferences -> Install -> look for remote-atom, click Install Run remote-atom…

TinyDB – The simplest no SQL python database for Raspberry Pi

So your Python program needs to remember the variables you set for your electronics. One way is to use text file, but organising data in text files are cumbersome. You need structure like json. With TinyDB you can control what goes in and out. It basically stores database schema in…

Control serial infrared camera VC0706 with UART, Raspberry Pi and Python 3

So you bought a serial infrared camera from Adafruit running VC0706 chip, you want to know how to use it? 1. ssh into your Pi: ssh pi@192.168.1.111 (address of your Pi) then enter your usename and password. 2. Prepare your Raspberry Pi GPIO UART serial pins. Turn them off as…

Schedule your Pi or other Linux machine to reboot and run a script on boot with crontab

Simple concept. We want to ensure that our Pi is available and reliable. It is inevitable that networks get hickups, or the Pi runs out of memory requiring restart at a regular interval. For exaomple if you want to run a bash file after a reboot every 6am and 6pm,…

Next Page »