Manage parallel port from terminal

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Noquies
Level 1
Level 1
Posts: 2
Joined: Sun Jan 28, 2024 12:19 pm

Manage parallel port from terminal

Post by Noquies »

Good afternoon
I am trying to send data through the parallel port to a db25-1205 crontoller with six DM420A stepper motor controllers.
I can't succed in sending data (pulses) through P2 and direction in P3 of the parallel port from the terminal to test it.
Can anyone help me?
Thanks a lot

DJM
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Manage parallel port from terminal

Post by deepakdeshp »

You must ne aware that raspberry pi rather than the Mint machine is very much useful to interface to the external world
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Noquies
Level 1
Level 1
Posts: 2
Joined: Sun Jan 28, 2024 12:19 pm

Re: Manage parallel port from terminal

Post by Noquies »

Thanks you, but i kneed to use a computer with linux, because the arm robot will receive commands from a database through the parallel port.. Thats why i need to start with the terminal linux
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Manage parallel port from terminal

Post by deepakdeshp »

Raspberry pi uses Debian Linux and it's very cheap. You can use terminal commands in it
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Manage parallel port from terminal

Post by deepakdeshp »

You have to add parallel port to Pi.
https://github.com/worlickwerx/pi-parport
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Post Reply

Return to “Printers & Scanners”