Prepare for Surgery!
-
@corlissmedia I could certainly need one.
-
Alright, I did look at the source code for the Dlion firmware and it predates any UART control. So I guess you will need to measure the reference voltage on the stepper drivers to find out what the used current is.
-
@oliof because?
-
@corlissmedia because the software doesn't govern the current but the little potentiometer setting the reference voltage. As was the case with older)simpler boards where UART control was not available.
-
@oliof I’d love to do that, but I have no idea how.
-
@corlissmedia
This is how far I got today.
-
@corlissmedia you will need to power up the old board -- nothing needs to be connected -- and then measure the voltage between ground and the potentiometer. See this guide https://www.inov3d.net/stepper-calibration-tune-your-vref-steps-for-perfect-prints/
depending on the stepper drivers used on the board, there is a specific formula to compute the current that's put out. If you provide a high res photo of the front of the control board we might be able to discern that.
-
@oliof since my recent post was locked, I’ll work on this today. Thank you for helping me.
Mark
-
Does this help?
-
Can you carefully try pulling off the heatsink off of one of the drivers? it would help to see the markings on top of the driver chip. I do expect them to be Allegro 498x chips, but it's always better to know than to guess.
-
@mac To measure the vref (reference voltage) measure the voltage between the potentiometer (circled) and the Ground side of the power input (square), with the power connected.
They look like 'Stepstick' drivers. What current the 'vref' relates to will depend on the values of other components, specifically the sense resistors (which are under the heatsink). See https://www.reprap.org/wiki/StepStick
Usually, ITripMAX (effectively max motor current) = VREF / ( 8 x Sense_resistor)
Ian
-
I checked the X, Y, and Z motor connectors this morning to see if the phases were split/installed correctly. As far as I can tell, they were.
-
@mac Need to see under the heatsink that's stuck to the top of the driver. BTW, the layout of the driver looks exactly like a Stepstick. The sense resistors are the two components poking out the side of the heatsink. They are labelled S1 and S2.
Ian
-
@droftarts what does all this mean, guys?
-
@mac pull the heatsink off the driver. It's just held on with some thermally-conductive glue. Also doesn't really help cool the chip underneath; the A4988 chips sink heat through their base, into the copper of the PCB, not through the top of the chip!
Edit: Then look at what number is on the top of the sense resistors, and report back what it is (or post a picture where we can see the numbers). And measure the vref with a voltmeter.
Ian
-
@droftarts okay, off it comes. Picture me to follow.
-
@mac
There you go!
-
@droftarts please tell me how to measure the vref.
-
@mac Interesting! The stepstick uses the values that I came up with about 10 years ago, which limits the current to 1.5A max: https://www.reprap.org/wiki/StepStick#Building_stepsticks_with_a_1.5A_limit
The sense resistors (S1 and S2) are 0.1 ohm, so to calculate amps from measured VREF:
A = VREF / 0.8@mac said in Prepare for Surgery!:
please tell me how to measure the vref
I did, a few posts back up https://forum.duet3d.com/post/286301
Ian
-
@droftarts did you design the sanguinololu?