Project

A Wi-Fi Receipt Printer I Can Take Anywhere

A portable box that joins the local Wi-Fi and prints anything sent to it over HTTP. A 58 mm thermal receipt printer paired with a Raspberry Pi Pico 2 W, all in one 3D-printed housing. Power it from USB-C, POST to its endpoint, and a receipt comes out.

0 of 0 parts published

A portable box I can carry wherever it’s needed, join to the local Wi-Fi, and print anything by sending an HTTP POST to it.

The printer is a NETUM NT-1809DD, a 58 mm portable thermal receipt printer. It prints at 203 dpi with a 48 mm (384 dot) width and speaks ESC/POS. It connects over classic Bluetooth (SPP serial profile, default PIN 1234) and micro-USB. Power comes from a built-in 7.4 V Li-ion pack that charges at 5 V / 2 A.

The brain is a Raspberry Pi Pico 2 W: the RP2350 plus the CYW43439 Wi-Fi and Bluetooth chip. I picked the Pico 2 W over my usual XIAO ESP32-C3 because the C3 only has BLE, and the printer needs classic Bluetooth SPP. The Pico 2 W’s radio does classic Bluetooth, and the Pico SDK’s BTstack library has SPP.

The Pico joins Wi-Fi and runs a small web server with a POST /print endpoint. It turns the request into ESC/POS bytes and sends them to the printer over Bluetooth.

The printer auto-sleeps. The plan is to reconnect before each print and send a periodic status request (DLE EOT 1, which prints nothing) to keep it awake. Both approaches are to be tested. If neither works reliably, an optocoupler (a PC817, for example) can sit across the printer’s power button so the Pico can press it to wake it.

Power comes in through a single USB-C input on the housing: a breakout with 5.1k CC resistors, split inside. 5 V goes to the printer’s micro-USB and to the Pico’s VSYS pin. The supply should deliver 5 V at 3 A (the printer can draw up to 2 A, plus headroom for the Pico), with a 470 µF cap on the 5 V rail to soak up dips from thermal print bursts.

The housing will be a custom 3D-printed enclosure for both. It needs a paper-exit slot, a lid I can open to swap rolls, access to the power button, the Pico antenna at the edge away from the battery and metal, and vent holes.

Safety note: if I open the printer, unplug the Li-ion pack first and don’t short its leads.

The firmware language is to be decided. I want MicroPython, but MicroPython’s bluetooth module only supports BLE and the printer uses classic Bluetooth SPP. A BLE scan of the printer is still pending. If the printer supports BLE, MicroPython is the plan. Otherwise, it’s Pico SDK C.

Next steps: test keep-alive behaviour, write the firmware (Wi-Fi config, POST /print, Bluetooth link, keep-alive), and design the housing.

    No parts published yet.