Adding USB Attached GPS to your Raspberry Pi Projects

This quick learning guide will show you everything you need to do to add position tracking to your Pi project using the open source GPS daemon ‘gpsd’ and an inexpensive USB to TTL adapter cable or via direct-wiring to the built-in Pi UART pins

Please note this guide installs a system service called gpsd which you can then query for data. You may be better off just using pure python to read data from the GPS, its less complex in many cases

Read More

Video Streaming with Raspberry Pi Camera

In this post we’re going to show you how you can do video streaming with a Raspberry Pi and a Raspberry Pi Camera – how to stream live video into a web page that you can access in any device that has a browser and is connected to the same network the Pi is. This is useful to apply to a home surveillance camera, for example.

Prerequisites:

  • You should already be familiar with the Raspberry Pi board
  • You should have the Raspbian or Raspbian Lite operating system installed in your Raspberry Pi

Read More

7-segment Display Modules and the Raspberry Pi

7 segment displays are a well established way of electronically displaying numbers and a small set of letters. They’ve been around for as long as I’ve been playing with electronics but were a pain to wire up given the number of LEDs involved.

Luckily things are a lot easier now that they are available on pre-made modules that uses an SPI interface. This is easy to setup and use on the Raspberry so for about £3 you can add a strip of 8 7 segment digits.

Read More

BME280 I2C Temperature and Pressure Sensor

The BME280 device is a digital barometric pressure sensor and is a slightly upgraded version of the BMP180. This is available on a small module which provides access to the sensor via the I2C interface. This allows us to easily connect it to the Raspberry Pi and read the data using Python. The BME280 provides temperature, pressure and humidity.

The BME280 is made by Bosch and the official BME280 datasheet includes all the technical details. Their device can offer both SPI and I2C interfaces so you need to make sure your module provides the interface you prefer.

My module is a small pcb measuring 14x10mm with a 4 pin I2C header. The order of the pins may vary on other modules so keep an eye on the labels so you connect up the correct wires from the Pi.
Read More

How to Make a Python Web Server

Because of its small footprint, energy efficiency, and reasonable computing power, the Raspberry Pi makes an excellent server. You can spin up a Raspberry Pi media server using the likes of Plex, Emby, and OpenMediaVault, or a web server running WordPress, Drupal, Apache, or NGINX. Similarly, you can make a Python web server with a Raspberry Pi and Flask. Learn how to build a Raspberry Py Python web server!

What is Python?

Python is a programming language. It’s used for creating web applications and desktop apps alike. A general programming language, Python remains one of the top programming languages for beginners. Combined with Flask, a Python microframework, you can make your own Python-powered web server.

Read More

Do NOT follow this link or you will be banned from the site!