Here I will describe a circuit called Pulse Frequency Modulator (PFM) for light-based communication built with NE555 timer IC operating in astable mode. Its primary purpose is to convert an analog audio signal into a series of high-frequency light pulses from an LED, which can then be transmitted through the air or a fiber optic cable.
The circuit diagram is shown below.
1. The Core Oscillator (Carrier Generation)
The 555 timer is configured as an astable multivibrator, which naturally generates a continuous square wave (the "carrier" signal).
Timing Components: The frequency is determined by RV1, R1, and C1.
Frequency Formula: Based on your latest values ($C1=1\text{nF}$, $RV1 \approx 50\text{k}\Omega$, $R1=1\text{k}\Omega$), the carrier frequency is roughly $25\text{kHz}$.
Astable Operation: The capacitor C1 charges through RV1 and R1 until it reaches $2/3$ of $V_{CC}$, then discharges through RV1 until it hits $1/3$ of $V_{CC}$.
2. The Modulation Process (PFM)
This is where the "PFM" part happens. The Pin 5 (Control Voltage) is used to change the frequency of the pulses based on the audio input ($V_{in}$).
Pin 5's Role: Normally, the 555 timer switches at fixed internal thresholds ($1/3$ and $2/3$ of $V_{CC}$). By injecting an audio signal through C3 into Pin 5, you are physically moving those thresholds up and down.
Frequency Shifting:
When the audio signal voltage increases, the thresholds move higher, making C1 take longer to charge/discharge (lowering the frequency).
When the audio signal decreases, the thresholds move lower, making C1 charge/discharge faster (increasing the frequency).
Result: The $25\text{kHz}$ carrier "wiggles" back and forth in frequency at the $500\text{Hz}$ rate of your input signal.
3. The Output Stage
LED Drive: D1 is connected between $V_{CC}$ and Pin 3 (Output). When Pin 3 goes low, the LED turns on. Because the frequency is $25\text{kHz}$, the human eye cannot see it blinking; it looks like a solid light.
Current Limiting: R2 ($270\Omega$) protects the LED from excessive current.
Filtering: C2 ($100\mu\text{F}$) acts as a reservoir capacitor to keep the power supply stable while the 555 timer switches rapidly.
4. Summary of Signal Path
Input: A $500\text{Hz}$ sine wave ($V_{in}$) enters through the coupling capacitor C3.
Modulation: The sine wave changes the switching points inside the 555 timer.
Carrier: The 555 generates $25\text{kHz}$ pulses whose spacing changes according to the sine wave.
Output: The LED (D1) flashes at $25\text{kHz}$, carrying the encoded audio signal as light.
