Hardware:
- 58mm embedded thermal printer, 60mm/s print speed TTL DC 5-9V Print Command: ESC/POS
- Waveshare ESP32-S3-Zero
- Screwable USB type C port
- Shrink tube
- Wires
My pinout that I use from ESP32:
GPIO1 RX TX ESP → RX Printer
GPIO2 TX RX ESP ← TX Printer
GPIO3 DTR or RST DTR or RST control
GND GND Ground
3V3 VH 5V from usb-c power
The esp32 S3 zero have built in wled on GPIO21.
The yaml example give me action formely service from home assistant:
ESPHome: esp_thermal_printer_cut_paper
ESPHome: esp_thermal_printer_feed_paper
ESPHome: esp_thermal_printer_print_centered
ESPHome: esp_thermal_printer_print_large
ESPHome: esp_thermal_printer_print_report
ESPHome: esp_thermal_printer_print_sensors
ESPHome: esp_thermal_printer_print_text
I wait my order of usb-c female screw terminal to complete my project but I tested and it works.