• PicŪ Basic


  • Interrupt Driven Shutdown of DC-DC Regulators

    The program below describes how a single push button can turn off an entire circuit by using a DC/DC regulator either step-down or boost. The regulator must have a shut down pin that is maintained high to operate. These little marvels have a shutdown current as low as 5-10 uA. On the diagram created for the simulation I use a relay instead of a regulator because I could not find a regulator with shutdown capability on the Proteus components, but the principle is the same.

    The program for an 18F25K20 using an Amicus board but the idea could be easily adapted to other hardware. The ZIP file includes the circuit, a Proetus simulation file and the BAS source file.

    Yves Mazzon

    ON-OFF_routine with interrupt.zip
  • Recent Activity

    John Drew-26

    Mysterious PORTB problem

    Thread Starter: xldaedalus

    I'm using Proton+ to develop firmware for a product with switches. The MCU is an 18F26K22. Most of the switches reside on PORTB. I am NOT using a...

    John Drew Yesterday, 23:30 Go to last post
    Mellbreak-21950

    Watchdog timer

    Thread Starter: joesaliba

    I have a code that basically looks for four input and four outputs, depends on various timing and input conditions. I use interrupt and some delays...

    Mellbreak Yesterday, 11:30 Go to last post