I am trying to connect a brown wire to micro. but as it is analog and need some circuit which will convert to digital values and then this can go as a input to micro pic33 input pin. If brown wire is connected to 0v or gnd , then micro state will change like low to high or high to low.