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,…
Host a local webserver on Raspberry Pi with Python SimpleHTTPServer
In Raspberry Pi CLI, type: python -m SimpleHTTPServer 8000 Then from your other computer, in web browser, go to this address: http://192.168.1.123:8000 Adjust your IP address according to your Pi IP address. That will display your directory content in which you run the program from.
Resolve locale issue on Raspberry Pi Raspbian Jessie
When you experience this warning during boot and install. Last login: Sat Apr 2 23:28:22 2016 -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) Change this according to your country. LinuxCircle is based in…
How to set static IP address in Raspbian Jessie
Set a static IP address in Raspbian Jessie. From the CLI, edit the dhcp file file. Do not use /etc/network/interfaces like you used to with previous Raspbian versions. sudo nano /etc/dhcpcd.conf Append this to the bottom of the file with your desired IP address. interface eth0 static ip_address=192.168.1.111/24 static routers=192.168.1.1…
IoT: Detect sound of your door bell with Raspberry Pi, ADC chip and Python 3 (Part 1)
Imagine a door bell that will activate a camera when someone presses it. Imagine a door bell that will notify someone is at your door via SMS or Telegram app. Physical events can be detected by applying an Analog to Digital Converter (ADC) that will convert voltage signals into…