Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey 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
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Inductance Meter

By Ajish Alfred February 21, 2014

 

 

The inductance meter is a device that can be used to measure the unknown inductance of an inductor or a simple coil. This project discusses the concept and the technique of measuring the inductance with a microcontroller board. This project makes use of the resonance frequency of a tank circuit, in which there will be a capacitor and an unknown inductance connected in parallel. The natural resonating frequency of the tank circuit varies with the value of the inductor connected. The frequency is measured and the value of inductance is calculated with the help of simple mathematical equations.

 

Prototype of Arduino based Inductance Meter

Fig. 1: Prototype of Arduino based Inductance Meter

The Arduino board is used to develop this simple prototype of inductance meter, so reader needs to know how to start with arduino.The arduino board has all the required circuitry to get the built-in AVR microcontroller running. The AVR microcontroller boards which are provided with all the basic circuitry for the operation of the microcontroller which has been flashed with the Arduino boot-loader are called Arduino boards. The Arduino IDE is so simple to use that anyone who has basic knowledge of c programming can quickly get started with it. The output of the device can be viewed in the Serial monitor window of the Arduino IDE or in any Serial port accessing software like Hyperterminal, Putty, Mtty etc.

Description

It is assumed that the reader has gone through the project how to get started with the arduino and done all the things discussed in it.

The Arduino based inductance meter explained in this project is basically a frequency meter which measures the resonating frequency of a tank circuit. The tank circuit is a general term representing an inductor and a capacitor connected in parallel. This circuit is also called parallel LC circuit, in which the ‘L’ denotes the inductance and the ‘C’ denotes the capacitor.

 

Image showing LC Circuit

Fig. 2: Image showing LC Circuit

This tank circuit is made to oscillate at its resonating frequency by suddenly discharging it after a period of constant charging. Once started discharging the tank circuit will oscillate at its resonating frequency, or simply it will resonate while discharging. The amplitude of the oscillation keeps on decreasing each time it oscillates and finally the oscillation dies out at the point of time when the tank circuit is completely discharged. This type of oscillation is called ‘Damped oscillation’

 

Overview of Arduino based Inductance Meter

Fig. 3: Overview of Arduino based Inductance Meter

The above image is the representation of a damped oscillation happening at the output of a LC tank circuit. The frequency of the oscillation is related to the value of the inductor ‘L’ and the capacitor ‘C’ in the circuit and is given by the following equation.

 

Image showing Formula of Frequency for LC Circuit

Fig. 4: Image showing Formula of Frequency for LC Circuit

Working

The Damped oscillation can also be observed on a CRO when a square wave of high frequency is applied to a tank circuit as shown in the following image.

 

Image showing waveforms of damped oscillations on CRO

Fig. 5: Image showing waveforms of damped oscillations on CRO

The Arduino board in this project charges a tank circuit, in which the value of inductance need to be found out is connected in parallel with a capacitor. The Arduino board suddenly discharges it at a point of time and let is resonate. The frequency at which the circuit resonates will be measures and from that the inductance is measured.

 

Image of Damped Oscillations

Fig. 6: Image of Damped Oscillations

Since the oscillation of a LC tank circuit will always be in the form of a sine wave and the Arduino is a digital device, there need some circuitry which helps in reading the frequency of the Damped oscillation of the LC circuit. This is achieved with the help of a ‘Zero crossing detector’ made with a comparator IC, LM339. The output of the Zero crossing detector becomes high when the sine wave starts the positive half cycle and will remain high till the time sine wave starts the negative half cycle. Thus for one cycle of a sine wave the output of the Zero crossing detector will generate a square wave which is having a time period exactly half of that of the sine wave.

 

Image showing ouutput waveforms of LC Circuit and LM339

Fig. 7: Image showing ouutput waveforms of LC Circuit and LM339

The time period of all the square waves will be same since for the Damped oscillation, only the amplitude keeps on decreasing with each cycle but the frequency remains the same. The Arduino board measures the time period of the first square wave after the tank circuit is discharged and takes the time period ‘T’ of the oscillation as double that value. The frequency of the oscillation is then calculated by taking the inverse of that value.

F = 1/2T

The value of the unknown inductance ‘L’ is then calculated from the known values of capacitance ‘C’ connected in the circuit, and the frequency ‘F’ of the damped oscillation of the tank circuit.

L = 1/4?2F2C

Calculating the frequency by measuring the time period of square wave is very easy using the Arduino code, the built-in function ‘pulseIn()’ helps to do that. The function returns the time period of a pulse which appears at the specified pin, as an example the statement,

pulse = pulseIn(11,HIGH,5000);

returns the value of the time period in which a pulse remained high at the pin 11. The third parameter is optional for this function which sets a time out till a pulse appears on the specified pin.

Note:

This prototype can measure only very high inductance values. The value may vary slightly with each reading due to the tolerance of the capacitor. The users are suggested to add some calibration value with the actual value if it is required.

 

Image showing inductance measurement on serial port of Arduino IDE

Fig. 8: Image showing inductance measurement on serial port of Arduino IDE

 

Project Source Code

###





double pulse,frequency,capacitance,inductance;


void setup()
{
    Serial.begin(115200);
    pinMode(11,INPUT);
    pinMode(13,OUTPUT);
    Serial.println("============ INDUCTANCE METER ============");
    delay(1000);
}
void loop()
{
  digitalWrite(13,HIGH);
  delayMicroseconds(5000);
  digitalWrite(13,LOW); 
  delayMicroseconds(100);
  pulse=pulseIn(11,HIGH,5000);
   if(pulse>0.1)
   {
      capacitance=47.E-8;//Currently using 0.47uF
      frequency=1.E6/(2*pulse);
      inductance=1./(capacitance*frequency*frequency*4.*3.14159*3.14159);
      inductance*=1E6;
      Serial.print("tinductance uH:");
      Serial.println(inductance);
      delay(500);
   }
}

###

 


Circuit Diagrams

Circuit-Diagram-Arduino-Based-Inductance-Meter

Project Video


Filed Under: Electronic Projects
Tagged With: Arduino, ic meter, inductance meter
 

Next Article

← Previous Article
Next Article →

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.

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

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!


RSS EDABOARD.com Discussions

  • Right Half Plane Zero
  • dc-dc converter in series
  • Single ended measuring ports and balanced antenna
  • Thermal modelling of repetitive power pulse
  • Permittivity and Permealibility in CST

RSS Electro-Tech-Online.com Discussions

  • Fun with AI and swordfish basic
  • Microinverters and storeage batteries?
  • FFC connector white
  • Is AI making embedded software developers more productive?
  • Can I make two inputs from one??

Featured – LoRa/LoRaWan Series

  • What is the LoRaWAN network and how does it work?
  • Understanding LoRa architecture: nodes, gateways, and servers
  • Revolutionizing RF: LoRa applications and advantages
  • How to build a LoRa gateway using Raspberry Pi
  • How LoRa enables long-range communication
  • How communication works between two LoRa end-node devices

Recent Articles

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 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

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey 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
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe