Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    totally agree and in an automotive enviro would make that 10 ohm R a RFC .
    also for high current switched loads pcb layout and wiring design are crucially important


    I have a suspicion about...
  2. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    you are making this very difficult,

    every schematic so far is different some are worse than others
    the latest is doubtful r17 is too big 3k3 would be more realistic

    this is very bad
    9442
    ...
  3. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    with 6k in its collector and a hfe min of 100 the base current required is just a few microamps to drive it into saturation
    the pic will barely know its there
  4. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    what voltage do you expect on the ignition input ?
    is this expected to work in an automobile environment ?
  5. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    is this your complete code ?





    #CONFIG
    __config _CONFIG1, _FEXTOSC_OFF & _RSTOSC_HFINT32 & _CLKOUTEN_OFF & _CSWEN_ON & _FCMEN_ON
    __config _CONFIG2, _MCLRE_ON & _PWRTE_OFF & _LPBOREN_OFF &...
  6. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    what is the load ?
    what happens with a smaller load ??

    sounds like power supply , noise suppression and or wiring layout is inadequate
  7. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    no different to tris making pins input or output

    9437
  8. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    all pic TRIS registers are 8 bits wide, the port pins are mapped onto those bits one for one , bits that don't match a pin do nothing
    i cannot be bothered to look at the data sheet to see how many...
  9. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    a pointless statement without the code that's in play
  10. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    Ports C are all ttl inputs

    would be a bad move , st inputs are less susceptible to noise leave INLVLX as default

    WDTE_OFF has no effect unless u had defined NO_CLRWDT 1

    PWRTE_OFF ...
  11. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    try again with a red led and no resistor, i'm talking overloaded pin
  12. Replies
    45
    Views
    8,640

    Re: Leaves the mainloop???

    its a classic RMW (read modify write error) i expect the load on porta.1 exceeds the
    ability of the pic to maintain the logic level.

    if your chip has latx regs use them



    'OUTPUT PORTA.4...
Results 1 to 12 of 12