Search found 712 matches

by kevinkk525
Tue May 26, 2020 10:00 am
Forum: Programs, Libraries and Tools
Topic: MQBoard - Micro-Framework for MicroPython Boards Managed via MQTT
Replies: 7
Views: 396

Re: MQBoard - Micro-Framework for MicroPython Boards Managed via MQTT

A very nice project!

I especially like the OTA over mqtt option, something my project is definitely missing on the esp32.
by kevinkk525
Fri May 22, 2020 7:23 am
Forum: General Discussion and Questions
Topic: The dreaded forgotten await
Replies: 3
Views: 179

Re: The dreaded forgotten await

In Cpython you would get a warning:

Code: Select all

Warning (from warnings module):
  File "<pyshell#8>", line 3
RuntimeWarning: coroutine 'test' was never awaited
But I have no idea how that could be implemented in micropython. It would be helpful.
by kevinkk525
Wed May 20, 2020 1:19 pm
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 1022

Re: ESP32 ADC voltage drop after some hours

It doesn't seem to cause problems with real resistors, even with AC measurements, so it probably is not the ADC itself that is causing these offsets. At least in my last tests with resistors it did not make a difference if rshell was connected or not. But as soon as I use the probe, it immediately m...
by kevinkk525
Mon May 18, 2020 9:15 pm
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 1022

Re: ESP32 ADC voltage drop after some hours

I was thinking about that too but a polarization would result in a slowly increasing ppm value. However the measurements are stable. And I didn't touch the cable when the spike happened, nor when it returned back to the old value. Alternating the powering pin to avoid polarization is a good idea, ju...
by kevinkk525
Sat May 16, 2020 1:38 pm
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 1022

Re: ESP32 ADC voltage drop after some hours

I would assume that it will stay absolutely stable if you change nothing, at least that is how it is in my test. Only when I changed the connection status of the UART using rshell the voltage on the ADC changed. Might be indeed related to conductivity that might not play a role with a real resistor ...
by kevinkk525
Fri May 15, 2020 10:24 am
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 1022

Re: ESP32 ADC voltage drop after some hours

Thank you both for your thoughts! I might have to think about the low impedance a bit more. However it seems strange that it would only have an impact in certain situations but always stay stable within these "situations". That's why I also think that the I/O pin as power source shouldn't be the cul...
by kevinkk525
Thu May 14, 2020 3:12 pm
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 1022

Re: ESP32 ADC voltage drop after some hours

yes. but maybe there is something else going on too.. I just connected a real resistor instead of the cable and it got me ~100R, which is correct. So after a while I connected rshell and it still shows me 100R for that resistor. So either something with that cable is immensly strange and somehow con...
by kevinkk525
Thu May 14, 2020 1:19 pm
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 1022

Re: ESP32 ADC voltage drop after some hours

you are right, the signals I read are basically just a simple voltage divider with a cable in the water to measure the electroconductivity of the solution (according to this: https://hackaday.io/project/7008-fly-wars-a-hackers-solution-to-world-hunger/log/24646-three-dollar-ec-ppm-meter-arduino). Th...
by kevinkk525
Thu May 14, 2020 10:23 am
Forum: ESP32 boards
Topic: ESP32 ADC voltage drop after some hours
Replies: 24
Views: 1022

Re: ESP32 ADC voltage drop after some hours

Ok so I'm done with the ESP32 adc.. It is getting ridiculous. Take a look at this: Unbenannt2.PNG The ADC stays completely stable in section 1 which goes on for days, the ESP reset itself about every day due to some weird CPU exception or something but regardless the ADC stays the same. It is connec...
by kevinkk525
Thu May 14, 2020 10:14 am
Forum: ESP8266 boards
Topic: ESP8266 does not stop to broadcast SSID
Replies: 2
Views: 196

Re: ESP8266 does not stop to broadcast SSID

ap=network.WLAN(network.AP_IF)
ap.active(False)

Turns off the access point.