How to install a voltage stabilizers on your Arduino-powered Raspberry Pi and other Raspberry Pi boards
We have a bit of a problem here.
Raspberry Pi is, for all intents and purposes, a standalone computer that can be used to create and run a wide variety of programs and devices.
While it has a few features that make it unique among computers, including the ability to run a web browser, and a host of peripherals like printers, keyboards, and more, it also includes a very limited set of features, including a basic CPU and video camera.
These limitations can be overcome by a few simple modifications to your Raspberry Pi’s hardware, but the most important thing is that you understand the limitations of your Raspberry.
It is therefore important that you read up on the Raspberry Pi before you start hacking on it, and that you follow all the instructions in the Raspberry’s official documentation.
The easiest way to do this is to use the Raspberry pi-dev wiki , which has extensive documentation on the basics of Raspberry Pi.
This wiki also includes instructions for getting your Raspberry to boot, and even instructions for using a debugger.
To install the voltage stabiliser software you’ll need a Raspberry Pi with a USB-to-serial adapter , which is not necessary if you’ve got a USB dongle already.
We’ll use a USB hub for this tutorial, but you could use a microUSB adapter or a USB mouse.
We’ve installed the voltage-stabilizer software using the following command: sudo apt-get install python-dev libusb-dev git libusb1.0-dev sudo aptitude install libusbdev-dev After this, you should see the following in your terminal: libusb: Installing libusb with: libubucontrol-dev-1.3.4: Version 1.3, Copyright (C) 2012-2018, https://www.libusb.org/ (libubuconrol-daemon) Libusb: 0.7.1-3ubuntu3, GPL v3.0.1, Copyright 2017, Free Software Foundation, Inc. Libusb is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software and Lesser General Public Licenses Foundation, either version 3 of the License, or (at your option) any later version.
libusb has been tested against libusb 1.0 (1.2.0).
We’re using a USB Hub, so the USB-hub-1 driver must be installed first.
Install the USB driver: sudo ldconfig If you get the following error: LDB: Unable to find USB device driver for USB-Host: No such device or device type in /etc/modules: No suitable device driver specified for USB device: USB-HUB-1: USB Host Controller USB-HCI: USB HCI USB-Serial: USB Serial USB-USB: USB Universal Serial Bus Libusb will then install.
The driver we want is libusblib.so.0 , which should be installed as a standard module.
You can find this module’s source code on GitHub , and you can find the current version of the libusb_1.1.6_sig module on the libubusktop.org repository .
The code below is a modified version of libusb libusb.so from earlier in this tutorial.
It only adds the new USB-host-controller USB-hci module.
This module needs to be installed and configured before you can proceed.
libubuse-dev,libubusiclient,libusb-hostcontroller,libususb-1,libucontroller libusb2.6.2 libusb,libudev libusb3.2libusb,usb-hcpi,usb_hostcontroller libusbibusic,usb1 libusbsource,libbusbusbus source Open source software.