Simple Single Axis CNC

HI All - My project is a Saw Stop using GRBL

I will be using MS Access to control the process as I also need to print labels.

What I am having problems figuring out is what software to use that I can send a command line to that would send a simple Gcode to the grbl. Just need to tell it where to send the X to.

Any input would be appreciated.

If the Gcode is simple enough, can't you just type in the command from the serial terminal?

I have forgotten most of what I knew about Windows (it was XP then) but you could easily write a short Python program to send text (GCode) to an Arduino.

Alternatively I think there is a GCode sender program somewhere - maybe Google could find it?

...R

My project it to make a simple saw stop.
1 axis stepper motor.
Homing and Positioning.

This I think I can handle the Arduino end.
Where it gets messy is I need to get the positioning information from ms access.

I have searched all over and and cant seem to get a simple example of how to send info via serial from VBA in access.

It would be nice if I could use an access form button and field to command the homing and the positioning.

Any guidance to an easy reference would be appreciated.

I know I'm not the only one who is annoyed when threads are abandoned without any reply to the people who had tried to help. This thread sure seems very similar to the earlier thread.

Edit: I looks like the two threads have been merged.

Sorry for not responding earlier.
(not getting notification of responses)
Still chewing over the responses.

After research i found that using the grble would complicate things and just need to com direct to Arduino using com port.

I have been searching for VBA code to pass vars to the arduino from Access.

Lots of info for VB.net but the synatax is not correct for VBA.

I am not the great on VBA just copy and modify code

any direction would be appreciated,

Sorry again for letting this go cold

The examples in Serial Input Basics are simple reliable ways to receive data on an Arduino. The system in the third example will be the most reliable.

You should be have no trouble getting your PC program to produce data in that format.

...R

Thanks, that is good info.
I have been doing tutorials on the "receiving" or Arduino side.
I feel I have enough info to do that end.

My issue is finding resources on the sending side.
That is, Sending to com port from VBA in MS Access.
This is my holy grail :slight_smile:
Receiving status would be nice but not the end if I cant get it.

I have found all sorts of info on VB.net but the syntax wont work in VBA in Access.

VBA is my weak point in this project.

Thanks

In VBA try to find a function to open a file for output (like "COM0"), then write to that file.

sawdustmaker:
VBA is my weak point in this project.

When I tried "VBA COM port" Google found lots of stuff.

The information you are looking for is unlikely to be found on this Forum.

...R

Thanks