Page 1 of 5 1234 ... LastLast
Results 1 to 12 of 58

Thread: Reversed Logic voltage to PICSTEP- What component to be replaced?

  1. #1
    Registered Khalid's Avatar
    Join Date
    Apr 2006
    Location
    Pakistan
    Posts
    2,960
    Downloads
    0
    Uploads
    0

    Reversed Logic voltage to PICSTEP- What component to be replaced?

    I have developed the Picstep version 4 board but i did not install the IDC cable as my BOB only requires STEP and DIR signals. Today i accidentally reversed the Logic voltage cables so that instead of installation of +5V DC wire to the +5V Logic i install the +5V to the Gnd... The result was my PIC become too hot as soon i realize what i did wrong i removed the cables...

    Fortunately most of the capacitors are ceramic or MKT type (non polar) so i am not worried about them But:
    1- I am sure that the PIC is blown away.
    2- What components else might be blown away?... XTAL and LMD?????

    Anyone can tell me should i replace all the components and discard them? Or should i replace the 20MHz XTAL?
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/


  2. #2
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,961
    Downloads
    0
    Uploads
    0
    I doubt if the XTAL was damaged as it usually is connected to two pins on the PIC and isolated from DC -ve by two caps, if this is the configuration you have?
    Probably just the PIC suffered, if you have any electrolytic's or Tantalum on board, you could remove them and test if need be.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  3. #3
    Registered Khalid's Avatar
    Join Date
    Apr 2006
    Location
    Pakistan
    Posts
    2,960
    Downloads
    0
    Uploads
    0
    Thanks Al, I do have the electrolytic on the board.. I hae replaced the PIC as well as the Xtal.. Two wires (+5V and GND) from the ATX computer power supply, i am using to give the Logic voltage to the PICstep... I have connected 24VDC and GND on the PICstep board for Motor powering.. My Motor has total 6 wires so i have just left the both COMMON wires unconnected..the rest of the 4 wires are connected to the board A A' and B B'...

    Following is my observation... With the motor connected and the both the Power supply enabled and the PIC install..My motor do not hold...

    But when i keep finger under the PIC and Xtal soldering joints, Motor holds and i can't rotate it by fingers... But as i removed the fingers from the Xtal/Pic soldering joints the motor do not hold..
    I thought that the cold solder may be their but the Digital Meter shows continiuty of all the joints...

    1-Whats going wrong?
    2- Should i make ENABLE pin to ground?
    3-If the Motors hold it means that LMD and other Electrolytic capacitors are working well...

    NOTE:
    I am using 20MHz Xtals with 22PF capacitors.
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/


  4. #4
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,961
    Downloads
    0
    Uploads
    0
    I had a weird problem like that once and the reason turned out to be the fact I had not had the right config string in the asm code and the power up reset was not set for internal pull up.
    Every time if I touched the board it would set it.
    Is this a pre-programmed Pic or are you programming it? What PIC IC is it?.
    If there is nothing connected to the Master Clear pin, you could take it high to see if it runs.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #5
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,961
    Downloads
    0
    Uploads
    0
    I found a schematic of the board, and MCLR pin 1 goes to +5 so it may not be the cause if this is connected.
    What about the stop input?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #6
    Registered robe_uk's Avatar
    Join Date
    Apr 2005
    Location
    Northern Ireland
    Posts
    227
    Downloads
    0
    Uploads
    0
    Hi
    you have to ground the enable line and also feed a step pulse for the motors to hold. So tie your enable to ground, with standard code the motors will not hold till it see's a pulse on the step pin.


    Cheers Rob
    I'll get it finished sometime after I start it.....


  • #7
    Registered robe_uk's Avatar
    Join Date
    Apr 2005
    Location
    Northern Ireland
    Posts
    227
    Downloads
    0
    Uploads
    0
    did you get your pic's programmed ok?
    I'll get it finished sometime after I start it.....


  • #8
    Registered Khalid's Avatar
    Join Date
    Apr 2006
    Location
    Pakistan
    Posts
    2,960
    Downloads
    0
    Uploads
    0
    @Al:
    I have QL-2006 advance PIC programmer and i am programming the PIC Myself. Hex code uploaded to the PIC successfully without Error with all Configuration Bits. Attached is also the screen shot of software after reading Back the Hex code from the PIC. The Right side of the initial and re-read Hex file has different characters and i think this is due to the placing of configuration bits.

    What do you mean by STOP input.Please clarify.

    @robe_uk:
    A) I have ground the Enable Pin 01 to the GROUND with a Jumper but nothing happen. The motor do not hold.
    B) As the Modular Card PICSTEP is not connected to the BOB, so can i externally give inputs to the STEP PIN?
    Should i provide +5V DC to step pin to check or connect it to GND. Your help and opinion needed.

    C) The PIC is programmed successfully as per attached picture and above points.
    Attached Thumbnails Attached Thumbnails Reversed Logic voltage to PICSTEP- What component to be replaced?-hex_file_selected.jpg   Reversed Logic voltage to PICSTEP- What component to be replaced?-hex_code.jpg   Reversed Logic voltage to PICSTEP- What component to be replaced?-bit_configuration_settings.jpg   Reversed Logic voltage to PICSTEP- What component to be replaced?-uploaded_code_read_pic.jpg  

    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/


  • #9
    Registered Khalid's Avatar
    Join Date
    Apr 2006
    Location
    Pakistan
    Posts
    2,960
    Downloads
    0
    Uploads
    0
    If someone have a working HEX file can share with me please.
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/


  • #10
    Registered Khalid's Avatar
    Join Date
    Apr 2006
    Location
    Pakistan
    Posts
    2,960
    Downloads
    0
    Uploads
    0
    Hmmm... In above picture i have mistakenly selected PIC 16LF628A but whether this may be the cause of trouble?
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/


  • #11
    Registered doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    1,743
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Khalid View Post
    Following is my observation... With the motor connected and the both the Power supply enabled and the PIC install..My motor do not hold...

    But when i keep finger under the PIC and Xtal soldering joints, Motor holds and i can't rotate it by fingers... But as i removed the fingers from the Xtal/Pic soldering joints the motor do not hold..
    I thought that the cold solder may be their but the Digital Meter shows continiuty of all the joints...
    I have no experience with that circuit, but I am wondering whether the symptom you have described could be caused by a balky oscillator, with a crystal that does not want to start oscillating.

    Is there any indication on the board (such as a blinking LED that is under the direct control of the PIC firmware) that the PIC is actually getting a clock signal when you don't have your finger under the crystal circuitry? If the oscillator does not start reliably then you will have problems. It might be possible that the capacitance values that you are using are not well matched to the crystal.


  • #12
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,961
    Downloads
    0
    Uploads
    0
    Is this the schematic you are working with?
    http://www.jrkerr.com/pstep_bd.pdf
    There is an active high E-stop input, which would indicate that this has to be taken low to remove the stop.
    My programmer won't allow a different PIC than designated to be programmed?
    What is the PIC you are using?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • Page 1 of 5 1234 ... LastLast

    Similar Threads

    1. Problem- How to prevent excessive voltage to Geckodrive logic inputs?
      By selrahc in forum Gecko Drives
      Replies: 0
      Last Post: 09-12-2011, 12:11 AM
    2. LB15 shear pin replaced what know ?
      By meadowtech in forum Okuma
      Replies: 5
      Last Post: 06-21-2011, 07:36 PM
    3. Replies: 40
      Last Post: 02-07-2008, 06:03 PM
    4. Can't find C5 and C7 (PicStep component)
      By obscurity in forum PicStep Controllers
      Replies: 3
      Last Post: 08-04-2006, 03:02 AM
    5. Picstep board voltage question
      By dberndt in forum Stepper Motors and Drives
      Replies: 1
      Last Post: 01-15-2005, 11:34 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.