Leaves the mainloop???


Results 1 to 40 of 46

Threaded View

  1. #23
    Join Date
    Apr 2016
    Location
    Plainfield, Illinois
    Posts
    73


    Did you find this post helpful? Yes | No

    Default Re: Leaves the mainloop???

    SCHEMATIC1 _ PAGE1.pdf

    here's rough schematic again - sorry for the wild goose chase guys - really appreciate the help.

    Q2 is only driving the gate of some P channel mosfets. With the load attached to the drain of the mosfets, pin 3 on PIC wont drive the base - the program leaves the main loop - it resets.

    If I release the load and turn on NPN and then turn on load, it stays on.

    I was aslo thinking of changing the circuit to a double npn and reverse the logic - thus the PIC wouldnt see the 2nd NPN, but I'd like to know why its behaving this way.
    Last edited by pescador; - 1st June 2023 at 13:12.
    My dad never liked you...

Similar Threads

  1. Time taken to do mainloop
    By Gerald in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th March 2023, 14:16
  2. Outside the Mainloop
    By pescador in forum General
    Replies: 10
    Last Post: - 26th April 2016, 17:34

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts