Postingan

Menampilkan postingan dari Mei, 2018

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 index finger and s

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);   lcd.print(i);   float p = pzem.power(ip);   if (p < 0.0) p = 0

High voltage probe for multimeter

Gambar
High voltage probe for multimeter