Page 1 of 1

Communication between pc and raspberry

Posted: Mon Jun 26, 2017 10:31 pm
by jmdlriostello
Hi, I'd like to know where to start on programming a communication protocol between a PC and a RPi using python. I'd like my RPi reads information like a boolean to activate something and also receive data as images both via ethernet. Is it possible? wich protocol should i use?

Thanks
Jose

Re: Communication between pc and raspberry

Posted: Tue Jun 27, 2017 2:48 pm
by KnarfB
ZeroMQ is a message passing protocol supporting many platforms and programming languages.
Build instructions for RasPi: https://github.com/MonsieurV/ZeroMQ-RPi
Here you find server and client for starting: http://zguide.zeromq.org/py:hwserver http://zguide.zeromq.org/py:hwclient
hth KnarfB

Re: Communication between pc and raspberry

Posted: Tue Jun 27, 2017 8:36 pm
by richrarobi
viewtopic.php?f=41&t=167174&p=1090567&h ... d#p1090567

I now use blinkt as indicator lights on one pi from other systems in my LAN, all via rpc through zeromq.