587,880 active members*
3,836 visitors online*
Register for free
Login
Results 1 to 11 of 11
  1. #1
    Join Date
    Jul 2008
    Posts
    2

    microstepping board

    hi all,

    It's my first project. I want to build low cost microstepping controller board with PIC 16F628A.
    I searched in this forum before. I found some linistep schematics and firmwares,make me confuse.
    Could you help me which boards and firmwares are working fine for 16F628A?
    I use unipolar stepper motor less than 1A. I will connect the board to PIC microcontroller directly.

    Thank's in advance.

  2. #2
    Join Date
    Feb 2008
    Posts
    7
    Company Profile Company Profile Information Information Employment Employment Executive Officers Executive Officers Investor Information Investor Information Media & Analyst Info Center Media & Analyst Info Center ST Alliances ST Alliances ST Foundation ST Foundation STUniversity STUniversity Distributors & Representatives Distributors & Representatives Manufacturing & Design Manufacturing & Design Regional Warehouses Regional Warehouses ST Sales Offices ST Sales Offices Worldwide Headquarters Worldwide Headquarters See All See All Analog & Mixed Signal ICs Analog & Mixed Signal ICs Memories Memories Microcontrollers Microcontrollers Power Management ICs Power Management ICs Transistors Transistors ASSP for Audio ASSP for Audio ASSP for Automotive ASSP for Automotive ASSP for Home Video ASSP for Home Video ASSP for Mobile Systems ASSP for Mobile Systems Product Technologies Product Technologies See All See All Automotive Automotive Communications Communications Computer & Peripherals Computer & Peripherals Consumer Consumer Industrial Industrial Smartcard & Security Smartcard & Security See All See All Technical Support Technical Support Sales Support Sales Support Evaluation Boards Evaluation Boards Simulation & Tools Simulation & Tools Technical Literature Technical Literature Training & Webseminars Training & Webseminars Quality Information Quality Information RoHS RoHS Buy ST Parts From Distributors Buy ST Parts From Distributors Order Free Samples Order Free Samples Buy Development Boards & Tools Buy Development Boards & Tools ST Sales Offices ST Sales Offices Distributors & Representatives Distributors & Representatives Latest News Latest News Corporate Press Releases Corporate Press Releases Product Press Releases Product Press Releases Information Information Conferences Conferences Trade Shows Trade Shows 中国 中国 日本 日本 France France Italia Italia Register / Login Register / Login ST Extranet ST Extranet
    Search Keyword


    Search Part #




    About ST
    Products
    Applications
    Support
    Buy
    News & Events
    ST Worldwide
    Contact Us
    Login
















    --------------------------------------------------------------------------------

    --------------------------------------------------------------------------------

    I am rarely on forums but very interested in stepper topics. Please see the folloving docu for a code snippet at the end of same. This might help You a bit.

    [PDF] MICROSTEPPING STEPPER MOTOR DRIVE USING PEAK DETECTING CURRENT ... ... http://www.st.com/stonline/products/...re/an/8700.pdf

    Best Regards, Goran

  3. #3
    Join Date
    Feb 2008
    Posts
    7
    Sorry for the bad cut & paste, did't see it in quick reply.

  4. #4
    Join Date
    Jul 2008
    Posts
    2
    hi Goran,

    Thanks for your information, but what I mean is linistepper board and firmware.

  5. #5
    Join Date
    Feb 2008
    Posts
    7
    This reference was only for the control loop given in code at the end of document. The code is not for PIC anyway, but can give some ideas what should be done. This is a good reading, sory it didn't help.

    Best regards,
    Goran

  6. #6
    Join Date
    Feb 2008
    Posts
    7
    Hello again,
    Check this page, this is a project with PIC16F627.
    http://www.embeddedtronics.com/microstep.html

    If You want to use linistep board or similar, You will need current feedback of
    some kind. For microstepping it is important to have a current control - current equals flux - equals torque.
    Total flux must remain the same, you are only distributing it by sine, cosine on poles to get smooth microstepping with as constant torque as possible. (Other issues start here).
    Current control is a must for microstepping.

    Best regards,
    Goran

  7. #7
    Join Date
    Oct 2010
    Posts
    0
    In order to drive in microstepping mode a stepper motor using PIC micrrocontrollers I recomend to use the idea from the page telepicdata

  8. #8
    Join Date
    May 2005
    Posts
    1397
    I don't see anything at telepicdata about controlling a stepper motor with a PIC... he uses a L6208N... I guess the PIC generates the step and direction pulses for that, but that doesn't have anything to do with microstepping..

    The embeddedtronics project, again, is not using the PIC to microstep. It uses a LMD18245 and the PIC just sends step and direction.

    Same again with the ST app note...

    The Linistepper DOES use a PIC to generate the microstepping levels, and the current feedback is an important part of good high speed operation, but it is NOT required for the generation of microsteps.

    Getting back to the original posters question: What is it about the Linstepper that is confusing? Can I help to explain something?

  9. #9
    Join Date
    Oct 2010
    Posts
    0
    Quote Originally Posted by James Newton View Post
    I don't see anything at telepicdata about controlling a stepper motor with a PIC... he uses a L6208N... I guess the PIC generates the step and direction pulses for that, but that doesn't have anything to do with microstepping..

    The embeddedtronics project, again, is not using the PIC to microstep. It uses a LMD18245 and the PIC just sends step and direction.

    Same again with the ST app note...

    The Linistepper DOES use a PIC to generate the microstepping levels, and the current feedback is an important part of good high speed operation, but it is NOT required for the generation of microsteps.

    Getting back to the original posters question: What is it about the Linstepper that is confusing? Can I help to explain something?
    Hello James,

    The PIC16F877A generates the clock pulses and direction, but it also generates 2 PWM that change the voltaje at VREF of the chip L6208. You must generate two senoidal waves using this two PWM otputs in order to give one sin signal and other cosine signal. Tell if that helps.

























    youtube converter mp3

  10. #10
    Join Date
    May 2005
    Posts
    1397
    That is confusing to me... if the PIC generates the waveforms, why does it also need to generate step and direction? Sorry, I don't know anything about the L6208.

  11. #11
    Join Date
    Oct 2010
    Posts
    0
    Quote Originally Posted by James Newton View Post
    That is confusing to me... if the PIC generates the waveforms, why does it also need to generate step and direction? Sorry, I don't know anything about the L6208.
    Hello James,

    There's a lot of web pages with microstepping and L6208 application notes, here I give you a good material to read:
    http://www.otocoup.com/DocTech/Stepp..._microstep.pdf

    It is very well expalined.
    [/B]

Similar Threads

  1. A circuit board for the SLA7062M microstepping driver
    By Edison4 in forum News Announcements
    Replies: 5
    Last Post: 05-04-2008, 09:59 PM
  2. microstepping for dummy
    By selse in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 01-03-2008, 06:16 PM
  3. Duda con microstepping
    By chockstef in forum Spanish
    Replies: 3
    Last Post: 09-16-2007, 02:52 AM
  4. Microstepping?
    By barkster in forum Stepper Motors / Drives
    Replies: 1
    Last Post: 05-16-2007, 05:27 PM
  5. New pic for microstepping
    By ajv2803959 in forum Open Source Controller Boards
    Replies: 5
    Last Post: 03-22-2005, 06:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •