Close

Controlling the Printer

A project log for CIJ Printer

An Open Source Continuous Inkjet Printer

dominik-meffertDominik Meffert 04/04/2021 at 23:090 Comments

To control the printer there are 3 signals needed:

- Droduct Detect

- Encoder

- RS232

Product Detect:

Everytime the Product Detect signal is triggered the printer starts printing a message.

Encoder:

If an encoder is connected to the printer the printer is able to detect the exact position of the printhead, so that no matter how fast the printhead moves the message gets printed as it should be.

RS232:

To send messages for printing to the printer RS232 is used and the messages are send in HEX numbers.

The upper connection at the right is the product detect and the lower is the encoder.

Here you can see the DB25 RS232 connector which is also able to use hardware serial.

Because I used software serial only 3 lines and some bridges are needed.

The other end of the cable is connected to a DB9 connector.

Which is connected to a MAX3232 board.

I also placed a Ramps 1.6+ & Arduino Mega 2650 with two TMC2130 and a power supply in there to control two stepper motors. A mosfet board is used to trigger the product detect.

At the moment I have not connected anything to the printer controller because I still have to configure the firmware for it.

Discussions