You are viewing an older revision! See the latest version
MOSFET Tester and 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
Ohm Meter¶

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.