ysard / libre-printer

Software and hardware interfaces pretending to be a Centronics/Serial printer compatible with old medical and industrial devices.
https://libre-printer.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
4 stars 0 forks source link

State of the Project #6

Open SZenglein opened 2 years ago

SZenglein commented 2 years ago

Hi,

your project is looking pretty nice. I have looked at the code and it seems very promising.

Do you have a working solution already?

It would be great if you could add some wiring diagram for the Arduino and general instructions. Does the Arduino firmwafe get compiled/flashed automatically from the pi or is built externally?

Also, where is the Arduino firmware located?

Thanks for the project!

ysard commented 2 years ago

Hi, thank you for your comments. I apologize for the delay, it's hard for me to answer quickly during the summer ;)

Do you have a working solution already?

Yes I do have a working solution, with LPT-USB cables and a USB-UART interface as a serial printer, all configured with Cups.

Currently I don't see any reason why it wouldn't work on legacy hardware ( except for device specific features). However, I will only be able to perform a field test on a device that expects to handle a serial printer. I consider the code base to be mature.

It would be great if you could add some wiring diagram for the Arduino and general instructions.

Yes all this is planned but takes time ;)

Does the Arduino firmwafe get compiled/flashed automatically from the pi or is built externally?

The advantage of the ProMicro is that it can be flashed through its USB interface. I had first considered the Pro Mini but the SPI interface needed too many pins to allow the flash procedure + serial + parallel connections.

Currently I compile the firmware on the PC and then upload the .hex to the pi or I flash the arduino directly via the computer. The flash is done with avrdude.

Also, where is the Arduino firmware located?

I have not yet published this firmware, neither the sources nor in compiled form. As soon as possible I will update the repository with the compiled version first, with the schematic.

I hope I have answered your questions.

hubap2 commented 1 year ago

HI,

I am very interested in your project. Where are you on the Arduino firmware now.

Thanks