Ive been building a 3dof hexapod spider robot and i would like to make my project controlled offline with a wireless PS2 handle.
My set up will actually be a pololu maestro 24 channel servo controller and an arduino nano to send signals to the meastro via the PS2 handle.
Ive found some good info including the arduino library to do so and a schematic telling you what wires on the RX do what but i cannot find how i would actually hook up the RX wires to the Nano.
Any info would be appreciated.
Heres a link to the info i found.
Intro: There are all sorts of guides that explain how to interface a PS2 controller already out there. The goal here is to consolidate the information and make it as fast as possible to get up and...
Est. reading time: 14 minutes
Ok i found this diagram on how to hook up the wireless unit to the arduino.
But it says on this page..........
Intro: There are all sorts of guides that explain how to interface a PS2 controller already out there. The goal here is to consolidate the information and make it as fast as possible to get up and...
Est. reading time: 14 minutes
........that i need a pull-up resistor on two wires. Does that mean that they need to be in line with wire? Like wire-resistor-wire.
Ok this is the link to the PSX_lib.h file.........
/******************************************************************
* Super amazing PS2 controller Arduino Library v1.8
* details and example sketch:
* http://www.billporter.info/?p=240
*
* Original code by Shutter on Arduino Forums
*
* Revamped, made into lib by and supporting continued development:
* Bill Porter
* www.billporter.info
*
* Contributers:
* Eric Wetzel (thewetzel@gmail.com)
* Kurt Eckhardt
*
* Lib version history
* 0.1 made into library, added analog stick support.
* 0.2 fixed config_gamepad miss-spelling
* added new functions:
* NewButtonState();
This file has been truncated. show original
About halfway down it gives constants for each button. Are these the numbers that will be transmitted to my pololu?