- #HOW TO CONNECT PS2 GUITAR HERO CONTROLLER SERIAL#
- #HOW TO CONNECT PS2 GUITAR HERO CONTROLLER SOFTWARE#
- #HOW TO CONNECT PS2 GUITAR HERO CONTROLLER CODE#
#HOW TO CONNECT PS2 GUITAR HERO CONTROLLER CODE#
Output range from hitting pads is as high as 2100 or so and so even just a little hit maxes out the volume, I added a line of code to divide the output by 10 to bring it within the 1-256 midi range and get much better volume control. I attach a couple of photos of my proto-board. One this is that it was not clear that you need to wire each of the pin headers into each of the analog inputs of the Arduino, you should modify the shield diagram in step 5 to show this as it took me some time to realise and I would have laid out my board differently had I known before hand. Open up the terminalĪnd watch what is written.Hi, thanks for making this, I wanted to reuse my old GH drums module to add a few triggers to my new Alesis Crimson EKit and your article was perfect and I love DIY projects. Save the file, and recompile the example sketch. to debug ps2 controller, uncomment these two lines to print out debug to uart Open up the PS2X_lib.h file and change (remove the comment markers) Restart the Arduino IDE, and open up the example sketch.Īll uses of the library are in the example sketch. To install, unzip and place 'PS2X_lib' folder into your 'C:\Users\\libraries" directory. GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of
#HOW TO CONNECT PS2 GUITAR HERO CONTROLLER SOFTWARE#
*This program 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 Foundation, either version 3 of the License, or(at your option) any later version. * Reorganized directory so examples show up in Arduino IDE menu * Integrated Kurt's fixes for the interrupts messing with servo signals * Old methods should still work for backwards compatibility * This was to fix controllers that will only go into config mode once *Ĝhanged config_gamepad() call to include rumble and pressures options
#HOW TO CONNECT PS2 GUITAR HERO CONTROLLER SERIAL#
*ğixed issue with DEBUG mode, had to send serial at once instead of in bits *Ědded button definitions for shapes as well as colors. * Added debug code enabled by compiler directives. *ğixed mode check to include two other possible modes the controller could be in. CuriousInventor says it's suppose to be 500kHz, but doesn't seem to work for everybody. Was running at 50kHz, not the required 500kHz. * found bad math by Shutter for original clock. * added auto-increasing sentence delay to see if it helps compatibility. * Analog sticks and pressures all through 'ps2x.Analog()' function * added time checking to reconfigure controller if not polled enough
![how to connect ps2 guitar hero controller how to connect ps2 guitar hero controller](https://m.media-amazon.com/images/I/91XcKvVHBcL._SL1500_.jpg)
* 1.0 found and fixed bug that wasn't configuring controller * removed 'PS' from begining of ever function
![how to connect ps2 guitar hero controller how to connect ps2 guitar hero controller](https://www.picclickimg.com/d/l400/pict/203528583502_/Guitar-Hero-PS2-Redoctane-Kramer-Striker-Guitar-Controller.jpg)
* 0.1 made into library, added analog stick support.
![how to connect ps2 guitar hero controller how to connect ps2 guitar hero controller](https://http2.mlstatic.com/D_NQ_NP_624107-MLM48039226139_102021-W.jpg)
* Revamped, made into lib by and supporting continued development: * Original code by Shutter on Arduino Forums * Super amazing PS2 controller Arduino Library v1.8