Recent content by Mike N

Home Model Engine Machinist Forum

Help Support Home Model Engine Machinist Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
  1. Mike N

    Finishing up my version of Arduino indexer for dummies.

    I'm not home right now to test this sketch until next week sometime. As I look through the code I don't see where the missing steps are picked up to make a full 360 revolution when picking divisions not equally divided into the stepper motor? example (If you choose 21 divisions you would come...
  2. Mike N

    Finishing up my version of Arduino indexer for dummies.

    Does that version make up the missing steps, due to dropping the digits after the decmil? Where could I find a copy of his sketch?
  3. Mike N

    Help with Arduino idexer

    The sketch in post #54 works perfect for cutting gears if you use the "B" option (number of Divisions). It repeats back to the starting point on every number of Divisions I tested it on. The backlash isn't consistent on any of my off shore dividing heads, so I never backup when using this setup.
  4. Mike N

    Finishing up my version of Arduino indexer for dummies.

    This looks really nice, are you using the sketch that Timo modified to pick up the missing steps to make sure you end up where you started on a 360 degree circle? I plan on using my setup to cut the last 4 gears I need for my current project. Thanks for sharing!
  5. Mike N

    Help with Arduino idexer

    Update: The sketch that Timo posted here #54 completely solved the missing steps problem. The rotation always comes back to "zero" regardless of the number of divisions. Problem solved! Timo is working out a few bugs and making improvements to the angular portion of the sketch. Once the...
  6. Mike N

    Help with Arduino idexer

    Thanks for explaining this. 🙂
  7. Mike N

    Help with Arduino idexer

    https://forum.arduino.cc/t/stepper-motor-division-of-one-rotation-mostly-math/1065635?page=2 There were 32 posts in this thread, my link starts at post 21, you can scroll up to the beginning. I found this posted on the Arduino Forum.
  8. Mike N

    Help with Arduino idexer

    For angle inputs are we limited to 2 place decibels or could we have 3 or 4 place? I noticed that the accumulated moves on the display show 4 place decibels???
  9. Mike N

    Help with Arduino idexer

    I setup my test station again & tried this sketch. I set the parameters to match my 800 steps on the driver & 40 to one ratio on my gearhead. It comes up about 3 degrees short of making a full 360 degree rotation on a 21 tooth gear division. 32,000/21=1523.8095. (missing 17 steps) because it...
  10. Mike N

    Help with Arduino idexer

    Yes, you can enter angles with 2 digits after the decimal. If you ask for 45 degrees you get it, if you want 44.4444 it gives 44.44 The equal divisions of 360 degrees are more important for my application.
  11. Mike N

    Help with Arduino idexer

    That's exactly what Timo accomplished on Monday with his revised sketch, find it earlier in this thread.
  12. Mike N

    Help with Arduino idexer

    Timo, Thanks for explaining this so every one can understand whats going on here. I just looked at the spreadsheet I worked on Sunday: A 42 tooth gear would have been off 40 holes in the 200 hole dividing plate you just described above. 16,0000/42=380.952380 steps needed, using only 380 steps 42...
  13. Mike N

    Help with Arduino idexer

    I know there have been several years of discussion about building a digital dividing head using a Arduino on HMEM. I think I read every post at least twice over the last few days. I started out with a Arduino Sketch that was written in 2015, it had a few bugs in it. Chuck Fellows (passed away...
  14. Mike N

    Help with Arduino idexer

    Thanks for looking at this. It is working good now. Timo made some changes to the sketch & now the missing steps have been added into the code.
  15. Mike N

    Help with Arduino idexer

    I reset the driver to 800 steps & updated the sketch accordingly. It still works great & runs at a more reasonable speed now. Thanks again!
Back
Top