TinyDB – The simplest no SQL python database for Raspberry Pi

Tweet 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…


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

Tweet 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@ (address of your Pi) then enter your usename and password. 2. Prepare your Raspberry Pi GPIO UART serial pins. Turn them off…


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

Tweet 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…


Host a local webserver on Raspberry Pi with Python SimpleHTTPServer

Tweet In Raspberry Pi CLI, type: python -m SimpleHTTPServer 8000 Then from your other computer, in web browser, go to this address: 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

Tweet 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…

Next Page »