Home Blog Page 12

Pi and PIR example

In this example we connect a PIR module up to our Raspberry PI, this is quite a simple module to connect as it requires...

Pi and DHT11 temperature and humidity sensor

The DHT11 digital temperature and humidity sensor is a composite Sensor contains a calibrated digital signal output of the temperature and humidity. DHT11 uses a...

Raspberry Pi and HC-SR04 Ultrasonic Range Sensor

The HC-SR04 Ultrasonic Range Sensor is used to measure distances by using ultrasonic sounds. It works by sending out a burst of ultrasound and...

DS18b20 python example

This is follow on from the DS18b20 terminal example at http://www.pibits.net/learning/120.php , this time a python example Code import os ...

Connect a DS18b20 temperature sensor

Connect a DS18b20 temperature sensor to your Raspberry PI as follows. I used a breakout for this. In this example we will just be using...

PCD8554 LCD example

In this example we will write some text on a PCD8554 LCD display, this is also commonly known as the Nokia 5100 LCD and...

Share a folder with a Windows computer from a Raspberry Pi

Sharing files over the network is incredibly handy, when I was writing code examples to publish on this site it was useful to run...

Raspberry PI LCD plate

In this example we will add an LCD plate to our Raspberry PI, you could of course add an LCD and connect it up...

Enabling i2c on the Raspberry Pi

Getting an I2C device to work with your Raspberry PI requires a few steps, in this guide we show how to enable this. First of...

Python query SQlite database example

In this example we use the database we created in the create database example and we will simply display all rows in the database #!/usr/bin/python import...