Vijay_Wiki
/ Maths for engineers / Electronics basics

Electronics for Mechanical Engineers: Dividers, Filters, Op-Amps, ADCs and the 555 Timer

K Vijay Anand · Vijay_Wiki quick-reference article · 24 November 2026
ElectronicsSignal conditioning555 timerSensors

Sensors produce small, noisy signals; actuators need more current than a logic pin can give. Between them sits a small set of standard circuits: voltage dividers, RC filters, op-amp amplifiers, transistor or relay drivers, and timers. Knowing their equations lets you read a datasheet, size a resistor or check why a reading is noisy.

Key takeaways

  • Ohm's law V = I·R and the divider Vout = Vin·R₂/(R₁ + R₂) cover most sensor interfacing.
  • An RC low-pass has cut-off fc = 1/(2πRC) and falls at 20 dB per decade; use it before an ADC as an anti-alias filter.
  • Non-inverting op-amp gain = 1 + Rf/Rg; instrumentation amplifiers amplify bridge signals and reject common-mode noise.
  • ADC resolution: LSB = full-scale range / 2ⁿ; a 16-bit ±10 V converter resolves about 305 µV.
  • 555 astable: f = 1.44/((R₁ + 2R₂)·C); monostable pulse t = 1.1·R·C. Always put a flyback diode across relay coils.

1. Basics

V = I·R P = V·I = I²R Series R = R1 + R2 Parallel R = R1·R2/(R1 + R2) Divider: Vout = Vin · R2/(R1 + R2) RC time constant τ = R·C (63 % of final value after τ, 99 % after 5τ)

2. Filtering

-40-30-20-1001101001,00010,000frequency (Hz)gain (dB)RC low-pass, fc = 159 Hz−3 dB at fc
Figure 1. First-order RC low-pass filter response (10 kΩ, 0.1 µF): flat below fc, −20 dB/decade above.

Higher-order active filters (Butterworth, Bessel) fall faster: a 4th-order filter falls at 80 dB/decade. Use them before an ADC to stop aliasing, choosing fc below half the sample rate.

3. Op-amp circuits

CircuitGainUse
Voltage follower (buffer)1Isolate a high-impedance source
Non-inverting amplifier1 + Rf/RgAmplify sensor voltages
Inverting amplifier−Rf/RinSumming, scaling
Difference amplifierR2/R1 (matched)Remove common voltage
Instrumentation amplifier1 + 2R/Rg (typical 3-op-amp)Strain-gauge bridges, thermocouples
Integrator / differentiator1/(sRC), sRCAcceleration to velocity, rate signals

4. Analogue-to-digital conversion

LSB = (V_max − V_min) / 2^n Ideal SNR ≈ 6.02·n + 1.76 dB Dynamic range of a 24-bit sigma-delta DAQ ≈ 110–120 dB in practice

A 16-bit converter on ±10 V has an LSB of 305 µV. Match the input range to the signal: a 10 mV signal on a ±10 V range uses only 33 codes.

5. Switching loads

6. The 555 timer and counters

555 astableclock pulsesCD4017decade counter10 outputsone high at a timeDriversLEDs, relays
Figure 2. Classic sequencer: a 555 clock stepping a CD4017 decade counter (running lights, sequencing tests).
Astable: f = 1.44 / ((R1 + 2·R2)·C) duty = (R1 + R2)/(R1 + 2·R2) Monostable: t = 1.1 · R · C

Example: R₁ = 1 kΩ, R₂ = 10 kΩ, C = 10 µF → f = 6.86 Hz, duty 52.4 %.

7. Calculators

555 timer, RC filter and ADC resolution

8. Self-test: check your understanding

Pick an answer to see the explanation. Numerical answers are accepted within the stated tolerance (±3 % unless noted).

Score

9. References and further reading

  1. Horowitz, P. and Hill, W., The Art of Electronics, 3rd ed., Cambridge University Press, 2015.
  2. Texas Instruments, NE555 / LM555 datasheet; CD4017B datasheet.
  3. Analog Devices, A Designer's Guide to Instrumentation Amplifiers, 3rd ed.
  4. Kester, W. (ed.), Data Conversion Handbook, Analog Devices / Newnes, 2005.

Web pages

Disclaimer

This article is for education and quick reference. Formulas are simplified first estimates and examples use typical data. For design, safety and maintenance decisions use manufacturers' data and the applicable standards.

Related Vijay_Wiki articles