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.