Skip to content

An ESP8266 based keypad to use with the Mind Flayer VTT module

License

Notifications You must be signed in to change notification settings

mindflayer-vtt/mindflayer-keypad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mind Flayer - Keypad

Firmware for an ESP8266 based keypad that can be used with the Mind Flayer VTT module & server

Schematic and PCB

See hardware/board/README.md for more information.

Case

See hardware/case/README.md for more information.

Requirements

You have to have set up the following software in order to compile an flash the controller:

  • Python

Setup

  1. Use the following command to setup a python virtual environment:
    python -m venv .venv
  2. Activate the python virtual environment
    source .venv/bin/activate
  3. Install platformio
    pip install platformio

Configuration

  1. Create a include/config.h file and add the WIFI_SSID, WIFI_PASS and WSS_URL variables
    #define WIFI_SSID "<your ssid>"
    #define WIFI_PASS "<your wifi password>"
    #define WSS_URL   "<your websocketserver url>"

Flashing

  1. Connect the wemos d1 mini to the PC with USB
  2. Run the following command to flash the controller
    platformio run -e controller_1 -t upload