ref README.md
This commit is contained in:
parent
485dc5cd14
commit
0c4d2e2183
29
README.md
29
README.md
@ -12,16 +12,18 @@
|
||||
## Content
|
||||
* [Project description](#chapter-0)
|
||||
* [Usage](#chapter-1)
|
||||
* [Hardware](#chapter-2)
|
||||
* [Libraries](#chapter-3)
|
||||
|
||||
|
||||
\
|
||||
<a id="chapter-0"></a>
|
||||
## Project description
|
||||
|
||||
Arduino Controller for water pump
|
||||
|
||||
|
||||
\
|
||||
<a id="chapter-2"></a>
|
||||
|
||||
<a id="chapter-1"></a>
|
||||
## Usage
|
||||
|
||||
1. Turn to change lower threshold
|
||||
@ -34,4 +36,25 @@ Arduino Controller for water pump
|
||||
[]()
|
||||
|
||||
|
||||
<a id="chapter-2"></a>
|
||||
## Hardware
|
||||
|
||||
| Name | Model |
|
||||
|:--------------------- | -------------: |
|
||||
| **Controller** | Arduino Nano ATmega328 |
|
||||
| **Encoder** | EC11 |
|
||||
| **Display** | TM1637 |
|
||||
| **Relay** | SSR-40DA |
|
||||
| **Pressure sensor** | EBOWAN |
|
||||
|
||||
|
||||
<a id="chapter-3"></a>
|
||||
## Libraries
|
||||
|
||||
| Name | Link |
|
||||
|:--------------- | ------------- |
|
||||
| **EncButton** | https://github.com/GyverLibs/GyverTM1637 |
|
||||
| **GyverTM1637** | https://github.com/GyverLibs/EncButton |
|
||||
|
||||
|
||||
<h1 align="center"><a href="#top">▲</a></h1>
|
||||
|
||||
@ -44,7 +44,7 @@ int get_constrained_pressure_high(int pressure_high_local) {
|
||||
}
|
||||
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
// Serial.begin(9600);
|
||||
|
||||
pinMode(relay_port, OUTPUT);
|
||||
|
||||
@ -141,7 +141,7 @@ void loop() {
|
||||
is_on_pump = false;
|
||||
}
|
||||
}
|
||||
Serial.print(pressure_low);
|
||||
Serial.print(',');
|
||||
Serial.println(pressure_high);
|
||||
// Serial.print(pressure_low);
|
||||
// Serial.print(',');
|
||||
// Serial.println(pressure_high);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user