Hi,
I have a Posiflex pp 7000ii which have a rs232 port.
Please tell me how can i control it using arduino board and rs232 to ttl converter.
To control the printer, use Arduino Serial.print() statements to send the printer appropriate commands, as described in the printer manual.
For best results, choose an Arduino with at least two hardware serial ports.
... that’s to give you the most reliability and flexibility in your programming … Software serial ports may work, it you’ll regret it later when you know more!
Hi @mbed07
welcome to the arduino-forum.
You have to find out what voltage-levels this RS232-port is using by looking into the datasheet / usermanual of this printer.
It might well be that the printer-interface works with 12V which would destroy your arduino immidiately when connecting. If this is the case you will need a small additional electronic.
Voltage-level-shifters for RS232. They are pretty low-cost.
Inside the usermanual there will be specified the baudrate, databits, stop-bits and parity.
It is very likely that it will be 9600 baud 8N1 but you have to check it.
best regards Stefan
Wouldn't that be take care-of by the
mentioned in the OP?
As the others have suggested, the first thing to find out is whether that's a real RS232 port - ie, using +/- 12V levels - or not.
Then you'll have to find the pinout of the connector it uses.
Then you'll have to find what format/commands it uses over this port.
All of this should be found in the printer's manual(s).
The easiest way to start would be to connect it to a terminal app on a PC, and experiment with sending stuff manually - only move on to Arduino code once you know what you have to send.
This is excellent advice - then you have one port to connect to the printer, and a separate one to connect to your computer for downloading, debugging, etc ...
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.