Commit Graph

61 Commits

Author SHA1 Message Date
45ac1dd610 added battery and speed gauges (wip) 2022-04-13 22:10:08 +02:00
e999e325c5 implemented automatic update of power gauge 2022-04-13 12:25:06 +02:00
ef1d2cbad0 Merge branch 'master' of https://gitea.youb.fr/youen/vehicle-monitor 2022-04-12 23:09:00 +02:00
649e082c69 added widget area visualisation in dashboard mockup 2022-04-12 23:07:29 +02:00
48fb012e54 added widget layout styling
added basic system to render linear gauges (wip)
2022-04-12 23:06:58 +02:00
325a2fdc8a Mise à jour de 'README.md' 2022-04-11 21:24:13 +01:00
3629dff9e0 Mise à jour de 'README.md' 2022-04-11 21:13:46 +01:00
81c2d82e1d improved clock widget 2022-04-10 19:47:11 +02:00
184f1cee33 added debug code to display how often mithril redraws 2022-04-09 20:05:22 +02:00
3f03e8f8ba first version of clock widget 2022-04-09 19:52:06 +02:00
71b87437c7 disabled mithril redraw for each status request
the goal is to allow each page to finely manage how to update with
minimum CPU usage
2022-04-09 19:51:44 +02:00
f8c2a28c47 refactored code to avoid relative paths
added Component and Page base classes
added Clock widget (wip)
2022-04-09 18:38:04 +02:00
245a3ec2e3 finished first version of dashboard mockup 2022-04-08 23:29:39 +02:00
Youen Toupin
56465c4a9a dashboard mockup (wip) 2022-04-08 20:23:27 +02:00
Youen Toupin
d4c3af1e8b dashboard mockup (wip) 2022-04-08 19:51:29 +02:00
Youen Toupin
fd444202e0 Refactored API access to cache/reuse the last result when changing page 2022-04-04 22:35:03 +02:00
Youen Toupin
7c13b98aba Added menu
Added Bulma CSS framework
Using PurgeCSS plugin to remove all unused CSS
2022-04-03 19:44:53 +02:00
Youen Toupin
f5ea6054da Added menu with two pages (RawDataPage and DashboardPage)
Added temperature and altitude display in RawDataPage
2022-04-02 23:34:13 +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
496a7b7132 added notes about special pins 2022-03-31 10:45:33 +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
b945c881ab changed I2C GPIO connexion, to avoid GPIO2 which is the debug led 2022-03-30 23:03:09 +02:00
Youen Toupin
57eb6b4e37 Added pinout for ESP32 devkit V1 2022-03-30 20:38:20 +02:00
Youen Toupin
cc8f7dec96 updated I2C connector to use the same pinout as nodelynk and grove 2022-03-30 20:29:48 +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
362789f2a2 minor PCB changes 2022-03-20 14:01:40 +01:00
Youen Toupin
b136342c2c finished power meter and speed meter 2022-03-19 23:55:51 +01:00
Youen Toupin
3d9aee6d0a rewired components to other ESP32 pins
- fixes issue with ADC2 that can't be used at the same time as wifi
- needs only three 1x4 connectors for the ESP32 module
- all ESP32 unused pins are easily available on the PCB for future extensions
- however, non-default pins are now used for I2C (and if needed in the future, SPI will use non-default pins as well)
2022-03-19 11:55:44 +01:00
Youen Toupin
7daca0a650 MCU_board PCB wip 2022-03-18 23:59:19 +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
8bdd34412f Added WebApp project 2022-03-12 23:58:44 +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