Search found 5 matches

by swargir
Thu Sep 05, 2019 4:07 am
Forum: ESP32 Arduino
Topic: BLE reconect problem after 18-19 min connection
Replies: 0
Views: 2731

BLE reconect problem after 18-19 min connection

Hello. I have encountered such a problem. My device (ble client) connects to the ble server once every 5 seconds, the rest of the time it sleeps. Each time before going to bed, I disconnect, and after waking up I call the connection. After 18-19 minutes of work, my application freezes. It only respo...
by swargir
Thu Aug 29, 2019 10:29 am
Forum: ESP32 Arduino
Topic: ESP32-EVB Arduino; Hall sensor not working
Replies: 2
Views: 4211

Re: ESP32-EVB Arduino; Hall sensor not working

Hello.
Enter the code here
by swargir
Mon Aug 05, 2019 11:27 am
Forum: ESP32 Arduino
Topic: Intermittent sleep without reconnecting BLE
Replies: 3
Views: 5302

Re: Intermittent sleep without reconnecting BLE

Hi Swargir , Why not keep the connection and turn on bt light sleep? E.g., Set the connection interval to 2s. I think the power consumption will be less than the case doing reconnection every 5s. I use a light sleep that breaks the connection. Is it possible to fall asleep without reconnecting BLE?
by swargir
Mon Aug 05, 2019 10:48 am
Forum: ESP32 Arduino
Topic: Esp32-arduino-fuel gauge
Replies: 3
Views: 5364

Re: Esp32-arduino-fuel gauge

Hi. I would do so. I use Arduino IDE/Platformio 1) For ESP32 example. https://github.com/nkolban/ESP32_BLE_Arduino/tree/master/examples/BLE_server In it, add a cyclic reading of the analog inputs. Depends on what indicator from the bike will be connected through (max 3.3v voltage. divider is needed)...
by swargir
Mon Aug 05, 2019 9:27 am
Forum: ESP32 Arduino
Topic: Intermittent sleep without reconnecting BLE
Replies: 3
Views: 5302

Intermittent sleep without reconnecting BLE

Hi all. I’m developing a device based on ESP32-WROOM-32d. The device acts as a BLE-client and polls the BLE-server(cc2650) every 5 seconds. The rest of the time he sleeps( light sleep ). The problem is that waking up and reconnecting takes a lot of time and the consumption is almost the same as not ...