Replies: 6 comments 14 replies
-
Keys/buttons are wired in a 5 x 5 matrix for a total of max. 25 keys. Two key rollover is supported meaning that two keys can be pressed at the same time to generate a new key character. This is used to allow jogging in two directions at the same time and for selecting override step size (10% or 1% depending on the Shift key beeing pressed). Long keypresses are used for functions that should not be easily triggered such as homing the machine. A short keypress will trigger the most frequently used function, a long (> 1s) the more seldom used. A keymapping proposal:
|
Beta Was this translation helpful? Give feedback.
-
Looking good! My dream pendant would probably want the following functions (I note you have many in the
Mostly my mill has sat idle because I don't want to start a computer for simple jobs like drilling a few holes and milling slots. I was seriously considering removing the steppers and returning it to a manual machine but having a pendant might let me have the best of both worlds. |
Beta Was this translation helpful? Give feedback.
-
This is what I'm bringing up just now. Pretty basic, just buttons+neopixels to allow color coding and event responses (TBD). Small screen to show status and UI prompts. Enclosure/buttons are easy to 3d print (clear PETG makes a good light-pipe) so that things are accessible and easy for me to share around. Uses a Pi Pico module on the reverse side. Right now it uses the PCA9615/QWIIC differential I2C interface that is on the Hal2000 boards, but parts shortage makes that problematic going forward so I am likely going to have a version using something else, either optos or maybe I can find a 5V buffered extender that is more available. Currently just running fairly hacky code to get things working, it basically just emulates the I2C keypad to GRBLHAL and sends the keystrokes. Not sure exactly how this slots into what you're working on, but probably isn't too bad for me to port any of your software over to it which would be awesome. |
Beta Was this translation helpful? Give feedback.
-
**> The simplest MPG that can be built would be one encoder for jogging, two buttons, four LEDs and no display. One button for switching MPG mode on/off and one for selecting the axis controlled by the encoder. One LED for indicating MPG mode active and one for each axis to show which axis is currently controller by the encoder.
Is it possible to have start, hold, mode, food, mist, menu, lcd and 1 mpg (with axis selection button)? Possible rotary pot to handle axis switching. If so, where would I go to easy configure this buttons. Would only the Pi Pico breakout board be sufficient for this? I don't want the keypad. Thanks for the help |
Beta Was this translation helpful? Give feedback.
-
Hello,
I got the pico and lcd to boot succesfully,
I tried connecting the i2c sda_m and sdc_m to the teensy 4.1 to pins 24 and 25 but the lcd doesn't show the iosender information.
I didnt change any code. I am just doing a test run with your existing code
![20230202_010138](https://user-images.githubusercontent.com/81871634/216244640-0c2bcef4-8664-4c03-bdd4-2636625ab173.jpg)
Am missing something?
Thanks for the help
…On Fri, Jan 27, 2023, 2:38 AM Terje Io ***@***.***> wrote:
If I am missing something, can you guide me to see where the UART pins on
the MSP430 is located.
The MSP430 is communicating keypresses via I2C to the RP2040 - then either
via I2C or UART from the RP2040 to the grblHAL controller.
If I understand you correctly you want to signal keypresses by connecting
buttons etc. directly to the RP2040, this is possible with code changes and
at least the pins used for connecting the RP2040 to the MSP430 can be used.
In addition the pins used for I2C comms to the controller can be freed if
you use UART mode. Anyway here is the pin configuration for the MSP430 I
use:
[image: image]
<https://user-images.githubusercontent.com/20260062/215032809-656b8e62-485a-456f-b554-d5e9c9b47e71.png>
—
Reply to this email directly, view it on GitHub
<#6 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATQUGEX5HH477UAL4UDUQBLWUN3NVANCNFSM5LPXTLIA>
.
You are receiving this because you commented.Message ID:
<terjeio/GRBL_MPG_DRO_BoosterPack/repo-discussions/6/comments/4794363@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Seem to be stuck on this screen. using a teensy 4.1 for the Grbl controller using just the UART port to interface with the pendant.we are suppose to use the keypad plugin correct. Not sure what I am doing wrong here. Thank you |
Beta Was this translation helpful? Give feedback.
-
I now have firmware up and running for the new Pi Pico board with more than 30 key functions mapped and support for both I2C and UART mode communication with the controller.
The simplest MPG that can be built would be one encoder for jogging, two buttons, four LEDs and no display. One button for switching MPG mode on/off and one for selecting the axis controlled by the encoder. One LED for indicating MPG mode active and one for each axis to show which axis is currently controller by the encoder.
The most advanced would be a full 5x5 set of buttons, two encoders (one is for navigating the menus etc.) a display and eigth LEDs.
What kind of functionality are you looking for? Buttons for jogging? Buttons for overrides?
Beta Was this translation helpful? Give feedback.
All reactions