The BridgeNode: PROTOTYPE & SKETCH (USE AT OWN RISK!!!)
The bridge is handling the data from the RaspberryPI SerialPort. I decided to take the USB Serial because there is no need to add a voltage divider (RPI 3,3V Logic, Arduino 5V Logic). The Incoming data is forwarded over the SoftwareSerial (RS485) while setting the DE Pin of the MAX485 high.
This is working for both directions. It is working at the moment, but i have to test it with more nodes to check for timing mismatches.
The Setup is an ArduinoNano + MAX485.
SoftwareSerial mySerial(2, 3); // RX, TX