adapt with board type for bmp280

This commit is contained in:
Laurent Deleers
2020-04-15 08:42:59 +02:00
parent 83194b29da
commit 68449846c1
4 changed files with 95 additions and 82 deletions

42
doc/Documentation.md Normal file
View File

@@ -0,0 +1,42 @@
## Board Pinnout
### Screen
| Screen Pin | Board Pin | GPIO | comment |
| ---- | ---- | ------ | -- |
| BUSY | D0 | GPIO16 | |
| RST | D4 | GPIO2 | |
| DC | D3 | GPIO0 | |
| CS | D8 | GPIO15 | 1K pulldown |
| CLK | D5 | GPIO14 | |
| DIN | D7 | GPIO13 | |
| GND | GND | | |
| 3.3V | 3.3V | | |
### BMP280 (pressure)
| sensor Pin | Board Pin | GPIO | comment
| -- | -- | -- | -- |
| SCL | D1 | GPIO5 | used as i2c |
| SDA | D2 | GPIO4 | used as i2c |
| GDN | GND | | |
| 3.3V | 3.3V | | |
### DHT22 (temp & hydro)
| sensor Pin | Board Pin | GPIO | comment |
| -- | -- | -- | -- |
| DATA | D6 | GPIO12 | 10K pullup |
| GDN | GND | | |
| 5V | 5V | | |
## Display configuration
header of 28 pixel height |||
|----------|----------|----------|
| widget 1 <br> 130x90 <br> at 2,30 | widget 2 <br> 130x90 <br> at 135,30 | widget 3 <br> 130x90 <br> at 138,30 |
| widget 4 <br> 130x90 <br> at 2,120 | widget 5 <br> 130x90 <br> at 135,120 | widget 6 <br> 130x90 <br> at 138,120 |
| widget 7 <br> 130x90 <br> at 2,210 | widget 8 <br> 130x90 <br> at 135,210 | widget 9 <br> 130x90 <br> at 138,210 |

25
doc/Todos.md Normal file
View File

@@ -0,0 +1,25 @@
## TODOS
- [x] Draw Head
- [x] Draw Title
- [x] Draw Widget
- [x] Integrate TempS
- [x] Draw T°
- [x] Draw HR
- [x] Integrate Pressure
- [x] Draw Press
- [x] Draw min max
- [x] Integrate Time
- [x] Draw Time
- [ ] Get variables private
- [ ] Publish REST API
- [ ] Show Temp & hydro graph
- [ ] Make formatting nicer :)
- [ ] Make it configurable (web interface)
- [ ] Timezone
- [ ] Wifi credentials
- [ ] reset high low

View File

@@ -1,11 +0,0 @@
## Display config
header of 28 pixel height |||
|----------|----------|----------|
| widget 1 <br> 130x90 <br> at 2,30 | widget 2 <br> 130x90 <br> at 135,30 | widget 3 <br> 130x90 <br> at 138,30 |
| widget 4 <br> 130x90 <br> at 2,120 | widget 5 <br> 130x90 <br> at 135,120 | widget 6 <br> 130x90 <br> at 138,120 |
| widget 7 <br> 130x90 <br> at 2,210 | widget 8 <br> 130x90 <br> at 135,210 | widget 9 <br> 130x90 <br> at 138,210 |