Nordic Thingy 91 Low power version of Asset tracker v2 now does not send Barometric pressure nor button press data

Hi,

I followed the procedure described here with Nordic Thingy 91 https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nowi-powered-energy-autonomous-nordic-thingy-91-platform

and now it works with low power consumption and sends data to NrfCloud, that is fine.

However, after adding the prj.conf file, now it does not send emvironmental pressure and button press values. How can still receilve those values into NrfCloud, along with temperature and moisture that I already receive?

Regards

Parents
  • Hi

    If you check out the prj.conf file, you can see that a lot of configs has been disabled, like the CONFIG_LED_CONTROL, the serial interface, and a lot of log event configs has been set to "n". You can't expect super low current consumption and being able to get continuous logging information I'm afraid. You'll need to enable the configs you need again if you still want environmental pressure and button press values, etc.

    Best regards,

    Simon

  • I managed to configure so that I receive also button presses. But I don´t receive atmosferic pressure. What should I enable to receive pressure data?

  • I have it connected over BLE UART to my smartphone for 1 hour and it does not get disconnected from NRFCLOUD. So, BLE UART logs are not useful to see when it gets disconnected.

    If not connected over BLE UART, it disconnect like in 20 minutes time. So, I guess you need serial wire logs?

  • Yes, because right now we don't have anything to determine what may be causing the disconnect.

  • Look, I got this serial log over serial terminal with Putty:

    [00:01:41.627,227] <inf> event_manager: UI_EVT_BUTTON_DATA_READY
    [00:01:41.633,911] <inf> event_manager: DATA_EVT_UI_DATA_READY
    [00:01:41.641,815] <inf> event_manager: DATA_EVT_UI_DATA_SEND
    [00:01:41.649,780] <inf> event_manager: CLOUD_EVT_DATA_ACK
    +CSCON: 1
    %CESQ: 49,2,15,2
    %CESQ: 54,2,16,2
    %CESQ: 57,2,11,1
    +CSCON: 0
    %CESQ: 47,2,12,1
    %CESQ: 52,2,11,1
    %CESQ: 55,2,16,2
    %CESQ: 54,2,11,1
    %CESQ: 55,2,17,2
    %CESQ: 55,2,12,1
    %CESQ: 55,2,17,2
    %CESQ: 55,2,11,1
    %CESQ: 54,2,17,2
    %CESQ: 54,2,11,1
    %CESQ: 55,2,16,2
    %CESQ: 55,2,11,1
    %CESQ: 255,0,255,0
    [00:15:00.264,770] <inf> event_manager: APP_EVT_DATA_GET_ALL
    [00:15:00.271,362] <inf> event_manager: APP_EVT_DATA_GET - Requested data types                                                                                                              (MOD_DYN, BAT, ENV, GNSS)
    [00:15:00.283,508] <inf> event_manager: SENSOR_EVT_ENVIRONMENTAL_DATA_READY
    [00:15:00.352,691] <inf> event_manager: MODEM_EVT_MODEM_DYNAMIC_DATA_READY
    [00:15:00.421,264] <inf> event_manager: MODEM_EVT_BATTERY_DATA_READY
    [00:16:15.282,226] <inf> event_manager: DATA_EVT_DATA_READY
    [00:16:15.294,982] <inf> event_manager: DATA_EVT_DATA_SEND
    [00:16:15.347,778] <inf> event_manager: CLOUD_EVT_DATA_ACK
    %CESQ: 52,2,8,1
    %CESQ: 52,2,15,2
    +CSCON: 1
    +CSCON: 0
    %CESQ: 53,2,7,1
    %CESQ: 53,2,12,1
    +CSCON: 1
    %CESQ: 53,2,17,2
    %CESQ: 53,2,12,1
    +CSCON: 0
    +CSCON: 1
    %CESQ: 54,2,17,2
    %CESQ: 54,2,22,3
    +CSCON: 0
    %CESQ: 50,2,15,2
    %CESQ: 53,2,10,1
    +CSCON: 1
    %CESQ: 54,2,15,2
    +CSCON: 0
    %CESQ: 55,2,21,3
    %CESQ: 54,2,14,2
    +CSCON: 1
    %CESQ: 53,2,19,2
    %CESQ: 52,2,14,2
    %CESQ: 52,2,19,2
    +CSCON: 0
    %CESQ: 53,2,12,1
    %CESQ: 51,2,7,1
    %CESQ: 52,2,12,1
    %CESQ: 56,2,17,2
    %CESQ: 57,2,12,1
    %CESQ: 56,2,17,2
    %CESQ: 55,2,10,1
    +CSCON: 1
    %CESQ: 54,2,15,2
    %CESQ: 49,2,11,1
    +CSCON: 0
    %CESQ: 50,2,16,2
    %CESQ: 50,2,10,1
    %CESQ: 51,2,15,2
    %CESQ: 50,2,9,1
    %CESQ: 50,2,14,2
    %CESQ: 49,2,9,1
    %CESQ: 49,2,14,2
    %CESQ: 49,2,9,1
    %CESQ: 50,2,14,2
    %CESQ: 255,0,255,0
    [00:30:00.264,770] <inf> event_manager: APP_EVT_DATA_GET_ALL
    [00:30:00.271,392] <inf> event_manager: APP_EVT_DATA_GET - Requested data types (MOD_DYN, BAT, ENV, GNSS)
    [00:30:00.283,569] <inf> event_manager: SENSOR_EVT_ENVIRONMENTAL_DATA_READY
    [00:30:00.353,179] <inf> event_manager: MODEM_EVT_MODEM_DYNAMIC_DATA_READY
    [00:30:00.421,325] <inf> event_manager: MODEM_EVT_BATTERY_DATA_READY
    [00:31:15.282,257] <inf> event_manager: DATA_EVT_DATA_READY
    [00:31:15.295,013] <inf> event_manager: DATA_EVT_DATA_SEND
    [00:31:15.338,745] <inf> event_manager: CLOUD_EVT_DATA_ACK


    It disconnected.

  • If I press the button once it is disconnected, it prints out:

    [00:31:15.282,257] <inf> event_manager: DATA_EVT_DATA_READY
    [00:31:15.295,013] <inf> event_manager: DATA_EVT_DATA_SEND
    [00:31:15.338,745] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:42:46.749,145] <inf> event_manager: UI_EVT_BUTTON_DATA_READY
    [00:42:46.755,828] <inf> event_manager: DATA_EVT_UI_DATA_READY
    [00:42:46.763,702] <inf> event_manager: DATA_EVT_UI_DATA_SEND
    [00:43:10.862,304] <inf> event_manager: UI_EVT_BUTTON_DATA_READY
    [00:43:10.868,988] <inf> event_manager: DATA_EVT_UI_DATA_READY
    [00:43:10.876,861] <inf> event_manager: DATA_EVT_UI_DATA_SEND
    [00:43:11.642,181] <inf> event_manager: UI_EVT_BUTTON_DATA_READY
    [00:43:11.648,864] <inf> event_manager: DATA_EVT_UI_DATA_READY
    [00:43:11.656,738] <inf> event_manager: DATA_EVT_UI_DATA_SEND
    [00:43:12.383,270] <inf> event_manager: UI_EVT_BUTTON_DATA_READY
    [00:43:12.389,953] <inf> event_manager: DATA_EVT_UI_DATA_READY
    [00:43:12.397,857] <inf> event_manager: DATA_EVT_UI_DATA_SEND
    [00:43:46.989,105] <inf> event_manager: CLOUD_EVT_DISCONNECTED
    [00:43:46.995,788] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.002,197] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.009,674] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.016,662] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.022,979] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.030,456] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.037,445] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.043,853] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.051,330] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.058,319] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.064,880] <inf> event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
    [00:43:47.072,082] <err> nrf_cloud_integration: nrf_cloud_connect, error: -11
    [00:43:47.079,803] <err> cloud_module: cloud_connect failed, error: -11
    [00:43:47.087,066] <wrn> cloud_module: Cloud connection establishment in progress
    [00:43:47.095,184] <wrn> cloud_module: New connection attempt in 32 seconds if not successful

  • Then it seams that it sends data again, but as it appears ad "Disconnected" in NRFCLOUD, I can see nothing there.

    [00:43:46.989,105] <inf> event_manager: CLOUD_EVT_DISCONNECTED
    [00:43:46.995,788] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.002,197] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.009,674] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.016,662] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.022,979] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.030,456] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.037,445] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.043,853] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.051,330] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.058,319] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.064,880] <inf> event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
    [00:43:47.072,082] <err> nrf_cloud_integration: nrf_cloud_connect, error: -11
    [00:43:47.079,803] <err> cloud_module: cloud_connect failed, error: -11
    [00:43:47.087,066] <wrn> cloud_module: Cloud connection establishment in progress
    [00:43:47.095,184] <wrn> cloud_module: New connection attempt in 32 seconds if not successful
    [00:44:19.104,522] <inf> event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
    [00:44:19.111,633] <err> nrf_cloud_integration: nrf_cloud_connect, error: -11
    [00:44:19.119,354] <err> cloud_module: cloud_connect failed, error: -11
    [00:44:19.126,617] <wrn> cloud_module: Cloud connection establishment in progress
    [00:44:19.134,765] <wrn> cloud_module: New connection attempt in 64 seconds if not successful
    [00:45:00.264,770] <inf> event_manager: APP_EVT_DATA_GET_ALL
    [00:45:00.271,392] <inf> event_manager: APP_EVT_DATA_GET - Requested data types (MOD_DYN, BAT, ENV, GNSS)
    [00:45:00.283,538] <inf> event_manager: SENSOR_EVT_ENVIRONMENTAL_DATA_READY
    [00:45:00.352,233] <inf> event_manager: MODEM_EVT_MODEM_DYNAMIC_DATA_NOT_READY
    [00:45:00.419,189] <inf> event_manager: MODEM_EVT_BATTERY_DATA_READY
    [00:45:23.144,073] <inf> event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
    [00:45:23.151,214] <wrn> cloud_module: Cloud connection establishment in progress
    [00:45:23.159,271] <wrn> cloud_module: New connection attempt in 128 seconds if not successful
    %CESQ: 54,2,13,1
    +CSCON: 1
    %CESQ: 54,2,18,2
    %CESQ: 53,2,13,1
    %CESQ: 53,2,19,2
    %CESQ: 53,2,14,2
    +CSCON: 0
    [00:46:15.282,257] <inf> event_manager: DATA_EVT_DATA_READY
    %CESQ: 52,2,8,1
    %CESQ: 55,2,13,1

Reply
  • Then it seams that it sends data again, but as it appears ad "Disconnected" in NRFCLOUD, I can see nothing there.

    [00:43:46.989,105] <inf> event_manager: CLOUD_EVT_DISCONNECTED
    [00:43:46.995,788] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.002,197] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.009,674] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.016,662] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.022,979] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.030,456] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.037,445] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.043,853] <err> nrf_cloud_integration: nrf_cloud_send, error: -13
    [00:43:47.051,330] <err> cloud_module: cloud_wrap_ui_send, err: -13
    [00:43:47.058,319] <inf> event_manager: CLOUD_EVT_DATA_ACK
    [00:43:47.064,880] <inf> event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
    [00:43:47.072,082] <err> nrf_cloud_integration: nrf_cloud_connect, error: -11
    [00:43:47.079,803] <err> cloud_module: cloud_connect failed, error: -11
    [00:43:47.087,066] <wrn> cloud_module: Cloud connection establishment in progress
    [00:43:47.095,184] <wrn> cloud_module: New connection attempt in 32 seconds if not successful
    [00:44:19.104,522] <inf> event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
    [00:44:19.111,633] <err> nrf_cloud_integration: nrf_cloud_connect, error: -11
    [00:44:19.119,354] <err> cloud_module: cloud_connect failed, error: -11
    [00:44:19.126,617] <wrn> cloud_module: Cloud connection establishment in progress
    [00:44:19.134,765] <wrn> cloud_module: New connection attempt in 64 seconds if not successful
    [00:45:00.264,770] <inf> event_manager: APP_EVT_DATA_GET_ALL
    [00:45:00.271,392] <inf> event_manager: APP_EVT_DATA_GET - Requested data types (MOD_DYN, BAT, ENV, GNSS)
    [00:45:00.283,538] <inf> event_manager: SENSOR_EVT_ENVIRONMENTAL_DATA_READY
    [00:45:00.352,233] <inf> event_manager: MODEM_EVT_MODEM_DYNAMIC_DATA_NOT_READY
    [00:45:00.419,189] <inf> event_manager: MODEM_EVT_BATTERY_DATA_READY
    [00:45:23.144,073] <inf> event_manager: CLOUD_EVT_CONNECTION_TIMEOUT
    [00:45:23.151,214] <wrn> cloud_module: Cloud connection establishment in progress
    [00:45:23.159,271] <wrn> cloud_module: New connection attempt in 128 seconds if not successful
    %CESQ: 54,2,13,1
    +CSCON: 1
    %CESQ: 54,2,18,2
    %CESQ: 53,2,13,1
    %CESQ: 53,2,19,2
    %CESQ: 53,2,14,2
    +CSCON: 0
    [00:46:15.282,257] <inf> event_manager: DATA_EVT_DATA_READY
    %CESQ: 52,2,8,1
    %CESQ: 55,2,13,1

Children
No Data
Related