pause puts me in sleep mode


Results 1 to 21 of 21

Threaded View

  1. #11
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Im not sure if the (B) PNP transistor is in fact a PNP, it could be some weird 3 pin device.
    I would assume (B) is a Diode in a three pin package.
    (Cathode should be connected to the red wire of the solenoid, anode to the black wire.
    Is there any SMD code printed on it?
    also its weird how there is a 5+ going into the solenoids RED supply and 4.2+ going into the solenoid on the BLACK supply.
    with the NPNs (A) base low there is a voltage drop of about 0.8V accross the solenoid, this means there must be something else connected to the NPNs collector that is drawing current.
    when i drive the npn base high (portc.2) the solenoid gets "stuck on" the 4.4 that was present on the BLACK is now 0vdc. and the RED is at 3.5 vdc, meaning the vdd is at 3.5.
    looks like the solenoid draws more power than the Vreg can deliver, that causes the voltage drop at the Vreg's output.
    even if i drive the portc.2 LOW the transistor stays on cause the board has "crashed".
    If the transistor stays on, the base isn't low !
    now i cant read the voltage at the transistor base because when i put the (my multimeter) black probe on the battery ground and the red probe
    on the NPN base it drives the base Low making te solenoid turn off, and putting 5+ back on the VDD, thereby reseting the pic to the top of the program. if i disconnect the solenoid, i get all the expected reading at the expected times, e.g. portc.2 will actully out a 5+ vdc when i tell it to and 0vdc when i tell it too.
    Questions:
    1. what is the resistance of the solenoid?
    2. what kind of multimeter are you using and what is it's input resistance in the voltage range you have selected?


    lastly, im telling you there is not a harware problem, power supply problem, solenoid problem. i have tested all my parts on another board, that still has the old code, and they work.
    are you really sure the schematic matches the board?
    Last edited by NavMicroSystems; - 7th May 2005 at 16:17.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



Similar Threads

  1. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 15:23
  2. Replies: 11
    Last Post: - 12th July 2008, 02:36
  3. Pic to LanC
    By grounded in forum Off Topic
    Replies: 9
    Last Post: - 24th June 2008, 00:12
  4. Fade out LEDs question
    By Sam in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 22nd June 2008, 10:50
  5. Help Quick Need to make code smaller
    By Programmednew in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 25th January 2005, 03:46

Members who have read this thread : 0

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