sagar saini
Published © GPL3+

Milliohm meter theory and project

let's measure the smallest resistance ever posses by any wire or any shunt. The proper use of OHM's law with practical.

BeginnerFull instructions provided-60 minutes2,510
Milliohm meter theory and project

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
0.96" OLED 64x128 Display Module
ElectroPeak 0.96" OLED 64x128 Display Module
×1
Linear Regulator with Adjustable Output
Linear Regulator with Adjustable Output
×1

Software apps and online services

EasyEDA
JLCPCB EasyEDA
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Custom parts and enclosures

Gerber files

Schematics

Schematics

Code

Arduino milliohm meter code

Arduino
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define OLED_RESET 1
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET);

void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
  display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
  display.clearDisplay();
}
 
// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  
  // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V):
  float voltage = sensorValue * (5.0 / 1024.0);
 
  float Rx = voltage / 0.125;
 
  if (Rx > 36) {

display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(10,10);
display.print( " Out of Range ");
display.display();

  delay(1000);
}
  if (Rx < 35) {
    
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.setCursor(10,10);
display.print(Rx);
display.setCursor(10,20);
display.print(" Ohm      ");
display.display();

  delay(1000);
}
}

Credits

sagar saini

sagar saini

73 projects • 67 followers
I am Sagar Saini an electronic hardware enthusiast

Comments