Tag Archives: Raspberry Pi

Interfacing the Neo-6M GPS Module & Raspberry Pi with LCD Readout

PDF24 Tools    Send article as PDF   

One of the coolest embedded platforms like the Raspberry Pi has given makers and DIYers the ability to get location data easily using GPS module and thus build things that rely on location. With the amount of power packed by the Raspberry Pi, it certainly will be quite awesome to build GPS based projects with the same cheap GPS modules and that is the focus of this post. Today in this project we will Interface GPS module with Raspberry Pi 3.

The goal of this project is to collect location data (longitude and latitude) via UART from a GPS module and display them display on a 16×2 LCD, so if you are not familiar with the way the 16×2 LCD works with the Raspberry Pi, this is another great opportunity to learn.

Installing the Keyestudio Raspberry PI GPS Plate

Keyestudio GPS Plate
www.pdf24.org    Send article as PDF   
This Keyestudio KS0216 Raspberry Pi GPS Plate (shield) features high performance and low power consumption. It utilizes the NEO-6M Module developed by U-blox. The GPS Module is connected through the 2*20 expansion pins of Raspberry Pi. It features a large size ceramic antenna, sending locating information to GPS through the serial port. It can track up to 8 satellites on 50 channels at high speed, and it produces very accurate location data.

Plug the GPS Plate into Raspberry Pi 3. Upload your code to Raspberry Pi 3, and you can find your exact location within a few meters. It also provides you with very accurate time! It can be used in car navigation, personal positioning, fleet management, navigation and so on.

BerryGPS setup Guide for Raspberry Pi

BerryGPS IMU
PDF24    Send article as PDF   
BerryGPS-IMU v2 Plate has been designed to fit perfectly with the Raspberry Pi Zero. It is also compatible with all other versions Raspberry Pi, including the Pi 3B+.
BerryGPS-IMU v2 uses the M20048 from Antenova, which is a high quality GPS module which is able to track 22 satellites. The BerryGPS-IMU v2 is a GPS module which also includes the sensors that can be found on the BerryIMU v2 Plate.

BerryGPS-IMU v2 is also fitted with a barometric sensor (BMP280) which can be used to calculate altitude. A temperature sensor is also included.

Sensors included are;

  • GPS
  • Accelerometer
  • Gyroscope
  • Magnetometer (Compass)
  • Barometric/Altitude
  • Temperature

GPS Module M20048

  • Low current consumption, <200uA when using Periodic mode.
  • Antenova M20048  ( MT3337-E chip) GPS module
  • 3.3v supply
  • NMEA 0183
  • UART  4800/9600/38400/115200 bps
  • Channels – 210 PRN / 66 Acquisition / 22 Tracking
  • Max update rate 5 Hz
  • Horizontal position accuracy <2.5m CEP
  • Acquisition sensitivity -148dBm
  • Tracking sensitivity -165dBm
  • Hot start <1s
  • Warm start <25s
  • Cold start <35s
  • Orbit prediction
  • 1PPS Sync
  • Fix LED
  • PPS LED
  • Internal antenna
  • Connector for external antenna
  • SuperCap to help store ephemeris data.

IMU:

An inertial measurement unit, or IMU, measures and reports on velocity, orientation and gravitational forces, using a combination of an accelerometer, gyroscope and a magnetometer.

Raspberry PI: Connecting a Neo-6M  GPS Module

Neo-6M GPS Module
PDF Printer    Send article as PDF   

I built a project using a Neo-6M  GPS Module with the Raspberry PI. Now there are several USB solutions, and apps that work with them, but I wanted to show how to use a $20 GPS module with a a serial UART, and Python code to decode the NMEA strings. Then you can write your own GPS interface, or combine the data with Google Maps.

Hardware Setup:

The first step is to connect the GPS module to the Raspberry PI. There are only 4 wires involved, so it’s a simple connection.

Streaming Video with the Raspberry Pi Zero W & Pi Camera

IR-CUT Camera Module
PDF24    Send article as PDF   
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.

Run a Program On Your Raspberry Pi At Startup

PDF24    Send article as PDF   

The method that I usually use to run a program on your Raspberry Pi at startup is to use the file rc.local. In order to have a command or program run when the Pi boots, you can add commands to the rc.local file. This is especially useful if you want to power up your Pi in headless mode (that is without a connected monitor), and have it run a program without configuration or a manual start.

Editing rc.local

On your Pi, edit the file /etc/rc.local using the editor of your choice. You must edit it with root permissions:

Add commands to execute the python program, preferably using absolute referencing of the file location (complete file path are preferred). Be sure to leave the line exit 0 at the end, then save the file and exit. In nano, to exit, type Ctrl-x, and then Y.

Make a “Safe Shutdown” Button for Raspberry Pi

Shutdown Button
PDF Creator    Send article as PDF   

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!

Make a Raspberry Pi into a Anonymizing ‘TOR’ Proxy!

Tor + Onion + Raspberry Pi
PDF24    Send article as PDF   

TOR: The Onion Router is software that enables you to use the internet anonymously. By setting up TOR on a Raspberry Pi you can create a network router that scrambles all of your internet connection.

Turning a Raspberry Pi into a TOR Router has suddenly become much more appealing with Governments changing laws enabling ISPs to track customer internet usage, and selling on the data to advertising companies.

Use a Raspberry Pi to set up a TOR Network Router. I choose a Raspberry Pi 3 specifically because it has built-in wireless networking (the Pi Zero W would work well in this regard too).

The Raspberry Pi connects to the TOR network. All you have to do is then connect the Raspberry Pi to your broadband network, and connect your device to the Raspberry Pi.

Using PlayStation3 Controllers with the Raspberry Pi

Controller-Joystick-PS3
en.pdf24.org    Send article as PDF   
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

PDF Converter    Send article as PDF   
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.

Compile VLC Player with Hardware Acceleration

VLC media player
tools.pdf24.org    Send article as PDF   

Thanks to a post on the Raspberry Pi Foundation’s Message Board, where people have detailed the instructions on how to easily compile VLC Media Player with Hardware Acceleration. For this project, you’ll just need a Raspberry Pi and the basic peripherals: a power source, screen, keyboard and mouse, and microSD card (you need all of this to get Raspbian Installed in the first place, anyway).

Before we begin, a quick note for those of you who already have Raspbian, and may have installed VLC Media Player from Raspbian’s repositories: I recommend that you remove that version. You can do so by running the command:

Raspberry Pi “Zero”: HDMI Monitors Has NO SIGNAL

Raspberry Pi Zero
Create PDF    Send article as PDF   
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
PDF24    Send article as PDF   

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.

Banish Advertising From Your Whole Network with Pi-Hole

Pi-Hole_admin_interface
PDF24 Creator    Send article as PDF   

What is Pi-Hole?

Pi-Hole is a Linux network-level advertisement and internet tracker blocking application which acts as a DNS sinkhole (And optionally a DHCP server), intended for use on a private network. It is designed for use on embedded devices with network capability, such as the Raspberry Pi, but can be used on other machines running Linux and cloud implementations.
Pi-Hole has the ability to block traditional website adverts as well as adverts in unconventional places, such as smart TVs and mobile operating system adverts.

The Pi-hole project was created by Jacob Salmela as an “Open Source” alternative to the AdTrap.

Ultimate Music Player With Volumio

Raspberry Pi Audio DAC
PDF24    Send article as PDF   

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.



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