Skip to main content

Power profile with AT commands in Otii

Power profile with AT commands in Otii

AT commands in Otii for IoT device control

Whether you’re building an IoT solution using LoRaWAN, Bluetooth, GNSS, or LTE-M/NB-IoT, chances are you’re configuring various settings—such as channels, signal levels, or power-saving modes—using AT commands. When working on low-power design and optimization, having the ability to both control and measure these parameters in a single tool is invaluable. This use case enables just that.

The device under test (DUT) is connected to Otii Arc/Ace at both the battery connectors and the UART pins. Otii Arc/Ace will supply power to the DUT and simultaneously measure current, voltage, and power, while collecting logs sent via UART. In the UART log window in the Otii app, AT commands can be sent to configure and control the communication settings of the DUT.

Products needed

How to connect

  1. Connect Arc/Ace to your computer using a USB cable. If needed, add a power supply via a power outlet.
  2. Connect Arc/Ace’s banana connector + to the DUT positive battery connector/power connector.
  3. Connect Arc/Ace’s banana connector – to DUT negative battery connector/power connector GND.
  4. Connect Ground GND from your DUT to Arc/Ace’s DGND. This is only necessary for Otii Ace since the expansion port and banana connector are isolated.
  5. Connect the UART TX from your DUT to the RX on the Arc/Ace.
  6. Connect the UART RX from your DUT to the TX on Arc/Ace.

Get started in the Otii app

  1. Under ‘Channels’, choose what kind of measurements you want to record, for example, main current, main voltage, and main power. These will show as graphs.
  2. Under ‘UART’, enable UART log.
  3. Set the correct baud rate for your device.
  4. Start a recording
  5. Power the DUT by setting the voltage for Ace/Arc and turning on the supply (press the On button).
  6. Go to the UART log window and enter the AT command in the TX data field. The response (e.g., ‘OK’) will be device-dependent once the AT command is accepted.