Implementing BRS AWD Kit into RatOS

Hi All, I'm trying to go about the best way to implement the BRS AWD kit into RatOS printer.cfg. Hardware: VC3.1 500mm + Enclosure 2.0 VZ Hextrudort (LDO 10T LDO-36STH20-1004AHG) VZ Goliath Hotend (PT1000) BTT Octopus Pro H723 V1.1 BTT TMC5160T Pro Drivers for X, X1, Y, Y1 48V Meanwell 48v PSU BTT TMC2209 Z, Z1, Z2 24V Meanwell 24v PSU (7) LDO 42STH48-2504AC Would it be worth creating my own steppers config and linking it to simplify the cfg file or would it be better to dump the 4 steppers under "User Overrides" Would anyone be able to point me in the direction of 5160T Pro configuration? AFTER DIGGING AROUND OS.RATRIG.COM I FOUND THE ADVANCED STEPPER CONFIGURATION WHICH HAS POINTED ME IN THE RIGHT DIRECTION It's been awhile since I've worked in Klipper and RatOS has made everything a breeze. Attached is my current printer.cfg Update: I'm having trouble adding two stepper drivers / motors for X1 and Y1.
71 Replies
R34Pr
R34PrOP13mo ago
Updated printer.cfg I think I'm pretty squared away minus adding the two extra stepper motors X1 (4th slot / DRIVER3) and Y1 (5th slot / DRIVER4).
R34Pr
R34PrOP13mo ago
Updated printer.cfg
R34Pr
R34PrOP13mo ago
@miklschmidt I know you're a super busy man but when you get a moment would you mind helping a noob out please?
miklschmidt
miklschmidt13mo ago
Wiithout looking at the BRS stuff: Literally all it takes to configure awd is to add stepper_y1 and stepper_x1 and associated driver sections. Nothing more. There's no reason to modify anything, just add them in user overrides and you're done.
R34Pr
R34PrOP13mo ago
thats basically what im trying to do at this point
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
would you mind taking a look at my printer.cfg and let me know where I'm messing up? @miklschmidt
miklschmidt
miklschmidt13mo ago
No description
miklschmidt
miklschmidt13mo ago
And define your [stepper_x1] and [stepper_y1] sections, you've only defined the drivers.
miklschmidt
miklschmidt13mo ago
No description
R34Pr
R34PrOP13mo ago
R34Pr
R34PrOP13mo ago
didnt even see your response, sorry to drop that again!
miklschmidt
miklschmidt13mo ago
your stepper_x1 and y1 sections are missing step_pin and enable_pin
R34Pr
R34PrOP13mo ago
adding them in now
miklschmidt
miklschmidt13mo ago
You should also set microstepping to the same value as your x and y (RatOS default 64)
R34Pr
R34PrOP13mo ago
i was about to ask about microstepping bc i just got that error
R34Pr
R34PrOP13mo ago
@miklschmidt i will make sure to remember this for next time
No description
miklschmidt
miklschmidt13mo ago
this looks good. Is it working?
R34Pr
R34PrOP13mo ago
No description
miklschmidt
miklschmidt13mo ago
yeah delete your board alias pin override section if you still have that one
R34Pr
R34PrOP13mo ago
i did wait
miklschmidt
miklschmidt13mo ago
Check if you've used x1_step_pin anywhere
R34Pr
R34PrOP13mo ago
thats weird, had two browsers opened and it didnt take the delete from the alias pins it works now thank you sir
miklschmidt
miklschmidt13mo ago
excellent 👍
R34Pr
R34PrOP13mo ago
last question: BRS recommends adding this macro, but im having issues with it #[gcode_macro enable_stepper] #gcode: #SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1 #SET_STEPPER_ENABLE STEPPER=stepper_x1 ENABLE=1 #SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1 #SET_STEPPER_ENABLE STEPPER=stepper_y1 ENABLE=1 when i uncomment it
R34Pr
R34PrOP13mo ago
No description
miklschmidt
miklschmidt13mo ago
If i had to guess i'd assume he uses it for syncing the pulleys It's a one time thing, and i'm not sure why you'd need a macro for that when M84 does the same thing. Ah, except M84 is the opposite
R34Pr
R34PrOP13mo ago
No description
miklschmidt
miklschmidt13mo ago
Yep The reason you're getting this is because you deleted the indentation
R34Pr
R34PrOP13mo ago
literally just double checked that and got it
miklschmidt
miklschmidt13mo ago
Everything under gcode should be indented as it's a value for gcode:. Without the indentation it's parsed as parameters.
R34Pr
R34PrOP13mo ago
ahh got it so should i just put that in my slicer for good measure?
miklschmidt
miklschmidt13mo ago
No, you use that macro once for set up All it's for is synchronizing the pulleys You loosen the pulleys on the AWD motors, run the macro, tighten the pulleys down, and you're done. Vez has a video on this i believe
R34Pr
R34PrOP13mo ago
gotcha okay perfect. im gonna go do that now and then home the machine. thanks for the help! @miklschmidt should probs run stepper buzz to verify direction too before just willy nilly sending it
R34Pr
R34PrOP13mo ago
Apparently I'm a bone head and can't pick the proper pins for these two motors
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
Latest error didn't pop up until I turned my printer on. I was able to fix it though. PA0 was used for the heater so I changed to PA2 in per pin out change notice. Then I got an error about the x1_uart_pin or something like that for the cs_pin I changed that to PF2 for x1 and PC7 for y1 in the cs_pin section under tmc5160 stepper x1/y1 I hope I have everything wired correctly. @miklschmidt
No description
No description
No description
R34Pr
R34PrOP13mo ago
Y1 motor is enabled but the rest can spin freely.
miklschmidt
miklschmidt13mo ago
Is that the Pro H723 v1.0 or v1.1 ?
R34Pr
R34PrOP13mo ago
Pro H723 V1.1 Once powered down, the enabled motor spins freely like the rest.
R34Pr
R34PrOP13mo ago
Wiring on the motor side
No description
miklschmidt
miklschmidt13mo ago
Not sure i follow, it can't be enabled if it's powered down.
R34Pr
R34PrOP13mo ago
when i power the printer on, only the front left is locked / enabled but the other 3 motors freely spin. i thought motors are only enabled once the motor gets homed first
miklschmidt
miklschmidt13mo ago
That is correct. Your enable pins are missing a !
R34Pr
R34PrOP13mo ago
got it thanks! @miklschmidt I must have the wrong pins bc it’s still enabled after putting a ❕
miklschmidt
miklschmidt13mo ago
Maybe yours is the 1.0 and not the 1.1?
R34Pr
R34PrOP13mo ago
ill double check the box. do you know if theres a way to verify on the mobo itself by chance? I’m going to double check I put it in SPI too
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
I’m hoping the label got cut off or else they know how to fuck with someone lol
No description
R34Pr
R34PrOP13mo ago
Did a power cycle and power cycled the Pi. Everything works as it should now and all pulleys are freely spinning.
miklschmidt
miklschmidt13mo ago
Oh good! .. Was about to get real strange 😂
R34Pr
R34PrOP13mo ago
NOT TODAY CHINA, NOT TODAY. So stuck on getting it to home properly. X = ! X1 = ! Y= ! Y1= ! The machine will home X properly When homing Y, it’ll move forward instead on backwards. Everything else and it seems to stutter.
miklschmidt
miklschmidt13mo ago
Obligatory voron graphic
No description
miklschmidt
miklschmidt13mo ago
(you need to swap cables on X/Y) I assume the BRS mod switches which side drives which belt (this is the only thing that makes sense for AWD)
R34Pr
R34PrOP13mo ago
Yes, the original upper belt becomes the lower belt and vice versa. back right and front left is upper back left / front right is lower. It should home left for X and backwards for Y through correct? Idk why my brain is running at like Intel Pentium levels with this lol.
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
Okay yeah idk what’s going on. I unplugged the two new steppers to try to get it to home with only X & Y. I can’t get it to home properly. X & Y = X ➡️ Y ⬆️ !X & Y = X ⬆️ Y ➡️ X & !Y = X ⬇️ Y ⬅️ !X & !Y = X ⬅️ Y ⬇️ Before the AWD conversion, !X & !Y homed the machine properly. @brsengineeringflorentbroise_3873
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
So you're saying I need to swap Left & Right cables @miklschmidt Y homing positive direction shouldn't need to get touched right? maybe i should swap the 5160's back to 2209's for X and Y to use the default homing config and double check that
R34Pr
R34PrOP13mo ago
Instead of looking at it like X + X1 and Y + Y1 in an X pattern would it be better to look at it like L + L1 & R + R1 as Left and Right
correct-apricot
correct-apricot13mo ago
You have for dir_pin on rows 197-220 in your config: !X and X1, !Y and !Y1. Not sure about your wiring but doesn't look quite right to me. As per the BRS manual those should be: "X and Y don’t feature a “!” in the DIR_PIN section X1 and Y1 need a “!” in the DIR_PIN section"
R34Pr
R34PrOP13mo ago
Swapped L & R cables and it homes X + Y properly. I’m going to update the names in the config so that it reflects properly. Solved by swapping both Left + Right cables as well as swapping X1 + Y1 cables. Everything homes correctly. New error to figure out.
R34Pr
R34PrOP13mo ago
No description
R34Pr
R34PrOP13mo ago
All the Z steppers are using 2209s w/ mobo voltage / 24v and not the 48v. Hmm…
No description
miklschmidt
miklschmidt13mo ago
This is probably a wiring issue, recrimp that cable (The openload error is what’s making me say that)
R34Pr
R34PrOP13mo ago
Very coincidental but it’s running the same Z configs and everything else is unchanged. I thought maybe the hear from the 48v next to it. I’ll crimp new pins and toss the printed case w/ fans on it. THANK YOU FOR ALL YOUR HELP @miklschmidt Everything has been fine with Z axiis after logging a lot of hours before the AWD swap but since I was in the area maybe some wire movement caused the pins to be less than perfect Im assuming stepper_z2 is the very top connector? I can run Stepper Buzz to verify though
miklschmidt
miklschmidt13mo ago
Bingo! No problem buddy, hope you got it working 👍
Want results from more Discord servers?
Add your server