cleanup, comments, gitignore backup zips

This commit is contained in:
Marcus 2024-03-31 15:46:23 +02:00
parent e6777bc31d
commit 3016e37c3e
14 changed files with 23 additions and 2 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
KiCad/CanGrow/CanGrow-backups

View file

@ -116,11 +116,11 @@ int getWaterlevel() {
// enable Vcc for water level sensor
digitalWrite(PINwater, HIGH);
// wait a bit to let the schematic "settle in"
// wait a bit to let the circuit stabilize
delay(200);
// get the value
waterlevelRAW = analogRead(PINAwater);
// disable Vcc for the sensor (in case of chemical reactions of the probes)
// disable Vcc for the sensor to prevent electrolysis effect
digitalWrite(PINwater, LOW);
if( waterlevelRAW >= waterlevelOK) {

View file

@ -3156,6 +3156,16 @@
)
(uuid "ffca93ab-b7c3-4700-b47f-27eae3d79c02")
)
(text "Pin A0"
(exclude_from_sim no)
(at 109.474 127.508 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "39e00273-5e15-4d2a-a28b-3cc82f788021")
)
(text "1 - GND\n2 - VCC\n3 - SDL\n4 - SDA"
(exclude_from_sim no)
(at 226.314 50.292 0)
@ -3166,6 +3176,16 @@
)
(uuid "7689a88c-af3d-4840-bb58-6e6681a3a179")
)
(text "Pin D4"
(exclude_from_sim no)
(at 109.474 112.268 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "775809ed-2a46-4309-b3e6-c2542e0c428d")
)
(text "1 - OK\n2 - WARN\n3 - CRIT"
(exclude_from_sim no)
(at 53.594 133.35 0)