Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Klausj
Published © LGPL

Cross correlation inside out

Whenever you have to compare two signals which are shifted in time cross correlation is one of the best ways to measure the phase.

AdvancedFull instructions provided1 hour1,534
Cross correlation inside out

Things used in this project

Story

Read more

Code

Cross correlation of two low frequency signals

Arduino
Just apply two signals to analogue inputs A0 and A5 and watch the cross correlation function being displayed.
No preview (download only).

Detect phase difference between two signals

Arduino
Apply two low frequency signals to analog pins. Cross correlation function will be computed and shown.
No preview (download only).

Credits

Klausj
83 projects • 7 followers
Contact

Comments

Please log in or sign up to comment.