Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
neOCampus-arduino
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GIS-neOCampus
neOSensor
neOCampus-arduino
Commits
c8d23f02
Commit
c8d23f02
authored
2 years ago
by
thiebolt
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
41829afc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ChangeLog.txt
+24
-5
24 additions, 5 deletions
ChangeLog.txt
ChangeLogHardware.txt
+10
-0
10 additions, 0 deletions
ChangeLogHardware.txt
README.md
+31
-21
31 additions, 21 deletions
README.md
neosensor/libraries/boards/neosensor.h
+1
-1
1 addition, 1 deletion
neosensor/libraries/boards/neosensor.h
with
66 additions
and
27 deletions
ChangeLog.txt
+
24
−
5
View file @
c8d23f02
#
#
# neOCampus operation
# 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
# (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 esp32 2.0.9
Bumps to esp8266 3.1.2
Bumps to esp8266 3.1.2
- switch WiFi to both 802.11b AND 802.11g (DSI cut down 802.11b !!)
- 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
- 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)
partitionning issues)
- recompiled lwip for NTP server support from DHCP answer (IDF 4.4.4)
- 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 esp32 2.0.6
Bumps to esp8266 3.1.0
Bumps to esp8266 3.1.0
- force 802.11b for both ESP8266 and ESP32 --> solved our DHCP issues :D
- force 802.11b for both ESP8266 and ESP32 --> solved our DHCP issues :D
...
@@ -48,13 +56,24 @@ boards.local.txt
...
@@ -48,13 +56,24 @@ boards.local.txt
to connect to WiFi gateway
to connect to WiFi gateway
=== Changes before 2022
===
=== Changes prior to 2022
* F.Thiebolt nov.21 corrected timezone definition for esp32
* 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 sep.21 added display module support (e.g oled or 7segment displays)
* F.Thiebolt aug.21
add
ed digital inputs support (e.g PIR sensor)
* F.Thiebolt aug.21
start
ed digital inputs support (e.g PIR sensor)
* added support for shared JSON document for data exchange
* added support for shared JSON document for data exchange
* between modules
* 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
* F.Thiebolt aug.20 initial port from neOSensor based on ESP8266
* added esp32 adc calibration support
* added esp32 adc calibration support
* setupNTP called AFTER network setup
* 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
This diff is collapsed.
Click to expand it.
ChangeLogHardware.txt
+
10
−
0
View file @
c8d23f02
...
@@ -2,8 +2,18 @@
...
@@ -2,8 +2,18 @@
# neOCampus operation
# neOCampus operation
# (c) neOCampus / F.Thiebolt Université Toulouse3, Laboratoire IRIT
# (c) neOCampus / F.Thiebolt Université Toulouse3, Laboratoire IRIT
=== (upcoming) HW Release neOSensorV5.2
=== (upcoming) HW Release neOSensorV5.2
- add 0805 cap for those ESP32 that miss it on EN pin
- add 0805 cap for those ESP32 that miss it on EN pin
- test DAC detect on ESP8266 (check no interference with SCD4x autodetect)
- test DAC detect on ESP8266 (check no interference with SCD4x autodetect)
- switch to ESP32 layout featuring unaligned pins
- 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)
This diff is collapsed.
Click to expand it.
README.md
+
31
−
21
View file @
c8d23f02
...
@@ -10,26 +10,6 @@ All this work was undertaken at Université Toulouse 3 / IRIT laboratory in the
...
@@ -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 boards ##
neOSensor first boards releases were based on esp8266. Nowadays, we added support for esp32 and CubeCell devices :)
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
...
@@ -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.
The board features four specific sensors able to measure NO2, CO, CH20, NO2 alternate.
## Getting started ##
## 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 |
| 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
...
@@ -78,4 +58,34 @@ Once WiFi has been set, on each reboot, the neOSensor AP will get available for
**Reset whole configuration**
\
**Reset whole configuration**
\
To erase all of the previously set parameters (including WiFi settings), press the RST button for 10s when powering the device.
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`
This diff is collapsed.
Click to expand it.
neosensor/libraries/boards/neosensor.h
+
1
−
1
View file @
c8d23f02
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
*/
*/
#define BOARD_NAME "neOSensor"
#define BOARD_NAME "neOSensor"
#define BOARD_REVISION 1.2
#define BOARD_REVISION 1.2
#define BOARD_FWREV 23052
5
// Firmware revision <year><month><day> in 2 digits each
#define BOARD_FWREV 23052
8
// Firmware revision <year><month><day> in 2 digits each
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment