Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: pescador; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    699

    Re: PIC16F886 Pulldown inputs

    - So just to be clear - I'm driving the optos using the 2k to the anode, the output is the "collector" tied hi to a resistor - to the PIC w 5V. I'm not sure 100 ohms to the PIC would damage the PIC,...
  2. Replies
    7
    Views
    699

    Re: PIC16F886 Pulldown inputs

    Ok thanks - I'll connect the opto collector tied high to the PIC and drive the Opto to GND - easy - no need then for ground resistors...

    Thanks for R values..9547
  3. Replies
    7
    Views
    699

    Re: PIC16F886 Pulldown inputs

    I didnt do that - as you can see PARK for example - pin 15 - is the output of pin 16 when pin 1 is high. 15 is basically floating when not activated - I want the pin on the PIC to be active high -...
  4. Replies
    7
    Views
    699

    PIC16F886 Pulldown inputs

    I'm using a 16f886 to detect digital inputs. I set RA5 for example to be a digital input. No analogs for this project.

    ANSEL = 0 ' Make AN0-AN7 digital
    ANSELH= 0 ' Make AN8-AN13 digital

    I'm...
  5. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    Well I feel like an idiot.

    I connected a 2.5 ohm 100 watt resistor as my load instead of the electronic load (5 amps).

    No issues....works like it should. So the electronic (programmable) load...
  6. Replies
    45
    Views
    6,187

    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,...
  7. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    My personality is hurry up and ask questions and get an answer. I need to slow down and think of my questions first and organize them. I want the asnwer in miliseconds - lol.

    no no no - asking me...
  8. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    9444


    see attached - do I own an oscillopscope I was asked? This is my proto lab.

    I'm 67 years old who survived open heart surgery 4 months ago at NU hospital in Chicago, so not in the mood...
  9. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    uncle.... do they have that expression down under? It means enough...
  10. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    Is there a way to kill a thread?
  11. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    9441

    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...
  12. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    The schematic shows it drives 2 P channel Mosfets which supply power to a resistor load. - the 10k and 6k on the collector drive the gate when the npn is on.

    The odd thing about this is when it...
  13. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    I should just say 12V, not IG - its 12V
  14. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    yes - thats my test code
  15. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    DC electronic load - it works at 1 amp - any higher it fails (PIC cant drive the base).. no noise - PS can handle 20 amps.. The base of the npn must be sinking too much current for the PIC pin to...
  16. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    9439

    see attached - I changed to LATs as suggested but I still cannot drive the base of my npn with the load in. If I remove the load and turn the FET on - its ok.

    I dont get it.


    #CONFIG...
  17. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    I need porta.2 to be a analog input - the rest are not analog - so how do I do that?
  18. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    please email me if you can - easier to explain and I'd like to talk for 5 mins
  19. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    Here's what I need


    A0 - Led1 output
    A1 - led2 output
    A2 - Analog in
    A3 - CLR
    A4 - TTL Output to turn on FET
    A5 - Input (TTL)
  20. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    yout lat code worked but...

    I used this

    WDTE_OFF and it didnt come out of mainloop - worked

    I also tried this

    PWRTE_OFF - and I was able to write to my fet which had a load connected to...
  21. Replies
    45
    Views
    6,187

    Re: Leaves the mainloop???

    didnt help..

    OUTPUT PORTA.4
    OUTPUT PORTA.1

    HIGH PORTA.1
    PAUSE 10000


    mainloop:
  22. Replies
    15
    Views
    3,200

    Re: I/O pin default low.

    ok - please elaborate..
  23. Replies
    45
    Views
    6,187

    Leaves the mainloop???

    I'll ask again - why does my program leave the mainloop?

    porta.1 goes high and low..continuously


    OUTPUT PORTA.1
    OUTPUT PORTA.4

    HIGH PORTA.1
    PAUSE 10000
  24. Replies
    15
    Views
    3,200

    Re: I/O pin default low.

    no - not a clone of MC3334P - it just turns on a load if IG is present.
    by the time I get the IG signal its been filtered.

    What coil?

    IPB?
  25. Replies
    15
    Views
    3,200

    Re: I/O pin default low.

    No current detection - just if IG is on (12V) and monitors battery voltage - this all working for past 5 years. Discovered the issue of no load it starts right up - with load it resets program. In...
Results 1 to 25 of 73
Page 1 of 3 1 2 3