Notifications
Clear all

Single Axis stage build

10 Posts
2 Users
0 Likes
920 Views
RBGCNC
(@rbgcnc)
Member
Joined: 4 years ago
Posts: 8
Topic starter  

I am currently working on designing and building a single axis stage to move a hot wire anemometer up and down over our 50' wave tank.  I have the general design completed and have been working on the programming aspects of this project but have run into some difficulty then I had an idea.  Instead of reinventing the whole wheel, I may as well post what I am doing here and maybe someone has done something similar and would be willing to lend their expertise or even share some code to make this simpler.  

Below is part of the write up from my README file I am also hoping to attach an image of what it will look like to make it easier to follow.  

If you look at the image you can see the graphic I have created showing the
basics of the layout and requirements of the Z-Stage platform.

There are 5 buttons labeled with what they do below. (momentary)
1. Home button -- This button moves the stage to top until the top limit
is triggered then the program waits for other buttons.
2. Start button -- This button moves the stage from whatever position it
sits at down until it triggers the bottom limit switch then moves up until
the top limit switch is triggered
3. Jog Up -- This button moves the stage up as long as the button is depressed
4. Jog Down -- This button moves the stage down as long as the button is
depressed
5. Speed H/L -- This button uses one of the UNO interrupts to monitor for a
change then set the speed to either high or low (This button will also
require hardware debouncing due to using the interrupts)

 

How it is intended to work below:

Initial setup for the first time at that water height:
1. On power up the stage will just sit and wait for user input via the buttons.
2. The user will jog the stage down til just above the water surface then adjust
the mechanical stop trigger on the bottom until the LED lights up (Need to
add the LED part yet)
3. The user will then hit the home button to return the stage to the top position
where it will sit and wait for the cycle start
4. The user will press the cycle start which will cause the stage to move
down to the bottom limit switch and on triggering it will cause it to return
to the home position (Maybe use a home function called when the bottom switch
is triggered in that function?)

Subsequent operations after the initial setup is complete:
1. The user will use the home button to return the stage to the top of the system
and await a press of the cycle start button.
2. User will set the data collection computer to record data (separate system)
then press cycle start to cause the stage to go through its down then up cycle.

Link to my basic graphic:

Admin Note: The broken link that was in this location was removed with @RBGCNC 's permission.

Thank you for taking the time to slog through my wall of text.  If you have thoughts ideas or suggestions I am totally open to them as well as constructive criticism.  My background is primarily ME and fabrication and machining but this project came up and I thought it would be great to expand what I can do.

 

Thanks again, 

 

Rob


   
Quote
RBGCNC
(@rbgcnc)
Member
Joined: 4 years ago
Posts: 8
Topic starter  

Here is the image, took me a sec to realize the link didn't post correctly. 

Z Stage mock up

 


   
ReplyQuote
codecage
(@codecage)
Member Admin
Joined: 5 years ago
Posts: 1037
 

@rbgcnc

Your image got posted before your post with the link that didn't work.  The post with the bad link was placed in moderation because of the suspect link that was found in the post.  I have approved, but suggest you edit the original and remove the bad link.

SteveG


   
ReplyQuote
RBGCNC
(@rbgcnc)
Member
Joined: 4 years ago
Posts: 8
Topic starter  

@codecage Is there a way to edit the original from mobile or will I have to wait until I am back at my PC?


   
ReplyQuote
codecage
(@codecage)
Member Admin
Joined: 5 years ago
Posts: 1037
 

@rbgcnc

Not sure about that, as I would never try it on my phone anyway.  Maybe others might pipe in!

SteveG


   
ReplyQuote
RBGCNC
(@rbgcnc)
Member
Joined: 4 years ago
Posts: 8
Topic starter  

@codecage Here is a strange one for you.  I went to my PC and tried but was unable to even edit my original post.  Is it possible for moderator to edit and clip the link out?

 

Rob


   
ReplyQuote
codecage
(@codecage)
Member Admin
Joined: 5 years ago
Posts: 1037
 

@rbgcnc

I think there is a time limit on when you are able to edit a post, but I can't remember what that limit is.  Guess that you exceeded that number.  I can edit, but don't normally edit other's post.  If you reply with your permission for me to do so, I'll delete that section with a note it was done at your request.

SteveG


   
ReplyQuote
RBGCNC
(@rbgcnc)
Member
Joined: 4 years ago
Posts: 8
Topic starter  

I give you permission to make the edits as outlined above.  Thank you for all of your help.

 

Rob


   
ReplyQuote
codecage
(@codecage)
Member Admin
Joined: 5 years ago
Posts: 1037
 

@rbgcnc

 

Looks like it worked!

SteveG


   
ReplyQuote
RBGCNC
(@rbgcnc)
Member
Joined: 4 years ago
Posts: 8
Topic starter  

Thank you again for all of your help with this issue, it is very much appreciated.  😀 


   
ReplyQuote