Multithreading on the Raspberry Pi is an excellent way to keep the main thread of your program running as efficiently as possible. To demonstrate, I show how you can move game controller polling routines to a separate thread. Find the Python example code for robot control at the end of this feature. Continue reading “Multithreading Raspberry Pi Game Controller in Python”
Tag: Raspberry Pi
Object Detection and Tracking with OpenCV and Python
In this feature, I look at what it takes to setup object detection and tracking using OpenCV and Python code. Using the code snippets included, you can easily setup a Raspberry Pi and webcam to make a portable image sensor for object detection. Continue reading “Object Detection and Tracking with OpenCV and Python”
Nokia 5110 LCD Display Setup For Raspberry Pi Guide
The Nokia 5110 LCD Display seems a perfect fit for the Raspberry Pi as the screen can be connected directly. So here is a guide on how to set one up with details on how to hookup and install libraries. Also included is an example Python program in addition to the code examples included with the libraries. Continue reading “Nokia 5110 LCD Display Setup For Raspberry Pi Guide”
GPIO PWM For Raspberry Pi H-Bridge DC Motor Control
In this article, I look at using the Raspberry Pi GPIO PWM for DC motor control. Through Python programming, I look at how to interface with a typical H-Bridge DC motor driver. Furthermore, H-Bridge diver code examples with wire connection illustrations are included. Continue reading “GPIO PWM For Raspberry Pi H-Bridge DC Motor Control”
Install OpenCV onto Raspberry Pi from Shell Script
This article is a quick guide on how to install OpenCV onto the Raspberry Pi – the easy way. I will introduce a shell script that will install OpenCV and dependencies without user intervention. Furthermore, I will also introduce GNU Screen so that the OpenCV installation can be done remotely in a Virtual Terminal Session. Continue reading “Install OpenCV onto Raspberry Pi from Shell Script”
Robot Control with Raspberry Pi and Python
To get my Raspberry Pi robot moving, I need a wireless robot control system. So, in this article, I connect a game controller to the Raspberry Pi and use Python programming to manage the input commands. Included, is a controller button-ID map and Python base-code to translate controller inputs. Continue reading “Robot Control with Raspberry Pi and Python”
VirtualBox SSH Network Guide – Raspberry Pi Desktop
To make the Raspbian virtual machines easier to work with, I’m going to set up a VirtualBox SSH network. This will allow me to SSH from my Host machine to the virtual machine guest OS. In this case, the Raspberry Pi Desktop is my guest operating system for this guide. Continue reading “VirtualBox SSH Network Guide – Raspberry Pi Desktop”
Raspberry Pi Controller For Robot Control Review
If you are looking for a Raspberry Pi Controller to control your robot then this controller is worth looking at. This article takes a closer look at the controller with details about its compatibility and button mapping. Continue reading “Raspberry Pi Controller For Robot Control Review”
How To Start Raspberry Pi Programming
For people new to this platform, I show how to start Raspberry Pi programming with Python. I go through the guide step by step to help the new programmer execute their first Python program. Also, I include links to free software download below. Continue reading “How To Start Raspberry Pi Programming”
SFTP Client connection to Raspberry Pi
In this article, I am going to connect an SFTP client to my Raspberry Pi device. Thus this will allow me to manage my files and folders through a graphical user interface that is similar to windows explorer. A free popular download of the FTP client is available for all personal computer platforms. Continue reading “SFTP Client connection to Raspberry Pi”