Remora for RP2040

More
3 years 4 months ago #272924 by scotta
Replied by scotta on topic Remora for RP2040
No schematic available but below is the manual

nvcnc.net/pdf/NVCNC_NVMPG_EN.pdf

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #272927 by drewnabobber
Replied by drewnabobber on topic Remora for RP2040
I will just put the pins out to an SMD header on the bottom and so that you can solder stuff up to it. Our users have lots of USB options for pendants when they use LinuxCNC and we have an OSHW pendant that we're working on as well:

 

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #273050 by drewnabobber
Replied by drewnabobber on topic Remora for RP2040
Work in progress, I decided to do the rip-up and I have added two headers which mate with our existing keypad pendant device that we use with FlexiHAL.  These two headers have the pins that you wanted (UART and some GPIO, plus 3.3V and 5V) so you should be able to make a small interface module to connect to any pendant or just fly wire things.

github.com/Expatria-Technologies/RT_Jog_Controller

 
The following user(s) said Thank You: Bari, scotta

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #273052 by scotta
Replied by scotta on topic Remora for RP2040
Thanks! The jog controller is interesting. Is there details on the protocol used somewhere? Maybe a Remora module for it would be a better solution.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #273059 by drewnabobber
Replied by drewnabobber on topic Remora for RP2040
All the code is posted, it isn’t very complicated or anything. Really it is just sending keycodes and receiving a data packet with dro and state information. It uses rp2040.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #273130 by drewnabobber
Replied by drewnabobber on topic Remora for RP2040
Ok, hopefully we are happy with this one, I am more satisfied.

 

Also, here is the pinout of the RP2040 for reference.  Certainly interested if anything in particular will work better or worse.

 

The keypad uses I2C for data exchange.  It also has two additional I/Os for HALT and STROBE signals, both are active low.  The HALT signal is hard-wired to a dedicated button on the keypad for e-stop.  For any other button press, when the user presses a button, the STROBE signal is asserted (pulled down) by the keypad MCU which signals the host that a character code needs to be read.  The host reads a single byte from the device which contains the keycode - so there is a limit of 255 possible buttons/combinations of buttons (we do use shift-button for alternate functions on the keypad, plus diagonal jogging if two direction buttons are pressed simultaneously).  The pendant keeps the STROBE asserted as long as the user holds down the button.  This allows for things like continuous pushbutton jogging.

In addition to the above, the DRO is updated whenever the host writes the data packet to the pendant (this can happen at any time).  This is the format of the data here:
github.com/Expatria-Technologies/RT_Jog_...er/i2c_jogger.h#L248

You should be able to use the SDA/SCL as a UART (they can be given that alternate function) and the other two GPIOS should be able to implement the quadrature decoder for the handwheel.  You would need to implement a differential receiver via IC or termination, as well as deal with voltage translation.  3.3V and 5v are also available on the headers.
Last edit: 3 years 4 months ago by drewnabobber.
The following user(s) said Thank You: tommylight, besriworld

Please Log in or Create an account to join the conversation.

Time to create page: 0.217 seconds
Powered by Kunena Forum