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

https://github.com/perone/redisplay

Redis monitor using Arduino and OLED displays.
https://github.com/perone/redisplay

Last synced: 9 months ago
JSON representation

Redis monitor using Arduino and OLED displays.

Awesome Lists containing this project

README

          

# Redisplay

Redisplay is a project that uses OLED displays to monitor
Redis activity. This project is the first prototype
towards a general platform for tiny physical and remote
monitors called **Stat Cubes**. It is still under development
and it will be redesigned in future to support different
services with a new hardware wireless platform.

## Video

[![Redisplay Video](http://img.youtube.com/vi/qURaP4wivrg/0.jpg)](https://www.youtube.com/watch?v=qURaP4wivrg)

## Architecture

The archictecure as it is today is very simple and is described
in the image below. There is an application gathering information
from the Redis server and then it serializes it using JSON
and send it over Serial (FTDI/USB) to the Arduino which in
turn is responsible for drawing the panels in the OLED display.

JSON is somehow overkill to send over the limited buffer that
Arduino has for Serial, but it was designed intentionally because
the Serial isn't going to be used in future for Stat Cubes.

![Image](./docs/arch.png?raw=true)

## Screenshots of the panels

![Image](./docs/redis_logo.png?raw=true)]

![Image](./docs/basic_stats.png?raw=true)]

![Image](./docs/arduino_mini_oled.png?raw=true)]

![Image](./docs/coin_reference.png?raw=true)]

![Image](./docs/ops_sec_stats.png?raw=true)]

![Image](./docs/advanced_stats.png?raw=true)]

## Arduino Requirements

To compile the Arduino (firmware) code, you'll need to
install [u8glib](https://code.google.com/p/u8glib/) and
[ArduinoJson](https://github.com/bblanchon/ArduinoJson).

## Arduino Installation

Just clone the repository inside a directory in your Arduino
sketchbook directory.

## Python Requirements

Use **pip** to install dependencies:

```shell
~# pip install -r monitor/pip_requirements.txt
```

## Python Installation

To test it without a Redis server, use the Python code
``/monitor/redisplay_test.py``, to test with a real Redis
server, just use the ``/monitor/redisplay_monitor.py``.