Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

AUTO RANGING OHM METER

By Prabakaran P.M

Summary:

In this Project, we are going to build a circuit used to measure unknown resistance. When we connect any resistor in the breadboard circuit the exact value of the resistor is displayed in the 16×2 LCD. This is done by utilizing the ADC feature of the Arduino and the voltage divider concept to measure the resistance with reduced errors. Now-a-days we use multimeter with range selector switches to find the unknown resistance which will consume time, so we also introduced Auto ranging feature to reduce the manual ranging functions by implementing logics in coding and hardware which is discussed below.

Description:

Hardware assembly:

The entire project can be divided into three basic blocks;

1) Auto ranging Resistance Sensor Unit

2) Processor Unit

3) Display Unit

Block Diagram of Arduino based Auto Ranging Ohm Meter

Fig. 1: Block Diagram of Arduino based Auto Ranging Ohm Meter

Auto ranging Resistance Sensor Unit:

A basic voltage divider circuit is used as the Resistance Sensing Unit to provide an output, which is the voltage equivalent of the unknown resistor as the input. From this output voltage we can calculate the value of unknown resistance, detect the diode type or detect a continuous path. For more details you can refer here.

A scheme for estimating the value of unknown resistance value roughly and then altering the matching resistor in place of R2 is what we need here and this is called auto ranging. The circuit given below demonstrates auto ranging.

Arduino resistance meter Resistances R1 to R7 are the input resistors. Here in an instance of time the free end of one resistor is held high and the free ends of other resistors are held low. Then the voltage across the unknown resistance Rx is measured. Diodes are used to prevent the back flow of current from the lower ends. Suppose free end of R1 is held high. If the voltage across Rx is less than or equal to R1 then, the voltage drop across Rx will be less than or equal to (5-0.7)/2 = 2.15 where 0.7 is the diode drop. we can assume that Rx is less than or equal to 120 ohms and vice versa. The above steps are repeated with the succeeding input resistors until we get a solution. The closest value possible for the input resistance is 120 ohms and so this loop is considered for calculation.

Full circuit diagram of the auto ranging ohmmeter used Arduino is shown in the figure above. Pins 10, 11, 12, 13, A0, A1, A2 of the Arduino is used to switch the input resistors R1, R2, R3, R4, R5, R6, R7 respectively. Diodes D1 to D7 are used to prevent the back flow of current through the corresponding path.

Processor unit:

The processor unit in this project is the Arduino board and it uses the ADC module to read the output voltage from the Sensor Unit. On the Arduino board, we are using an 8 channel, 10 bit ADC with the reference voltage pin connected to 5 V. The ADC reads the voltage V2 and generates an equivalent value ‘ValueADC‘at the ADC register. For more details refer this link.

Display Unit:

The display unit in this project uses a common 16*2 LCD on which the Arduino displays the resistor value and diode type. The LCD has been wired in four bit mode to reduce the number of output pins of the Arduino. The code running on the Arduino used the library function analogRead() to obtain the ADC value and lcd.print() to display the data on 16*2 LCD.

Prototype of Arduino based Auto Ranging Ohm Meter designed on a breadboard

Fig. 2: Prototype of Arduino based Auto Ranging Ohm Meter designed on a breadboard

Circuit Diagrams

Image-Showing-Resistor-Network-Interfaced-Arduino-Measuring-Resistance
Circuit-Diagram-Arduino-Based-Auto-Ranging-Ohm-Meter


Filed Under: Electronic Projects

 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver
  • Introduction to Brain Waves & its Types (Part 1/13)

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • ADS error message: Internal timestep 1.91586e-10 too small at time 5.00000e-10
  • Pull up via GPIO
  • Timer MC14541B wrong delay
  • Band Pass Filte
  • Horizontally flipping the boardin Allegro

RSS Electro-Tech-Online.com Discussions

  • Best way to reduce voltage in higher wattage system?
  • Turn CD4029 on/off with TTP223
  • Need a ducted soldering fan for solder smoke extraction
  • Power failure relay options
  • DIY bluetooth speaker
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering