ref README.md

This commit is contained in:
TheK4n 2021-09-20 21:46:59 +03:00
parent 485dc5cd14
commit 0c4d2e2183
2 changed files with 30 additions and 7 deletions

View File

@ -12,16 +12,18 @@
## Content ## Content
* [Project description](#chapter-0) * [Project description](#chapter-0)
* [Usage](#chapter-1) * [Usage](#chapter-1)
* [Hardware](#chapter-2)
* [Libraries](#chapter-3)
\
<a id="chapter-0"></a> <a id="chapter-0"></a>
## Project description ## Project description
Arduino Controller for water pump Arduino Controller for water pump
\
<a id="chapter-2"></a> <a id="chapter-1"></a>
## Usage ## Usage
1. Turn to change lower threshold 1. Turn to change lower threshold
@ -34,4 +36,25 @@ Arduino Controller for water pump
[![Scheme](schemes/PumpController.png)]() [![Scheme](schemes/PumpController.png)]()
<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> <h1 align="center"><a href="#top"></a></h1>

View File

@ -44,7 +44,7 @@ int get_constrained_pressure_high(int pressure_high_local) {
} }
void setup() { void setup() {
Serial.begin(9600); // Serial.begin(9600);
pinMode(relay_port, OUTPUT); pinMode(relay_port, OUTPUT);
@ -141,7 +141,7 @@ void loop() {
is_on_pump = false; is_on_pump = false;
} }
} }
Serial.print(pressure_low); // Serial.print(pressure_low);
Serial.print(','); // Serial.print(',');
Serial.println(pressure_high); // Serial.println(pressure_high);
} }