I have a basic understanding of electronics but am trying to put together a circuit for a project I'm working on. I am wanting to replace a 10k potentiometer in a 5V circuit with a signal from a proximity sensor representing rpm. I have included a diagram of the signals i have currently at the pot. Basically I need close to full voltage down the signal wire at 0 rpm and as the rpm increases to a max of around 100 rpm (adjustable 80-120 in a perfect world) i need it to receive more of the 0V connection. Any help on the matter would be greatly appreciated.