0

I have a Meca500 (R3) robot. My robot doesn't have wireless function, I use cable to connect the robot to my laptop and use a software to control it, I created an IP address for the robot. Now I want to use a Raspberry Pi to control the robot. What I need to do is have the Meca controlled by the Raspberry Pi 4 by opening up a TCP socket (whatever that means) and then sending the attached text series of steps to the Meca.

There are lots of Python Raspberry PI tutorials on line especially for communicating over the GPIO pins, but I havent figure out the sending of the TCP info.

Is there any python command that can help me to open a socket and send data to that robot please?

Thanks.

Alyssa
  • 31
  • 2
  • Python has standard module named [socket](https://docs.python.org/3/library/socket.html) – furas Dec 26 '19 at 18:14
  • I'm new to python, do you have a detail command ? – Alyssa Dec 26 '19 at 18:20
  • see at the end of documentation of socket - there are some example. OR find some tutorial beause there is not short description for this. But I would first check in Google if there is no Python module to work with this robot. Maybe someone already created module which can resolve it much easier. – furas Dec 26 '19 at 18:22
  • using Google I found [Mecademic Python API](https://github.com/Mecademic/python_driver) which support `Meca500 R3` – furas Dec 26 '19 at 18:25
  • thank you for your prompt reply. I will take a look at it. – Alyssa Dec 26 '19 at 18:41

0 Answers0