The Core Electronic Signal Definition (And What It Actually Changes)
An electronic signal is a time-varying voltage, current, or electromagnetic field that encodes and transmits information or control states between circuit nodes.
While textbook definitions stop there, on the workbench, the definition of your signal dictates your entire physical layer architecture. It determines whether you can route a simple 0.2mm trace on an FR4 PCB, whether you need a twisted-pair CAT5 cable, or if you must specify a shielded coaxial line. Ultimately, your signal type directly impacts your bill of materials (BOM), your layout routing rules, and the specific receiver ICs you must source.
Makers and junior engineers commonly confuse the signal (the low-power data payload) with the power supply (the high-current energy source). A secondary, more dangerous confusion is assuming a 5V digital logic signal is immune to the same ground-bounce and impedance issues that plague a 5V analog reference. Digital signals are simply analog signals with a comparator at the receiving end; they still strictly obey Kirchhoff's laws and are subject to the same parasitic capacitance and inductance.
Analog vs. Digital Signals: A Numeric Breakdown
To see how signal definitions change real-world design, let's compare a standard 0-5V analog voltage signal against a 4-20mA current loop signal over a 100-meter run of 24 AWG copper wire in a noisy industrial environment.
First, the wire physics: 24 AWG copper has a resistance of roughly 84.2 Ω/km. For a 100-meter run out to the sensor and 100 meters back to the controller, the total loop resistance is 16.84 Ω.
The 0-5V Voltage Signal:
If your microcontroller's ADC has an input impedance of 10 kΩ, the steady-state current is tiny (0.5 mA at 5V). The Ohmic voltage drop across the wire is negligible (0.5 mA × 16.84 Ω = 8.4 mV). However, that 10 kΩ high-impedance node acts as an antenna. If 60 Hz mains coupling induces just 10 µA of noise current into the wire, it generates 100 mV of noise (10 µA × 10 kΩ). On a 10-bit ADC referenced to 5V, one least significant bit (LSB) is 4.88 mV. Your 100 mV of noise just destroyed 20 bits of resolution.
The 4-20mA Current Loop Signal:
Here, the transmitter actively forces the current. The receiver uses a 250 Ω shunt resistor to convert the 20 mA maximum current back into a 5V reading. The 16.84 Ω wire resistance causes a 336 mV voltage drop (20 mA × 16.84 Ω), but the transmitter's compliance voltage (typically 24V) easily overcomes this. More importantly, the low 250 Ω impedance makes the circuit highly immune to capacitive EMI pickup.
The Takeaway: A 100mV unpredictable noise spike on a high-impedance voltage signal will ruin your data, while a predictable 336mV Ohmic drop on a low-impedance current signal is easily managed by the transmitter's compliance voltage headroom.
Where You Meet This in Practice
You interact with distinct signal definitions every time you wire a microcontroller or power stage. Here is how they manifest on the bench:
- Microcontroller GPIOs (Digital): A 3.3V LVCMOS signal on an ESP32-WROOM-32 is a single-ended voltage signal. If you are running high-speed SPI (>10 MHz), you must keep PCB traces under 15cm or add series termination resistors to prevent reflections that cause the receiver to read phantom clock edges.
- Sensor Interfaces (Analog): A K-type thermocouple generates a microvolt-level analog signal (roughly 41 µV/°C). This signal is so small that the thermal EMF generated by the solder joints on your PCB will corrupt it. You must use an instrumentation amplifier (like the TI INA828) with high common-mode rejection before an ADC can safely digitize it.
- Motor Control (PWM): A 20 kHz PWM signal driving a MOSFET gate is technically a digital logic signal, but the fast dv/dt edges mean it behaves like an RF signal. The 'signal' here isn't just the logic high/low state; it is the peak current required to charge the MOSFET's Miller capacitance. You cannot drive this directly from a GPIO; you need a dedicated gate driver (like the Microchip TC4420) capable of sourcing 1.5A peak current.
Signal Integrity: What Destroys Your Payload
Regardless of whether your signal is analog or digital, three physical phenomena will destroy your payload if ignored:
- Impedance Mismatch: When a signal travels from a 50 Ω trace into a high-impedance receiver without proper termination, the energy reflects back down the line. In digital signals, this causes ringing that crosses the logic threshold multiple times, resulting in double-clocking.
- Crosstalk: Capacitive and inductive coupling between adjacent parallel traces. A 3.3V digital clock line running parallel to a high-impedance analog sensor trace for 5cm can easily inject enough noise to cause a 50mV offset on the analog line.
- Ground Loops: When two devices are connected by a signal wire and share a ground wire, but are plugged into different AC outlets, a differential ground potential exists. This causes 50/60 Hz current to flow through the signal ground, superimposing noise directly onto your payload.
Pro-Tip for Ground Loops: If you must connect sensors across different power domains, abandon single-ended voltage signals entirely. Switch to differential signaling (like RS-485) or use an isolated ADC (like the TI ISO124) to physically break the galvanic ground path while allowing the signal to pass.
Decision Tree: Picking the Right Signal Type and Component
Do not guess your physical layer. Use this decision matrix to select the correct signal topology and the exact component to implement it based on your distance and environment constraints.
| Condition / Constraint | Signal Type Required | Concrete Component Pick |
|---|---|---|
| Distance < 15cm, high speed (MHz), single board | Single-Ended Digital (SPI/I2C) | Direct MCU GPIO (e.g., ATmega328P native pins) |
| Distance 15cm - 5m, multi-drop, moderate speed | Differential Digital (I2C extended) | NXP PCA9615 (Differential I2C bus extender) |
| Distance > 10m, high EMI environment, analog data | 4-20mA Current Loop | TI XTR116 (Precision current loop transmitter) |
| Ultra-low level analog (<5mV), high precision required | Differential Analog | TI INA828 (Precision Instrumentation Amplifier) |
| Long distance (>100m), digital control, noisy factory | Differential Digital (RS-485) | Maxim MAX3485 (3.3V RS-485 Transceiver) |
Default Recommendation: If you are building a mixed-signal IoT sensor node for a commercial or industrial deployment and are unsure which interface to use for remote sensors, default to the MAX3485 RS-485 transceiver. It operates at 3.3V (matching modern ESP32 and STM32 logic levels), handles distances up to 1200 meters, and its differential nature inherently rejects the common-mode noise that destroys single-ended 0-5V analog signals.
Frequently Asked Questions
Q: Is a PWM signal considered analog or digital?
A: Electrically, it is a digital signal because it only exists in two states (e.g., 0V and 3.3V). However, functionally, it is often used to encode an analog value (like motor speed or LED brightness) via the duty cycle. When routing PWM on a PCB, treat it as a high-frequency digital signal; the sharp edges contain high-frequency harmonics that will cause EMI if routed poorly.
Q: Why do we use 50 ohm impedance for RF signals but not for DC power?
A: 50 ohms is a standardized characteristic impedance that minimizes signal reflection at high frequencies (where the wavelength approaches the physical length of the PCB trace). For DC power or low-frequency analog signals, the wavelength is kilometers long, so the trace acts as a simple resistor rather than a transmission line. For power, you want the lowest possible impedance (thick, wide traces) to minimize voltage drop, not a controlled 50 ohms.
Q: Can I just use a voltage divider to step down a 12V analog signal to 3.3V for my ESP32?
A: You can, but it is a poor practice for precision signals. A voltage divider increases the output impedance of your signal, making it highly susceptible to noise and causing reading errors due to the ESP32's internal ADC sampling capacitor draw. Always buffer a voltage divider with a unity-gain op-amp (like the MCP6001) before feeding it to a microcontroller ADC.
For deeper reading on grounding and signal integrity, refer to the Analog Devices MT-031 Tutorial on Grounding. For a comprehensive breakdown of current loop physics, review the All About Circuits guide to 4-20mA loops, and for digital bus specifications, consult the official NXP I2C-bus specification user manual.






