![ps1 controller rpi ps1 controller rpi](https://cdn.hackaday.io/images/6679851568280293694.jpg)
You will be prompted to answer a few questions.
![ps1 controller rpi ps1 controller rpi](https://www.picclickimg.com/d/l400/pict/174798239739_/PiStation-One-Raspberry-Pi3b-in-a-psone.jpg)
#Ps1 controller rpi install#
This will compile and install the sixaxis manager software. The third script to run is 3-buildfromsource.sh. This script will create a directory and download some necessary files to it. The next script to run is 2-downloads.sh. This will give an output the same as the image above if you're bluetooth dongle has been attached before booting up. The first to be run is 1-dependencies.sh ( Get yourself a cup of tea)Īfter running this script we need to check if the RPi is seeing the bluetooth dongle. scriptfilenamehere.sh" at the command prompt. To run a scriptfile you just type "sudo sh. I'm going to give you something of an easy option here by providing script files for you to run. The first thing you need to do is install some background programs and libraries. To help with that, I've started off with a completely clean install of Raspbian so that I can hopefully identify every issue you might encounter. The one I initially used is available here:įor anyone who is a beginner at using the command line in linux going through all the commands and encountering some problems can be really frustrating.
#Ps1 controller rpi how to#
There are a good few tutorials on how to do this.
![ps1 controller rpi ps1 controller rpi](https://i.ytimg.com/vi/ksgSmcjtGPI/maxresdefault.jpg)
We now have the connections all made and so can move on to setting up the PS3 controller. The other 2 pins are switch controls which determine the direction the motor will spin. The enabling terminal could be regarded as a kind of handbrake, you have to enable the motor on the channel in order to drive it. The other 3 pins (per side) are inputs 1 & 2 and an enabling terminal also. The motors themselves are attached to terminals marked "MA" and "MB" on the board I have. The 9V battery will independently power the motors. You can wire the motors, battery holder and wires to the L293D pcb as shown. This can result in damaging your hardware. Also, hooking up the motors directly to the RPi means that the greedy little things will try to draw more current than the RPi (or indeed an Arduino) can provide. Now, a 9V battery is too much to run the Raspberry Pi from. For the majority of motors used by hobbyists and makers, this voltage span is likely to be 6V or greater.įor the motors I'm using in this project, I'll be using a 9V battery. Also included will be a voltage span within which it can operate. If you look at the specifications of a motor you'll get information about it's RPM, ampage, ratio etc. When I began doing bits and pieces with Arduino and Raspberry Pi, I didn't get why motors couldn't be connected directly to them.