Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/khuedoan/esp-blackbox

Black box monitoring with ESP32 (WIP)
https://github.com/khuedoan/esp-blackbox

Last synced: 13 days ago
JSON representation

Black box monitoring with ESP32 (WIP)

Awesome Lists containing this project

README

        

# ESP Black box monitoring

Black box monitoring with ESP32 and ST7789 (WIP).

## Features

- [ ] Monitor
- [ ] HTTP/HTTPS
- [ ] TCP
- [ ] Ping
- [ ] Blink if there's downtime
- [ ] GUI
- [ ] Display
- [ ] Web
- [ ] OTA update

## Setup

### Hardware

```
┌─────────────────┐
│ D23├───────────────┐
│ ┌───────┐ │ │
│ │ │ │ │
│ │ │ │ │ ┌────┬───────────┬──┐
│ │ │ │ │ │BLK │ │ │
│ │ │ │ ┌──┼──┤DC │ │ │
│ └───────┘ D18├────────┐ ┌─┼──┼──┤RES │ │ │
│ │ │ │ │ └──┤SDA │ │ │
│ │ └─┼─┼─────┤SCL │ │ │
│ │ │ │ ┌───┤VCC │ │ │
│ D4├──────────┘ │ │ ┌─┤GND │ │ │
│ D2├────────────┘ │ │ └────┴───────────┴──┘
│ │ │ │
│ │ │ │
┌─┤GND 3V3├──────────────┘ │
│ └─────────────────┘ │
│ │
└────────────────────────────────────┘

```

| ESP32 | ST7789 |
| ----- | ------ |
| GND | GND |
| 3v3 | VCC |
| D2 | DC |
| D4 | RES |
| D18 | SCL |
| D23 | SDA |

### Firmware

Prerequisites:

```sh
paru -S platformio
sudo usermod -aG uucp $USER
```

Build and upload:

```sh
make
```

To open serial console, run the following command and press the EN button on the board:

```sh
make monitor
```