I am making a project in which i will be taking input from raspberry pi then transfroming single input into string of differnet inputs like voltage ,current, frequency. so how can i transform input that i will be taking from single pin of raspberrypi to voltage,current and frequency