Reading data from Arduino

More
11 Feb 2021 21:00 #198438 by elisa
Hi everybody,

I was wondering if it is possible to send the gcode from Arduino to Linuxcnc?

For example, can I send the gcode via Bluetooth to Arduino and then this will be read by Linuxcnc?

Can someone help me?

Thank you very much

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

More
11 Feb 2021 21:05 - 11 Feb 2021 21:18 #198440 by aleksamc
Replied by aleksamc on topic Reading data from Arduino
Currently - definetly not.

What purpose of such kind of work Bluetooth > Arduino > linuxcnc?
Why not Bluetooth > Linuxcnc for example?
Last edit: 11 Feb 2021 21:18 by aleksamc.

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

More
11 Feb 2021 21:48 #198450 by rodw
Replied by rodw on topic Reading data from Arduino
You might like to connect your Linuxcnc to the network and use axis-remote
Or just transfer files using the Operating system tools.

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

More
18 Feb 2021 16:46 - 18 Feb 2021 16:47 #199295 by elisa
Replied by elisa on topic Reading data from Arduino
I was thinking that It would be simpler to connect bluetooth to Arduino.
However, if it is possible to connect it to Linuxcnc, it would be perfect!

Any suggestions?
Last edit: 18 Feb 2021 16:47 by elisa.

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

More
20 Feb 2021 19:47 #199552 by aleksamc
Replied by aleksamc on topic Reading data from Arduino
Your main deal is to load G-code by Bluetooth or you need to remotly load G-code to PC by any way?
As was written above by Rodw, you can use possibilities of OS to load file to needed folder and then to open it in linuxcnc

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

More
26 Feb 2021 08:27 #200177 by elisa
Replied by elisa on topic Reading data from Arduino
Yes, my purpose is to load G-code by Bluetooth. I would prefer not to use the OS tools because the machine is thought to be portable, that's why I was thinking of using Arduino.

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

More
01 Mar 2021 00:12 #200488 by andypugh
Replied by andypugh on topic Reading data from Arduino
So, the plan is Bluetooth onto Arduino RAM (is it big enough?) and then to LinuxCNC (USB? Serial?)

I guess if the Arduino was configured to look like a USB drive that might work quite neatly.

An ESP32 dev board might work better, then there is the option to use WiFi too. I have found it easy to make simple web front-ends for ESP32 too.

<Google>
esp32.com/viewtopic.php?t=8732

Seems to suggest that looking like a USB Flash drive is not possible for ESP32 (and probably not for Arduino either)

I am not clear what you mean by "thought to be portable".

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

More
06 Mar 2021 08:04 #201161 by elisa
Replied by elisa on topic Reading data from Arduino
Let me explain: I have a touch probe connected to a robotic arm to scan the surfaces of bodies. My purpose is to send my data from LinuxCNC to another PC via Bluetooth to make this task more real time.

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

More
06 Mar 2021 21:45 #201220 by andypugh
Replied by andypugh on topic Reading data from Arduino
I have a non-motorised version of the same idea, an old Faro Arm.
(It's a stalled project, I got stuck trying to work out the D-H parameters of the arm in a format that a serial kinematics module from the internet understood)

If you want to send commands to LinuxCNC then linuxcncrsh might help:
linuxcnc.org/docs/2.8/html/man/man1/linuxcncrsh.1.html

It seems that, as long as you can get the bluetooth connection to look like a port, it should work.
The following user(s) said Thank You: elisa

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

Time to create page: 0.121 seconds
Powered by Kunena Forum