Another take on "Dalek" (Zbrojovka Brno T100 teletype) IO interface
 
 
Go to file
informatic d91bbddbb7
baudot: add unicode handling
2024-06-08 01:11:59 +02:00
hw networking cleanup, basic rmt uart implementation 2024-06-06 21:07:18 +02:00
src baudot: add unicode handling 2024-06-08 01:11:59 +02:00
.gitignore networking cleanup, basic rmt uart implementation 2024-06-06 21:07:18 +02:00
CMakeLists.txt networking cleanup, basic rmt uart implementation 2024-06-06 21:07:18 +02:00
README.md networking cleanup, basic rmt uart implementation 2024-06-06 21:07:18 +02:00
platformio.ini networking cleanup, basic rmt uart implementation 2024-06-06 21:07:18 +02:00
sdkconfig.esp32dev networking cleanup, basic rmt uart implementation 2024-06-06 21:07:18 +02:00

README.md

esp32-dalek

This is another reincarnation of HSWAW Dalek IO interface - this time around based on ESP32.

  • //hw - contains basic IO schematic
  • //src (...and the rest) - contains ESP-IDF+platformio-based ESP32 project

Building and running

Create src/config.priv.h based on src/config.priv.h.dist with proper network credentials, then check src/main.c for GPIO assignments.

pio run -t upload -t monitor -e esp32dev

Usage

ESP32 exposes plain TCP server on port 1337 (check USB-UART output for currently assigned IP address) and passes ASCII/Unicode input/output data through to TTY line. Multiple clients receive copy of all the data and can send data simultaneously. All data sent to the teletype is echoed back (to all clients).

Motor should start up only when there's an active TCP connection - wait a couple of seconds before sending data to ensure motor is up and running.

No text wrapping is implemented - limit to ~80 columns on client-side.

Check Baudot ↔ ASCII/Unicode conversion routines in src/baudot.c for supported characters.