arduino-robust-serial icon indicating copy to clipboard operation
arduino-robust-serial copied to clipboard

Communication between PC and Robohat MM1 Circuit python

Open mockbot opened this issue 4 years ago • 3 comments

do you think, it is possible to use your robust-serial protocol between PC (linux, python3) and Robohat MM1 (CircuitPython) ?

I'm searching for a robust and flexible way to talk to Circuit Python targets (ROS and Donkeys) :-)

mockbot avatar May 11 '20 15:05 mockbot

Hello, After a quick look, it should be possible (see the examples in the python repo). For instance with the uart serial or with sockets (there is an example in the python repo: https://github.com/araffin/python-arduino-serial/blob/master/examples/socket_example.py)

araffin avatar May 11 '20 16:05 araffin

do you know, if USB port (REPL) is usable for this kind of communication ?

Am Mo., 11. Mai 2020 um 18:24 Uhr schrieb Antonin RAFFIN < [email protected]>:

Hello, After a quick look, it should be possible (see the examples in the python repo). For instance with the uart serial https://learn.adafruit.com/circuitpython-essentials/circuitpython-uart-serial or with sockets https://circuitpython.readthedocs.io/en/5.0.x/shared-bindings/socket/__init__.html (there is an example in the python repo: https://github.com/araffin/python-arduino-serial/blob/master/examples/socket_example.py )

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/araffin/arduino-robust-serial/issues/3#issuecomment-626807540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIRDAAY2XGYNBYWV4BR7KLRRARDFANCNFSM4M6AENEA .

mockbot avatar May 11 '20 20:05 mockbot

It should be but this is definitely not a question for that but more for circuit python

araffin avatar May 11 '20 20:05 araffin