Originally posted by **feraloid** February 26, 2024
While connecting the OpenGamma Detector to an ESP32 via the UART/Serial2 pins (H1 #9 & 10) I have run into a problem. The documentation seems to say the OGD will accept shell commands via the UART serial (Serial2) port. The data transmitted from the OGD is coming through fine on the ESP32.
When I attempt to transmit shell commands from the ESP32 to the OGD, they are apparently ignored. I've mirrored the characters typed onto the ESP32 in code via Bluetooth serial to make sure the typed characters are being received/processed by the ESP32 code. I've also switched to lower baud rates on the chance there's a weird baud rate issue. I have tried different transmit pins off the ESP32 to make sure I didn't have a bad pin. Finally, just for completeness sake, I checked my transmit pin on the ESP32 with an oscilloscope and verified there is data coming through.
Did I misunderstand that the OGD will accept shell commands from the UART port or do I have some weird problem I have failed to find?
Hardware serial commands are not working correctly.
Discussed in https://github.com/OpenGammaProject/Open-Gamma-Detector/discussions/52
Hardware serial commands are not working correctly.