Comments (3)
Update... I found this in the v3.0.0 release text:
The Diag pins on the X and Y axis TMC stepper drivers have been connected to the X and Y limit switch pins. All axis have the support for sensorless homing using a configuration jumper on the back side of the board
I cut the jumper and soldered it to the limit side, and plugged in the limit switches. It now acts like it has already arrived at home when it receives the "G28" command.
My assumption was then that the "senseless homing" was baked into the firmware and it would take more then just a jumper change. I found this section in the v2.1.2 release of marlin:
#define SENSORLESS_HOMING // StallGuard capable drivers only
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
// TMC2209: 0...255. TMC2130: -64...63
#define X_STALL_SENSITIVITY 60
#define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
#define Y_STALL_SENSITIVITY 50
#define Y2_STALL_SENSITIVITY Y_STALL_SENSITIVITY
I commented all this out to disable sensorless homing, then followed the instructions here
The device now jumps 6 inches as once and slams into the side when the "G28" command is sent.
Does anyone know the proper way to get this to use traditional limit switches? It really feels like this sensorless homing idea is not ready for primetime...
from lumenpnp.
Figured it out...
This is my first adventure in the the world of Marlin. This code located in configuration.h:
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
X and Y are not inverted for some reason, so if you use similar endstops to the z axis, it will think it is constantly triggered. If you change this to true for x and y as well as commenting out all the sensorless homing stuff and clipping the jumper on the bottom of the board, the limit switches will work again.
I looked at the schematic and it looks like both Y1 and Y2 are being driven by the same drivers. I can't imagine how the stall-guard performs properly when it has two motors stalling at the same time on the same driver (or possibility at different times due to the gantry not being square.) I honestly didn't know the drivers could drive two motors in parallel. The PWM current waveform they use must go all over the place trying to balance both loads.
If anyone has a similar issue and wants to avoid the sad sound of motors stalling follow the linked instructions and edit the code!
from lumenpnp.
thanks for documenting this @caspersauce! there's a new cut of firmware that greatly improves sensorless for v3 machines as well (pull from the latest release).
from lumenpnp.
Related Issues (20)
- SMT connectors are weakly mounted HOT 1
- Thermal pads on motor drivers have thermal reliefs
- Remove I2C MUX and use 2nd I2C Port for Vacuum Sensors HOT 2
- Use USB specific ESD protection package HOT 5
- Include board ID on rev5 mobo HOT 6
- Add reverse-current protection to supplies (mobo) HOT 3
- Where is 3d assembly design files ? HOT 4
- Is proteus vsm based pcb supported in lumenpnp? HOT 2
- machine,xml error
- Front leg idler mount - Screw does not sufficiently reach nylon section of the lock nut
- JST SMD Vertical connector does not fit top camera mount
- Starting BYOP build, which release should I print? HOT 1
- Error while reading machine.xml in new configuration v3.2-01 HOT 8
- Rotation Stepper Runaway Heat HOT 7
- Check for Inductor Whine
- Ringlight U1 (SN74AHCT1G32), wrong JLCPCB part number HOT 1
- reduce noise by replacing large decoupling capacitor footprints with smaller ones
- Please send be DIY build guide doc link if possible. HOT 3
- Pneumatics plumbing inconsistencies HOT 8
- Protection on the sensor inputs to the micro
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 lumenpnp.