Commit Graph

38 Commits

Author SHA1 Message Date
6c40ba4e1f Using HTTPS protocol for ESP32 web server, and implemented POST /api/info handler 2024-05-25 23:11:18 +02:00
383e3f4acf Replaced infineon library for DPS310 by adafruit library
Infineon library was causing Panic/Guru meditation errors (bootloop),
probably an incompatibility issue with a specific version of the
framework because it worked fine until now
2024-05-25 01:13:07 +02:00
b23db33abd Merge branch 'master' of https://gitea.youb.fr/youen/vehicle-monitor 2024-05-25 01:02:06 +02:00
0637250f10 Added code to measure voltages using an ADS1015 (wip) 2024-05-25 00:04:54 +02:00
4a0a09ed7a Replaced ESPAsyncServer library by esp32_https_server (wip) 2024-05-24 23:51:37 +02:00
f648eea8d9 Merge branch 'master' of https://gitea.youb.fr/youen/vehicle-monitor 2024-05-24 19:32:12 +02:00
359f3b4cd4 Possibility for the client (for example a smartphone) to send current date and time
Added possibility to send GPS coordinates as well, but not enabled yet
because browsers require an HTTPS connection to enable the geolocation
API
2024-05-24 19:31:09 +02:00
2ac358ba24 fixed lint errors in Eclipse 2023-08-15 17:00:48 +02:00
fde8f27f70 Merge branch 'master' of https://gitea.youb.fr/youen/vehicle-monitor 2023-08-15 12:27:40 +02:00
1b81c2764d webmanifest tests (not working)
probably not working because it is not served over HTTPS
2023-08-15 12:25:40 +02:00
9ce570a655 removed .cproject from ignore list as it is an important configuration file for Eclipse CDT 2023-08-15 12:17:28 +02:00
97c2f379b8 computing trip statistics on ESP32 (distance, time, elevation, etc.) 2022-04-17 12:11:20 +02:00
Youen Toupin
127fd6176c Added debug logging to memory, and Web API to retrieve the log 2022-03-31 23:41:16 +02:00
Youen Toupin
7ada49cb5b Improved speed sensor filter
Excluding bounces that are incoherent, if the resulting acceleration
would exceed 10m/s/s
2022-03-31 22:47:54 +02:00
Youen Toupin
9700b9f9e1 Moved SCL to GPIO4 because boot fails if it's connected to GPIO12
Added temperature and altitude to data logger
Added periodic log flush to avoid data loss
2022-03-31 22:06:38 +02:00
a91d56c390 swapped GPIO pins for SCL and SDA, because GPIO12 is a special pin that must not be pulled high during boot 2022-03-31 12:02:39 +02:00
Youen Toupin
532cca230b added temperature and altitude estimation from atmospheric pressure 2022-03-31 00:13:19 +02:00
Youen Toupin
fd1143d732 added DigitalPressureSensor library 2022-03-31 00:12:45 +02:00
Youen Toupin
61c5bb090f fixed DataLogger bug 2022-03-28 20:48:36 +02:00
Youen Toupin
a7e662faf1 gitignore update 2022-03-28 20:40:55 +02:00
Youen Toupin
6bebf00842 removed generated files (pio init --ide eclipse) 2022-03-28 20:38:47 +02:00
Youen Toupin
c9c5319d7e fixed bug with local variable shadowing a class member variable
fixed interrupt code that could run from flash (because flash cache is disabled during SPIFFS operations)
2022-03-28 20:32:05 +02:00
01103d0b46 added data logger 2022-03-27 23:58:52 +02:00
22e7612a89 updated eclipse project for CDT 2022-03-26 17:53:35 +01:00
1256612ff8 added OTA support for deploying without USB cable 2022-03-26 17:44:30 +01:00
8778a57189 migrated from Arduino IDE to PlatformIO 2022-03-26 17:26:40 +01:00
Youen Toupin
05b8759bbb fixed overflow bug for voltage bigger than 32V (new limit is 65V)
Added CSS file to make display bigger for smartphones
2022-03-23 19:08:52 +01:00
Youen Toupin
c2ccafbcde improved wifi management
- Possibility to create an access point on the ESP32
- Possibility to make the ESP32 try to connect to multiple access points
2022-03-22 19:30:34 +01:00
Youen Toupin
b136342c2c finished power meter and speed meter 2022-03-19 23:55:51 +01:00
Youen Toupin
292b7d7f5a added ADC calibration code 2022-03-18 23:50:02 +01:00
Youen Toupin
48d8ca4ac2 test code that reads a voltage and displays it in the web browser 2022-03-15 23:23:31 +01:00
Youen Toupin
262838bb42 Added test api URL, configured static files caching 2022-03-13 00:01:02 +01:00
Youen Toupin
45928917fa removed unused file 2022-03-12 23:59:49 +01:00
Youen Toupin
15b7838219 Serving files from SPIFFS 2022-03-12 13:07:41 +01:00
Youen Toupin
2ea7220173 Integrated HTTP server (hello world page) 2022-03-12 12:42:05 +01:00
Youen Toupin
7559e78719 symlink hacks to make Arduino IDE use local libraries 2022-03-12 12:22:36 +01:00
Youen Toupin
8c95deff00 Added AsyncTCP and ESPAsyncWebServer from https://github.com/me-no-dev/ 2022-03-12 12:21:38 +01:00
Youen Toupin
de1de315cc Added sample ESP32 program
Can be built with Arduino IDE and edited with Eclipse CDT
2022-03-12 11:43:50 +01:00