Free 186 More Best Homemade Tools eBook:  
Get 2,000+ tool plans, full site access, and more.

User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21

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

  1. #11
    Supporting Member thehomeengineer's Avatar
    Join Date
    Nov 2017
    Location
    Berkshire UK
    Posts
    705
    Thanks
    720
    Thanked 2,062 Times in 406 Posts

    thehomeengineer's Tools
    Hi metric taper
    I will have to look up what a ISR routine is but thank you for this info. Will research later
    many thanks again
    The Home Engineer

    186 More Best Homemade Tools eBook

  2. #12
    Supporting Member metric_taper's Avatar
    Join Date
    Mar 2017
    Location
    Marion, Iowa
    Posts
    585
    Thanks
    227
    Thanked 257 Times in 153 Posts

    metric_taper's Tools
    Quote Originally Posted by thehomeengineer View Post
    Hi metric taper
    I will have to look up what a ISR routine is but thank you for this info. Will research later
    many thanks again
    The Home Engineer
    ISR= Interrupt Service Routine. Your code enables interrupts, (attachInterrupt(0, runEncoder1, RISING ); // encoder pin on interrupt 0 >>(pin 2 on arduino)), but I don't see a service routine. I see you have a CLI()=Clear Interrupt Flag, in the main loop of the program. But a ISR will be outside this main loop. Clearly the program is working, so the Arduino IDE put something to return, that is invisible to the end coder.
    Typically with quadrature encoders, the interrupt does the count up or down based on the A vs B phase outputs of the encoder. Maybe I'm missing something.

    I do like your design of having a dedicated processor as a feed back counter, with it's own display.

    2000 Tool Plans

  3. The Following 2 Users Say Thank You to metric_taper For This Useful Post:

    Paul Jones (Jan 15, 2020), thehomeengineer (Jan 15, 2020)

  4. #13
    Supporting Member Paul Jones's Avatar
    Join Date
    May 2014
    Location
    Del Mar, California
    Posts
    1,231
    Thanks
    5,810
    Thanked 1,440 Times in 655 Posts

    Paul Jones's Tools
    Excellent project and thanks for sharing the code and discussions. I learned new a lot from the discussions and suggestions.

  5. #14
    Supporting Member
    Join Date
    Sep 2015
    Location
    Sandy, OR
    Posts
    46
    Thanks
    37
    Thanked 12 Times in 6 Posts
    Quote Originally Posted by garage nut View Post
    Thanks

    That is some serious code to start with.

    Will take me a while to work through it and uunderstand it. My coding abilities are down to a couple of switches and LEDs.


    That's the truth!

  6. #15
    Jon
    Jon is offline Jon has agreed the Seller's Terms of Service
    Administrator
    Supporting Member
    Jon's Avatar
    Join Date
    Jan 2012
    Location
    Colorado, USA
    Posts
    25,451
    Thanks
    7,928
    Thanked 38,621 Times in 11,284 Posts
    Congratulations thehomeengineer - your Arduino Controlled Rotary Table is the Homemade Tool of the Week!

    Another big week with many excellent builds, but this is a worthy winner.

    Some more good builds from this week:

    Piston Ring Locator by Rikk
    Broach by thehomeengineer
    Forging Press Tooling by Philip Davies
    Welding Clamp by Kwandotechnic
    Bar Stock Bender by Made in Garage
    Rolling Storage Rack by bobs409
    Angle Grinder Stand by barts metalwork
    Swarf Collector by bouboulas
    Welding Clamp Modification by Catfish
    Quick Disconnect Cap by TigerCreek
    Air Compressor by warsztatOdZera
    Flanger by Eaglewood
    Belt Grinder Platen by House_Work
    Tire Chain Brackets by Frank S
    Drill Bit Extender by Kovanca Polock
    Slot Punches by Philip Davies
    V Block Swage by Philip Davies
    BB Pellet Trap by Matt Owens
    Lathe DRO by Retro Steam Tech
    Belt Grinder by Fromthewood
    Updated Fence Cove Jig by Make Things
    Pin Router by woodenworldenic
    Welding Clamp by Kwandotechnic
    Mobile Workbench by Sam's Workshop Diary
    Milling Machine Power Feed by Mr Mechanical
    Thin Strip Rip Jig by Didpoolhall
    Wire Stripper by diyfixman
    Trailer Ramp Mounts by Frank S


    thehomeengineer - you'll be receiving a $25 online gift card, in your choice of Amazon, PayPal, or bitcoin. Please PM me your current email address and gift card choice and I'll get it sent over right away.

    This is your 7th Homemade Tool of the Week. Here are all of your Homemade Tool of the Week winning tools. Congrats again



  7. #16
    Supporting Member thehomeengineer's Avatar
    Join Date
    Nov 2017
    Location
    Berkshire UK
    Posts
    705
    Thanks
    720
    Thanked 2,062 Times in 406 Posts

    thehomeengineer's Tools
    Hi All
    This means a great deal to me as I was unsure at times if I would ever get this project finished so thank you again for all the interest shown in this project. All I can say is "don't give up, just step back have a think and go again" (Frustrating at times)
    Totally made up with this weeks HMT of the week
    The Home Engineer

  8. The Following User Says Thank You to thehomeengineer For This Useful Post:

    Paul Jones (Aug 16, 2020)

  9. #17

    Join Date
    Aug 2020
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello Thehomeengineer,
    Awesome build, i would like to build one for myself too, could you share wiring schematic?

  10. #18
    Supporting Member tonyfoale's Avatar
    Join Date
    Nov 2016
    Location
    Spain
    Posts
    1,549
    Thanks
    679
    Thanked 2,628 Times in 705 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()".

  11. #19
    Supporting Member desbromilow's Avatar
    Join Date
    Aug 2012
    Location
    Australia
    Posts
    722
    Thanks
    505
    Thanked 338 Times in 191 Posts

    desbromilow's Tools
    Home Engineer - did you use an arduino mega for the memory requirements? or some other reason?

  12. #20
    Supporting Member thehomeengineer's Avatar
    Join Date
    Nov 2017
    Location
    Berkshire UK
    Posts
    705
    Thanks
    720
    Thanked 2,062 Times in 406 Posts

    thehomeengineer's Tools
    Hi
    If I remember I had to use the mega for the additional earth pins but I am no expert when it comes to arduino. this was my first project I have used an arduino and it was a steep learning curve. There is probably a lot better way of doing it but I eventually got it to work. ( took me a real long time ) luckily I got some help from a friend who was really good at coding so got some good advice.

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
  •