Project of the Month built by Stefan-K
Home Model Engine Machinist > The Tools and Tips > Machine Modifications > CNC x2 Mill

Reply
 
Thread Tools Display Modes
Old 12-20-2016, 03:53 AM   #131
Rndmann9
 
Join Date: May 2016
Location: Greensboro NC,USA
Posts: 112
Liked 14 Times on 10 Posts
Likes Given: 2

Default

Gees not sure when I'm going to see my shop again. Got a week off for Christmas then work is going to be nuts for a while. I'm right there from finishing this little exercise too. Might be my saving grace to get me away from my computer and not going crazy. I hate doing hospitals, they are one complicated beast. Well I'll get some hot lead therapy in before the craziness at least. Got the new one a nice set of glasses finally.


Attached Thumbnails
image.jpg  
Rndmann9 is offline  
 
Reply With Quote
Old 12-20-2016, 08:27 AM   #132
Foozer
HMEM_LIFETIMESUPPORTER.png
 
Join Date: Nov 2008
Location: Camano Island, WA
Posts: 1,043
Liked 48 Times on 47 Posts
Likes Given: 2

Default

Been tinkering with Arduino, NES game pad, 20x4 LCD, NEMA 17 stepper and a 3" rotary table using CFellows bit of code - -

laststep = round(stepsDiv * lastPosition);
nextstep = round(stepsDiv * currentPosition);
divSteps = abs(nextstep - laststep);

In a different wrapper - Divisions and Degrees - -

Making the adapter to mount the stepper to the little table has been a case of "Really?" Had this hunk of 2 1/4 round . . .
Lets see - one each AA109 lathe, bore a hole 3" inches deep?
Cut away all that is not needed on the outside?

Subtractive Process Defined - More of the stock goes to the trash bin than is left . . . But its Fun - -

Week or so - should be done - - Have no idea what I'll do with it - Just seemed like something to do - Run a Rotary using a NES Game pad . . .
Robert


__________________
"Nothing is more irritating than that which exposes the pedigree of ideas"----Lord Acton----
Foozer is offline  
 
Reply With Quote
Old 12-22-2016, 12:21 AM   #133
Foozer
HMEM_LIFETIMESUPPORTER.png
 
Join Date: Nov 2008
Location: Camano Island, WA
Posts: 1,043
Liked 48 Times on 47 Posts
Likes Given: 2

Default

Had to quasi-assembly and check it out - And, well it works - Have 2 menu choices, one for divisions, one for degrees - Running it through its paces and so far seems not to skip a beat. NES Controllers are dangerous, can get way to many button choices . . .
#define btn_A 254 // Select Divisions
#define btn_B 253 // Select Degrees
#define btn_Start 247 // Enable Stepper
#define btn_Select 251 // Disable Stepper
#define btn_Up 239 // Not used
#define btn_Down 223 // Not Used
#define btn_Left 191 // Jog Forward One Division (CW)
#define btn_Right 127 // Jog Back One Division (CCW)
#define btn_A_Up 238 // Increase Divisions (also Disables Stepper)
#define btn_A_Down 222 // Decrease Divisions (also Disables Stepper)
#define btn_A_Right 126 // Future use - Increase Divisions Step Rate
#define btn_A_Left 190 // Future Use - Decrease Divisions Step Rate
#define btn_B_Up 237 // Increase Degrees by One Degree (also Disables Stepper)
#define btn_B_Down 221 // Decrease Degrees by One Degree (also Disables Stepper)
#define btn_B_Right 125 // Future Use - Increase Degrees Step Rate
#define btn_B_Left 189 // Future Use - Decrease Degrees Step Rate
#define btn_Menu 243 // Return to main menu

Still can't get the LCD screen to show in pic - - -
Now to find a little project box and package it up
What I'll do with it? Haven't a clue . . .


__________________
"Nothing is more irritating than that which exposes the pedigree of ideas"----Lord Acton----
Foozer is offline  
 
Reply With Quote
Reply


Thread Tools
Display Modes

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
Lathe and Mill plans (home made making mini lathe and mill) alihureiby Plans 14 03-22-2013 12:32 PM
Mill-rite mill rebush Tools 4 05-11-2012 11:58 PM
Tramming a small mill (Sherline mill) ttrikalin Tips and Tricks 9 11-22-2009 06:58 PM





Newest Threads






- Top - Member List