กลับไปหน้ารวมไฟล์
telegraph-using-light-signal-on-arduino-fc7532-en.md

Light-Speed Logic: The Optical Telegraph

Long before the internet, humans used fires and flags to communicate across distances. The Telegraph using light signal project modernizes this concept by creating a Digital Optical Link. By pulsing a high-intensity Blue LED and receiving those pulses with a Grove Phototransistor, you can transmit complex text data through thin air. It is a fundamental study in Binary Encoding and the physics of light-based data transmission.

How it Works: Text to Photons

The system operates on a simple but robust translation protocol:

  1. Binary Conversion: Standard English text (like the phrase "I see") is broken down into its 8-bit binary equivalent (e.g., 1001001 100000 1110011...).
  2. Modulated Transmission: The "Sender" Arduino turns the LED on for a 1 and off for a 0. This must happen at a Uniform Time Interval (clock sync) so the receiver knows when one bit ends and the next begins.
  3. Active Sensing: The "Receiver" Arduino monitors the LS06-S phototransistor. When a flash of light is detected, the value is recorded in the Serial Monitor. By analyzing the "Light Amount" over time, the message can be decoded back into human-readable text.

Hardware Precision: The Sensing Circuit

A successful telegraph depends on the sensitivity of your receiver:

  • Phototransistor Logic: Unlike a simple photoresistor, the LS06-S is a Phototransistor, which reacts much faster to changes in light. This allows for higher "Data Rates" (Baud rates) for your optical link.
  • Filtering Noise: The project demonstrates how to set a "Threshold" value in code. This ensures the system only records deliberate LED pulses and ignores ambient room lighting.
  • Visual Confirmation: The use of a high-intensity blue LED is intentional—it provides a clear visual signal for the operator and falls within the high-sensitivity range of the phototransistor.

Beyond the Basics: Secret Communication

This tutorial is the starting point for more advanced optical hacks. Once you've mastered the binary telegraph, you can experiment with:

  • Point-to-Point Laser Links: Using a laser diode to transmit messages across kilometers.
  • NASA-Style Pulse Width Modulation: Sending non-binary data (like audio or sensor readings) over light.

Whether you're a student of computer science or a hobbyist interested in "Low-Tech" secret communication, this project turns a few LEDs and sensors into a powerful communication platform.

This project is a tutorial for telegraphing using light signals on Arduino. By translating text like 'I see' into binary codes—1001001 100000...—the receiver can see the message through the LED flashes or the Serial Monitor. It's affordable, educational, and absolutely fascinating.

ข้อมูล Frontmatter ดั้งเดิม

title: "Telegraph using light signal on Arduino"
description: "A digital-optical communication tutorial: Learn how to encode text into binary and transmit it using light pulses and phototransistors."
author: "green_lynx2"
category: "Screens & Displays"
tags:
  - "communication"
  - "optics"
  - "binary-encoding"
  - "digital-logic"
  - "physics"
views: 310
likes: 0
price: 299
difficulty: "Easy"
components:
  - "1x Arduino Uno Rev3"
  - "1x Grove Light Sensor v1.2 (LS06-S phototransistor)"
  - "1x 5mm High-Intensity Blue LED"
  - "1x 220 Ohm Resistor"
  - "1x Breadboard & Jumper wires"
tools: []
apps:
  - "1x Arduino IDE 2.0 (beta)"
downloadableFiles:
  - "https://projects.arduinocontent.cc/9638c5e9-5db2-4cef-b7a2-c6b9df2a791a.ino"
documentationLinks: []
passwordHash: "9468035f61ce4a6ead34c75c68defbd4b547a93e9018f5427269c57e9675fb96"
encryptedPayload: "U2FsdGVkX197RmOqO3fQs94GRrHwZ3oaSHpk6WnVmBHcKDiN1rt4Qy31znADpMgkklEm5SuaGMNzPmjiOkM5PGiZMND7jozcjOh1km2NbVA="
seoDescription: "Optical Telegraph with Arduino. Learn how to transmit secret messages using light pulses. Encodes text into binary for long-distance light signal communication."
videoLinks:
  - "https://youtu.be/K3ugk_Rnr7g"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/telegraph-using-light-signal-on-arduino-fc7532_cover.png"
lang: "en"