in-memory key-value lightweight database

For my little project i3-change.py I need lightweight in-memory database. My first idea was to use Redis (I have some experience with it) but it requires some library to control it. I need something more lightweight. I think using linux named pipes is elegant way how communicate with a database. Here is the full source of my lightweight in-memory database: https://github.com/petrposvic/in-memory-storage.

Continue reading

ESP3D wiring

ESP3D is firmware for ESP8266 and ESP32 to add wireless control your 3D printer. For me is important print progress and temperatures but you can upload files on SD card and start printing, move motors and send custom commands.

You can get ESP3D here https://github.com/luc-github/ESP3D. I use it with ESP12 and here is my wiring:

Of course ESP part are two pin headers. GPIO0 and GPIO2 are high but for programming I can switch them.

GPIO0GPIO2GPIO15
UART Download Mode010
Flash Startup110
SD-Card Boot001
Boot modes