I need to connect an arduino nano or Micro to a device and pixhawk at the same time.
Nano and Micro only have 1 native uart port. Of course the workaround is an output pin and input pin as serial using Software Serial.
Problem I realised my device must use a UART port and not a software serial to receive data (althought it can tx no problem). I just wonder if Pixhawk can work with Software Serial in arduino?
SoftwareSerial is just a UART emulator, so it should work ok.
Be careful using blocking code like calls to delay(), and don’t push the baud rate much past 57600.
Alternatively, there are LOTS of microcontrollers with more than one hardware UART and/or far greater capability than Arduino for similar cost (like Teensy or ESP32).