Hello, i've got a problem, I'm doing a project were i need to connect multiple captors to an arduino uno using 2 Grove RS485 for each captor and transmit the information to a LED screen.
But my problem is that my RS485 isn't transmiting nor receiving.
You are trying to connect an analog input into a digital interface. You need to go back to basics here. I can't read the schematic, it is illegible. All I can make out is "RS485 bus".
To do what you want, you need to insert a nano or similar to read the analog input, and respond to modbus commands over the RS485.
What do you intend to send over your RS485 bus with this piece of code:
Forgive me if I'm assuming incorrectly, but I think maybe you might not have understood how an RS485 bus works in general.
An RS485 bus allows several devices to be attached to the same cable. In order to get a piece of information to or from a device on the RS485 bus, there needs to be a way of uniquely identifying that device so that only that device responds to the data. This is usually done by assigning a unique identifier (i.e. address) to each device. You can then communicate with a specific device by transmitting its unique address as part of the data packet - usually the first byte is used.
If you buy off the shelf devices that are - for example - modbus compatible, then that defines the format of the messages that get placed onto the RS485 bus in order to communicate with the devices.
If all the devices are your own home brew devices, then you can invent whatever message protocol you like for them.
As @bobcousins pointed out, you need a programmable device - another UNO or a Nano etc) to convert the analogue signal from the LDR (?) into a digital signal so that it can be sent over your RS485 bus to the UNO.