Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is a method of increasing the distance on I2C bus but it is heavily paid for with the transmission speed (clock frequecny as low as 100Hz ..).Question: What is the maximum distance of the I2C bus?
This depends on the load of the bus and the speed you run at. In typical applications, the length is a few meters (9-12ft). The maximum capacitive load has been specified (see also the electrical Spec's in the I2C FAQ). Another thing to be taken into account is the amount of noise picked up by long cabling. This noise can disturb the signal transmitted over the bus so badly that it becomes unreadable.
mrcube_ns said:What is distance (max) between mcu and your sensors?
Maybe you dont need 485?
Maybe i2c is good enough?
If you dont have long distance you can use just one serial port of mcu and via digital outputs selecting devices to send data (something like r/w pins ...). Alarms -> you can read all devices in one second (maybe 2), so you have "on line" system.
Just think about maybe you dont need to inplement 485 protocol.
Best regards,
Mr.Cube
IanP said:RS-485 full duplex can by only realized in 4-wire configuration and you can use any of 485 drivers, but in pairs: one for transmission (twisted pair) and one for reception (another twisted pair).
What is rs482? Device like MAX1482 is the RS-485 half-duplex transceiver. Do you have this one in mind?
regards ..
I must connect three united with protocol master\slave
have any example code function, for the serial comunication in 8051 whit the rs485 protocol?