Data logger (SD card)
The SD library writes the knob’s reading to LOG.CSV every half second; the inspector lists the file.

The code
// A data logger: every half second, the time and the knob's reading go on a line of
// LOG.CSV on the SD card. Select the card while it runs to see the file grow.
#include <SPI.h>
#include <SD.h>
const int CARD_CS = 10;
void setup() {
Serial.begin(9600);
if (!SD.begin(CARD_CS)) {
Serial.println("No card found: check CS, SCK, DI and DO.");
while (true) {
}
}
File log = SD.open("LOG.CSV", FILE_WRITE);
log.println("ms,reading");
log.close();
Serial.println("Logging to LOG.CSV");
}
void loop() {
int reading = analogRead(A0);
File log = SD.open("LOG.CSV", FILE_WRITE);
log.print(millis());
log.print(',');
log.println(reading);
log.close();
Serial.println(reading);
delay(500);
}
More like this

Two Unos by radio (nRF24)
Each Uno has an nRF24L01+ (RF24). Board 1 sends its button 20 times a second to address "00001"; board 2 listens there and lights its LED while the button is held. The radios hear each other: same channel, data rate and address.
ArduinoArduino Uno

Two Unos on a CAN bus
Each Uno has an MCP2515 CAN module (mcp_can); their CANH and CANL are one pair. Board 1 sends a count and its knob every half second; board 2 prints each frame and lights its LED when the knob is past half way.
ArduinoArduino Uno

RFID door (RC522)
The MFRC522 library reads a card’s UID: the known card lights green, any other red. Click the reader to hold a card to it.
ArduinoArduino Uno