Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Reply To: MayFly Capability with Northern Widget Walrus Sensor

Home Forums Environmental Sensors MayFly Capability with Northern Widget Walrus Sensor Reply To: MayFly Capability with Northern Widget Walrus Sensor

#14733
Sara Damiano
Moderator

WRT to the wire distance, yes and no.

RS485 is a two-wire protocol where 0’s and 1’s are differentiated by the difference in voltage between the two wires.  Electrically, this means it can be used over long distances (ie, up to 4,000 feet).  To use RS485 the processors that are talking each need to have their own internal clocks and each separately need to be told the speed at which they will send the bits and how many bits make up one letter.  The processors also need to agree on a way to determine whose turn it is to talk and whose turn it is to listen.  Modbus is a common choice, but there are many others.

I2C is also a two-wire protocol, but the 0’s and 1’s are based on the voltage of a single wire and the second wire works as the clock.  This configuration does not lend itself to long wires; I2C is usually used between chips on the same circuit board.  It’s theoretical limit is only about 1m, but, as you’ve seen when using the MPL directly, 3m can sometimes be managed.