From c8d23f02b277cc86b0e458368b1a3701cbf7f553 Mon Sep 17 00:00:00 2001 From: Francois <thiebolt@irit.fr> Date: Mon, 29 May 2023 09:22:53 +0200 Subject: [PATCH] update --- ChangeLog.txt | 29 +++++++++++--- ChangeLogHardware.txt | 10 +++++ README.md | 52 +++++++++++++++----------- neosensor/libraries/boards/neosensor.h | 2 +- 4 files changed, 66 insertions(+), 27 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index fc7fd8a9..055e48a8 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,18 +1,26 @@ # # neOCampus operation +# Note: 'UNPUBLISHED' means the release may have been installed on some +# devices BUT not set as globally available for firmware upgrades # (c) neOCampus / F.Thiebolt Université Toulouse3, Laboratoire IRIT -=== 25 may 2023 / Feature-bspupgrade + +=== Release 221225 only for ESP32 | NVS WiFiCredentials backport +Based on esp32 2.0.4 (because later releases broke the SPIFFS partitioning) +- backport NVS namespace for WiFi credentials + + +=== [UNPUBLISHED] 28 may 2023 / Feature-bspupgrade Bumps to esp32 2.0.9 Bumps to esp8266 3.1.2 - switch WiFi to both 802.11b AND 802.11g (DSI cut down 802.11b !!) - esp8266 now features a configTzTime() that unifies NTP setup for both ESPs -- make use of NVS namespace to save WiFi crdentials (in order to avoid SPIFFS +- NVS namespace to save WiFi crdentials (in order to avoid SPIFFS partitionning issues) - recompiled lwip for NTP server support from DHCP answer (IDF 4.4.4) -=== Release 230116 / feature-SDKupgrade +=== [UNPUBLISHED] Release 230116 / feature-SDKupgrade Bumps to esp32 2.0.6 Bumps to esp8266 3.1.0 - force 802.11b for both ESP8266 and ESP32 --> solved our DHCP issues :D @@ -48,13 +56,24 @@ boards.local.txt to connect to WiFi gateway -=== Changes before 2022 +=== +=== Changes prior to 2022 * F.Thiebolt nov.21 corrected timezone definition for esp32 + * added support for various serial sensors like PMSx003, SDS011 and IKEA Vindriktning :D + * added support for digital inputs (PIR & switches) + * introduced the cooldown approach and data integration + * ... means that we'll only send data when they differ from the previously sent * F.Thiebolt sep.21 added display module support (e.g oled or 7segment displays) - * F.Thiebolt aug.21 added digital inputs support (e.g PIR sensor) + * F.Thiebolt aug.21 started digital inputs support (e.g PIR sensor) * added support for shared JSON document for data exchange * between modules + * F.Thiebolt apr.21 added support for 3 NTP servers + NTP from DHCP to lwip + * Have a look to `arduinoIDE_esp32_boards/README.md` * F.Thiebolt aug.20 initial port from neOSensor based on ESP8266 * added esp32 adc calibration support * setupNTP called AFTER network setup + * new definition board for neOSensor-AirQuality board + * added definition board for (future) neOSensor esp32 based board\ + * added suppport for boards configuration via sensOCampus JSON config\ + * added Arduino IDE support for our various neOSensor boards diff --git a/ChangeLogHardware.txt b/ChangeLogHardware.txt index ae4ffde7..1bfabd5d 100644 --- a/ChangeLogHardware.txt +++ b/ChangeLogHardware.txt @@ -2,8 +2,18 @@ # neOCampus operation # (c) neOCampus / F.Thiebolt Université Toulouse3, Laboratoire IRIT + === (upcoming) HW Release neOSensorV5.2 - add 0805 cap for those ESP32 that miss it on EN pin - test DAC detect on ESP8266 (check no interference with SCD4x autodetect) - switch to ESP32 layout featuring unaligned pins +- 90° rotate of C2 capacitor + + +=== +=== Changes prior to 2023 + * F.Thiebolt jun.21 added KiCad PCB for LoRaWAN V2 (Heltec CubeCell) + * F.Thiebolt apr.21 added KiCad PCB for neOSensor v5.1 (ESP32 based) + * F.Thiebolt feb.21 added KiCad PCB for neOSensor v5 (ESP32 based) + * F.Thiebolt dec.20 added PCB from ESP8266 version 4 (KiCad) diff --git a/README.md b/README.md index 3b5f4e62..75ee773b 100644 --- a/README.md +++ b/README.md @@ -10,26 +10,6 @@ All this work was undertaken at Université Toulouse 3 / IRIT laboratory in the  -## NEWS ## - * **[May.23]** bumps to esp8266 3.1.2; bumps to esp32 2.0.9 along with recompiled lwip (no need for esp8266) - allow WiFi 802.11b & 802.11g - * **[Jan.23]** bumps to esp8266 3.1.0; bumps to esp32 2.0.6 along with recompiled lwip - force WiFi 802.11b - * **[Aug.22]** bumps to esp8266 3.0.2; bumps to esp32 2.0.4 along with recompiled lwip - * **[Nov.21]** added support for various serial sensors like PMSx003, SDS011 and IKEA Vindriktning :D - * **[Aug.21]** added support for digital inputs (PIR & switches) -introduced the cooldown approach and data integration -... means that we'll only send data when they differ from the previously sent - * **[Jun.21]** added KiCad PCB for LoRaWAN V2 (Heltec CubeCell) - * **[Apr.21]** added support for 3 NTP servers + NTP from DHCP to lwip. Have a look to `arduinoIDE_esp32_boards/README.md` - added KiCad PCB for neOSensor v5.1 (ESP32 based) - * **[Feb.21]** added KiCad PCB for neOSensor v5 (ESP32 based) - * **[Dec.20]** added PCB from ESP8266 version 4 (KiCad) - * **[Aug.20]** new definition board for neOSensor-AirQuality board -added definition board for (future) neOSensor esp32 based board\ -added suppport for boards configuration via sensOCampus JSON config\ -added Arduino IDE support for our various neOSensor boards - ## neOSensor boards ## neOSensor first boards releases were based on esp8266. Nowadays, we added support for esp32 and CubeCell devices :) @@ -40,7 +20,7 @@ This board comes from CNRS LCC lab, it's a PhD work undertaken by Aymen Sendi (a The board features four specific sensors able to measure NO2, CO, CH20, NO2 alternate. ## Getting started ## -First of all, you ought to install esp32, esp8266 or CubeCell support in your Arduino IDE. +First of all, you ought to install esp32, esp8266 or CubeCell support in your Arduino IDE (IDE version <2). | Device | Release | Arduino Board Manager json file | |----------|-----------|------------------------------------------------------------------------------------------------------------| @@ -78,4 +58,34 @@ Once WiFi has been set, on each reboot, the neOSensor AP will get available for **Reset whole configuration**\ To erase all of the previously set parameters (including WiFi settings), press the RST button for 10s when powering the device. +*** + +## Create branch | development of a new feature ## +In order to work on a new feature, best is to create a new branch that will get merged later during a *pull request* + +``` +git switch -C feature-xxxxx +``` + +For first commit: +``` +git push --set-upstream origin feature-xxxxx +``` + +... then `./git-push.sh` on subsequent commits + + +## Merge branch | integration of an existing feature ## +After having successfully completed yout feature, you need to create a *pull request* to get your code integrated into the main branch: + +``` +git branch +git checkout master +git merge feature-xxxxx +./git-push.sh +``` +https://www.w3schools.com/git/git_branch_merge.asp?remote=github + +In the end, you can delete your local branch: `git branch -d feature-xxxxx` + diff --git a/neosensor/libraries/boards/neosensor.h b/neosensor/libraries/boards/neosensor.h index 7f547f18..9adaf0bf 100644 --- a/neosensor/libraries/boards/neosensor.h +++ b/neosensor/libraries/boards/neosensor.h @@ -44,7 +44,7 @@ */ #define BOARD_NAME "neOSensor" #define BOARD_REVISION 1.2 -#define BOARD_FWREV 230525 // Firmware revision <year><month><day> in 2 digits each +#define BOARD_FWREV 230528 // Firmware revision <year><month><day> in 2 digits each -- GitLab