Length between two Arduinos communicating w/ each other

Hello,

for my project I want to send data from one Arduino to another one. The problem is the distance, it's about 15-20m.
Is it possible to send data over such a long range? What do I have to care about and what protocol (I²C, SPI,...) should I use?

Thanks for your answers!

Max

Neither I2C or SPI will work well over that distance W/O special extra hardware... But RS232 or RS422 or RS485 are better methods as they have design features built in that are better suited for long lines... For that range IR, Optical comms might be a better example/choice.

Doc

max713:
... for my project I want to send data from one Arduino to another one. The problem is the distance, it's about 15-20m.
Is it possible to send data over such a long range? What do I have to care about and what protocol (I²C, SPI,...

Common question. This falls into the category of "serial TTL replacement" with subcategories of optical, RF, etc. One option is RF Modem and Bluetooth Modems are included, for example:

Less expensive perhaps on eBay from China.

Ray

Well, I only need to transfer some boolean signals, so I will implement that with digitalWrite and digitalRead and use 3 or 4 long wires. That shouldn't make a problem.