Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Your asking a lot there in more ways and one
Tell us why should we write you some code and give you schematics to do so
I just have the very thing your looking for but it's not using a 16F84 it's usging a 18F452. Why use the 16fF84 that's old hat and it does not have any A/d converters on it. Also you do not say how you intend to dispaly the data.
To messure 35V you need to use an op-amp to devide it by 10 so it will give you 3.50V at 35V and make your software to display correct value, to messure the current you will need to use a 0.1R resistor and a op-amp agian but this time you will need to times it by ten so at 3.50A you get 3.5V at the pic put more than 5 volts on your pins and it will ne pic no more
My code displays all data on LCD both channels
Tell us more and i might help you means it's christmas and godd will to all men