Skip to content

Duplicate the serial port 0 (USB port) to serial port 2 (pins D16 & D17) #103

Open
@bestiada

Description

@bestiada

Hi Gauthier,
in order to be able to connect and utilize an arduino-based pendant controller, should be a nice idea to "duplicate" the USB port into the serial port 2 (available on pins D16 and D17).
Basically, the system has to work as per follow:

the Mega should be able to receive g-code commands from USB (like it's actually doing!) AND from the serial port 2.
the Mega should be able to send his feedback messages to USB (like it's actually doing!) AND to the serial port 2.
In this way, I can use the USB port to send g-code stream from my PC, exactly like now. But I can also use an arduino-based device to send jog commands and receive feedback. This modification will allow any user to program his own pendant controller, using local push buttons or displays to control and monitor the status of the machine.

If you are interested, I also designed and realized a PCB to connect easily all the necessary hardware, from 3 to 6 axis. The inputs and outputs are opto-isolated and the card is using the same configuration of the Ramps board. The card is still under development but I already have my prototype ready for the tests. If you like to have more info about my card, send me an email at the address [email protected]

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions