Sending grbl commands from esp32 to arduino

Hello,
I am a student who is currently inovolved in Robotic-Chess project.

I have uploaded(dumped) grbl code into an Arduino UNO board and it is working fine when I give a relevant command in the serail monitor or serial port, associated with the CNC shield and other mechaincal and electronic components ofcourse. It is moving as expected when I give the command, like moving left or right in accordance with the command.

I want to send commands to the robot(the setup I have made) via Wi-fi using other IoT device like esp32. I have used esp32 and connected it to Wi-Fi and send some data(or string that contains commands) to it, and the esp32 is obviously receiving the data(or string that contains command), and is able to show me what I have sent via serial monitor.

Also I know how to send the command strings to the arduino(that doesnt contain grbl code) via serial communication.

What I want to achieve: I want to execute the grbl commands sent from my phone(sent to esp32, and then to arduino uno that contains grbl code) , and then the setup(robot) must move accordingly.

Issue:
I was unable to execute the command sent from esp32 to the arduino. When I try to modify the grbl code with some code (that receives data from esp32), it is showing errors like multiple definitions of '__vector_18' or '__vector_16' etc...

I hope someone knows how to solve this and also please tell me if there is any alternate solution for sending commands to the arduino UNO(that contains grbl code) via wifi(using esp32 or some other you may recommend)

I would also give any additional data if you want me to related to the project.

I really appreciate and be grateful for your answers.

Looks like timer interrupt vectors. That probably means more than one library in your sketch is trying to use the same timer. The details in the error message will tell you which two source files are conflicting and from there you can figure out which two libraries are conflicting.

Hi @jvraviteja18 did you get any lead to run the motor via phone and g-code?

I use a standard Bluetooth module, HC05, directly connected to a Uno running grbl. No need for an additional processor. Using grbl controller app on android on my phone.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.