Download PDF
      SAMOVAR                                  
×
Menu

Bluetooth port monitor

The Samovar firmware does not use the built-in Bluetooth of the ESP32 module. You can build a remote serial port monitor with external HC-05 or HC-06 modules: they simply relay over the radio channel whatever Samovar prints to the main diagnostic port (the same one you see in the Arduino IDE or PlatformIO port monitor). The port runs at 115200 baud.
Connect the RX input of the Bluetooth module to the TX of the main serial port (the TX0 pin of the board), join the GND lines, and set the module to 115200 baud. Choose the supply voltage according to the markings of your particular module board; the ESP32 signal lines are 3.3 V. The module's TX output does not need to go to the Samovar RX if you only want to view the log. Leave UART2 with the RXD2/TXD2 pins (GPIO16/GPIO17 on ESP32 DevKit, GPIO18/GPIO17 on ESP32-S3) to the power regulator — it is a different port.
The output of the print() function of Lua scripts goes to the same port. The Lua_UART folder of the project sources contains an example of a separate Arduino receiver: it receives a string over UART, splits it by commas into 8 parts (up to 20 characters each), and shows them on a display. Do not connect the module directly to mains circuits or to the regulator outputs.