-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate the serial port 0 (USB port) to serial port 2 (pins D16 & D17) #103
Comments
Great idea to 'duplicate' USB to Serial to add a pendant controller +10 ;) But i think, the backlash routines should come before ;) BR |
Hi @bestiada |
Hi @fra589
Let me know if my approach sounds good. In any case, I wish to know the opinions/ideas of other users on how to handle the subject... Regards, |
Hello, this seems a very good idea, here mi two cents, can we totaly disable input 2 while there is comunication going on on usb and only enable after usb is at least 2 or 3 seconds idle |
I have idea for this, the goal is to make sure the streaming is safe without any foolproof from user to stream for pendant. and might easier to code. so the idea : and if we want to stream for pc (usb) we just tell the pendant to send high signal to the pin. so if we use internal pull up on the pin, although it loosing signal from pendant, the usb will be the default communication. and the pendant can be activated from menu on display (oled or character display) with this method we can sure no conflict in intrupt and cam faster toggle the communication with confidence where the gcode will be stream on |
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]
The text was updated successfully, but these errors were encountered: