From bb5b76327ad8bfd346b43dd5cd28d14e838d5c1c Mon Sep 17 00:00:00 2001 From: Jason Duncan Date: Sun, 6 Mar 2016 14:29:22 -0500 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 94f602f..a334d26 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # G27 Pedals and Shifter +## Required Parts/Materials + +* [SparkFun Pro Micro](https://www.sparkfun.com/products/12640) or clone (must be a 5V/16MHz ATmega32U4 with onboard USB) +* [DB9 Connectors](http://www.amazon.com/Female-Male-Solder-Adapter-Connectors/dp/B008MU0OR4/ref=sr_1_1?ie=UTF8&qid=1457291922&sr=8-1&keywords=db9+connectors) 1 male, 1 female +* Hookup wire in assorted colors (I used red, black, blue, green, purple, yellow, orange, and white) +* Some kind of project box (I used an Altoids tin) + +## Assembly + +Connect the female DB9 connector for the pedals to the board using the pins in the table in the .ino file. Do the same with the male DB9 for the shifter. + +NOTE: when wiring the male connector for the shifter, remember that the pins will read right to left rather than left to right. + +## Software + +Open the .ino file in the Arduino IDE, select the proper board type and COM port under "Tools" (you will need to install the [SparkFun board library](https://github.com/sparkfun/Arduino_Boards)). You will probably need to adjust the thresholds for SHIFTER_XAXIS_12 and friends, the values that decide which gear you're in based on the x/y axis of the shifter. Uncomment the `#define DEBUG_SHIFTER true` line near the top to get debugging information to aid in this process.