Git Product home page Git Product logo

Comments (10)

bdring avatar bdring commented on June 3, 2024

I don't know. Are the currently set the same for all drivers?

TMC5160 has given us a lot of problems.

https://github.com/bdring/Grbl_Esp32/wiki/Trinamic-TMC5160-Issues

from 6-pack_cnc_controller.

sixtwoeight avatar sixtwoeight commented on June 3, 2024

all three are bigtreetech tmc-5160 silentstepstick.
to see if it's the drivers i switched them around and still the same issue... the second socket runs 5-12 degrees (according to my ir thermometer) hotter. the jumpers all set to spi, and 5160 (over default) and 3.3v (over 5v). i will note that the last time i fiddled with the machine definition file i just noticed that when i compare it to the example on github that i left out

#ifdef N_AXIS
#undef N_AXIS
#endif

and the #define MACHINE_NAME did not match the name of the file... both of which i'm correcting now and will reflash.. i'm new at this and maybe been fiddling around to much.. but it doesn't inherently seem like something that would cause this issue...

as a side note i did just realise that my power source 24v 14.6 amps... that would fit the observations suggesting wierd behavior due to psu.... i will continue to reflash with the changes i made to the machine definition and see if the heating issues resolves itself. will also include the definition here in case u notice something that stands out. will report back

#pragma once
// clang-format off

/*
6_pack_trinamic_V1.h
Part of Grbl_ESP32
Pin assignments for the ESP32 SPI 6-axis board

2021-03-07 B. Dring for Clinton R.
Grbl_ESP32 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Grbl_ESP32.  If not, see <http://www.gnu.org/licenses/>.

*/
#define MACHINE_NAME "5160_v2.h"

#ifdef N_AXIS
#undef N_AXIS
#endif
#define N_AXIS 3

// I2S (steppers & other output-only pins)
#define USE_I2S_OUT
#define USE_I2S_STEPS
//#define DEFAULT_STEPPER ST_I2S_STATIC

#define I2S_OUT_BCK GPIO_NUM_22
#define I2S_OUT_WS GPIO_NUM_17
#define I2S_OUT_DATA GPIO_NUM_21

#define TRINAMIC_RUN_MODE Motors::TrinamicMode::CoolStep
#define TRINAMIC_HOMING_MODE Motors::TrinamicMode::CoolStep

// Motor Socket #1
#define X_TRINAMIC_DRIVER 5160
#define X_DISABLE_PIN I2SO(0)
#define X_DIRECTION_PIN I2SO(1)
#define X_STEP_PIN I2SO(2)
#define X_CS_PIN I2SO(3)
#define X_RSENSE TMC5160_RSENSE_DEFAULT

// Motor Socket #2
#define Y_TRINAMIC_DRIVER 5160
#define Y_DIRECTION_PIN I2SO(4)
#define Y_STEP_PIN I2SO(5)
#define Y_DISABLE_PIN I2SO(7)
#define Y_CS_PIN I2SO(6)
#define Y_RSENSE TMC5160_RSENSE_DEFAULT

// Motor Socket #3
#define Z_TRINAMIC_DRIVER 5160
#define Z_DISABLE_PIN I2SO(8)
#define Z_DIRECTION_PIN I2SO(9)
#define Z_STEP_PIN I2SO(10)
#define Z_CS_PIN I2SO(11)
#define Z_RSENSE TMC5160_RSENSE_DEFAULT

//4x Input in Socket #1

#define X_LIMIT_PIN GPIO_NUM_33 //NC
#define Y_LIMIT_PIN GPIO_NUM_32 //NC
#define Z_LIMIT_PIN GPIO_NUM_35 //NC
#define PROBE_PIN GPIO_NUM_34 //NO

#define DEFAULT_INVERT_LIMIT_PINS 1
#define DEFAULT_INVERT_PROBE_PIN 0

// 4x Switch Input module in socket #2

//GPIO PIN 2 left unconnected for boot loader
#ifdef INVERT_CONTROL_PIN_MASK

undef INVERT_CONTROL_PIN_MASK

#endif
#define INVERT_CONTROL_PIN_MASK B0000

#define CONTROL_FEED_HOLD_PIN GPIO_NUM_25
#define CONTROL_CYCLE_START_PIN GPIO_NUM_39
#define CONTROL_RESET_PIN GPIO_NUM_36

// === Default settings
#define DEFAULT_STEP_PULSE_MICROSECONDS I2S_OUT_USEC_PER_PULSE

from 6-pack_cnc_controller.

sixtwoeight avatar sixtwoeight commented on June 3, 2024

might you have a recommendation for psu's. maybe one that has worked for you? driving three 2.8amp steppers with tmc5160 drivers.... following the guide on wetterott guide for picking a power supply (https://learn.watterott.com/silentstepstick/faq/#how-to-set-the-stepper-motor-current) just curious is u have any recommendations.

from 6-pack_cnc_controller.

bdring avatar bdring commented on June 3, 2024

I use a 24V 16A power supply. I don't see the problem, but I know there are people with 80A power supplies that do have the problem.

We really don't know why some people have problems and some do not.

Some people have suggested these protectors might work, but I have not heard about and test results.

https://www.amazon.com/Protector-Stepper-Plug-Type-Printer-TMC2130/dp/B08BYLY158

from 6-pack_cnc_controller.

sixtwoeight avatar sixtwoeight commented on June 3, 2024

so i got the motors moving and everything working ... you were right changing the psu did the trick.... (thanks to meanwell)... HOWEVER now that their moving they are ironically LOUDER than they've ever been before, i've tried both CoolStep and StealthChop modes with both waterott and bigtreetech drivers and still the same thing. i feel like there's something very simple in the grbl settings i'm missing... changing the step pulse does effect the sound that it makes, but not the volume of the sound... and i've tried literally every number from 10 -100. any suggestions...

because my steppers are 2.8 amps i'm thinking of trying the bigtreetech external 2160s 9https://usa.banggood.com/BIGTREETECH-TMC2160-High-Power-Ultra-Quite-Stepper-Driver-Compatible-3D-Printer-Parts-TMC5160-Motion-Control-p-1693831.html?utm_source=googleshopping&utm_medium=cpc_organic&gmcCountry=US&utm_content=minha&utm_campaign=minha-usg-pc&currency=USD&cur_warehouse=CN&createTmp=1&utm_source=googleshopping&utm_medium=cpc_bgcs&utm_content=frank&utm_campaign=frank-ssc-usg-all-newcustom-ncv90-0420-19cov&ad_id=432153545270&gclid=CjwKCAjwnPOEBhA0EiwA609Ree1PA3keX1UHNfwEz_ACj8rhTvFDg40MSK1ElpzW7C_CHXhsdLC4UxoC6j4QAvD_BwE) tho that might be overkill rofl

from 6-pack_cnc_controller.

bdring avatar bdring commented on June 3, 2024

What is the current setting for the 2 motors? The TMC2160s tend to be louder at faster speeds. Are they quiet with slow moves.

I have no experience with TMCxxxx external drivers.

from 6-pack_cnc_controller.

sixtwoeight avatar sixtwoeight commented on June 3, 2024

from 6-pack_cnc_controller.

bdring avatar bdring commented on June 3, 2024

These settings.

https://github.com/bdring/Grbl_Esp32/wiki/Settings#xcurrentrun-or-ccurrentrun-140-thru-145--xyzabc--stepper-run-current-extended-settings

from 6-pack_cnc_controller.

sixtwoeight avatar sixtwoeight commented on June 3, 2024

from 6-pack_cnc_controller.

sixtwoeight avatar sixtwoeight commented on June 3, 2024

from 6-pack_cnc_controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.