This guide uses the HC-SR04 Ultrasonic Distance Measuring Sensor mounted on a 9g type servo motor. The guide also features the servo and sensor bracket kit that is available to buy. Also, I include the Arduino code that will demonstrate the sensor sweep functionality. To follow this guide you can use any servo and sensor bracket you have to make use of the Arduino code below.
Continue reading “Ultrasonic Sensor Sweeper with Servo and Arduino Code”Tag: Guide
Create OLED or LCD Display Content with Pillow – Graphics and Fonts
Featuring the SSD1331 display and the Python Pillow library, I create and test content on the PC before porting to the Raspberry Pi with the attached OLED screen. Also, I include Truetype FreeFont and graphic images as part of the setup and demonstration. Additionally, I include plenty of example Python code. Continue reading “Create OLED or LCD Display Content with Pillow – Graphics and Fonts”
OLED Display Library Setup for the Raspberry Pi featuring SSD1331
Thanks to an impressive Python library, we can connect various types of OLED displays to the Raspberry Pi such as the SSD1331 colour display. So to get this vivid, high-contrast 16-bit colour display up and running, I take a look at how to set up this library from Continue reading “OLED Display Library Setup for the Raspberry Pi featuring SSD1331”
. Additionally, I also show how to install and run the many examples available.Motor Driver for Raspberry Pi Robot using TB6612FNG
In this feature, I take another look at the TB6612FNG motor driver, but this time, with the Raspberry Pi instead of the Arduino. The H-Bridge module is the chosen robot driver for my Pi Wars entry effort. View this post for circuit examples and Python test code to get started with your own Robot Project. Continue reading “Motor Driver for Raspberry Pi Robot using TB6612FNG”
Pi Camera Video Capture with OpenCV and Python Multithreading
In this article, I install the Raspberry Pi Camera which I will be using to add camera vision to a robot. Also, to maximise the performance of OpenCV and Camera, I will be using a utility to add multithreading to the Python applications. Furthermore, I include Python demo code which also supports USB webcams. Continue reading “Pi Camera Video Capture with OpenCV and Python Multithreading”
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”
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”
Pi Wars 2018 Competition – Getting Started
This series goes into detail on building and programming a robot. A robot that is good enough to compete in the Pi Wars 2018 Competition. In this article I look at the things I need and strategy to get a start right away. Continue reading “Pi Wars 2018 Competition – Getting Started”