Another take on "Dalek" (Zbrojovka Brno T100 teletype) IO interface
 
 
Go to file
informatic 9962bec101
fix schematic, wait for motor spinup
2024-07-24 21:39:25 +02:00
hw fix schematic, wait for motor spinup 2024-07-24 21:39:25 +02:00
src fix schematic, wait for motor spinup 2024-07-24 21:39:25 +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 add BROKEN_CR_WORKAROUND define 2024-07-20 12:13:17 +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.

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.

Basic text wrapping is implemented - ie. newline is automatically appended every 69 characters - handle this on client-side to properly support word wrap.

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