mmWave board hanging sketch
I have two copies of the mmWave board and I can't make them work. When I first got them, I wired one up and got it working then wrote about it here: https://johnwargo.com/posts/2023/dfrobot-mmwave-radar/
I'm trying to wire the board into my project and now, suddenly, the code simply won't work. Here's a link to the code: https://gist.github.com/johnwargo/159f8808b4b14694b953a7e96b48cb6f
The board initializes (which takes 12 seconds), but then when the sketch makes a call to `readPresenceDetection`, the sketch hangs and nothing executes after that line of code.
I dug out my second board and wired it in and it does the same thing. I don't understand what's different here. I've now tried two different Feather boards and two different mmWave boards.
Any ideas anyone?
@yeez_B I don't know enough about ESP32 serial ports to understand what you mean by try another serial port.
johnwargoI'm not very familiar with Adafruit's ESP32 board, but are you sure that GPIO20 can be used as a serial port? At least could not find the description in the Pinout of this board.
Yeez_BMaybe you could try on another Serial port
BTW - the board I'm using here is a Adafruit ESP32 Feather V2 which is why I'm using HardwareSerial in my sketch.
johnwargo