araffin / arduino-robust-serial

A simple and robust serial communication protocol. It was designed for Arduino but can be used for other purposes (e.g. bluetooth, sockets). Implementation in C Arduino, C++, Python and Rust.
https://medium.com/@araffin/simple-and-robust-computer-arduino-serial-communication-f91b95596788
MIT License
135 stars 28 forks source link

Communication between PC and Robohat MM1 Circuit python #3

Open mockbot opened 4 years ago

mockbot commented 4 years ago

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) :-)

araffin commented 4 years ago

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)

mockbot commented 4 years ago

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 < notifications@github.com>:

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 .

araffin commented 4 years ago

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