Arduino Pi communication

Hey guys,
I'm currently working on a Highschool group project and have some trouble with the communication between an Arduino Due and a Pi.
But let me start from the beginning. We've got an Arduino Due, that collects Sensor Data and processes it, and a Raspberry Pi 4 (I currently use my private PI ZERO W for testing), that receives this data and hosts a website. As far as I can understand, there are no USB drivers availible for the communication between the 2 so I resorted to using the TX and RX Pins on the two. So I connected the 2 (including Ground) (fortunately I don't need a buck converter, because they both run on 3.3 V) and followed a tutorial on how two receive the Serial Data on the Pi, but there was just nothing. Then I hooked up the TX pin to a LED and it showed nothing resembling light (dunno if that is a good test, but the only oscilloscope availible to me is in my school).
Now to my question: Does the Due only send his messages via the USB (even if it's just connected to the native USB Port) and if not, what else could be the problem (I connected them both via USB to my Laptop, so that their Grounds are in sync)?

Thank you for your answers

You will find some useful information here: How to program Due serial ports

1 Like

you could

  1. the DUE prints sensor data to the serial monitor
  2. plug the DUE USB connector into a RPi USB port
  3. the RPi creates a serial port associated with the Due, e.g. /dev/ttyUSB0
  4. implement a program which opens the serial port, reads the data from the Due and posts it to the webserver

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.