Category Archives: Raspberry Pi Hardware

Streaming Video with the Raspberry Pi Zero W & Pi Camera

IR-CUT Camera Module
I needed a really tiny yet cheap camera so I thought of the Raspberry Pi Camera module. The Version 2 Camera Module does 8MP with good quality, although a 5MP  IR-Cut Camera better suited my needs.

About the IR-CUT Camera

The IR-CUT Camera works on Normal Mode by default. There are two ways to toggle between Normal Mode and Night-vision Mode.

1. By editing the config.txt<code> file:

and append:

exit with save and restart your Pi then the camera will work on Night-vision Mode.

Make a “Safe Shutdown” Button for Raspberry Pi

Shutdown Button

Pulling the power to your Raspberry Pi can cause image corruptions & other issues that can damage your Pi! In this article, we will create a small push button that will work as a ‘Safe-Shutdown’ option. We’ll connect it to our Raspberry Pi using the GPIO pins and some jumper wires, and with a few lines of code, we will have our own power switch!

First, we are going to look at a simple way to wire a button to the Pi GPIO connector. We will then write a python script that will shut down the Pi safely. The final step will be to setup the Pi so that the button will work all the time. Let’s Get started!

What you will need:

  • Raspberry Pi B+ (Any Pi will work, Just make sure you check the GPIO pins)
  • Tactile Switches
  • Female/Male Extension Jumper Wire Packs
  • Solderless Breadboards

THE CIRCUIT

To do this we will wire the button to GPIO Pin 26(Yellow wire) and to ground (Green wire). This configuration is called an Active Low button, this means that when the button is pushed it will have no voltage or be logic low. The Pi has pull-up resistors on its GPIO pins so wiring active low mean we do not need to add an external resistor.

VPN Server: Build Your Own Virtual Private Network

In this tutorial, I will be going through the steps on how to setup a Raspberry Pi VPN server using the OpenVPN software. I will also go into setting up various things you must do to ensure that your connection is as secure as possible by setting up encryption keys.

This can be a bit of a long process, but it is a relatively simple tutorial to follow, and shouldn’t require any extra interaction once it has been configured.

Using a Raspberry Pi is a cheap way of setting up a virtual private network (VPN) that can stay online 24/7 without consuming a large amount of power. It’s small and powerful enough to handle a few connections at a time making it great for private use at home.

VPN’s are an incredibly useful network tool that can allow you to gain access to encrypted and secure internet traffic even when you are utilizing public Wi-Fi.

Raspberry Pi for the Ultimate Retro Gaming Machine

RetroPie Logo 2015
A Raspberry Pi emulator can provide you with hundreds of hours of fun and remember those good times playing those classic retro games. This article will take you through all the steps that you will need to do to have a fantastic All-in-one Retro Gaming Emulator.
This game emulator is an excellent project if you’re an avid lover of retro games that you wish to replay. It’s important to remember that the Pi might not be able to play all the classics due to its limited processing power. With that said, it’s still an excellent way to play those classics.

If you’re not big on reading and you would like to see how this is done visually then check out the video I have prepared below. If you love the video, then you should subscribe as I will be adding a lot more videos on fantastic projects in the future. (PS. Sorry about the audio in this video, it’s quite old now).

Using PlayStation3 Controllers with the Raspberry Pi

Controller-Joystick-PS3
If you have ever tried to utilize a PlayStation controller with the Raspberry Pi, you may have found it’s not very simple to do. The Raspberry Pi PlayStation controller guide will walk you through the process of setting up and connecting both PlayStation3 controllers and PlayStation4 controllers.
For PlayStation3 (PS3) controllers,I show you how to install the Six-pair Software and utilize it to set up your PS3 controller so it can connect to whatever Bluetooth device you are using on your Raspberry Pi.

In this PS4 controller tutorial we walk you through the process of pairing it with the Raspberry Pi’s Bluetooth and also offer alternative solutions if your controller doesn’t work with the standard Bluetooth stack. You can also set up Xbox controllers on the Raspberry Pi, as well as several other types of game controllers.

Setting up controllers is the perfect way to have your Pi ready to play some games. You might also be interested in using the controllers in other Raspberry Pi projects that make use of a gamepad.

Connecting Wiimote Controllers to the Raspberry Pi

In this Raspberry Pi Wiimote controllers guide, we will walk you through the process of setting up a Wiimote on your Raspberry Pi and show you how to setup both cwiid and wminput.
Utilizing Wiimote controllers on the Raspberry Pi can be painful to deal with due to its handling of the Bluetooth stack. While they run over standard Bluetooth, their actual functionality is not picked up as a conventional joystick device like Xbox controllers and PlayStation controllers.

Instead to support the full functionality of Wiimote controllers in a way that most applications can support we must utilize two pieces of software.

These being cwiid and wminput. One acts as a library that interprets the Wiimotes actions into joystick actions, the other being somewhat of a driver that creates an input device that applications can utilize easily.

Raspberry Pi “Zero”: HDMI Monitors Has NO SIGNAL

Raspberry Pi Zero
When connecting a Raspberry Pi ‘Zero’ for the first time to a TV monitor with HDMI, and receive the message: “No Signal”. I tried it on several inputs and cables with no luck. Other devices work fine with the TV, and the cables so there can not be the problem. Then I tried a computer monitor with HDMI, also with no luck. What is happening?

I’ve investigated the problem for a couple of hours, before finding the solution.

The Raspberry Pi ‘Zero’ outputs a relatively weak HDMI Signal. Some devices may not immediately notice the Raspberry Pi ‘Zero’s HDMI Signal, or may not go through the negotiation process.

Connecting ‘Xbox Controllers’ to the Raspberry Pi

Xbox Controller

If you have ever tried to use an Xbox controller with the Raspberry Pi, you will find very quickly that they do not work correctly right out of the box. In fact to get them working you will be required to install a special driver.

With the newer Xbox One controllers that feature the Bluetooth functionality, you will also find that they will need extra work on top of the driver installation to get them to run. Namely, they are not properly supported by some of the Bluetooth functionality that is switched on by default.

This guide will show you how to get your Xbox Controllers up and running on the Raspberry Pi, while also walking you through how to get the newer Bluetooth enabled controllers to pair successfully on the Pi.

Controlling Mindstorms EV3 with a Raspberry Pi

Original Article: The MagPi, The Official Raspberry Pi Magazine

LEGO Mindstorms is a great tool to gain experience in understanding robotics, but what if you wanted to make your own input sensor? In this guide, we will show how simple it is to construct a circuit to control a Mindstorms robot through GPIO in Raspberry Pi.

We will show every step from connecting the robot to writing the code. The result will be a program in Ch, a superset interpreter of C/C++, to control the direction of the robot with a push-button.

Ultimate Music Player With Volumio

Raspberry Pi Audio DAC

Volumio is a music player, but it’s certainly more than that. Volumio is a music operating system. It turns a normal PC or a smaller embedded device, like a Raspberry Pi, into a custom audio playing powerhouse, purpose built for making the most of your media collection.

Volumio isn’t like Kodi or any of the media operating systems based around it. Volumio is meant to function as the brain of a stereo system. It handles library management, playing Internet radio, importing music from networked sources, and serving it all from a sleek web interface.

Raspberry Pi ‘3 B+’ Review

A new PI is out, but is it a worth upgrade?

Before moving any further, it’s however important to note that this is not a brand-new product or a radical evolution of our beloved PI, but rather an incremental upgrade. So, if you’re still struggling to decide whether this upgrade is worth it, I’m here to help with some considerations.

Please note that we’re still testing the new Raspberry PI 3 B+, and those considerations are based on official statements of the Foundation, we’ll update this article as soon as our tests are done.

Raspberry PI 3B+

WHAT IS CHANGED

The hardware makeover of the Raspberry PI model 3 B+ covers basically 3 areas:

  • Slightly faster processor
  • Better thermal management
  • Networking

As we will see later, what really matters for us is indirectly related to point number 3: networking. But let’s see in detail all the 3 main upgrade areas.

Timelapse Photography with Raspberry Pi Zero

long-camera-adaptor-for-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!

How to build an AirPlay receiver with Raspberry Pi Zero

Raspberry Pi Zero

The number of things you can do with a Raspberry Pi is astounding. For a little over $35, you can create a networked media server for streaming all your digital movies to your TV or give your existing printer wireless capabilities. And that’s just the tip of the iceberg.

If you’ve yet to decide on what you want to do with your Raspberry Pi, this project shows you how to turn it into a Chromecast Audio-like music streamer. This means you could set up several Raspberry Pis this way, connect each one to a speaker, place them around your house and stream music to each those speakers remotely in a highly configurable way. You can control the music from your phone, tablet or computer.

Build a Raspberry Pi Streaming Music Player

Pi MusicBox

In this tutorial, I will be going through steps to making your very own Raspberry Pi music player. This process is pretty straightforward, so you shouldn’t come across any problems at all.

For this project, I am going to be using a pre-built software package called the Pi Musicbox. This software contains plenty of features & functionality that make it great as a Music player.

This project is a headless music player so you will need to use a different device to be able to control it. The good thing is you can pretty much use any device that has a browser to be able to interact with it.

pHAT DAC for Raspberry Pi Zero

If you want to see how to do this visually, then be sure to check out my full video below. It goes through all the steps to getting this setup and working correctly in no time at all. If you do like the video be sure to subscribe, so you stay up to date.

24-bit, 192KHz Audio for the Raspberry Pi Zero with the pHAT

pHAT DAC for Raspberry Pi Zero

The pHAT provides a super affordable high-quality DAC for your Raspberry Pi. It pumps out 24-bits at 192KHz from the Raspberry Pi’s I2S interface on its 2×20 pin GPIO header.

Use pHAT DAC to build a tiny, lush-sounding streaming music device, or use it with Scroll pHAT to make a beautiful spectrum analyser!

Features

  • 24-bit audio at 192KHz
  • Line out stereo jack
  • Optional landing for dual RCA phono connector
  • PCM5102A DAC over the Raspberry Pi’s I2S interface
  • pHAT DAC pinout
  • Compatible with Raspberry Pi 3B+, 3, 2, B+, A+, Zero, and Zero W
  • Female header requires soldering



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