Skip to content
A collection of Python scripts displaying system infos, local and foreign times or DHT11 data on an LCD display through I2C, with clean process management methods.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

LCD_py for Raspberry Pi

This collection of Python scripts are intended to work on a Raspberry Pi connected to an LCD display through I2C protocol.

Also, an Arduino Nano connected through an USB emulated serial connexion is used to operate and retrieve data from a DHT11 sensor.

Content of this project


In order to function properly these scripts require:



This simple script using pytz will display local time and selected time zones current time. It will also display the temperature and humidity of the local where the DHT11 sensor is operating.

This script will retrieve the local wireless LAN adapter IP address and display it. Also, it will request and display the WAN IP address used by the router behind which the Raspberry is connected using API. In the end it will parse and display the data coming from the serial connexion containing temperature and humidity the DHT11 sensor is returning.

This one is the most interesting one as it will use Python subprocess module to get the PID of any script used to display information on the LCD screen, provided it starts with the "display" characters string, terminate it nicely then, clear and turn off the LCD screen.


LCDpy photo

LCDpy photo

You can’t perform that action at this time.