
The phase angle computed in step 4. is also transmitted over UART for debugging purposes.
Connect the designated PMOD PCB. Then, play a 20kHz tone using a phone speaker (preferably only either left or right speaker). The green LED bar should track the direction of arrival. The UART should transmit single bytes containing the relative angle computed each integration period.
Built for a PMOD PCB available at the source repo. It could also possibly be jury rigged from LMD3526B261 modules and a bunch of LEDs on a breadboard.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | MIC_LEFT | PDM_CLK | LED_0 |
| 1 | MIC_RIGHT | LED_POS | LED_1 |
| 2 | LED_NEG | LED_2 | |
| 3 | PHASE_UART | LED_3 | |
| 4 | LED_4 | ||
| 5 | LED_5 | ||
| 6 | LED_6 | ||
| 7 | LED_7 |