Problem in using Rotary switch 2P6T

Hi, sorry I am a little bit noob.

I don't know if this topic belongs here.

I have a project at school to make a voltmeter and ammeter combined.

I can do only 1 at a time and my professor said that I need to use a switch and I found a 2P6T rotary switch

how can I combine these 2?

sorry for my noob question, any answer will do great help. :slight_smile:

below are the circuit of the voltmeter and ammeter i found in the internet.

Open your digital VOM meter and see how many poles of their switch are used.

Paul

Another question to consider: how do you measure amps when all you have is a voltmeter?

Another question to consider: how do you measure amps when all you have is a voltmeter?

Thatโ€™s not so hard - measure voltage drop across a known series resistance...

BUT what does OP want the switch to do?
Connecting the switch is easy, switch wiper to ground (0V), and 6-positions to inout pins with INPUT_PULLUP flag set. (there are other ways, but thats the easiest)
Then test those six inputs to determine which one is โ€˜lowโ€™...
In a 6T switch, only one will be low at a time - ignoring make-before-break possibilities.