Free 186 More Best Homemade Tools eBook:  
New: 300+ fresh build posts/day from 275 forums → BuildThreads.com

User Tag List

Results 1 to 10 of 21

Thread: rotary table driven by stepper motor controlled by 2 Arduino's

Threaded View

  1. #5
    Supporting Member tonyfoale's Avatar
    Join Date
    Nov 2016
    Location
    Spain
    Posts
    1,821
    Thanks
    834
    Thanked 3,242 Times in 910 Posts

    tonyfoale's Tools
    Quote Originally Posted by thehomeengineer View Post
    Hi Garage Nut
    I have posted the code on HMT (above).......... I am more than happy for members on HMT to rip the code apart and tell me how I could improve or made it better. I feel the programming is as messy as the wiring in the control box but it does work.
    The Home Engineer
    I do not have the time to go through your code in detail, but my initial impression was that the Mega code was very long for the tasks. I might think differently if I waded through it all.

    You last function "software_Reset()" is defined but a search did not find any instances of it being called.

    The posted Nano code looks to be missing a chunk. As posted it does nothing.
    You attach an interrupt "attachInterrupt(0, runEncoder1, RISING );" but there is no "runEncoder1()".

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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