I want to measure phase shift between two sine waves(power frequency=Hz) using arduino uno. I need some idea about how to proceed and required components other than arduino board, resistors, 250/9V transformer. please help me it is urgent.
I am thinking of detecting zero crossing of equivalent square waves, please tell me how to do that.
Thank you
Please don't post the same thing multiple times. Duplicate post deleted.
How about this - take your two frequencies, run them thru a part like HCPL3700 to create digital outputs, and measure the time between rising or falling edges.
it is urgent
Why is it urgent?
.
I want to measure phase shift of power frequency(50 Hz) voltage current using arduino uno, I think zero crossing detection will be easier way to do so, I need some guidance for that. Please help me how to proceed. Thank you
after rectification of 9V rms ac signal and clipping it to less than 5V, what I need to do for measuring phase shift? Can I send this half wave signal directly to arduino board and measure phase shift or I need external zero crossing detector(by using IC 741 OPamp)?
I am using 230/9V transformer and a half wave rectification circuit. After rectification of 9V rms ac signal and clipping it to less than 5V, what I need to do for measuring phase shift? Can I send this half wave signal directly to arduino board and measure phase shift or I need external zero crossing detector(by using IC 741 OPamp)?
I want to measure phase shift of power frequency(50 Hz) voltage current using arduino uno, I am using 230/9 V. Do I need external zero crossing detector(by using IC 741 OPamp)? Please help me to complete my project, it's urgent.
Please stop sending PM.
If you don't read or don't understand what was written by the contributors, you better ask in Gigs and Collaborations for somebody to complete your project.
Or start with something much simpler, until you understand better how a microcontroller works.
my project is to measure phase difference between voltage and current signal(50Hz) using arduino. I am helpless as I am very beginner with arduino uno but I have to complete project as soon as possible, Please help me
Please stop sending PM. - they are not for technical questions.
If you only have two half wave signals then you need to put them through a buffer or comparator to get square waves. Then you need to measure the time between two edges of these signals. Do not use a 741, it is so old and requires at least 10V for it to work. Pick a newer op-amp that will work off 5V.
Grumpy_Mike:
Please stop sending PM. - they are not for technical questions.If you only have two half wave signals then you need to put them through a buffer or comparator to get square waves. Then you need to measure the time between two edges of these signals. Do not use a 741, it is so old and requires at least 10V for it to work. Pick a newer op-amp that will work off 5V.
Okk, thanx for replying. From two half wave signals I can get two square waves by using TL084 op amp, on yhe output side I can get only +ve halves of swuare waves if I use diodes there. Now how to detect the time between edges for two different signals?
@sudiptakar484, stop cross-posting. Last warning.
Now how to detect the time between edges for two different signals?
When one signal goes high make a note of the millis() timer. When the other goes high an other note of the millis() timer.
The subtract the last reading from the first one to give you the time.