Gallery, Projects and General > Project Logs |
X2 X-axis Stepper motor Power Feed - (possible CNC conversion?) |
<< < (14/19) > >> |
raynerd:
Getting there... the oldham coupling is now in place and motor fully mounted. I`m just waiting for a driver and then I can have a trial. Mean while I`ll keep updating the code... |
raynerd:
Not been touched since Jan 29th !!! Well....I just got around to having a code that works to an extent. It needs lots of tidying but it works!! Cheers Kwackers for the help!!! :headbang: :ddb: :ddb: Next job is to tidy the code and then build it on its own circuit. |
spuddevans:
Well done Chris :ddb: :ddb: :ddb: :clap: :clap: :clap: Tim |
raynerd:
Finally finished it! :headbang: Very pleased with it. There is a lot that could be improved but it will stay as it is certainly for a few months while I get on with other things. Basic functions & instructions for use: Central Green LED - flashes to show controller in ON Left Blue LED - lights when motor is moving Right Red LED - Lights when in memory mode when we can move beyond limits and programme them Button Left-Green = Table moves left Button Right-Green = Table move right Press Red-Stop = Table Stops Press Speed = speed scrolls between 0-9 (preset at 5 on PIC startup) Limits are preset at startup to +10,000 and -10,000 steps, To Set Limits: Hold both Black buttons, RightLimitSet and LeftLimitSet together and release (the ones next to each green button) - controller goes into memory mode. In memory mode movement is not restricted by limits. At any current table positon, either, left memory or right,memory button alone can be pressed to set the associated limit. Moving between limits:: Hold LeftGreen AND LeftMemory and release - table moves to the left, hits the left limit and moves between the limits continuously. Hold RightGreen and RightMemory and release - table moves to the right, hits the right limits and moves between the limits continuously. |
Bluechip:
Hi Chris No-one seems to have replied yet.. not very polite of 'em. No matter ... I'm impressed :bow: Been faffing with PICs for some months now, with MPASM.. Keep writing code that works, then find some code examples on the web to do exactly the same thing, but with about 1/10th of the instructions. :doh: Seem to recall you did this with a C compiler. Which did you use ?. Need to get a grip of C I think. BTW. What thickness of steel will the LED cut ?? :lol: Not a blue one is it? I've got some that chuck out no end of light, even at 10 mA. Especially if you look directly at them. Had to shut them down to < 3mA ... even then too bright axially .. Dave BC |
Navigation |
Message Index |
Next page |
Previous page |