Code Monkey home page Code Monkey logo

grbl_mpg_dro_boosterpack's People

Contributors

terjeio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grbl_mpg_dro_boosterpack's Issues

Congratulations!, great job!

Hello friend just now I¿'m working in a similar project, but I wenna usa a SD card but not have success with this.

I make a code with LCD 1602 I2C and now the machine can move but the problem is how send data from SD CARD, have some about this?

digression

Sorry to take up some of your time.

I see whole project code that is event driven, like the "Display drivers" repository.
I also want to write code in an event-driven way, is there any learning material you can recommend? Or learn the route.😁😁

Thanks~

MSP-EXP432P401R serial port not working

HI.
I want to try this project. I bought a MSP-EXP432P401R board and compiled the project. But the serial port of my board doesn't seem to work, I can't communicate with my MSP-EXP432P401R board using iosender, I use the virtual serial port of the onboard XDS110. I don't know what the problem is, can you help me

3 or 4 wheels

I'm working on a similar project but with 3 or 4 wheels. STM32 can support 4 hardware quadrature pulse counters. Wondering if this is something you have considered? Also wondering how the physical interface is to use with your layout. Any lessons learned on the physical UI?

MPG Project Status?

I'm not sure if there's a better way to inquire about the current status of this project, but where does it stand as of August 2022? Are the published PCBs working, and are there ways to program the MSP430G2553 without having the specific programming hardware?

About the issue of sending G-code with GRBL_MPG_DRO

HI.
I am trying the GRBL_MPG_DRO project and using a TIVA-C board. I have some questions about the logic of sending G-code from the TIVA-C board. Can I use the grblSendSerial() function in a while loop to continuously send G-code from the TIVA-C board? Will grblHAL lose G-code if the TIVA-C board sends too fast? I noticed that iosender sends G-code line by line to grblHAL, and grblHAL returns an OK to iosender after receiving each line of G-code. I am curious if there is a delay between each line of G-code sent by iosender, which may cause grblHAL to run smoothly or not. Does grblHAL have a buffer that can store multiple lines of G-code at once to avoid delays between each line of G-code?

best regards.

identifier "KEYPAD_STREAM" is undefined

`#define MPG_ENABLE 1

#define KEYPAD_ENABLE 2`

I used the above two lines of code to compile, and the compiler told me "identifier" KEYPAD_STREAM "is undefined". I can't find "KEYPAD_STREAM" in the "MSP432P401R-master" project

I don't know why?

How to use the keyboard in the "GRBL_MPG_DRO_BoosterPack" project

Hi.

I want to use the keyboard, but I have encountered some problems. I use MSP430G2554 to drive the keyboard. The IIC interface of MSP430G2554 (keyboard board) is connected to tiva-c (DRO board), but the keyboard does not seem to work, and MPG cannot be used.

I don't know where to check. I looked at the code. The keyboard seems to be related to the UI. Can you give me some help?

Thank you.

PiPico Board screw hole

Hi Terje,

In the PCB layout the J7 (controller) connector obscures a 3mm mounting hole (see first and second picture)
image

image

By rotating the VSUP header, and moving U3 further to the right, room can be made for both the screw hole and J7 (see third picture)
image

Also suggest using a 3.2mm hole; as it permits a #10-32 screw for those in the US.

I am hesitant to send a PR as I upgraded to KiCAD 6 and the files are not backward compatible (only forward compatible), and I have not moved the traces going through the I2C header.

"GRBL_MPG_DRO_BoosterPack" project compilation error

I download the project from this link。https://github.com/terjeio/GRBL_MPG_DRO_BoosterPack.git

I use "Code Composer Studio 12.0.0" to open the GRBL_MPG_DRO_BoosterPack-master\Firmware\TM4C123 project。I compile and the compiler tells me there are 16 errors。
"../src/canvas/sdcard.c", line 177: error #256: type name is not allowed
"../src/canvas/sdcard.c", line 177: error #66: expected a ";"
"../src/canvas/sdcard.c", line 177: error #20: identifier "i" is undefined
3 errors detected in the compilation of "../src/canvas/sdcard.c".
gmake: *** [src/canvas/sdcard.obj] Error 1

I made a modification to the code:

if(!canvasSDCard)
{
canvasSDCard = UILibCanvasCreate(0, 0, 320, 240, handlerCanvas);
listPrograms = UILibListCreate((Widget *)canvasSDCard, 10, 40, 300, LISTELEMENTS, handlerProgramList);
{
uint_fast8_t i;
for(i = 0; i < LISTELEMENTS; i++)
UILibListCreateElement(listPrograms, i, "", handlerSelectList);
}
}

error disappears。

After I solved all the errors of this type, a new error appeared

"./src/canvas/grblutils.obj" "./src/canvas/menu.obj" "./src/canvas/sdcard.obj" "./src/canvas/sender.obj" "./src/canvas/threading.obj" "./src/fonts.obj" "./src/grblcomm.obj" "./src/interface.obj" "./src/keypad.obj" "./src/main.obj" "../tm4c123gh6pm.cmd" -llibc.a -l"C:/ti/TivaWare_C_Series-2.2.0.295/driverlib/ccs/Debug/driverlib.lib"
<Linking>

undefined first referenced
symbol in file
--------- ----------------
serial_RxCancel ./src/grblcomm.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "GRBL MPG and DRO Panel.out" not built

>> Compilation failure
makefile:181: recipe for target 'GRBL MPG and DRO Panel.out' failed
gmake: *** [GRBL MPG and DRO Panel.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

MPG cannot be used

Can the "GRBL_MPG_DRO_BoosterPack" project use MPG when the keyboard is unavailable?

My MPG is connected to the PC5 and PC6 pins of TivaC. When I rotate the MPG, nothing happens.

I connected a switch at the MPG_MODE_PIN pin and put the program in MPG mode. The X-axis label on the TFT screen also turned green.

Pi Pico Board, LED resistor calculation?

Hello Terje,
Sorry to bother you.
I made some layout changes to your MPG DRO board, to make it a little more versatile (in my opinion), but the circuit is the same.
Among the various small modifications (I'll tell you about them in detail in another context), I added a double Pad to the LED resistors.
In this way, the predefined SMD resistors (on bottom) can be easily replaced with Custom resistors on Top
(1/4W, standard tht), simply cutting the track of the corresponding SMD resistor (the precise point is indicated on Bottom).

Finally, the calculation is needed for the correct resistance value, for a given LED Vf (based on the color chosen) and for a given current (say 10mA, as an average value).

I imagined it was:
R(led) = (Vcc - Vf) / Iled

So giving two examples:
(5 - 1.8) / 0.010 = 320 ohm (red LED, Vf=1.8V)
(5 - 3.6) / 0.010 = 140 ohm (white/blue LED, Vf=3.6V)

But in this post:
#3 (comment)
you said you used 2.7K resistors for standard 3 mm LEDs, obtaining different light intensities, I suppose depending on the color of the LEDs.

If the formula above was correct, with a res. from 2.7K, I would get about 1 mA for a red LED, 0.5 mA for a white one.
Something doesn't add up.
Where am I doing wrong?

Regards,
Marco

Can this project be used to control the A axis of grbl.

I want to control my A-axis with this project, I don't know if it is possible with this project. If not, is it feasible for me to treat the X-axis signal as the A-axis signal. In grbl, are the six axes (XYZABC) implemented with the same code?

Can't run this project

I want to run this project, but I have a lot of problems。

I use TM4C123GXL board as MPG controller,I use EXP432P401R board as grblhal controller,The source code of the grblhal controller is https://github.com/grblHAL/MSP432P401R.

I found that my MSP432P401R can't communicate with TM4C123GXL, I use a logic analyzer to measure the P3.2 and P3.1 pins of MSP432P401R, they don't have any data.(I use IOsender to communicate with MSP432P401R, and then use a logic analyzer to measure P3.2 and P3.1 pins,I think PC will give G code to MSP432, then MSP432 will use P3.2 and P3.1 pins to TM4C123. I don't know if I understand correctly)

My MSP432 board does not use EEPROM, I saw that this board can communicate with IOsender。

I debug MSP432 board and I found that
if((hal.driver_cap.mpg_mode = stream_mpg_register(stream_open_instance(MPG_STREAM, 115200, NULL), false, NULL))) protocol_enqueue_rt_command(mpg_enable);

will not execute。

I found in "cnc_boosterpack_map.h" file
#if MPG_MODE == 1
#define MPG_MODE_PORT port(C)
#define MPG_MODE_PIN 2 // GPIO2
#endif

Does MPS432 have portC port? (GPIOC? GPIOC2?)

This is a great project and I want to run it, can you give me some help.

Sincere thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.