What is the simplest way to stream sensor data obtained by a Raspberry Pi 3 to my laptop? I have my Pi reading data from a gyroscope and I'm wanting to plot the data on my laptop as it is received (preferably over wifi). I'm not asking for help with the plotting, just with creating the data stream.


For this type of thing I usually recommend MQTT. Here's a good broker/client that will work on both the Pi and your laptop: https://mosquitto.org/

Good luck!


This question is probably off-topic, as opinion based, and any protocol could be used.

However there is standard solution using sockets.

PIgpio provides a ready built solution for accessing GPIO.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.