Leaves the mainloop??? - Page 2


Results 41 to 46 of 46

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: Leaves the mainloop???

    The massive output FETs are to supply 12V to service vehicle equipment. Its an automotive environment, but - by the time it gets to my circuit, the voltage is isolated from the alternator noise, etc, etc..

    My circuit actually works in the field - somehow - which tells me that my electronic load is the culprit. So I'm changing my load to something that emulates my true load in the field. I have some police car flasher lights coming.

    That being said, I want to know why this particular type of load resets my PIC. Good to know stuff.

    At first I thought with the 16F15324 I was setting up the registers wrong - a software reason. Using port instead of latch feature for example. Richard showed me how to setup registers properly but problem still exists.

    Beefy PS - I use a 15amp supply, but if load shorts in first milliseconds the draw is much higher than 15 amps. Thats why if the load is on first the inrush current draw has passed. I think that makes sense. If I used a car battery would the result be the same? I need to try that.


    BTW - Its amazing how you PICBASIC guys know things about PICBASIC code. I'm like - "how in the world did you figure that out" ! Its like you have this magic code book. (I know - its in the docs)..I guess if you do it enough it.......

    for example - from another thread :

    ansela = ~ 16
    lata = ~ 16
    trisa = ~ 16



    Get the scope out. - should be my quote on my forum slogan
    Last edited by pescador; - 4th June 2023 at 14:02.
    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