StevenMHernandez / ESP32-CSI-Tool

Extract Channel State Information from WiFi-enabled ESP32 Microcontroller. Active and Passive modes available. (https://stevenmhernandez.github.io/ESP32-CSI-Tool/)
https://stevenmhernandez.github.io/ESP32-CSI-Tool/
MIT License
262 stars 72 forks source link

About the csi phase #105

Open Worange12 opened 5 months ago

Worange12 commented 5 months ago

Can I get the phase difference buy just one antenna on ESP32-S3? And the csi data of https://github.com/espressif /esp-csi is that the singular column is the imaginary part, and the even column is the real part, how about this project?

StevenMHernandez commented 5 months ago

This code shows how Raw CSI is generated as well as how to calculate amplitude and phase based on the order of real and imaginary components. https://github.com/StevenMHernandez/ESP32-CSI-Tool/blob/master/_components/csi_component.h#L61-L78