Logging & Debugging
Last updated
Last updated
DroneBridge for ESP32, like all other ESP32 projects, logs data via the serial output. In case of bugs or errors you can read those logs in real time.
For officially supported boards just connect the USB port of the board to your computer. Alternatively, you can connect a serial to USB adapter to the debugging port of the board (TX & RX pins).
Any serial monitor application will work, however, for ease of use I do recommend esptool-js or the ESPHome WebTools. This will only work on Chrome-based browsers (e.g. Google Chrome or Microsoft Edge).
Connect the ESP32 board to your computer (USB or serial to USB adapter)
Go to esptool-js using Chrome or Edge as a browser
Under Console
click connect selecting 115200
as the baud rate
Select the connected serial device
Once the console opens click Reset
to reboot the esp32 and start logging