It will work if you change the baud rate to 9600. Follow the steps:
-
Change the line
#define BAUD_RATE 9600to#define BAUD_RATE 115000 -
Upload the sketch to Cactus Micro
-
Open the Serial Monitor, you will see some chars can’t read by human.
-
Just type the AT command “AT+UART=9600,8,1,0,0”
-
It will not response to any other input now. Restore the hardwareSerialMonitor sketch, change 115000 -> 9600
-
Re-upload the sketch
-
It should work now