Postingan

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

Wireless voltmeter using Arduino and RF 433MHz receiver and transmitter

Gambar
In this project i showed you how to make a wireless voltmeter using arduino and RF 433MHz receiver and transmitter. You can use this code and concept for many other projects, any project which used sensor with analog voltage output to sense temperature, gas leakage or light , etc. For example you can put a LM35 temperature sensor rather than potantiometer, you just have to putting its formula which convert LM35 output pin voltage to exact temperature. You also can make a wireless AC or DC power meter by doing some change in code and hardware (using hall effect current sensor and single phase voltage sensor). This type of RF module has distance range up to 200 meters according to datasheet but when i bought this RF module from Aliexpress its distance rang was very low, but i set its adjustable RF coil very carefully and i get very higher distance rang.(Don't play with RF coil if your module works good), You also have to use a 6 inch antenna to increase distance range to max as possi...

Power factor measurment using Arduino

Gambar
In this project i used arduino and XOR gate to power factor measurement. What is power factor? Power factor is a number between 0 and 1 refers to phase shift between voltage phase and current phase in AC appliance. How to measure PF with Microcontroller (Arduino)? To measuring the power factor with microcontrollers in the first we used Op-Amp to zero cross detection to find the phase shift between current and voltage phase, the op-amp convert the sine wave signal comes from CT and PT with different amplitude to square wave with about 4v amplitude, then we connect these two square wave to XOR gate inputs.  XOR gate output will be 1 just when the inputs have different signals so when the load is resistive XOR gate output is 0 because both voltage and current phases start and ends in the same time, but when the load is inductive or capacitive XOR output is 1 because there are phase shaft between voltage and current, Hence we can find the power factor by measuring the " ON-time "...

Arduino 220v AC dimmer with remote control with code

Gambar
This Arduino project help you to control brightness of a 220V dimmable lamp or speed of ceiling fan (or any other electric motor) with an IR remote control using Arduino. Max. power which can controlled with this dimmer depend on triac model.(BT136 can bear 4A according to Datasheet). This project consist of 4 basic parts: 1-Microcontroller(Arduino) 2-Zero-cross detector(Bridge and Optocoupler) 3-Display(7Segment) 4-Phase angel controller(Tiac and Triac driver) The load can controlled by Up and Down bush button or with IR remote controller.  Circuit diagram: Parts list: Arduino UNO https://goo.gl/XR3mXG Optocoupler pc817 Triac driver MOC3021(Or any other Random-phase triac driver) 1 Digit 7 Segment common cathode Triac BT136 Diode bridge(4pcs 1N4007) (Diode kit: https://goo.gl/w1rmcX ) Push button(4pcs) Resistor kit https://goo.gl/p4JvQY Resistor 100K(2pcs) Resistor470 ohm (2pcs) Resistor 330 ohm Resistor 100 ohm 1W Resistor 10K Capacitor 100nF 400v IR receiver 1830B Important NO...