Well, first you have to shift the input to 0..6V, using opamp. then you use sexteen comparators to divide the signal into sixteen "levels". Then you use a "one_from_sixteen to binary converter". I don't know why would you use 4029. Its an up/down counter. If you have other questions, ask.