I've got a little question. Is it possible to communicate 2 arduinos with only one wire between them. I try to explain :
I want that an arduino send a "message" (impulsion ? Signal ?) in just one wire on a pin
So the second arduino can catch the message and transform it in a beep or a brighting LED for example.
I want to know if it's possible. If yes, which technology/code/function have I to use ?
No wireless solution please, just one wire.
Ok, I'll byte...,..
Yes, it CAN be done with one cable.
Fiber Optic cable.
Electrically, no. There is no reference for the signal line. The receiving uno wouldn't know a high without knowing a reference point of the high (gnd of the 1st uno)
It actually is possible but the effort required is massive for the desired outcome.
I made one of these once just to see if it worked, and it does.
Pretty well actually, but for practical purposes is next to useless, and I suspect not what the OP wants.
Fiber optic is the only option. Think of it as a really stretched out optocoupler. Would work just fine if your two Arduinos don't have line of sight.
Even though the obvious and simple IR LED is probably within your grasp, that'd be wireless which you nixed.
Wireless works because current isn't being sucked out of the system. A pulsating antenna doesn't shrug off electrons. The moment you hardwire it, the current needs a place to go via common ground.