Posts

Showing posts from December, 2017

MPU6050 | Live graph | Raspberry Pi

Image
Howdy! It's my pleasure to share my another work from my desk. Today I'm going to talk about interesting and important sensor. It's nothing but MPU6050 the combination of Accelerometer + Gyroscope + Temperature in a single board. It basically works with I2C protocol . Now, what we're going to do is interfacing MPU6050 with the Raspberry Pi and collect the real time data. And we're going to visualize the change in axis in the graph. Let's get started 💪 I've connected my MPU6050 and RPi with the hookups as mentioned. For visualizing the data I used python in combination with matplotlib. Working GIF 😉 Working Model It have lot of application. I look forward to hear it from you people.

Power factor measurment using Arduino

Image
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 power factor with microcontrollers in 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 input have different signal 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" of XOR out