Most isolated, offline SMPSs (switched-mode power supplies), including flyback, forward, and resonant, must operate at input voltages of 90 to 260V rms. Some cases even use line-to-line voltages of 400V rms±10%, leading to increased component-voltage…
http://www.circuitsathome.com/mcu/pic_vpp_limiter VOUT = 2.5V * ( 1 + 24/10 ) = 2.5 * 3.4 = 8.5V Newer PIC18s, such as my current favorite – PIC18F26K20, don’t like to be programmed with 12V. The datasheet maximum is 9V. Older Microchip programmers/d…
Figure 1 shows a simple, stand-alone overvoltage detector. The intent of the circuit is to monitor a voltage, VMONITOR, and set the output, VOUT, high when the monitored voltage exceeds a preset threshold. The minimum allowable threshold for this cir…
A standard technique for generating analog voltages using µCs is to use a PWM output and filter the signal with a simple RC filter (Figure 1). The voltage of the PWM signal is directly proportional to the µC's supply voltage, so it is not necessarily…