Postingan

Arduino Capacitor tester with LCD

Gambar
By this arduino project you can measure the capacity of capacitors with value between 0.1uF to 3500uF. Here arduino calculate the capacity value by measuring the time required to charge the capacity to reach 63.2% of source voltage(According to Capacitor time constant formula ), then divided this time by resistor value which is 10K to find out the capacitor value. Parts list: Arduino Board LCD 16x2 Breadboard  Connecting wire Potentiometer 10K Resistor 10K Resistor 220 ohm(2pcs) Wiring: 10K resistor used for charging the capacitor and 220 ohm used for discharging.   Capacitor under test with 47uF nominal value Capacitor Charge and discharge curve on oscilloscope: Code:  #include <Wire.h> #include <LiquidCrystal.h> LiquidCrystal lcd(7, 8, 9, 10, 11, 12); #define analogPin      0          #define chargePin      13         #define...

Arduino Spirit Level with LCD

Gambar
Arduino Spirit Level with LCD Parts list: Arduino board LCD 16x2 Gyroscope MPU-6050 Potentiometer 10K Resistor 220 ohm Breadbord Connecting wire Wiring: Video: Code: #include <LiquidCrystal.h> LiquidCrystal lcd(7, 8, 9, 10, 11, 12); #include <Wire.h> //Declaring some global variables int gyro_x, gyro_y, gyro_z; long acc_x, acc_y, acc_z, acc_total_vector; int temperature; long gyro_x_cal, gyro_y_cal, gyro_z_cal; long loop_timer; int lcd_loop_counter; float angle_pitch, angle_roll; int angle_pitch_buffer, angle_roll_buffer; boolean set_gyro_angles; float angle_roll_acc, angle_pitch_acc; float angle_pitch_output, angle_roll_output; //Initialize the LCD library //LiquidCrystal_I2C lcd(0x27,16,2); void setup() {   Wire.begin();                                          ...

Arduino DC current & voltage meter with LCD

Gambar
Arduino DC voltage and current meter Max. voltage= 50v Max. current = 30A (There are 3 types of ACS712 sensor, 5A, 20A, 30A) Parts list: Arduino board LCD 16x2 Current sensor ACS712 (There are 3 types of ACS712 sensor, 5A, 20A, 30A) Connecting wire Potentiometer 10K Resistor 10K Resistor 100K Resistor 220 ohm Breadboard Wiring: Video:  Please subscribe to my YouTube channel here:  https://www.youtube.com/c/EngMousaalkaabi?sub_confirmation=1 Code: #include <LiquidCrystal.h> LiquidCrystal lcd(7, 8, 9, 10, 11, 12); //Measuring Current Using ACS712 (30A) const int analogIn = 0; //Connect current sensor with A0 of Arduino const int analogIn2 = 1; //Connect voltage sensor with A1 of Arduino int mVperAmp = 66; // use 100 for 20A Module and 185 for 5A Module int RawValue= 0; int VolValue= 0; int ACSoffset = 2500; double Voltage = 0; //voltage measuring double Voltage2 = 0; //voltage measuring double Amps = 0;// Current measuring double Volt = 0;// voltage measuring void setup() ...

Arduino frequency meter

Gambar
In this project i used arduino for frequency counting. The testing signal first should connect to a "schmitt trigger" to convert that to a square wave with constant amplitude about 5v, then the output of schmitt trigger connected to pin4 of arduino board to calculating the frequency. If your signal is square wave with amplitude not more than 5v and without noise, so you don't need to use schmitt trigger and you can connect the signal directly to pin4 of arduino. Frequency calculating process is very simple by measuring High time, Low time and period time (High time+Low time), then used frequency formula which is (1 second / period time) I test this project with function generator and the frequency reading was accurate within frequency range of 31Hz to 100KHz Parts list: Arduino board  LCD display 16X2 Breadboard  Connecting wires Schmitt trigger IC 74HC14 Potentiometer 10K Resistor 220 ohm In following video i don't use schmitt trigger because my input signal's am...

Arduino 220v switch using fingerprint scanner FPM10A

Gambar
This arduino project used fingerprint scanner module FPM10A for turns ON/OFF some AC or DC loads by fingerprint. In this project we should using two different codes, the first code is for saving your fingerprint on the memory of the module, and the second code used for scanning the fingerprint of people in each time to compare that with saved fingerprint on the memory. Parts list: Arduino board (UNO or Nano) LCD display 16X2 Fingerprint scanner FPM10A   One channel relay module Breadboard Connecting wires Potentiometer 1K Resistor 220 ohm Please subscribe to my YouTube channel here:  https://www.youtube.com/c/EngMousaalkaabi?sub_confirmation=1 Follow this steps: 1- Install the library from here 2- Connect the module and the relay as shown in this picture 3- Go to Example and upload the enroll code to arduino 4- Open the serial monitor and insert a number between 1 to 127 then put your finger and scan it several time to saved that on the module, i saved my thumb and inde...

Arduino 220V AC Power meter using PZEM004T

Gambar
Arduino 220V AC Power meter using PZEM004T Library : https://github.com/olehs/PZEM004T Part list: Arduino board LCD 16x2 PZEM004T module Resistor 220 ohm Potentiometer 10K Video:  CODE: #include <SoftwareSerial.h> // Arduino IDE <1.6.6 #include <PZEM004T.h> #include <LiquidCrystal.h> LiquidCrystal lcd(7, 8, 9, 10, 11, 12); PZEM004T pzem(2,3);  // (RX,TX) connect to TX,RX of PZEM IPAddress ip(192,168,1,1); void setup() {   Serial.begin(9600);   pzem.setAddress(ip);   lcd.begin(16, 2); // lcd rows and columns    } void loop() {     float v = pzem.voltage(ip);   if (v < 0.0) v = 0.0;   Serial.print(v);Serial.print("V; ");   lcd.setCursor(0,0);   lcd.print("V= ");   lcd.setCursor(2,0);   lcd.print(v);   float i = pzem.current(ip);   if (i < 0.0) i = 0.0;   Serial.print(i);Serial.print("A; ");   lcd.setCursor(9,0);   lcd.print("A= ");   lcd.setCursor(11,0); ...

High voltage probe for multimeter

Gambar
High voltage probe for multimeter