Search found 7 matches

by MatthiasP
Mon Jun 21, 2021 6:34 pm
Forum: General Discussion and Questions
Topic: ETIMEOUT trying to catch error in usocket
Replies: 7
Views: 2926

Re: ETIMEOUT trying to catch error in usocket

Hi, I have a similar problem. I would like to add proper exception handling to a non blocking socket write (and read) access: def _sock_timeout(self, poller, socket_timeout): # omitting some details here... if self.sock: res = poller.poll([...]) def _write(self, bytes_wr, length=-1): # omitting some...
by MatthiasP
Fri May 14, 2021 10:47 am
Forum: ESP32 boards
Topic: ESP32 ADC Range
Replies: 7
Views: 9061

Re: ESP32 ADC Range

https://github.com/matthias-bs/MicroPython-ADC_Cal now supports all ESP32 ADC1 bit widths and 0/2.5/6 dB attenuation.
by MatthiasP
Tue May 11, 2021 8:30 pm
Forum: ESP32 boards
Topic: ESP32 ADC Range
Replies: 7
Views: 9061

Re: ESP32 ADC Range

Added internal reading of Vref efuse calibration value to
https://github.com/matthias-bs/MicroPython-ADC_Cal.
by MatthiasP
Mon May 10, 2021 9:37 pm
Forum: ESP32 boards
Topic: ESP32 ADC Range
Replies: 7
Views: 9061

Re: ESP32 ADC Range

Hello all, https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/adc.html#adc-api-adc-calibration provides very useful information regarding the ESP32 ADCs' limitations regarding noise, input voltage range and calibration. For esp-edf, ADC calibration and conversion r...
by MatthiasP
Thu May 06, 2021 6:12 am
Forum: ESP32 boards
Topic: SSL/TLS memory alloc error, but large free heap
Replies: 3
Views: 22496

Re: SSL/TLS memory alloc error, but large free heap

I am encountering the same problem. Which amount of memory is SSL/TLS expected to need?
by MatthiasP
Tue May 04, 2021 3:55 pm
Forum: ESP32 boards
Topic: Reading GATT Data from Xiaomi Flower Care
Replies: 18
Views: 19053

Re: Reading GATT Data from Xiaomi Flower Care

Hi,

the code is now provided on GitHub:
https://github.com/matthias-bs/MicroPython-MiFlora

Cheers
Matthias
by MatthiasP
Thu Apr 22, 2021 6:18 am
Forum: ESP32 boards
Topic: Reading GATT Data from Xiaomi Flower Care
Replies: 18
Views: 19053

Re: Reading GATT Data from Xiaomi Flower Care

Hi All,

although this thread is rather old, I wanted to let you know that I got Xiaomi Flower Care sensors working with esp32-idf4-20210202-v1.14.bin and esp32-20210418-v1.15.bin. I still have to clean up the code - stay tuned.

Cheers,
Matthias