Header Ads Widget

HOW TO MAKE RESISTANCE METER USONG ARDUINO|| ARDUINO OHM METER

  

ARDUINO OHM MEETER :

Hi guys, in this article we make a project resistance meter using Arduino and 16*2 LCD display. Now let's talk about the what are the components required to do this project.

 ARDUINO OHM MEETER COMPONENTS

  • Arduino                      BuyNow
  • 16*2 LCD dispaly      BuyNow
  • breadboard                 BuyNow
  • 1k resistor                  BuyNow
  • jumper wires              BuyNow
these are the major components we are using

If you want to buy Arduino components, I am giving my affiliate links. If you buy the components using my affiliate links, it will help to our channel and website growth. so do these small help.

HOW THIS ARDUINO OHM METER WORKS :

IF YOU WANT WORKING PROCESS PLEASE COMMENT BELOW OR PING A MSG ON INSAGRAM

ARDUINO OHM METER CIRCUIT DIAGRAM :

Connect all the components as show in circuit diagram .

 ARDUINO OHM METER CODE :

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
int analogPin = A0;
int raw = 0;
int Vin = 5;
float Vout = 0;
float R1 = 950; // value of 1k resistor
float R2 = 0;
float buffer = 0;

void setup(){
    lcd.begin();
    lcd.setCursor(0, 0);
    lcd.print("Resistance Meter");
}

void loop(){
  raw = analogRead(analogPin);
   if(raw==0){lcd.setCursor(0, 1);
   
    lcd.print("      Open      ");}
  if(raw){
    buffer = raw * Vin;
    Vout = (buffer)/1023.0;
    buffer = (Vin/Vout) - 1;
    R2 = R1 * buffer;
    lcd.setCursor(3, 1);
    if(R2>999.99){
    lcd.print(R2/950);
    lcd.print(" K Ohm  ");
    }else{
    lcd.setCursor(3, 1);
    lcd.print(R2);
    lcd.print(" Ohm   ");
      }
    delay(1000);
  }
}

MAKING VIDEO :





if you have any doubts regarding to this project, contact me on Instagram or comment on YouTube video. I will help my best.



















Post a Comment

0 Comments