Results 1 to 6 of 6

Thread: control stepper motor driver controller L297 using Pic ????

  1. #1
    Registered
    Join Date
    Oct 2005
    Location
    Egypt
    Posts
    104
    Downloads
    0
    Uploads
    0

    control stepper motor driver controller L297 using Pic ????

    Dears,

    please help me to control stepper motor driver controller L297 using Pic micro controller .

    i need to generate the step and direction and enable .

    how to do that ?

    Thanks

    watzmann


  2. #2
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,925
    Downloads
    0
    Uploads
    0
    Lots of Apps on the PicMicro site?
    http://ww1.microchip.com/downloads/e...tes/00822a.pdf
    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
    Join Date
    Oct 2005
    Location
    Egypt
    Posts
    104
    Downloads
    0
    Uploads
    0
    the funny thing had happned ,

    i did connected Enable o 5 volt , and set the direction . now when i only touch the step wire with my finger the stepper motor rotets ...... why ?

    Thanks

    watzmann


  4. #4
    Registered
    Join Date
    Oct 2005
    Location
    Egypt
    Posts
    104
    Downloads
    0
    Uploads
    0
    thanks for your link , unfortuantly i'm not so good in assembly so i'm trying to find in C or PIC basic .

    what if i wrote a code to generte puleses on thes step pin every 50 micro second , will it work ?

    Thanks

    watzmann


  5. #5
    Registered
    Join Date
    Jun 2004
    Location
    Germany
    Posts
    7
    Downloads
    0
    Uploads
    0
    Hello watzmann,
    Quote Originally Posted by watzmann View Post
    ... when i only touch the step wire with my finger the stepper motor rotets ...... why ?
    Your body acts a a receiver for any stray AF (50 or 60 Hz power line frequency) and/or RF in the vicinity. Your finger conducts that hodge-podge of frequencies into the CLOCK input of your L297. Whenenver the chip detects a rising edge, it will take that as a clock signal. Not very reliable and potentially dangerous...

    All the best,

    Fred


  6. #6
    Registered
    Join Date
    Jan 2005
    Location
    Toronto, Canada
    Posts
    1,418
    Downloads
    0
    Uploads
    0
    Is there a reason why you want to use the L297? It's a very old design. Better chips are available. The tb6560 requires no microcontroller. But you will need to make sure to follow the proper power sequencing.


Similar Threads

  1. Mini-tech 2 and Stepper Motor Driver Controller?
    By art4x4 in forum Stepper Motors and Drives
    Replies: 0
    Last Post: 05-20-2011, 12:38 PM
  2. Need Help!- L297 control bipolar stepper motor speed
    By Johnson pay in forum CNC-Zone
    Replies: 0
    Last Post: 05-17-2011, 09:39 AM
  3. Cheap stepper motor controller and driver
    By webbyguy in forum Stepper Motors and Drives
    Replies: 12
    Last Post: 08-18-2010, 02:20 AM
  4. Replies: 1
    Last Post: 05-28-2010, 03:47 AM
  5. Cards Support Stepper Motor Driver Control & AC Servo Control.
    By Johnnyatcnc in forum Product and Manufacturer Announcements
    Replies: 0
    Last Post: 04-09-2010, 04:57 AM

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.