Sun, 16 Apr 2023 12:27:12 +0200 Michiel Broek Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor. changeset | files
Sat, 15 Apr 2023 13:29:40 +0200 Michiel Broek Final release and installed for production. changeset | files
Thu, 13 Apr 2023 15:28:11 +0200 Michiel Broek Added INA219 power save mode again, it works now. Don't measure shunt voltage and current, just the shunt voltage and calculate the current. changeset | files
Thu, 13 Apr 2023 14:29:41 +0200 Michiel Broek Adjusted BMP280 default parameters for low power usage. changeset | files
Thu, 13 Apr 2023 12:08:24 +0200 Michiel Broek Version 0.4.0. Disable normal logging mqtt. changeset | files
Wed, 12 Apr 2023 16:37:17 +0200 Michiel Broek A bit simpler mqtt event handling. changeset | files
Wed, 12 Apr 2023 16:23:02 +0200 Michiel Broek Reduced I2C master speed from 400 to 100 Khz. Hope to get power-on init for BMP280 more reliable. Added warnings for I2C devices that are missing. Some logmessages reduced to debug log messages. Added extra 10 mSec delays before read shunt voltage in the INA219 task. Removed and reduced log levels in the MQTT task. Show received data events. Remove WiFi total time debug logging, it's ok now. changeset | files
Tue, 11 Apr 2023 19:41:53 +0200 Michiel Broek Shorter delays during wifi connect timeout. Some code cleanup in the main state table. Report WiFi TX power during init. Removed SSID from WIFI_State because it wasn't used. changeset | files
Tue, 11 Apr 2023 11:11:13 +0200 Michiel Broek Decreased WiFi transmit level to 13. Level 15 is unstable, skip 14 just to be sure. It seems to be the bad designed antenna circuit on the ESP32-C3 Lolin v2.1.0 board. The board also benefits from a ground plane connected to the shield of the USB connector. The final implementation needs an external antenna anyway so the onboard antenna will go away. In the meanwhile, the wifi task is now more robust. Also, in testing mode there is no battery alarm, only when building for production. changeset | files
Fri, 07 Apr 2023 14:31:17 +0200 Michiel Broek The esp-idf-lib apds9930 component is now working. In nvsio stop logging not updated values. Store gain and aglbit values in nvs. changeset | files
Thu, 06 Apr 2023 22:01:08 +0200 Michiel Broek Some extra time for the mqtt messages. changeset | files
Thu, 06 Apr 2023 20:53:06 +0200 Michiel Broek Set the new measured deep sleep current consumption. This is half of the Wemos D1 system. changeset | files
Thu, 06 Apr 2023 20:49:52 +0200 Michiel Broek Added nvsio utilities to make read/write to nvs namespace easier. Added variables for deep sleep to nvs namespace. In task_wifi, removed some init parameters that might add to instable wifi connect problems. changeset | files
Thu, 06 Apr 2023 13:22:03 +0200 Michiel Broek Code changes to try to fix the not working ADPS9930 driver. changeset | files
Wed, 05 Apr 2023 20:00:26 +0200 Michiel Broek First pass of debugging APDS9930 with a real chip. changeset | files
(0) -15 tip

mercurial