Provok 3D Nozzle ADXL

I was trying to set up my nozzle ADXL that I had just got, and I put it on my printer and tried to run the built in input shaper macro in RATOS 2.1.0 but i continued to get an error about an unknown probe. Does anyone know how to modify the macro / fix this error? The error was "Invalid adxl345 id (got ff vs e5)."
Solution:
You need to name the adxl345, and you need to reference that name in your resonance_tester configuration. You also need to specify accel_chip_x and accel_chip_y and not accel_chip
Jump to solution
200 Replies
TheTik
TheTik•3d ago
That error almost always means it is miswired. Triple check the order of the wires and all the connections
Qui1zy
Qui1zyOP•3d ago
I am using a USB adxl
TheTik
TheTik•3d ago
Then the configuration is likely wrong. Share your ratos.cfg and printer.cfg 🙂
TheTik
TheTik•3d ago
I'm still inexperienced with the 2.1 ratos.cfg. Just to confirm you haven't edited the ratos.cfg right?
Qui1zy
Qui1zyOP•3d ago
i have not edited it
TheTik
TheTik•3d ago
And youy re-ran the configurator to add the adxl?
Qui1zy
Qui1zyOP•3d ago
uhhhhhh no
TheTik
TheTik•3d ago
software-wise, what did you do to add it then?
Qui1zy
Qui1zyOP•3d ago
nothing
TheTik
TheTik•3d ago
i would re-run the configurator
Qui1zy
Qui1zyOP•3d ago
doing it now would I click wired to host computer? if I have it pluged into the pi?
TheTik
TheTik•3d ago
yeah. Host computer is the raspi, mcu/mainboard is the octopus
Qui1zy
Qui1zyOP•3d ago
ok im going to go test it now I got the same error
Qui1zy
Qui1zyOP•3d ago
No description
TheTik
TheTik•3d ago
Interesting. I hope it doesn't indicate the adxl itself is bad :/
Qui1zy
Qui1zyOP•3d ago
When I plug it in the light turns on so I think it might be something with the config not being meant for USB adxls not sure how to fix it though
TheTik
TheTik•3d ago
the led could just be indicating power is to the board Oh, does the configurator not distinguish between usb and not usb?
Qui1zy
Qui1zyOP•3d ago
it does not
Qui1zy
Qui1zyOP•3d ago
No description
TheTik
TheTik•3d ago
That strikes me as odd. Tagging in @blacksmithforlife This isn't a common thing to do, I think most are either using the accelerometers on a controlboard like the EBB42, or the one in the beacon. Not a completely separate usb adxl so it might not be configurator-able. In which case you'll need to set it up manually. Did your device come with any instructions?
Qui1zy
Qui1zyOP•3d ago
It did not come with any instructions I can send the link do the ADXL if you would like
TheTik
TheTik•3d ago
nah, I'd just start googling how to set up a USB adxl in klipper. Ratos is just klipper with some extras on top. So any setup instructions for klipper should work fine.
Qui1zy
Qui1zyOP•3d ago
ok
blacksmithforlife
blacksmithforlife•3d ago
from my understanding you need to first flash the board that has the ADXL on it. If it isn't supported by klipper you are out of luck. Second is you have to specify the ADXL you want to use otherwise it will default to the main MCU one (which isn't connected in this case and is why you are getting a bad reading)
Qui1zy
Qui1zyOP•3d ago
I was just following a tutorial, and I added the config file for the ADXL and I got this error.
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
The board supposedly comes preflashed I can try flashing it again though Do I flash it while it is plugged into the printer? because the documentation doesnt specifiy. https://docs.provok3d.com/nozzle-adxl-v13/#2-klipper-config Also it says plug into SBC but I dont know what that is
TheTik
TheTik•3d ago
Single Board Computer, the raspi
Qui1zy
Qui1zyOP•3d ago
Ok so do I just run those two commands once I ssh into the rasbery pi?
TheTik
TheTik•3d ago
yeah
Qui1zy
Qui1zyOP•3d ago
Ok
TheTik
TheTik•3d ago
You'll still need to add the lines spelled out in the cfg on that page
Qui1zy
Qui1zyOP•3d ago
ok ok and I made a accelerometer.cfg script with this in it
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
and then I do this right?
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
Because that is what it said in the video that I was watching on how to setup a USB adxl.
TheTik
TheTik•3d ago
Seems right, id give it a shot
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
Now I got this error At least we are making progress though its a different error from before I am also going to assume that this will also happen for "shaper_type_y"
TheTik
TheTik•3d ago
I'd assume so yeah
Qui1zy
Qui1zyOP•3d ago
Any suggestions on how to fix?
TheTik
TheTik•3d ago
share your updated printer.cfg now?
Qui1zy
Qui1zyOP•3d ago
Qui1zy
Qui1zyOP•3d ago
This is the only thing I changed.
TheTik
TheTik•3d ago
your [input_shaper] is commented out, but the lines below it are uncommented. Put a # back in from of each of those shaper bits and try again
Qui1zy
Qui1zyOP•3d ago
ok
TheTik
TheTik•3d ago
that error message is saying the section "gcode_macro RatOS" shouldn't have stuff about shaper_type_x. Notice that thats the last valid section header
Qui1zy
Qui1zyOP•3d ago
Im back to this now
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
If I comment out all of those lines than I dont get an error
TheTik
TheTik•3d ago
Perfect, can you run the test now?
Qui1zy
Qui1zyOP•3d ago
it doesnt work I think I may have to flash the firmware again i think i need to put the adxl into boot mode
TheTik
TheTik•3d ago
You've got some things to try and levers to pull, i'm sure you'll get it soon. I gotta run for now but good luck 🙂
Qui1zy
Qui1zyOP•3d ago
I tried re-flashing the firmware and messing around with the config, and it still doesn't work. Do you think it is worth it to just get a non usb adxl? and just mount it to the toolhead?
blacksmithforlife
blacksmithforlife•3d ago
What's the name of the board you bought? Maybe it is already supported by Ratos
Qui1zy
Qui1zyOP•3d ago
Provok3D Nozzle ADXL
Qui1zy
Qui1zyOP•3d ago
Provok3d
Provok3d Nozzle Adxl
Hard mounting a adxl directly onto the surface of the test object provides a more accurate, sensitive, and stable measurement compared to plastic mounting.
blacksmithforlife
blacksmithforlife•3d ago
ok, and does it show up in the configurator for flashing?
Qui1zy
Qui1zyOP•3d ago
in the RATOS configurator?
blacksmithforlife
blacksmithforlife•3d ago
yes
Qui1zy
Qui1zyOP•3d ago
wdym does it show up
blacksmithforlife
blacksmithforlife•3d ago
I am not convinced the board is flashed with klipper firmware. We need to make sure that is correct before moving on The configurator makes it easy to flash boards if it is supported
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
this is what shows up
blacksmithforlife
blacksmithforlife•3d ago
that is for after you have flashed the board
Qui1zy
Qui1zyOP•3d ago
I flashed the board with the instructions from provok3d it says it uses Ampon
blacksmithforlife
blacksmithforlife•3d ago
and does klipper understand that?
Qui1zy
Qui1zyOP•3d ago
I would assume so
blacksmithforlife
blacksmithforlife•3d ago
why would you assume so?
Qui1zy
Qui1zyOP•3d ago
Because in the pictures on the product page is shows it on a voron It also says it on the github
Qui1zy
Qui1zyOP•3d ago
No description
Solution
miklschmidt
miklschmidt•3d ago
You need to name the adxl345, and you need to reference that name in your resonance_tester configuration. You also need to specify accel_chip_x and accel_chip_y and not accel_chip
miklschmidt
miklschmidt•3d ago
ie
[adxl345 usbaccel]
...
[resonance_tester]
accel_chip_x: adxl345 usbaccel
accel_chip_y: adxl345 usbaccel
[adxl345 usbaccel]
...
[resonance_tester]
accel_chip_x: adxl345 usbaccel
accel_chip_y: adxl345 usbaccel
If you search for my name and usbadxl you'll find me repeating this quite a bit 😂
Qui1zy
Qui1zyOP•3d ago
Can you explain what config this would go into?
TheTik
TheTik•3d ago
always into the printer.cfg, don't edit other files.
miklschmidt
miklschmidt•3d ago
As @TheTik said, you never ever modify anything other than printer.cfg or any files you may have added yourself. Well moonraker.conf if you wanna do stuff to moonraker, but that's it 😄
Qui1zy
Qui1zyOP•3d ago
Do I still add [include nozzle-adxl-v13.cfg] to printer.cfg?
Qui1zy
Qui1zyOP•3d ago
No description
miklschmidt
miklschmidt•3d ago
Depends if the config is all borked yeah this needs the changes i listed You can still keep it in that file and include it instead of putting it directly in printer.cfg (that's effectively what the [include ...] section is doing)
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
so would this be right?
miklschmidt
miklschmidt•3d ago
remove probe_points
Qui1zy
Qui1zyOP•3d ago
Ok And then will the built in macro in Ratos work?
miklschmidt
miklschmidt•3d ago
Yep 🙂
Qui1zy
Qui1zyOP•3d ago
Thanks, I'm going to try it now!
Qui1zy
Qui1zyOP•3d ago
One last question, once it gives me the recommended input shaper, how do put that into the printer? like where do i add it in the config.
TheTik
TheTik•3d ago
I thought it puts them in the Save_config section automatically. Once it is done, see if it shows up there
Qui1zy
Qui1zyOP•3d ago
where is the save_config section?
TheTik
TheTik•3d ago
Its the last part of my printer.cfg but I'm stil on 2.0. That might have been changed. Your printer.cfg has a line about this though:
You can run SHAPER_CALIBRATE to automatically calibrate your input shaper configuration, if you just want to get started.
so run that command, let it finish, do whatever it says (might be something like SAVE_CONFIG and restart)
Qui1zy
Qui1zyOP•3d ago
Ok, Thanks! Just realized I only ran the macro the generate graphs.
miklschmidt
miklschmidt•3d ago
that's fine, that's usually prefered so you can put in MZV instead of ZV (which is shit).
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
Is this fine though?
miklschmidt
miklschmidt•3d ago
You'd do that like so: [input_shaper] No you should definitely run the belt tension macro and tune your belts, those are all out of whack
Qui1zy
Qui1zyOP•3d ago
Should I delete that? Or should I just run the belt tension macro now
miklschmidt
miklschmidt•3d ago
I would, it will override anything you put in manually
Qui1zy
Qui1zyOP•3d ago
Ok
miklschmidt
miklschmidt•3d ago
it won't impact the test, but your manual settings will be ignored as long as it's there.
Qui1zy
Qui1zyOP•3d ago
Ok I have the graph what do I do with it?
Qui1zy
Qui1zyOP•3d ago
No description
miklschmidt
miklschmidt•3d ago
Is this a v-core 4?
Qui1zy
Qui1zyOP•3d ago
No
miklschmidt
miklschmidt•3d ago
What is it?
Qui1zy
Qui1zyOP•3d ago
V-core 3.1
miklschmidt
miklschmidt•3d ago
Ok, same principle, go read the V-core 4 commisioning docs, they'll explain the process 🙂 Specifically this part: https://docs.ratrig.com/commissioning-guides/v-core-4#belt-tension
Qui1zy
Qui1zyOP•3d ago
Does this graph mean that Both my belts are rubbing up against something? Also how do I know which belt is which, and to loosen or tighten either?
miklschmidt
miklschmidt•3d ago
It means you have something oscillating at roughly 125hz that shouldn't be oscillating.
Qui1zy
Qui1zyOP•3d ago
could It just be that my ADXL is loose?
miklschmidt
miklschmidt•3d ago
Those are your main because
No description
miklschmidt
miklschmidt•3d ago
They're unevenly tensioned, and they don't have the same length from attachment point to attachment point.
Qui1zy
Qui1zyOP•3d ago
So should I tension the upper belt and run it again?
miklschmidt
miklschmidt•3d ago
Yeah it could easily be a poorly mounted ADXL, it could also be your hotend fan spinning if it's badly balanced. you should locate the source of the 125hz vibration first
Qui1zy
Qui1zyOP•3d ago
And how exactly would I do that?
miklschmidt
miklschmidt•3d ago
check for loose parts proper wiring management etc is important everything should be tight and secure If you're already at that point, you can use the realtime analysis tool to pin point the source. Start the oscillator at any frequency that causes a peak at that 125hz frequency, then touch suspected parts on your printer until it goes away, then you've found your source.
Qui1zy
Qui1zyOP•3d ago
Whenever I try and start streaming the data to the realtime analysis tool, I get this error.
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
And when I switch it to host I get this error.
Qui1zy
Qui1zyOP•3d ago
No description
miklschmidt
miklschmidt•3d ago
gah shit i forget you're using the usb adxl
Qui1zy
Qui1zyOP•3d ago
lol
miklschmidt
miklschmidt•3d ago
We don't support those Sorry!
Qui1zy
Qui1zyOP•3d ago
Ahh shucks
miklschmidt
miklschmidt•3d ago
Wait.. I guess you could trick it..
Qui1zy
Qui1zyOP•3d ago
How?
miklschmidt
miklschmidt•3d ago
If you name your adxl rpi instead of usbaccel it might work
Qui1zy
Qui1zyOP•3d ago
lemme try Like this?
Qui1zy
Qui1zyOP•3d ago
No description
Qui1zy
Qui1zyOP•3d ago
or change all of it
miklschmidt
miklschmidt•3d ago
Yes except you need to use rpi instead of usbaccel in the resonance tester section as well
Qui1zy
Qui1zyOP•3d ago
I think it worked!!! Should I oscillate a or b belt though?
miklschmidt
miklschmidt•3d ago
seems like it's most obvious on A You can switch between them to check
Qui1zy
Qui1zyOP•3d ago
Whenever I hold the toolhead, the vibration goes down.
miklschmidt
miklschmidt•3d ago
Yeah that's kind of cheating 😄 It's supposed to measure the resonance of the toolhead. The graph represents all resonance recorded at the toolhead, if you hold the toolhead all the resonance goes away 😄 You just want to kill the 125Hz peak Also keep in mind that you most likely need to oscillate at a very different frequency than the resonance frequency.
Qui1zy
Qui1zyOP•3d ago
I was at 44Hz
miklschmidt
miklschmidt•3d ago
What does the graph look like? you only need to lightly touch parts of the machine with a finger to impact the resonance
Qui1zy
Qui1zyOP•3d ago
No description
miklschmidt
miklschmidt•3d ago
Yeah this should be good enough (44hz) to track it down although it looks like it's quite a bit higher in frequency here
Qui1zy
Qui1zyOP•3d ago
Should I be touching things on the toolhead? Or all around the printer
miklschmidt
miklschmidt•3d ago
Just went back to check, it's 130hz so not too far off. Everywhere Try the idler stacks for example It can even be a fan attached to your electronics on the back It'll pick up a clap in the next room, it's quite sensitive. if you have it standing next to anything that might vibrate that will do it too And since it's such a high amplitude i suspect it might be something external / always running.
Qui1zy
Qui1zyOP•3d ago
uhhhh
miklschmidt
miklschmidt•3d ago
Can you see the 130hz peak without starting the oscilator?
Qui1zy
Qui1zyOP•3d ago
I may have it next to another printer that is currently printing
miklschmidt
miklschmidt•3d ago
Could be that. I would expect much lower frequency resonance from that though But it depends on a lot of things Try setting the oscillator to 0hz (that disables it) If you still see the 130hz peak, it's not from your motion system 😄
Qui1zy
Qui1zyOP•3d ago
This is without the oscillator
Qui1zy
Qui1zyOP•3d ago
No description
miklschmidt
miklschmidt•3d ago
Well, it's deifnitely generated by your v-core
Qui1zy
Qui1zyOP•3d ago
Is there a way I could set my hotend fan to 0%
miklschmidt
miklschmidt•3d ago
It should not be running if your heater isn't on
Qui1zy
Qui1zyOP•3d ago
oh your right im just blind If I hold the umbilical cord than the vibration pretty much stops
miklschmidt
miklschmidt•3d ago
Found your source! 🙂
Qui1zy
Qui1zyOP•3d ago
So how would I go about fixing that or should I just not worry about it And going back to before, should I just tension the top belt?
miklschmidt
miklschmidt•3d ago
Depends on your umbilical, can you show me a picture of it and the attachments at both ends?
Qui1zy
Qui1zyOP•3d ago
No description
No description
miklschmidt
miklschmidt•3d ago
Once you've fixed the 130hz issue, you should tension the top belt, yes. However, be careful you're not racking your gantry. If you followed best practices you would have tensioned the belts while checking the gantry squareness against the front of the printer. When it's square, the tension is equal, if your peaks don't line up at that point that means your belt lengths aren't equal.
Qui1zy
Qui1zyOP•3d ago
How would I fix the 130hz issue though? Like what would I do to the cables?
miklschmidt
miklschmidt•3d ago
Right there seems to be a bunch of slack in the middle that's drooping over, if it's already as short as it can be, there are different ways to deal with this, piano wire (spring steel round wire) is one, but it can also cause similar issues if it's too thick.
Qui1zy
Qui1zyOP•3d ago
I was thinking of getting the RR toolhead should I just wait to get that Because that supports a toolboard and then I wont have to worry about it
miklschmidt
miklschmidt•3d ago
Won't change your umbilical, but it does improve your recommended shaper acceleration It's a good deal stiffer than EVA And it's better balanced
Qui1zy
Qui1zyOP•3d ago
Why wont it change the umbilical?
miklschmidt
miklschmidt•3d ago
same wires.
Qui1zy
Qui1zyOP•3d ago
It would make it only 1 cable and the ptfe tube
miklschmidt
miklschmidt•3d ago
Are you talking about a toolboard? you don't need the rat rig toolhead for that. But yes, that helps
Qui1zy
Qui1zyOP•3d ago
there is no space to mount it on the EVA one
miklschmidt
miklschmidt•3d ago
There is plenty of space 😄 It replaces the grabber between the LGX motor and the 4028 There are multiple mods for that
Qui1zy
Qui1zyOP•3d ago
Ok, I am still going to upgrade to the RR toolhead and get a Orbiter 2.5 so I will finish this once I get that
miklschmidt
miklschmidt•3d ago
Fair enough! 🙂
Qui1zy
Qui1zyOP•3d ago
anyways, when I take the accelerometer off, do I need to change the config at all?
miklschmidt
miklschmidt•3d ago
It is better mechanically, but the ducts aren't as good as EVA
Qui1zy
Qui1zyOP•3d ago
Its fine, the fan I have is so overpowered it can push enough air through
miklschmidt
miklschmidt•3d ago
(worse cooling performance).. With a 4028 that mostly just means louder fans though as you need to run them at higher PWM. yeah exactly 🙂
Qui1zy
Qui1zyOP•3d ago
I am debating weather or not to replace it with a 5000rpm noctua
miklschmidt
miklschmidt•3d ago
that will do absolute nothing
Qui1zy
Qui1zyOP•3d ago
will it make it quieter?
miklschmidt
miklschmidt•3d ago
do not ever consider noctua for any situation that requires pressure they suck ass
Qui1zy
Qui1zyOP•3d ago
ok
miklschmidt
miklschmidt•3d ago
yes and move no air at all
Qui1zy
Qui1zyOP•3d ago
lol because the one I have now is 23000rpm and its REALLY loud
miklschmidt
miklschmidt•3d ago
You don't need to run them at speeds where the noise is a problem on EVA3 though i rarely ran them faster than 45%
Qui1zy
Qui1zyOP•3d ago
lemme check what mine is limited at
miklschmidt
miklschmidt•3d ago
on the RR toolhead it needs quite a bit more than that It depends a lot on the fan
Qui1zy
Qui1zyOP•3d ago
my fan is limited at 60% I just relized my my min layer time is 100s
miklschmidt
miklschmidt•3d ago
jesus christ 😂
Qui1zy
Qui1zyOP•3d ago
I just made it 25 because my hotend is so slow especially with an lgx lite it still prints really slow though 40min benchy 😭 Also do I have to change the config when I unplug the adxl?
miklschmidt
miklschmidt•2d ago
then limit your flow rate in the slicer and not your layer time. yes, part of why i hate them. DangerKlipper has non-critical mcu's for this, which is going to make them a whole lot more useful.
Qui1zy
Qui1zyOP•2d ago
What do I have to change in the config? Just comment out the line in printer.cfg?
miklschmidt
miklschmidt•2d ago
indeed 🙂
Qui1zy
Qui1zyOP•2d ago
Do you just work on RATOS or the entire printer?
miklschmidt
miklschmidt•2d ago
Both, but RatOS is my baby
Qui1zy
Qui1zyOP•2d ago
Ok, I was wondering if you would be able to tell me if the RR V-core 3.1 toolhead supports the toolboard that mounts to the back of the orbiter 2.0 Like if it would fit
miklschmidt
miklschmidt•2d ago
It does, but i wouldn't mount it like that, i would use a proper holder and i'd get the 42 version, it's much better organized and provides much better mounting.
Qui1zy
Qui1zyOP•2d ago
what is the 42 version
miklschmidt
miklschmidt•2d ago
so usually those toolboards come in "36" and "42" models, because they're sized for nema14's (36mm) and nema17's (42mm)
Qui1zy
Qui1zyOP•2d ago
ok
miklschmidt
miklschmidt•2d ago
cheapest option currently is the EBB 42 1.2
Qui1zy
Qui1zyOP•2d ago
I cant find anywhere to buy the 42mm one though Because I want a usb one not can oh nvm im stupid i can just guy it from ratrig because it says usb/can Do you know if the hotend mount is the same as the beta? because I found an adapter for revo but it is for the BETA 2 version
miklschmidt
miklschmidt•2d ago
they're all usb You can't get CAN firmware on there without a usb connection anyway. Unless they shipped with Katapult, and there are not many that do. CAN is the "extra", not USB 🙂
Qui1zy
Qui1zyOP•2d ago
Do you know the answer to this?
Want results from more Discord servers?
Add your server