MOSFET Tester with Ohm Meter

 

Purpose: To use a DIP switch to switch between a mosfet tester and a ohm meter.

IO Devices used: 16x2 LCD panel, DIP Switch

Using the code below, the LCD screen will display the resistance and current flowing through a resistor. It was found to be accurate within about 60 Ohms.

Ohm Meter Technique:

  1. Run the 3.3V source (the red wire) through the unknown resistor (running vertical)
  2. Put the unknown resistor in series with another resistor (1 kOhm running horizontal) with a known value
  3. Connect the other end of this known resitor to ground.
  4. Run an analogIn(p20) from the node that is touching both the unknown resistor and the 1 kOhm resistor.


0 comments

You need to log in to post a comment