pause puts me in sleep mode


Results 1 to 21 of 21

Threaded View

  1. #9
    EDWARD's Avatar
    EDWARD Guest


    Did you find this post helpful? Yes | No

    Default schematic for solenoid/driver

    ok i tried to make a shcematc for ya. disregard the black box around the circuit if any.

    Im not sure if the (B) PNP transistor is in fact a PNP, it could be some weird 3 pin device.

    also its werid how there is a 5+ going into the solenoids RED supply and 4.2+ going into the solenoid on the BLACK supply. 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.

    even if i drive the portc.2 LOW the transistor stays on cause the board has "crashed". 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.

    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.
    Attached Images Attached Images  
    Last edited by EDWARD; - 7th May 2005 at 00:11.

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