Capture UART logs

Capture and record Device Under Test (DUT) serial logs

Set up Otii hardware, Otii Arc Pro, or Otii Ace Pro to capture logs from the DUT serial log.

Products required

Hardware

Otii hardware setup

  1. Connect Otii hardware to your computer via USB. If needed, add a DC power supply via the DC plug.

  2. Connect Otii hardware’s banana connector positive lead to DUT positive (+) battery connector/power connector.

  3. Connect Otii hardware’s banana connector negative lead to DUT negative (-) battery connector/power connector (GND).

  4. Connect Otii hardware's RX pin to the DUT TX pin.

  5. Connect Otii hardware's DGND to the DUT GND pin.

In case of connecting the DUT using the battery connector, remove the battery prior to connecting it to the Otii hardware.

Otii software setup

  1. Open the Otii 3 Desktop App, then select "Create a new Otii Project."

  2. In the left sidebar, find the CONTROL section. Within this section, add the Otii hardware identified by your computer. Just click the add button on the right side of the hardware identified.

  3. Considering the DUT's power ranges, set the required voltage for the added Otii hardware in the voltage box located on the left side of the power supply button.

  4. Under "General Settings," make sure:

    • "Power Box" option is selected.

    • Set digital voltage according to the DUT's digital voltage level for the UART

    • Set an OC (overcurrent) protection for the DUT.

  5. Under "Channels," choose the measurements desired to be recorded (e.g., main current, main voltage, main power, among others)

  6. Under "UART", make sure:

    • Assign the DUT's baud rate.

    • Select "UART log" to enable the serial communication. Once enabled, the console log will automatically open.

  7. Click the record button in the upper left corner of the toolbar to start recording DUT measurements. Since your DUT is not powered on yet, only noise measurements will be observed at first.

  8. Under the CONTROL section, turn on the DUT by clicking on the power button located right next to the desired voltage assigned. Once turned on, the DTU measurements are being recorded.

  9. Now it's time to validate, analyze, and optimize your embedded system or IoT devices.

Last updated