An electrical signal is a time-varying voltage or current that carries information from a source to a destination. When makers and engineers ask what is a signal in the context of circuit design, the distinction between signal and power is the critical starting point: power delivers continuous energy to do physical work (like spinning a 15A motor), while a signal delivers low-energy data to make decisions (like telling the motor controller when to stop). In a real circuit or installation, identifying your signal type dictates everything from your wire shielding and ADC resolution to your microcontroller pin configurations and filtering components. The most common mistake beginners make is confusing the signal return path (signal ground) with safety earth ground, or assuming a 5V digital logic signal can survive a 50-foot run through a factory floor without severe degradation.

The Core Signal Types and Their Real-World Specs

Signals are broadly categorized into analog (continuous variation) and digital (discrete states). However, in practical electrical and embedded work, we classify them by their physical layer standards. The standard you choose determines the maximum cable length, the required characteristic impedance, and the susceptibility to electromagnetic interference (EMI).

Signal Standard Physical Medium Typical Voltage/Current Levels Max Reliable Distance Impedance / Termination
4-20mA Loop Analog Current 4mA to 20mA (24V DC supply) ~1,000 meters Low (Current source, < 250Ω burden)
0-10V Control Analog Voltage 0V to 10V DC ~50 meters High (Voltage source, > 10kΩ input)
RS-485 Digital Differential ±1.5V to ±5V (A and B lines) 1,200 meters (at 100 kbps) 120Ω twisted pair termination
I2C Digital Single-Ended 0V to 3.3V / 5.0V (SDA/SCL) ~1 meter (Standard 100kHz) Open-drain, 2.2kΩ - 4.7kΩ pull-ups
SPI Digital Single-Ended 0V to 3.3V / 5.0V (MOSI/MISO) ~0.5 meters (highly clock-dependent) Push-pull, trace impedance matched
Bench Tip: Notice that single-ended digital signals (I2C, SPI) are strictly limited to short distances on a single PCB or between tightly coupled boards. If you need to send a digital signal across a room, you must convert it to a differential standard like RS-485 or CAN bus to reject common-mode noise.

Analog vs. Digital: A Worked Numeric Example

To understand how signal characteristics change your component selection, let us look at a common embedded systems scenario: reading an industrial analog signal with a microcontroller.

The Scenario: You need to read a 0-5V analog pressure transducer (0-100 PSI) using an ESP32-WROOM-32 development board.

The Problem: The ESP32 features a 12-bit Analog-to-Digital Converter (ADC), which theoretically provides 4,096 discrete steps. However, the ESP32 ADC is strictly limited to a 0-3.3V maximum input. Furthermore, as detailed in the Espressif ESP-IDF documentation, the ADC is notoriously non-linear below 0.15V and above 3.1V. Feeding 5V directly into the GPIO pin will permanently damage the silicon.

The Solution & Math:
We must use a voltage divider to scale the 0-5V signal down to a safe, linear range (0-3.0V).
Using a 10kΩ resistor (R1) and a 15kΩ resistor (R2):
Vout = Vin × (R2 / (R1 + R2))
Vout = 5V × (15k / 25k) = 3.0V

Signal Resolution Calculation:
Usable ADC Range: 0V to 3.0V
ADC Steps: 4,096 (12-bit)
Voltage per Step: 3.0V / 4096 = 0.73 mV per step
PSI per Step: (100 PSI × 0.6 scaling factor) / 4096 = 0.0146 PSI per step

This numeric example highlights a vital reality: the signal at the sensor (5V) is not the same as the signal at the microcontroller pin (3.0V). Your code must multiply the raw ADC reading by the inverse of the voltage divider ratio (25/15 = 1.667) to reconstruct the original physical measurement.

Where You Meet Signals in Practice (and How to Protect Them)

In practical installations, signals rarely exist in a vacuum; they share cable trays and conduits with high-voltage power lines. This is where signal integrity becomes a physical wiring problem.

1. Inductive Coupling and Wire Separation

When a 120V or 240V AC power line runs parallel to a low-voltage analog signal wire, the alternating magnetic field from the power line induces a phantom voltage in the signal wire. This is called inductive coupling. If you are reading a 0-10V HVAC control signal, a 2V induced spike will cause your system to read 20% higher than reality.

The Fix: Follow NEC Article 725 guidelines for Class 2 and Class 3 circuits. Never run low-voltage signal cables in the same conduit as mains voltage. If they must cross, force them to cross at a strict 90-degree angle to minimize the parallel run length and reduce magnetic coupling.

2. Differential Signaling for Noise Rejection

In industrial environments, 4-20mA current loops and RS-485 differential pairs are the standard for a reason. A 4-20mA loop is immune to voltage drop over long wire runs because the transmitter varies its internal resistance to maintain a constant current, regardless of the wire's resistance (up to the compliance voltage limit of the power supply). RS-485 uses two wires (A and B) carrying inverted copies of the same signal; the receiver only looks at the difference between the two wires. If EMI hits the cable, it hits both wires equally (common-mode noise), and the receiver simply ignores it.

Safety & Code Caveat: When wiring signal isolators or optocouplers to protect microcontrollers from mains-adjacent sensors, ensure the isolation barrier is rated for the maximum fault voltage. A standard 1kV optocoupler is insufficient for isolating a 480V 3-phase motor VFD feedback signal; use a dedicated DIN-mount signal isolator with a 3kV+ galvanic isolation rating.

Frequently Asked Questions

Is a PWM signal analog or digital?

PWM (Pulse Width Modulation) is fundamentally a digital signal that is used to encode an analog value. The signal only ever exists in two discrete states: HIGH (e.g., 3.3V) and LOW (0V). The "analog" information is carried in the duty cycle (the percentage of time the signal spends in the HIGH state). A low-pass RC filter can be added to a PWM pin to smooth the digital pulses into a true analog DC voltage, but the raw signal on the wire is strictly digital.

Why do industrial 4-20mA signals start at 4mA instead of 0mA?

This is known as a "live zero." If the signal range were 0-20mA, a reading of 0mA could mean the sensor is measuring zero pressure, or it could mean a wire has been severed or a transmitter has lost power. By starting the scale at 4mA, a reading of 0mA immediately triggers a fault alarm in the PLC, allowing the system to distinguish between a valid low measurement and a catastrophic hardware failure.

What is the difference between signal ground and earth ground?

Earth ground (the green or bare copper wire) is a safety path designed to carry fault currents back to the panel to trip a breaker during a short circuit. Signal ground (often a black or white wire in a multi-conductor cable, or the GND pin on an Arduino) is the 0V reference point for the circuit's data signals. They are usually bonded together at exactly one point (the power supply or main panel) to prevent ground loops, but they serve entirely different physical purposes.