In this article, I will briefly explain on how to create a Python class library to interface with LCD 5110 display module and shares the common APIs with the Arduino LCD5110 library that I previously created. Continue reading “How to use LCD 5110 (PCD 8544) with Raspberry Pi”
I wrote about how to collect data from DS18B20 temperature sensor with Raspberry Pi a few months ago, and this is an article on how to do some basic data analysis using Python with the collected DS18B20 temperature sensor data. Continue reading “DS18B20 data analysis using Pandas”
DS18B20 is a temperature sensor which communicates over a 1-Wire bus that by definition requires only one data line for communication with a host controller. I like DS18B20 as compare to other popular low cost temperature sensors for its accuracy and reliability. According to the DS18B20 data sheet, DS18B20 provides a digital Celsius temperature output with an accuracy of +/-0.5°C in the range of -10°C to +85°C. Continue reading “DS18B20 temperature sensor data logger”
You got your Raspberry Pi, but you don’t have a keyboard and/or a monitor, and you want to connect the Rapsberry Pi via wifi network (a.k.a. ‘headless’) on the first boot. so how to configure your SD Card to boot up the Raspberry Pi with wifi-only? Continue reading “Boot Raspberry Pi with wifi on first boot”
A few days after this self-hosted Nginx server and WordPress up and running, I started to see massive login attempts trying to gain access on SSH and WordPress login. After evaluating various solutions and plugins, I settled on using Fail2ban to block such attacks, and here are the steps on how I did it. Continue reading “Secure Nginx and WordPress with Fail2ban”
2017 is just a week around the corner and it is time to implement SSL for my WordPress server on Raspberry Pi. Continue reading “Hosting WordPress on Raspberry Pi Part 6 – Implement SSL”
To host your Raspberry Pi WordPress sever, you could sign up a Raspberry Pi colocation service, or hosting it yourself. Both involved of setup/assign public IP address, getting an domain name and setup DNS.
Continue reading “Hosting WordPress on Raspberry Pi Part 5 – Dedicated IP, Domain name and DNS”
We had WordPress installed on the Raspberry Pi, we are going to look into how to implement various cache solutions to optimise WordPress without depending on plugins. Continue reading “Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache”
We now have a server running Nginx, php5-fpm with MariaDB, now it is time to install WordPress, and how to handle WordPress permalink for Nginx.
Continue reading “Hosting WordPress on Raspberry Pi Part 3 – Setup WordPress”
In this part of the articles, we are going to install Nginx, php5-fpm and MariaDB before installing WordPress on the Raspberry Pi. Continue reading “Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB”