Comments (4)
Hi @jvojvodi,
- Spindle direction: show angle on screen using top-right button. Rotate the chuck forward manually - angle should increase. If it decreases, swap encoder signal wires in the terminal.
- Motor direction: try LEFT and RIGHT buttons - if motor is moving in the wrong direction, change SW5 DIP switch position
- Looks like your version of driver CL57T V3.0 doesn't allow setting 200 steps resolution via DIP switches according to https://www.omc-stepperonline.com/download/CL57T.pdf so you'd either have to buy a V4.0 version of this driver or figure out if it's possible to use software to configure 200 steps - https://www.omc-stepperonline.com/closed-loop-stepper-driver-0-8-0a-24-48vdc-for-nema-17-23-24-stepper-motor-cl57t - NanoELS H2 can work with 800 steps but you will be limited in terms of motor speed you can achieve.
- Is your encoder directly connected to spindle 1:1? In this case line 6 in h2.ino already uses
#define ENCODER_STEPS 600.0
and doesn't need to be changed. - Line 7 says
#define MOTOR_STEPS 200.0
- if you end up using 800 steps, change that to#define MOTOR_STEPS 800.0
- Line 8 says
#define LEAD_SCREW_DU 20000.0
- your leadscrew pitch is 2.5mm so change it to#define LEAD_SCREW_DU 25000.0
from nanoels.
Yes, now I understand where my problem is.
The encoder is in a ratio of 2:1 (48 teeth shaft : 24 teeth encoder). does that mean line 6 in h2 should be 300?
I will try with DIP 800, if it doesn't work, substitute for V4.0
In any case, I am very grateful for the reply
Greeting
from nanoels.
The encoder is in a ratio of 2:1 (48 teeth shaft : 24 teeth encoder). does that mean line 6 in h2 should be 300?
For one turn of the shaft you'd have 2x impulses generated so use #define ENCODER_STEPS 1200.0
. You can then enable displaying of angle on screen and check than turning the spindle by hand 1 turn results in angle changing by 360 degrees to it's start value.
Good luck!
from nanoels.
Tx
from nanoels.
Related Issues (20)
- NanoELS - try first HOT 4
- Linear scales, DRO HOT 13
- Slotting mode idea HOT 2
- Encoder atomic operation improvement, Request for comments HOT 5
- Fitting to WM180 HOT 6
- [Feature Request] Support thread cutting in Gcode
- Gcode tool with not accounted for HOT 7
- Speed display HOT 2
- Facing and Cut-off issues HOT 2
- some doubts regarding the project HOT 8
- RPM gets stuck sometimes HOT 8
- Carriage stops moving HOT 5
- error: too many arguments to function 'hw_timer_t* HOT 4
- SVG of panel layout
- Word of caution for older mini-lathes HOT 1
- PCB: text is partially obscured by screw terminals HOT 3
- readme: typo HOT 1
- AIN device connected to A6 and A7 pins HOT 2
- 可以用esp32来制作吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanoels.