Project of the Month built by dnalot
Home Model Engine Machinist > CNC > Software and Programming > Interrupt Driven Rotary Table controller

Reply
 
Thread Tools
Old 02-14-2017, 11:14 PM   #11
Johno1958
HMEM_SUPPORTER.png
 
Johno1958's Avatar
 
Join Date: Sep 2015
Location: Bendigo Australia
Posts: 54
Liked 19 Times on 11 Posts
Likes Given: 183

Default

Hi Rodw.
First of all thank you for all the time and effort documenting a great program.
That said I can't for the life of me get it to work lol. I am using Saintsmart uno and 1602 lcd six button shield and a tb6560 driver. I can load the sketch no worries but I dont seem to be able to get the driver part working. I have the liming sketch up and running ok. My question is I can't seem to find a wiring diagram .Is there one posted?
Cheers
john


Johno1958 is offline  
 
Reply With Quote
Old 02-15-2017, 09:35 AM   #12
rodw
 
Join Date: Dec 2012
Posts: 964
Liked 283 Times on 219 Posts
Likes Given: 138

Default

Quote:
Originally Posted by Johno1958 View Post
Hi Rodw.
First of all thank you for all the time and effort documenting a great program.
That said I can't for the life of me get it to work lol. I am using Saintsmart uno and 1602 lcd six button shield and a tb6560 driver. I can load the sketch no worries but I dont seem to be able to get the driver part working. I have the liming sketch up and running ok. My question is I can't seem to find a wiring diagram .Is there one posted?
Cheers
john
John, first of all, I have never used the Sainsmart but a few people have used it with this sketch. I think that you may need to modify the LCD library in the keyboard sensing code and its been documented bys others in my other thread linked to in the first post. However by the sounds of it you have got this part working. If the displays and menus work, it will be fine!

So its always best to start with basics in the Arduino core library before you use a complex program. Maybe this one. https://www.arduino.cc/en/Reference/Stepper

So once you know you have a working stepper driver, install my sketch and configure the settings including the step and direction pins in the setup menu. If you have not done that, it probably is the reason why nothing moves.

There is not much to the wiring. step+ and dir+ go to the relevant digital pins and step- and dir- go to the Arduino ground. Attach the high voltage for the stepper to your controllers stepper power terminals. I'm not sure of the TB6660
but in some cases you need active low wiring so check your documentation. I've never had to do that with the Arduino though.


__________________
RodW
Brisbane, Australia
vehiclemods.net.au
rodw is offline  
 
Reply With Quote
Old 02-15-2017, 07:41 PM   #13
Johno1958
HMEM_SUPPORTER.png
 
Johno1958's Avatar
 
Join Date: Sep 2015
Location: Bendigo Australia
Posts: 54
Liked 19 Times on 11 Posts
Likes Given: 183

Default

Hi Rod
Yes you are right .I never configured the step and dir pins. I will read through your thread again as I glossed over a lot of parts which were flying well over my head.
I do find this project very interesting.
Thanks
John

Last edited by Johno1958; 02-15-2017 at 07:45 PM.
Johno1958 is offline  
 
Reply With Quote
Old 02-15-2017, 08:53 PM   #14
rodw
 
Join Date: Dec 2012
Posts: 964
Liked 283 Times on 219 Posts
Likes Given: 138

Default

Quote:
Originally Posted by Johno1958 View Post
Hi Rod
Yes you are right .I never configured the step and dir pins. I will read through your thread again as I glossed over a lot of parts which were flying well over my head.
I do find this project very interesting.
Thanks
John
Glad you got it going.


__________________
RodW
Brisbane, Australia
vehiclemods.net.au
rodw is offline  
 
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Second Rotary Table,80 mm table. gus Introduction 75 07-29-2014 08:36 PM
Kwackers CNC Rotary Table Controller chucketn Software and Programming 7 12-17-2012 01:51 PM
Help on a rotary table. Hilmar General Engine Discussion 11 08-03-2011 02:32 AM
Rotary Table Mutley General Engine Discussion 4 11-25-2009 09:16 PM
rotary table baldrocker Buy / Sell / Trade / eBay 3 12-17-2008 09:29 AM



Newest Threads






- Top - Member List