File tree 3 files changed +42
-0
lines changed
3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # esp32-current-logger
2
+
3
+ This is just a small project of mine designed to run on an ESP32.
4
+ It will monitor the current flow over time and display a graph on its web interface.
5
+
6
+ Its preliminary purpose is to be used in electrolysis to count the number of electrons having passed through the
7
+ medium. (Unit is Moles of Electrons)
8
+
9
+ ## Used libraries
10
+ - [ chart.js] ( https://www.chartjs.org/ )
11
+ - [ moment.js] ( https://momentjs.com/ )
12
+ - [ chartjs-adapter-moment] ( https://github.com/chartjs/chartjs-adapter-moment )
13
+
14
+ ## Wiring
15
+ This software was tested on an ESP32-WROOM-32.
16
+
17
+ Required Modules:
18
+ - A current sensor based on the ACS712-chip. (Or similar)
19
+ * The sensor must be bidirectional and have its zero-point at half of VCC.
20
+ - A SPI SD-Card module such as the HW-125.
21
+
22
+ SPI Pinout of the ESP32:
23
+ | SPI PIN | ESP32 PIN |
24
+ | ------------- | :---------------:|
25
+ | MOSI | GPIO 23 |
26
+ | MISO | GPIO 19 |
27
+ | SCK/CLK | GPIO 18 |
28
+ | CS/SS | GPIO 5 was used |
29
+
30
+ * Note:* In my experience the HW-125 has to be powered by 5V in order to properly work.
31
+
32
+
33
+ Current Sensor Pin: GPIO35
34
+
35
+ ## Screenshots
36
+ Start-Page
37
+
38
+ ![ Startpage] ( /assets/interface1.png )
39
+
40
+ Graph of a run
41
+
42
+ ![ Graph] ( /assets/interface2.png )
You can’t perform that action at this time.
0 commit comments