The LM317MBDTG is a 500mA adjustable positive voltage regulator from onsemi in DPAK, part of the legendary LM317 family. The output voltage is set by two external resistors: VOUT = 1.25V x (1 + R2/R1) + IADJ x R2, where R1 connects from VOUT to ADJ (typically 120 ohm) and R2 connects from ADJ to GND. The IADJ term (50uA typical) causes a small error at high output voltages, so for precision applications R2 should be kept below 5k-ohm. The 1.25V reference between VOUT and ADJ is maintained by an internal bandgap reference and error amplifier. The minimum load current is 3.5mA (ensured by the 120-ohm R1 drawing 10.4mA), and the dropout voltage is 3V at 500mA (VIN must be at least VOUT + 3V). The device includes current limiting at approximately 700mA, thermal shutdown at 165C, and safe operating area protection. The MBDTG suffix specifies 500mA rating, DPAK package. The DPAK (TO-252) package provides 75C/W junction-to-ambient thermal resistance with minimal PCB copper, allowing 1W dissipation at 25C ambient. For higher dissipation, a copper pad under the tab reduces thermal resistance to 40C/W. The device is extremely versatile: adding a bypass capacitor (10uF) across R2 improves ripple rejection from 65dB to 80dB. A protection diode from VOUT to VIN prevents reverse-bias damage when the input is shorted. The LM317 is one of the most widely used linear regulators since its introduction by National Semiconductor in 1976.