The crux of this matter is that it is so simple once you've done it that explaining it seems redundant... Thanks for making this a complete tutorial, I got it working thanks to you. Sometimes I feel like the 3D printing community doesn't expect the less electronics literate to want to participate as well :D.
Thank you for your work, your tutorials are really great! I have very little knowledge about programming and I got an error after I did all your shown steps. Klipper says "Unknown pin chip name "adxl"". The solution for this was that I just have to rename the [mcu ADXL] into [mcu adxl]. I just want to pass it to others in case someone had the same problem. By the way, I used an RP2040 zero, it is a little bit smaller that the RPi Pico. It seems to be almost identical to the RPi Pico. No pins have to be changed in the programming. Happy printing! 😜
Great. Thanks! Using an ADXL has always been a big hassle for me as I have a display installed on my Raspberry PI. I will definitely implement this method.
Thanks Nero for pointing me to the workaround I needed to get input shaper to work on my BTT-CB1 equipped Trident. I can now confirm that it works perfectly. The Pi Pico dongle is a convenience if you have a Rpi in your printer but it is a necessity if you have a CB1.
This is awesome. I run 5 Mainsail machines from a i5 desktop running Ubuntu. This will allow me to run input shaper on all my machines without connecting to the SPI on the SKR 1.4turbo board. THANK YOU SO MUCH!!!! Changes everything.
Great stuff! I use the Zero 2W on all my printers with a screen which goes directly on the GPIO pins. So for input shaper I always had to disassemble the casing, remove screen etc etc. Now I have a USB hub to the Zero 2W and connect the Pico!.
Great idea to use a pi pico as another MCU specifically for this! You need an affiliate link for the components listed. I would buy an adxl as im in need.
Quick additional TIp, instead of using something like winSCP to get the klipper.uf2 file off the RPI run cp out/klipper.uf2 ../klipper_config/klipper.uf2 after creating the firmware flash file, this will copy the file to the same director as your printer.cfg file and you can just download it from the klipper interface webpage
You'll get a similar error the first time you run the command as you received at 11:23 due to a bug introduced in Klipper several months back. It always fails on the first try and works after that. I found the exact commit that caused the problem, but as far as I know, they still haven't fixed it. Nice video, by the way... you went into even more detail than I did on my write-up. I tried to link to it, but even mentioning the site name gets my post auto-deleted. Just google "Raspberry Pi Pico as a secondary MCU for resonance testing working!". There's good discussion in there about how Klipper identifies which group of SPI pins are in use, among other things. If you use a ribbon cable instead, you can use 3D printed snap-together case that allows you to press the button as needed. It's linked in the above mentioned thread.
Another well done video! If you are looking for ideas: I just recently switched my case light from the MCU to a WEMOS D1 Mini with WLED. One quick section added to moonraker config file and now Macros can send commands to WLED. WLED has a web interface so you can set any number of presets for klipper to call up. Can have multiple strings (like case lights and SB) and control all from the WEMOS. Very simple install and significant increase in options/ability.
Thanks man. I used this to get my USB mellow fly working with the following changes. Thanks again cs_pin: adxl:gpio9 spi_software_sclk_pin: adxl:gpio10 spi_software_mosi_pin: adxl:gpio11 spi_software_miso_pin: adxl:gpio12
Thanks for doing this. It made it super easy to install on configure the Fysetc portable input shaper by just doing it along with you, with some of the steps already done for me. I can recommend the Fysetc kit so far, really good.
This is awesome. It's simpler than I was thinking it would be. I just built my first voron 2.4 and have really grown to like klipper as I set it up. I'm planning on switching over my other printers to klipper over time and with this I'll be able to replace some of my full blown pi's with zero w's. Thanks man and keep the great videos coming.
Hey thanks Nero. I really appreciate the video. I appreciate all the hard work you do bringing us this type of content. It's super helpful! I currently only have 1 voron, a 0.1, still in pieces in it's box. In a couple months I'll be getting a 2.4 350mm, then I'm done getting FDM printers. I'll have 10 at that point. I really like this idea. I've tossed up the idea of converting all of my Prusa machines over to Klipper, but still weighing the pros and cons. Anyhow, thanks again man, you're awesome!
This was great info. I'm running klipper on an intel nuc. So I was trying to figure out how to manage input shaper with an adxl. Just ordered my pico. Looks like these instructions will solve my problem.
I have one of these accelerometers laying around from 2015 when I was running a head tracker with Elite Dangerous. Electronics hoarding finally pays off.
I did this exact setup a couple weeks ago. So much handier to use USB to connect! Now I need some universal way to securely attach the accelerometer to each machine.
I missed yesterday subscribers live, damn, but thanks for all of your content. I’m klipperizing here and there, raspberry shortage permitting, and I will use imput shaping for all of those printers and this video is absolute gold. Still no Voron tho, need to save a bit more..
No need to use another computer and winscp or any other copy method. Your Raspberry Pi is running a very sophisticated operating system, named Linux, that can flash the pico without any help. Just hold the boot button on the pico and connect it to the RPi. Now mount the pico by using 'sudo mount /dev/sda1 /mnt'. Next copy the flash file: 'sudo cp ~/klipper/out/klipper.uf2 /mnt/' and umount the pico 'sudo umount /mnt'. Ready!
I'm new to Klipper and your videos have been gold! I was wondering if its also possible to use an esp32 or esp8266 for the secondary MCU instead of the Pico?
Great stuff, I was just about to wire up an ADXL to the RP 3B of a printer I am upgrading. But I have some Pi Picos in a draw somewhere, so definitely going to use this method instead. Thanks.
How do I like the smash button? I can't even find the smash button! (13:50) Great video it helped me a ton!! As an added bonus I got a nice little chuckle at the end with the whole like the smash button thing.
So I managed to get my klipper up and running on a desktop with 2 printers. I have noticed that if I include the adxl.cfg in my printer.cfg for both printers one of them does not want to connect to klipper. I'm assuming it cannot run like that on both printers. So far I'll add the include adxl.cfg as I need to but I thought I'd throw that tip out there in case someone needed it. Thanks again for the video. It's been very helpful diving into a very deep subject and not get too lost.
Thanks, I don't have a raspberry pi on my printer because of the shortage and for the life of me I can't activate the SPI pins on an alternative board, this is a great alternative
Love your video ! I made the Pico input shaper and got it to work ! One thing that I got hung up on is that the Pico was not seen by the Pi and the fix was to reboot the Pi also the Acceleratometer_query gave me an invalid response on the first try .
I am new to klipper but so far really enjoy it, definitely a challenge but well worth it so far I was wondering if you would do a video on macros of klipper I haven't seen many that i trust.
Thanks mate, you saved me a ton of time! Your instructions were spot on. I used this with an FYSETC Portable input Shaper board, and it worked first time. Grasias!
hey man, I am also using the fysetc portable, but got this error Unknown config object 'adxl345 usbadxl' I am using the PIS.cfg fysetc provides, what gives?
@@aivkara never mind, I got it working LMAO. had to alter their PIS.cfg fysetc included, and it worked. thank you however. the setup btw is a voron trident (formbot)
Great video!!! I have klipper running from on an old laptop with debian via docker(prind) from my understanding i can run input shaper with this setup as the only thing i miss with my setup is the GPIO of the raspberry, Please correct me if i have misunderstand something. Thank you.
Hi, first I would like to congratulate you for your work. I have a doubt, could you tell me if the ERCF (Enraged Rabbit Carrot Feed) works well with the Raspberry Pi3? Do you have any studies done with the Pi3? Or would it be better with the Raspberry Pi4? Thanks
Hi.. thanks for this clearly explained video. Just wondering if we have to update the pico if there is a newer version of klipper to make it connect to the mother board?
Your videos are always very informative and thanks for creating them. What advantages does this give you over extending the raspberry pi's gpios and plugging the adxl directly in? I'm not hating, just want to understand.
I think the biggest advantage comes in when you have Pi versions without the pins on some of your machines. Even if you have all full size Pi with header pins, you would have to make an extension for every one to achieve the same convenience.
he mentioned this already at the beginning of the video. he wants portability, the ability to move the device to other printers easily, and without having to go back under the printer.
Great video as always. Setting up klipper for the first time on my very first printer, with a thin client (rpi zero not available everywhere where I resides) this gives me hope to try rpi pico as secondary mcu on usb with adxl345.
Hey Nero, thanks for this very nice video! Do you have a solution for a pi zero 2 w? When i try to connect a usb hub to the pi in order to use a 2nd device like a cam or now the pico as per your video, I loose the connection to the printer. If it is possible to connect more than 1 device to the pi zero 2w it could be cool to make a short video on the setup or to discuss on your Q n A stream you mentioned lately...
Just subbed, Nice work. When using input shaping, Do you alternate between the head and the bed on a bed slinger. Or use 2 adxl's at the same time? And could you attached 2 adxl's to the pico or arduino nano? THanks!
I used some mpu6050 using i²c bus. Connected them directly to the mcu board, and i can move them from one printer to the other, only the cables stay in place. Or i could add a plug to move the wiring as well.
Nero, thank you for your videos. I just stumbled across them but after watching, you gave me the needed push to install klipper. I have an Anycubic Vyper, pi4, Miuzei display which occupies the gpio pins and want to install two ADXL’s. My question is this, since I do not want to mess with the gpio on the pi4, could I use two pi picos, with an ADXL on each, then plug these into the pi4? Overkill yes, but I want to permanently install the ADXL’s and not have the aggravation of moving them around. I have a second Vyper I will be installing klipper on, as well as a Kobra Max. Still looking at options for the max.
@@whocares9847 Nope it's not. I have tried and same issues as with GPIO version, RPI still used to analyze the data. Unless you have RPI W Zero 2 with faster Processor.
@@vignesh_waranYes, you can even use VirtualBox to run FluiddPi or Mainsail. Over all RPi Zero W is powerful enough to run printer with configured shaper but in stock it's not strong enough to do shaper calibration and calculation process, I've seen people overclock Zero W and it helps to solve this issue. Personally I use RPI 4 to get shaper values and than run printer on Pi Zero W (1gen)
Great vid, as always. Question: Will the ADXL/PiPico always get the same ID when plugged into the RasPi? Basically, will I have to edit the ADXL.CFG everytime I re-connect?
@@CanuckCreator One of my machines has a PI 3a+ and only has 1 USB connection. Do you know if using a HUB would work while doing Input Shaping and the both the printer and Pico would get unique serial addresses.
Did you ever get around to designing an enclosure? 😅 Also, I just have 1 printer. Is there a reason I shouldn't just leave the ADXL attached to the Pi?
In case anyone has the same problem, I was getting the "Invalid adxl345 id" error despite having the correct wiring. Just run the ACCELEROMETER_QUERY twice and you'll see that on the second time it's working fine... I have to do this every time I use this method, but it works fine.
I had to try it twice and it did work the second time... thanks for the info! I read this after I made my second unit thinking the original was bad, and both units required two query commands. So they are both working after all.
Hi, great video. quick question on attaching the adxl345 to the printer. I have a ender 5 plus and im attaching the adxl facing forward. what will be the graph i need to see when doing x axis and y axis? hope im making sense. thank you
Hi Nero nice video I have one question about the firmware for this pico, you say je need the last klipper updates on your pi to make the file for the pico, do we have to update this pico every time when klipper updates or is this a one time install thanks in advance
Requesting a follow up video on this topic using the 'FYSETC USB Portable Input Shaper' which looks like it can do the whole job without needing an extra pico or mcu.
Awesome video Nero! Thank you very much as always. I installed klipper on my 3d printer with an old laptop. I wanted to know how you added the usb female cable to the mcu? I m Pablo from Argentina
Looks nice :) Personally I've just lengthening the pins in the pie to an easy to attach place. Much like you've done with the male-female USB but with another connector. That way I'll skip the pico :)
Couldn't you load the firmware on the Pico directly from the RP4 instead of transferring it to a PC? (Just plug it into the RP4 while holding down the boot button, same as the PC.) Thanks for all the great videos!
Is it possible to have multiple adxl345 attached to one pico? New to Klipper and I'm looking at setting up input shaper but interested in the idea of leaving it in place on the printer
i followed your steps but for some reason i do not get a second MCU to show up in the mainsail dashboard. when i run ls /dev/serial/by-id/* i do see it, but after adding it in my printer.cfg, it does not show up.. any thoughts?
hi! thanks for cristal clear video & idea! What about using a Rpi zero W2 in place of the pico? I have a speederpad and wanna try your approach using a Pi zero W2 (and eventually a MPU6050 I have laying on my desk)....any particular advice?
Hi I'm quite new to klipper and input shaper. Just upgraded my ender 3V2 with BIQU H2 V2S extruder, and mount ive printed has a dedicated place for accelerometer to be screwed in. Is there possibility to have two accelerometers conected to raspberry pico. One that would be mounted permanently on extruder and second for print bed? Thank you for answer. (Also sorry for my english not my first language)
Could you please point me in the right direction. I've flashed klipper to a pi pico and trying get the configuration going to toggle GP25 ( the led pin on the pico )
Hi Nero, I like (all your) videos, unfortunately i can not view your live streams because of the time difference between you and germany :( But i have some questions :) 1. In this input shaper vid your pin layout is CS - GPIO2 - SPIO CSn SDO - GPIO1 - SPIO RX and in the adxl.cfg cs_pin: adxl:gpio1 so i am confused about that 2. You pointed out, that you can connect more devices to the pi pico. I managed to set up my adxl-pi-pico to also manage some neopixels, but i do not get my little 0,96 inch 4-pin oled display (ssd1306 or ssd1309) connected to display some status information. I have connected a btt 5 inch display with the exp1/exp2 connectors of the mainboard and want to add this little screen on the pi-pico to the door of my enclosure, so i can see the status info without opening the enclosure. I would likeyou to make a little tutorial video about that.
Nice but the mod for molex micro fit costs few additional connectors and it’s gonna be in front skirt of your printer. Also no need to comment out the line. Works as a charm especially with 6pin molex connector :)
awesome! great video! But for anyone doing this ATM the ls /dev/serial/by-id/* command didnt work to find my mcu address on my rpi4, i think this is common until an update rolls out
i had the same issue and i used 22awg cables from pi inside the printer connected to the pins for adx and at the other end i used male dupont connector basically is a kind of extension cable and it works just fine is over 1m in total extension + cable. i think is easier than reflashing all the time the pico. is the exact concept u did with ur usb cable i just used dupont directly from pi where adxl is supposed to go
Because the INT1 and 2 are not used, you can solder 1 with a pin and leave 2 empty. Then if you fill the location for INT1 in the Dupont connector, it's impossible to connect the Dupont connector the wrong way around.
Was just setting this up and ACCELEROMETER_QUERY failed on multiple machines. After troubleshooting and reading through the comments the issue was fixed by removing ground from the adxl345
Anyone have designed an enclosure of sorts to either or both the Rasberry Pi Pico and the ADXL345? Would be useful to make them even more modular and portable so it simply bolts or clips onto the 3d printer.
I get the invalid ID error, checked the connections 10 times, desoldered my harness and connected the the adxl to the pico with some short silicone wires, edited the config, the klipper is recognizing the pi mcu and still nothing... the adxl does support both 3.3 and 5V power so I really don't know what's wrong on
What is the benefit of this over just creating an extension harness that goes to the printer's RPI header? You could even install a ethernet keystone and have a dedicated port to do that.
The crux of this matter is that it is so simple once you've done it that explaining it seems redundant... Thanks for making this a complete tutorial, I got it working thanks to you.
Sometimes I feel like the 3D printing community doesn't expect the less electronics literate to want to participate as well :D.
Thank you for your work, your tutorials are really great! I have very little knowledge about programming and I got an error after I did all your shown steps. Klipper says "Unknown pin chip name "adxl"". The solution for this was that I just have to rename the [mcu ADXL] into [mcu adxl]. I just want to pass it to others in case someone had the same problem. By the way, I used an RP2040 zero, it is a little bit smaller that the RPi Pico. It seems to be almost identical to the RPi Pico. No pins have to be changed in the programming. Happy printing! 😜
Great. Thanks! Using an ADXL has always been a big hassle for me as I have a display installed on my Raspberry PI. I will definitely implement this method.
Same for me
Thank you for all your knowledge sharing over the years!
Glad it was helpful!
Thanks Nero for pointing me to the workaround I needed to get input shaper to work on my BTT-CB1 equipped Trident. I can now confirm that it works perfectly. The Pi Pico dongle is a convenience if you have a Rpi in your printer but it is a necessity if you have a CB1.
Awesome video! Thank you for your contributions to our 3D Printing Community
This is awesome. I run 5 Mainsail machines from a i5 desktop running Ubuntu. This will allow me to run input shaper on all my machines without connecting to the SPI on the SKR 1.4turbo board. THANK YOU SO MUCH!!!! Changes everything.
Think I am going to make a plug for the ADXL's and permanently mount one to each machine.
Have you been successful in this yet? I'm also looking at the same thing but just getting started on the switch to klipper
Great stuff! I use the Zero 2W on all my printers with a screen which goes directly on the GPIO pins. So for input shaper I always had to disassemble the casing, remove screen etc etc.
Now I have a USB hub to the Zero 2W and connect the Pico!.
Thank you for making this tutorial, it made the integration way smoother than it would if Id had to do it all based on the documentation :)
This is a great solution for using an ADXL on multiple printers!
Great idea to use a pi pico as another MCU specifically for this!
You need an affiliate link for the components listed. I would buy an adxl as im in need.
Quick additional TIp, instead of using something like winSCP to get the klipper.uf2 file off the RPI run
cp out/klipper.uf2
../klipper_config/klipper.uf2
after creating the firmware flash file, this will copy the file to the same director as your printer.cfg file and you can just download it from the klipper interface webpage
You'll get a similar error the first time you run the command as you received at 11:23 due to a bug introduced in Klipper several months back. It always fails on the first try and works after that. I found the exact commit that caused the problem, but as far as I know, they still haven't fixed it.
Nice video, by the way... you went into even more detail than I did on my write-up. I tried to link to it, but even mentioning the site name gets my post auto-deleted. Just google "Raspberry Pi Pico as a secondary MCU for resonance testing working!". There's good discussion in there about how Klipper identifies which group of SPI pins are in use, among other things.
If you use a ribbon cable instead, you can use 3D printed snap-together case that allows you to press the button as needed. It's linked in the above mentioned thread.
Using this approach is a great solution if one is using an old laptop or PC instead of a Raspberry Pi due to the shortage.
Thanks!
This was a great video. Hoping to use this setup when the Swichwire build is finished :). Much nicer than screwing around with the Pi pins each time.
Another well done video!
If you are looking for ideas:
I just recently switched my case light from the MCU to a WEMOS D1 Mini with WLED. One quick section added to moonraker config file and now Macros can send commands to WLED. WLED has a web interface so you can set any number of presets for klipper to call up. Can have multiple strings (like case lights and SB) and control all from the WEMOS.
Very simple install and significant increase in options/ability.
Thanks man. I used this to get my USB mellow fly working with the following changes. Thanks again
cs_pin: adxl:gpio9
spi_software_sclk_pin: adxl:gpio10
spi_software_mosi_pin: adxl:gpio11
spi_software_miso_pin: adxl:gpio12
Thanks for doing this. It made it super easy to install on configure the Fysetc portable input shaper by just doing it along with you, with some of the steps already done for me. I can recommend the Fysetc kit so far, really good.
This is a no brainer compared to using headers for a pi; I love it.
This is awesome. It's simpler than I was thinking it would be. I just built my first voron 2.4 and have really grown to like klipper as I set it up. I'm planning on switching over my other printers to klipper over time and with this I'll be able to replace some of my full blown pi's with zero w's. Thanks man and keep the great videos coming.
Great timing! Was planning on doing this tonight.
Hey thanks Nero. I really appreciate the video. I appreciate all the hard work you do bringing us this type of content. It's super helpful! I currently only have 1 voron, a 0.1, still in pieces in it's box. In a couple months I'll be getting a 2.4 350mm, then I'm done getting FDM printers. I'll have 10 at that point. I really like this idea. I've tossed up the idea of converting all of my Prusa machines over to Klipper, but still weighing the pros and cons. Anyhow, thanks again man, you're awesome!
This was great info. I'm running klipper on an intel nuc. So I was trying to figure out how to manage input shaper with an adxl. Just ordered my pico. Looks like these instructions will solve my problem.
I have one of these accelerometers laying around from 2015 when I was running a head tracker with Elite Dangerous. Electronics hoarding finally pays off.
I did this exact setup a couple weeks ago. So much handier to use USB to connect! Now I need some universal way to securely attach the accelerometer to each machine.
Your channel is amazing, man! I've watched a few videos already and they have all been great. Thank you for all the work you put into them
I missed yesterday subscribers live, damn, but thanks for all of your content. I’m klipperizing here and there, raspberry shortage permitting, and I will use imput shaping for all of those printers and this video is absolute gold. Still no Voron tho, need to save a bit more..
No need to use another computer and winscp or any other copy method. Your Raspberry Pi is running a very sophisticated operating system, named Linux, that can flash the pico without any help.
Just hold the boot button on the pico and connect it to the RPi. Now mount the pico by using 'sudo mount /dev/sda1 /mnt'. Next copy the flash file: 'sudo cp ~/klipper/out/klipper.uf2 /mnt/' and umount the pico 'sudo umount /mnt'. Ready!
Doesn't work
I'm new to Klipper and your videos have been gold!
I was wondering if its also possible to use an esp32 or esp8266 for the secondary MCU instead of the Pico?
Probably going to utilize this. thanks! I've got a bunch of picos laying around.
Great stuff, I was just about to wire up an ADXL to the RP 3B of a printer I am upgrading. But I have some Pi Picos in a draw somewhere, so definitely going to use this method instead. Thanks.
How do I like the smash button? I can't even find the smash button! (13:50) Great video it helped me a ton!! As an added bonus I got a nice little chuckle at the end with the whole like the smash button thing.
Wow how I have struggled so much getting klipper up and running has been a long journey but hopefully in time will prove to be a great using fluiddpi
Using the old ethernet cable was also a great tip. I have a ton of ethernet cable with broken connectors that I could easily cut up and make use of.
Such a great idea! I love the portability of it. Thanks for sharing the video, definitely going to give this a shot.
Every time he calls numpy as "num pee" I laugh so hard 😂💀
Num-Pie 😊
You dont program in pee-thon?!
So many people do that..
@b0ggyb33 Don't tell me they also call PyPi as peepee
@@polycrystallinecandy superb
So I managed to get my klipper up and running on a desktop with 2 printers. I have noticed that if I include the adxl.cfg in my printer.cfg for both printers one of them does not want to connect to klipper. I'm assuming it cannot run like that on both printers. So far I'll add the include adxl.cfg as I need to but I thought I'd throw that tip out there in case someone needed it. Thanks again for the video. It's been very helpful diving into a very deep subject and not get too lost.
Thanks, I don't have a raspberry pi on my printer because of the shortage and for the life of me I can't activate the SPI pins on an alternative board, this is a great alternative
Thank you sir!
Love your video ! I made the Pico input shaper and got it to work ! One thing that I got hung up on is that the Pico was not seen by the Pi and the fix was to reboot the Pi also the Acceleratometer_query gave me an invalid response on the first try .
I am new to klipper but so far really enjoy it, definitely a challenge but well worth it so far I was wondering if you would do a video on macros of klipper I haven't seen many that i trust.
Thanks mate, you saved me a ton of time! Your instructions were spot on. I used this with an FYSETC Portable input Shaper board, and it worked first time. Grasias!
hey man, I am also using the fysetc portable, but got this error
Unknown config object 'adxl345 usbadxl'
I am using the PIS.cfg fysetc provides, what gives?
@@redboom9874 ooo, I can't remember what I did to make it work. What is your hardware setup?
@@aivkara never mind, I got it working LMAO. had to alter their PIS.cfg fysetc included, and it worked. thank you however. the setup btw is a voron trident (formbot)
I put pin 4 and 5 on gpio4 and gpio5. Good times. Video is great help!
Thanks for the video on this topic! I plan on adding adxl to my Ender 3. Do you have any advice for handling two adxl boards to a pico board?
Great video!!!
I have klipper running from on an old laptop with debian via docker(prind) from my understanding i can run input shaper with this setup as the only thing i miss with my setup is the GPIO of the raspberry, Please correct me if i have misunderstand something.
Thank you.
Hi.. I also have same qn. Are you able to do it without raspberry pi ?
Hi, first I would like to congratulate you for your work. I have a doubt, could you tell me if the ERCF (Enraged Rabbit Carrot Feed) works well with the Raspberry Pi3? Do you have any studies done with the Pi3? Or would it be better with the Raspberry Pi4? Thanks
Hi.. thanks for this clearly explained video. Just wondering if we have to update the pico if there is a newer version of klipper to make it connect to the mother board?
thanks for this clever idea
This saves a lot of cable management
Speaking of unavailability of electronics, can you make a video on running multiple instances of Klipper to run different printers on a single RPi?
Your videos are always very informative and thanks for creating them. What advantages does this give you over extending the raspberry pi's gpios and plugging the adxl directly in? I'm not hating, just want to understand.
I think the biggest advantage comes in when you have Pi versions without the pins on some of your machines. Even if you have all full size Pi with header pins, you would have to make an extension for every one to achieve the same convenience.
he mentioned this already at the beginning of the video. he wants portability, the ability to move the device to other printers easily, and without having to go back under the printer.
Great video as always. Setting up klipper for the first time on my very first printer, with a thin client (rpi zero not available everywhere where I resides) this gives me hope to try rpi pico as secondary mcu on usb with adxl345.
Hey Nero, thanks for this very nice video! Do you have a solution for a pi zero 2 w? When i try to connect a usb hub to the pi in order to use a 2nd device like a cam or now the pico as per your video, I loose the connection to the printer. If it is possible to connect more than 1 device to the pi zero 2w it could be cool to make a short video on the setup or to discuss on your Q n A stream you mentioned lately...
Just got my first soldering kit, I’m excited to start my first build 😃
Just subbed, Nice work. When using input shaping, Do you alternate between the head and the bed on a bed slinger. Or use 2 adxl's at the same time? And could you attached 2 adxl's to the pico or arduino nano? THanks!
I used some mpu6050 using i²c bus.
Connected them directly to the mcu board, and i can move them from one printer to the other, only the cables stay in place.
Or i could add a plug to move the wiring as well.
Nero, thank you for your videos. I just stumbled across them but after watching, you gave me the needed push to install klipper. I have an Anycubic Vyper, pi4, Miuzei display which occupies the gpio pins and want to install two ADXL’s. My question is this, since I do not want to mess with the gpio on the pi4, could I use two pi picos, with an ADXL on each, then plug these into the pi4? Overkill yes, but I want to permanently install the ADXL’s and not have the aggravation of moving them around. I have a second Vyper I will be installing klipper on, as well as a Kobra Max. Still looking at options for the max.
So fancy with the subscribe animation.
if you have bigtreetech octopus you can connect the adxl345 direct to it and assign a pin in klipper just like any other devices
Thanks! Perfect setup for Pi-Zero!
Super video! I presume that this will work on a RPI-ZERO as well.
@@whocares9847 Nope it's not. I have tried and same issues as with GPIO version, RPI still used to analyze the data. Unless you have RPI W Zero 2 with faster Processor.
@@hobbyistnotes is it possible to use our laptop as raspberry pi ? for using input shaper.
@@vignesh_waranYes, you can even use VirtualBox to run FluiddPi or Mainsail. Over all RPi Zero W is powerful enough to run printer with configured shaper but in stock it's not strong enough to do shaper calibration and calculation process, I've seen people overclock Zero W and it helps to solve this issue. Personally I use RPI 4 to get shaper values and than run printer on Pi Zero W (1gen)
@@hobbyistnotes Thanks for the reply.
Great vid, as always. Question: Will the ADXL/PiPico always get the same ID when plugged into the RasPi? Basically, will I have to edit the ADXL.CFG everytime I re-connect?
It will differ between machines but as long as you use the same USB port each time that will remain the same on each individual machine
@@CanuckCreator One of my machines has a PI 3a+ and only has 1 USB connection. Do you know if using a HUB would work while doing Input Shaping and the both the printer and Pico would get unique serial addresses.
Did you ever get around to designing an enclosure? 😅
Also, I just have 1 printer. Is there a reason I shouldn't just leave the ADXL attached to the Pi?
Amazing, great fature!!! Love it!
In case anyone has the same problem, I was getting the "Invalid adxl345 id" error despite having the correct wiring. Just run the ACCELEROMETER_QUERY twice and you'll see that on the second time it's working fine... I have to do this every time I use this method, but it works fine.
I've tried that and still get the error.
I had to try it twice and it did work the second time... thanks for the info! I read this after I made my second unit thinking the original was bad, and both units required two query commands. So they are both working after all.
Any clue what causes this? Did you ever find a fix?
Hi, great video. quick question on attaching the adxl345 to the printer. I have a ender 5 plus and im attaching the adxl facing forward. what will be the graph i need to see when doing x axis and y axis? hope im making sense. thank you
Awesome video! I feel like this makes it easy easier to do for octa4a users. Any thoughts of selling the full setup?
Thanks a lot for the guide! It seems that I'm going to buy a Pico =)
Hi Nero nice video I have one question about the firmware for this pico, you say je need the last klipper updates on your pi to make the file for the pico, do we have to update this pico every time when klipper updates or is this a one time install thanks in advance
I don't get what happened to 6:30 where did you plug sa Raspberry Pi and what software are you using.
Requesting a follow up video on this topic using the 'FYSETC USB Portable Input Shaper' which looks like it can do the whole job without needing an extra pico or mcu.
Awesome video Nero! Thank you very much as always. I installed klipper on my 3d printer with an old laptop. I wanted to know how you added the usb female cable to the mcu? I m Pablo from Argentina
Looks nice :)
Personally I've just lengthening the pins in the pie to an easy to attach place.
Much like you've done with the male-female USB but with another connector.
That way I'll skip the pico :)
If you use a thin client (instead of the Pi), like I do, this video is gold ;)
Couldn't you load the firmware on the Pico directly from the RP4 instead of transferring it to a PC? (Just plug it into the RP4 while holding down the boot button, same as the PC.) Thanks for all the great videos!
Ordered.. at only 10.00 can’t go wrong. Going to try this with my current 2.4 :) once it’s built
how would you do this with a pi zero w thats already using the usb for communication?
Is it possible to have multiple adxl345 attached to one pico? New to Klipper and I'm looking at setting up input shaper but interested in the idea of leaving it in place on the printer
Thanks for the video, but when using an Mellow Fly-ADXL345 you need to change cs_pin: PIS:gpio13 to cs_pin: PIS:gpio13
can use an arduino oard instead like an uno or such coz shortage here picos as well
Can you please do a display one with the pico.
i followed your steps but for some reason i do not get a second MCU to show up in the mainsail dashboard. when i run ls /dev/serial/by-id/* i do see it, but after adding it in my printer.cfg, it does not show up.. any thoughts?
hi! thanks for cristal clear video & idea! What about using a Rpi zero W2 in place of the pico? I have a speederpad and wanna try your approach using a Pi zero W2 (and eventually a MPU6050 I have laying on my desk)....any particular advice?
Hi Nero, you channel is a bless. Just a question: this will work on a pc running klipper? Thank you.
I have a couple RasPi 0W boards from before the shortages. Will that work the same way, or do I need to do anything differently?
Hi I'm quite new to klipper and input shaper. Just upgraded my ender 3V2 with BIQU H2 V2S extruder, and mount ive printed has a dedicated place for accelerometer to be screwed in. Is there possibility to have two accelerometers conected to raspberry pico. One that would be mounted permanently on extruder and second for print bed? Thank you for answer. (Also sorry for my english not my first language)
I wonder if you could create a wireless version using the Pico W. That way just need to worry about power.
Would this work in a laptop with klipper installed?
Could you please point me in the right direction. I've flashed klipper to a pi pico and trying get the configuration going to toggle GP25 ( the led pin on the pico )
Hi Nero,
I like (all your) videos, unfortunately i can not view your live streams because of the time difference between you and germany :(
But i have some questions :)
1. In this input shaper vid your pin layout is
CS - GPIO2 - SPIO CSn
SDO - GPIO1 - SPIO RX
and in the adxl.cfg
cs_pin: adxl:gpio1
so i am confused about that
2. You pointed out, that you can connect more devices to the pi pico.
I managed to set up my adxl-pi-pico to also manage some neopixels, but i do not get my little 0,96 inch 4-pin oled display (ssd1306 or ssd1309) connected to display some status information.
I have connected a btt 5 inch display with the exp1/exp2 connectors of the mainboard and want to add this little screen on the pi-pico to the door of my enclosure, so i can see the status info without opening the enclosure.
I would likeyou to make a little tutorial video about that.
Nice but the mod for molex micro fit costs few additional connectors and it’s gonna be in front skirt of your printer. Also no need to comment out the line. Works as a charm especially with 6pin molex connector :)
awesome! great video! But for anyone doing this ATM the ls /dev/serial/by-id/* command didnt work to find my mcu address on my rpi4, i think this is common until an update rolls out
i had the same issue and i used 22awg cables from pi inside the printer connected to the pins for adx and at the other end i used male dupont connector basically is a kind of extension cable and it works just fine is over 1m in total extension + cable. i think is easier than reflashing all the time the pico. is the exact concept u did with ur usb cable i just used dupont directly from pi where adxl is supposed to go
How do I connect if I am running on a laptop, not a PI?
Because the INT1 and 2 are not used, you can solder 1 with a pin and leave 2 empty. Then if you fill the location for INT1 in the Dupont connector, it's impossible to connect the Dupont connector the wrong way around.
Was just setting this up and ACCELEROMETER_QUERY failed on multiple machines. After troubleshooting and reading through the comments the issue was fixed by removing ground from the adxl345
I have an Adafruit rp2040 itsybitsy (same processor as Pico) but smaller board. Guess I can use that too.
Anyone have designed an enclosure of sorts to either or both the Rasberry Pi Pico and the ADXL345?
Would be useful to make them even more modular and portable so it simply bolts or clips onto the 3d printer.
can this be done with a pi zero.. going to assume so.. just wondering will be doing the same make??
There are 2in1 boards which include both chips and require no soldering
I get the invalid ID error, checked the connections 10 times, desoldered my harness and connected the the adxl to the pico with some short silicone wires, edited the config, the klipper is recognizing the pi mcu and still nothing... the adxl does support both 3.3 and 5V power so I really don't know what's wrong on
What is the benefit of this over just creating an extension harness that goes to the printer's RPI header? You could even install a ethernet keystone and have a dedicated port to do that.
OK mine works too thank you.