0% found this document useful (0 votes)
203 views3 pages

How To Make Arduino Ohm Meter - Kiyani Solutions

This document provides instructions for making an Arduino ohm meter. It is a 3-step process: 1) Connect an LCD display and resistors to an Arduino board, 2) Upload code to the Arduino to read resistance values from a test resistor connected between pins on the board, 3) The resistance reading will display on the LCD in ohms or kilohms. The circuit diagram and code are included.

Uploaded by

Binun Kasihnama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
203 views3 pages

How To Make Arduino Ohm Meter - Kiyani Solutions

This document provides instructions for making an Arduino ohm meter. It is a 3-step process: 1) Connect an LCD display and resistors to an Arduino board, 2) Upload code to the Arduino to read resistance values from a test resistor connected between pins on the board, 3) The resistance reading will display on the LCD in ohms or kilohms. The circuit diagram and code are included.

Uploaded by

Binun Kasihnama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

18/03/22 18.

33 How to Make Arduino Ohm Meter - Kiyani Solutions

How to Make Arduino Ohm Meter


May 23, 2021 by ZAIN

An ohmmeter is an electrical instrument used to measure the resistance of a component or in a


circuit. Resistance is a measure of the opposition to current flow in an electrical circuit. The unit
of electrical resistance is ohms and its symbol is Ω.so today we are going to make an ohm
meter using Arduino below are the steps to build it.

Step 1 :
First we need to connect 16×2 LCD to Arduino, pin number 1, 5, 7, 8, 9, 10, and 16 of the LCD
goes to ground and its pin number 2 and 15 to 5V supply of Arduino and pin number 4, 6, 11,
12, 13, 14 of the LCD goes to pin d2, d3, d4, d5, d6, d7 of Arduino respectively. Now we need to
connect a 2.2 k resistor to pin number three of the LCD and ground to control the contrast of the
LCD display, we can also use 10K trim pot for variable contrast control. Now we need to connect
a 1k resistor to pin A0 of Arduino and ground. To test an unknown resistor, we need to connect
is to pin A0 of Arduino and 5V pin of Arduino.

Step 2:
Now connect the Arduino to you PC and upload the code to Arduino

Arduino code

Copy

https://kiyanisolutions.com/how-to-make-arduino-ohm-meter/ 1/3
18/03/22 18.33 How to Make Arduino Ohm Meter - Kiyani Solutions

#include <LiquidCrystal.h>

LiquidCrystal lcd(2,3,4,5,6,7);

int analogPin = 0;

int raw = 0;

int Vin = 5;

float Vout = 0;

float R1 = 973; // value of 1k resistor

float R2 = 0;

float buffer = 0;

void setup(){

lcd.begin(16, 2);

lcd.setCursor(0, 0);

lcd.print(" Ohm Meter ");

void loop(){

raw = analogRead(analogPin);

if(raw==0){lcd.setCursor(0, 1);

lcd.print(" Open ");}

if(raw){

buffer = raw * Vin;

Vout = (buffer)/1024.0;

buffer = (Vin/Vout) - 1;

R2 = R1 * buffer;

lcd.setCursor(3, 1);

if(R2>999.99){

lcd.print(R2/1000);

lcd.print("K Ohm ");

}else{

lcd.setCursor(3, 1);

Components:
1 X Arduino Nano https://s.click.aliexpress.com/e/_dW4c8vp
1x 16X2 LCD https://s.click.aliexpress.com/e/_dTNRVcG
1x 2.2K Resistor https://s.click.aliexpress.com/e/_dW4c8vp
1x 1K Resistor https://s.click.aliexpress.com/e/_dW4c8vp
jumper wires https://s.click.aliexpress.com/e/_d7tugcP

Circuit Diagram:

https://kiyanisolutions.com/how-to-make-arduino-ohm-meter/ 2/3
18/03/22 18.33 How to Make Arduino Ohm Meter - Kiyani Solutions

OHM Meter   0.00 KB   61 downloads


DOWNLOAD
...

Gerber Files

Arduino nano - CADCAM   22.62 KB   28 downloads


DOWNLOAD
ZIP ...

Arduino Code

Ardu_ohm_mtr   0.77 KB   47 downloads


DOWNLOAD
INO ...

Ardu_ohm_mtr   0.77 KB   36 downloads


DOWNLOAD
...

Ardu_ohm_mtr   0.45 KB   32 downloads

...

https://kiyanisolutions.com/how-to-make-arduino-ohm-meter/ 3/3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy