• Hardware
  • Python Example Put Oak-D-Lite into low-power state?

Is there a Python example script showing how to put the Oak-D-Lite into the low power consumption standby state?

  • jakaskerl replied to this.
  • Hi cycob
    There is no low power consumption state. The device has two states, X_link_unbooted - which is when device is plugged in but not running (consuming about a W), and state when device is running (consuming upwards of 5W on oak-d-lite).

    Thanks,
    Jaka

    Hi cycob
    There is no low power consumption state. The device has two states, X_link_unbooted - which is when device is plugged in but not running (consuming about a W), and state when device is running (consuming upwards of 5W on oak-d-lite).

    Thanks,
    Jaka

    Interesting - Here are my results running a console spatial tiny yolo (console output of x,y,z class and fps only)

    **Oak-D-Lite POWER CONSUMPTON With Console Only Spatial Tiny Yolo**
    (Wali is a set of ROS 2 Humble robot nodes over Ubuntu 22.04 in a Docker container)

    - Base Pi5 running Wali 3.3W (Oak-D-Lite unplugged)
    - Pi5 running Wali plus Oak-D-Lite first plugged in: 3.85W
    - Pi5 running Wali plus console spatial tiny yolo.py 28fps: 7.95W (0.7W for Oak-D-Lite processing)
    - Pi5 running Wali after console spatial tiny yolo.py shutdown: 3.98W (0.7W for Oak-D-Lite)

      cycob 7.95W (0.7W for Oak-D-Lite processing)

      Typo? That would confirm my rough estimations. Seems the Oak is consuming a little less then I anticipated.

      Thanks,
      Jaka

        jakaskerl Typo?

        Good catch. Corrected:

        **Oak-D-Lite POWER CONSUMPTON With Console Only Spatial Tiny Yolo**
        (Wali is a set of ROS 2 Humble robot nodes over Ubuntu 22.04 in a Docker container)

        - Base Pi5 running Wali 3.3W (Oak-D-Lite unplugged)
        - Pi5 running Wali plus Oak-D-Lite first plugged in: 3.85W
        - Pi5 running Wali plus console spatial tiny yolo.py 28fps: 3.95W (0.7W for Oak-D-Lite processing)
        - Pi5 running Wali after console spatial tiny yolo.py shutdown: 3.98W (0.7W for Oak-D-Lite)

          Hi cycob
          How are you measuring this? Unless you are running everything on the Pi, there is no way you would get such low power consumption.

          Thanks,
          Jaka

            jakaskerl Unless you are running everything on the Pi, there is no way you would get such low power consumption.

            Ah, the typo was not the total power - that was correct - rechecked and finally correct:

            **Oak-D-Lite POWER CONSUMPTON With Console Only Spatial Tiny Yolo**
            (Wali is a set of ROS 2 Humble robot nodes over Ubuntu 22.04 in a Docker container)

            - Base Pi5 running Wali 3.3W (Oak-D-Lite unplugged)
            - Pi5 running Wali plus Oak-D-Lite first plugged in: 3.95W (0.65W for Oak-D-Lite powered, non-running state)
            - Pi5 running Wali plus console spatial tiny yolo.py 28fps: 8.05W (4.75W for Oak-D-Lite processing)
            - Pi5 running Wali after console spatial tiny yolo.py shutdown: 4.18W (0.9W for Oak-D-Lite powered, non-running)

            (vdepthai)pi@WaLiPi5:~/wali_pi5/systests/Oak-D-Lite/vdepthai/spatial_tiny_yolo $./console_spatial_tiny_yolo.py 

            NN fps: 28.3     
            person     conf:2 %  at X:17     Y:27     Z:628   mm 

            NN fps: 28.3     
            person     conf:7 %  at X:11     Y:35     Z:628   mm  

            NN fps: 28.3   
            person     conf:8 %  at X:11     Y:68     Z:628   mm
            tie        conf:3 %  at X:23     Y:50     Z:628   mm

            Holding a framed picture of me in a tuxedo (bow tie) in the FOV of Oak-D-Lite.

            10 months later

            How do you boot the camera?