Hello ! (sorry for the bad whriting, i'm belgian :mrgreen: ) hi have a short ask for you, i have a domotic project and i need to communicate on rs485 bus. It is possible to using arduino program with rx/tx rs485 AND using this same port with linux ? or i'm obligated to using one interface for the arduino AND one interface (usb) for the linux ? Thank you !
There are several little board for the RS485 use Anyway you can build your board using a MAX485 or chip similary In this case the communication is hal duplex, it means you have a master for example arduino and other devices are slaves. You have to connect the chip at rx and tx pins of arduino and use an other bit for the direction , pin direction=1 is to send and pin direction=0 to receive .