factory manual walks you through it all in diagnosis, no offense but if you dont have a voltmeter and able to figure out which one gives off a signal might be a hard path to build a gear indicator on your own.
red wire has a 5v pullup resistor on it, and its the signal
blue is neutral wire
black is ground