vnnkl / M5StackSats

A bitcoin point of sale terminal using the ESP32 based M5Stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M5StackSats

M5StackSats

A bitcoin Lightning-Network Point of Sale terminal using the ESP32 based M5Stack Faces Development Kit. Included in the kit is a keypad and charging dock, making it an ideal candidate for an cheap($55)/easy DIY bitcoin point of sale terminal. https://m5stack.com/products/face

bitcoinpos

There are three implementations of M5StackSats, one that communicates directly with an LND node, and another that communicates with opennode (make an account here https://opennode.co/join/f774f2a0-1377-45e2-b719-6b821f24900d), and another that sits between the two projects using a neutrino LND node via Zap desktop wallet(https://docs.zaphq.io/docs-desktop-neutrino-connect).

Converting the project to communicate with c-lightning nodes/other custodial services should be easy.

Tutorial

bitcoinpos

Installing Arduino + libraries

Install the Arduino IDE and ESP32 hardware.

From "Manage Libraries" install,

  • LittlevGL
  • ArduinoJson
  • M5Stack

a

Notes

To create a splash image, you can use the Online Image to C Array Converter.

Here you can find some more information on the client server communication.

For parsing JSON responses and calculating the capacity you can use the ArduinoJson Assistant tool.

Tip me

If you like this project and might even use or extend it, why not send some tip love!

About

A bitcoin point of sale terminal using the ESP32 based M5Stack

License:GNU General Public License v3.0


Languages

Language:C 99.7%Language:C++ 0.3%