Electronic – Why are there so many resistors in a typical schematic

resistorsrs232zener

I know that some resistors cause pull-up or pull-down or work as a voltage divider and/or current divider.

But sometimes I cannot understand their function in some simple circuits:

  1. Take this motor driver (L9110) for an example. Why are there 2×4.7k resistors?
    The L9110 is rated to be able to recieve 2.5v-12v according to the datasheet

    Motor Driver

  2. Or take this zener diode voltage regulator, The 40Ω resistor, ohm's law says that V = I x R, increasing the resistance lowers the current. But why is that 40Ω resistor needed at all? Why not let it flow straight through (~0Ω)?

    Zener Diode Voltage Regulator

  3. Or lastly this RS232 level shifter, I understand the 10kΩ resistors. But why is there a 4.7kΩ resistor between RX(Device) and TX(Device)? (Should they even be connected?)

    RS232 Level Shifter

Best Answer

All three circuits display examples of pull up, pull down, voltage dividers, and current dividers:

  1. R1 and R2 are pull up resistors. You have to have both because you have two switches which can be in a different state (one high, one low).
  2. The 40Ω resistor is the top half of the voltage divider. The zener is the bottom half of the voltage divider. The zener can be thought of as automatically adjusting its resistance so that the voltage will always be 6 volts. Without the 40Ω resistor, the top wire would be at 10V, and the zener would blow up trying to bring that wire's voltage down to 6V. If the 10V supply was current limited to a current less than the zener's capacity, then the zener would pull the wire down to 6V, putting the power supply into current limiting mode (rather than voltage regulating), and the circuit would work fine. Since the supply is a voltage regulator, though, then you need the 40Ω resistor so the zener can do its job without blowing up, and without getting a current limited power supply.
  3. R3 is a pull down resistor. Ignore RX(MCU) and R2 for now, they just tap the TX(DEVICE) line. D1 and C1 form a negative power supply. RS-232 technically requires -12V for signaling. The TX(DEVICE) line will go to -12 occasionally, and the diode and capacitor store that charge so that the TX(MCU) line can use it without building a special -12V power supply into the circuit. It has some limitations, but for those RS-232 devices that demand obedience to older RS-232 specifications, it can work well. R3 therefore is a pull down - when TX(MCU) isn't high, then RX(DEVICE) will see a low current negative voltage. If the device uses -12V on its TX line, then the RX line will reflect the device's adherence to the RS-232 specification.