Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:31 03 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Small tickets printer on Pico

Author Message
grroel.tech
Newbie

Joined: 09/12/2021
Location: Spain
Posts: 20
Posted: 10:08am 03 Aug 2025
Copy link to clipboard 
Print this post

Hello,
I have tried to connect a thermal ticket printer (EW5820) to a Raspberry Pi Pico 2 with WebPicoMite. I have followed and checked all the steps:

The printer is working, tested on Windows.

It is powered with sufficient power at 5v.

Using the connector labelled "TTL" I have connected the following wires to the Pico:
- GND to GND
- RX to GP16
- TX to GP13

As a precaution I used a 3.3v - 5v level adapter (BSS138) with RX and TX.

I have assigned the pins to COM1: SETPIN GP13,GP16, COM1

I have tried two methods:
- OPEN "COM1:19200" AS #5 : PRINT #5, "Hello" : CLOSE#5
- DEVICE SERIALTX GP13,19200, "Hello".

None of them worked. I changed the baud rate to other values with no result.

On Aliexpress page  a customer says that the TTL connector RX and TX pins are swapped. I tried reversing them and it didn't work.

Have I done something wrong or have I omitted something? What else can I do to verify the operation?

Thanks, best regards.
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 444
Posted: 10:20am 03 Aug 2025
Copy link to clipboard 
Print this post

  grroel.tech said  Hello,
I have tried to connect a thermal ticket printer (EW5820) to a Raspberry Pi Pico 2 with WebPicoMite.

Have I done something wrong or have I omitted something? What else can I do to verify the operation?

Thanks, best regards.


I use that printer with a Pico 2W and it works fine. I use a TTL to RS-232 converter such as this one:


Edited 2025-08-03 20:23 by toml_12953
 
grroel.tech
Newbie

Joined: 09/12/2021
Location: Spain
Posts: 20
Posted: 11:04am 03 Aug 2025
Copy link to clipboard 
Print this post

  toml_12953 said  

I use that printer with a Pico 2W and it works fine. I use a TTL to RS-232 converter such as this one:



Once that MAX3232 adapter is connected to the Pico, what is the cable layout to the printer? Do you need to take into account the CTS pin and the voltage of the printer connector?
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 444
Posted: 01:14pm 03 Aug 2025
Copy link to clipboard 
Print this post

  grroel.tech said  
  toml_12953 said  

I use that printer with a Pico 2W and it works fine. I use a TTL to RS-232 converter such as this one:


Once that MAX3232 adapter is connected to the Pico, what is the cable layout to the printer? Do you need to take into account the CTS pin and the voltage of the printer connector?


I use a straight-through connector. I have a 9-pin to 25-pin adapter on the back of the printer and a gender changer since the adapter has a female 9-pin side and the cable I use to connect to the MAX3232 needs a male. You connect the Vcc and Gnd connectors on the MAX3232 to the PicoCalc. Connect the RXD and TXD lines to the corresponding GPs. If you get no response, switch RXD and TXD. It's that simple.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025