Writing Your First Script with Raspberry Pi

In this tutorial we’ll be writing our first bash script for Raspberry Pi. We’ll create a directory to keep this and future scripts, write the actual script, and set it up as something that can be executed from the shell.

Scripts are an incredibly powerful tool to have in your toolbox. In essence, a script is just a sequence of commands that you could otherwise have entered into the shell. The power of scripts is that they can be used to make decisions, and execute certain commands based off that decision. Scripts can be scheduled to run at certain times, and can execute trigger other scripts.

In this tutorial we’re assuming you’re familiar with how to use the terminal to navigate the file system and create files and directories.Read More

Interfacing SSD1306 OLED Display with Raspberry Pi

Most of us would be familiar with the 16×2 Dot matrix LCD display that is used in most of the projects to display some information to the user.  But these LCD displays have a lot of limitations. In this tutorial, we are going to learn about OLED display and how to use them with Raspberry Pi. There are lots of types of OLED displays available in the market and there are lots of ways to get them working.Read More

PIR Motion Sensor Interfacing with Raspberry Pi using Python

All living objects, whose body temperature is more than 0ºC, emit the heat in form of infrared radiation through their body, also called as thermal radiations. This Radiated energy is invisible to human eye. These Signals can be detected by using PIR sensor which is specially designed for such purpose.

Grid eye illusion

In Passive Infrared (PIR) Sensor, passive word indicates PIR Sensor does not generate or radiate any energy for detection purposes.

PIR Sensors don’t detect or measure “HEAT“; they detect the infrared radiation emitted or reflected from objects.

They are small, inexpensive, low power and easy to use. They are commonly found at home, medical, factories etc. areas.Read More

Timelapse Photography with Raspberry Pi Zero

This tutorial will guide you through taking photos using a Pi Zero and camera, to make a simple timelapse-capturing device. Use it to make a timelapse of a plant growing with the delay set to a day, or the progress on your building work with hourly photos, or a soldering project with a photo every 5 seconds.

Enable the camera

This tutorial assumes you have already set up your OctoCam as per the instructions. If you’re using a camera and a Pi, make sure the camera is connected.

In the Terminal, type sudo raspi-config and press Enter. This will bring up a menu on the screen. You’ll need to press 5, then choose option 1 to enable the camera, and then choose yes. Once you finish with the menu you should get prompted to reboot. This needs doing!Read More

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