Python Forum
Arduino Uno connected to PI 0 W - Sensor Data MQTT
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arduino Uno connected to PI 0 W - Sensor Data MQTT
#1
Anybody has a reference to a good example of how to best transfer sensor data from Arduino Uno to Raspberry Pi over the USB Cable?

I can figure out how to send data back and fourth, but was wondering if there are some best practices for managing sensor data this way.

I already have the Raspberry Pi 0 W setup as a pool controller with various sensors, relays etc. It is controlled and sends data to Home Assistant via MQTT.
I just ran out of pins and wanted a more robust unit for my sensor inputs, so I'm adding an Arduino Uno to deal with various other sensors (Pressure, Temperature, Levels etc.)
Any help and examples would be greatly appreciated.
Reply


Messages In This Thread
Arduino Uno connected to PI 0 W - Sensor Data MQTT - by runboy - Nov-04-2018, 08:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check if Skype call is connected or disconnected in Python? boral 1 411 Dec-28-2023, 08:31 AM
Last Post: buran
  add mqtt feature to existing code Positron79 0 599 Jan-31-2023, 05:56 PM
Last Post: Positron79
  Trying to Get Arduino sensor data over to excel using Python. eh5713 1 1,727 Dec-01-2022, 01:52 PM
Last Post: deanhystad
  When is stdin not connected to a tty, but can still be used interactively? stevendaprano 1 1,020 Sep-24-2022, 05:06 PM
Last Post: Gribouillis
  Mqtt Shiri 0 1,296 Dec-07-2021, 02:01 PM
Last Post: Shiri
  Paho-mqtt fully supports MQTT 5.0 protocol? nitinkothari17 0 1,560 Jan-12-2021, 11:14 AM
Last Post: nitinkothari17
  Printing to a printer connected to pi 4 alan 2 2,460 Oct-04-2020, 10:08 PM
Last Post: alan
  Save Arduino data in mysql server via raspberrypi rithikvg 1 3,426 Jun-24-2020, 10:59 PM
Last Post: Larz60+
  Help Graphing Arduino Data Real Time in Python nschulz 0 2,547 Mar-12-2020, 06:15 PM
Last Post: nschulz
  Create sensor data for a IoT project georgelza 9 5,899 Dec-20-2019, 06:19 PM
Last Post: georgelza

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020