How to make a EBB36 work on CAN in RatOS 2?

After having many corrupted files on my SD card, I said that maybe this is my chance to switch to RatOS 2, so I did it. After being impressed by the configurator, I ended up finding out the hard way that CAN communication is not supported by RatOS 2. So one might say "just plug a USB cable and enjoy". But I do not have a long enough cable at hand and my case is enclosed, so just plugging a USB cable doesn't work so fast for me ๐Ÿ™‚ So is there anyone who configured RatOS with CAN for EBB36 already, or this is impossible?!
27 Replies
blacksmithforlife
blacksmithforlifeโ€ข15mo ago
How did you have it setup on ratos 1.x?
D!NU
D!NUโ€ข15mo ago
you're trying to say it should work if setup similarly? Or will I discover later after fighting the configuration is printer.cfg on that this is not at all possible? ๐Ÿ™‚
blacksmithforlife
blacksmithforlifeโ€ข15mo ago
I am asking how did you get it to work in ratos 1.x? because it should be similar in ratos 2.x
miklschmidt
miklschmidtโ€ข15mo ago
my case is enclosed
Don't see what that has to do with anything. It's exactly the same as v1. Same painstaking process ๐Ÿ˜‰
D!NU
D!NUโ€ข15mo ago
No pain, no gain Mikl ๐Ÿ˜‰ I work for the company that initially developed CAN bus, and I use it professionally everyday. So I am kind of biased when discussing the pros and cons of USB vs. CAN ๐Ÿ˜‰
miklschmidt
miklschmidtโ€ข15mo ago
That's actually kind of interesting. So in your opinion, what's the most appropriate for this application? Seeing as 1) Noise isn't a problem 2) Daisy chaining serves no purpose 3) CAN is not made for consumer use (it's hard to use for the non-initiated) 4) Isn't plug 'n play (no real device auto-discovery) 5) No latency benefits 6) No throughput benefits I want to know what i'm missing here, because the arguments people have been making haven't been making much sense to me.
D!NU
D!NUโ€ข15mo ago
Why do you want to discuss this? ๐Ÿ˜‰ 5 and 6 are not benefits of one over the other.
miklschmidt
miklschmidtโ€ข15mo ago
No discussion, just curious to know your perspective
D!NU
D!NUโ€ข15mo ago
3 and 4 are about ease of use and are depend on the devices you connect to: did you see a raspi or a PC in the car? So kind of question of perspective here 2 - yes, no chaining necessary, but it comes for free, at no cost
miklschmidt
miklschmidtโ€ข15mo ago
Hence why i prefaced it with "for this application" aka 3d printers ๐Ÿ˜„ I don't know why people think i hate CAN in general lol
D!NU
D!NUโ€ข15mo ago
1 - not sure that noise is not a problem in all setups Anyway, it is good that we have the option to use can - I thought is not supported at all in RatOS 2 ๐Ÿ˜…
miklschmidt
miklschmidtโ€ข15mo ago
Thanks for replying, appreciate it! I'm not that crazy ๐Ÿ˜„
D!NU
D!NUโ€ข15mo ago
Sure, anytime Anyway, the only thing that annoyed me with can in the case of the Ebb boards is the strange input shaper graphs That works fine over USB
miklschmidt
miklschmidtโ€ข15mo ago
All i've been doing is making arguments for why people who don't know what to pick should pick USB, and why i, as a distributor of software to make it easier for people to use 3d printers, choose USB over CAN. Some people think that makes me an asshat.
D!NU
D!NUโ€ข15mo ago
And I hope it works also fine with higher CAN speed ๐Ÿ˜‰ Well, probably you over insisted with CAN...Reminded me of the neverending discussions over which is better: windows 95 or Linux kekw
miklschmidt
miklschmidtโ€ข15mo ago
It should, as far as i know It's miscommunication i think, i'm arguing for a very specific use case and people seem to be missing the context ๐Ÿ˜„
D!NU
D!NUโ€ข15mo ago
Phew, happy that my printer works again.... actually that would help many: a backup function for the stuff in case the sd card is messed up after playing in the wrong moment with the power switch ๐Ÿ˜‰
miklschmidt
miklschmidtโ€ข15mo ago
right click download ๐Ÿ˜‚ But yes, i'm aware, just not aware of anything that's not overly complicated for non tech people.
blacksmithforlife
blacksmithforlifeโ€ข15mo ago
Yeah people need to learn to take care of their stuff and make backups
miklschmidt
miklschmidtโ€ข15mo ago
I'm at the point where if something is lost, RatOS gets me running in 5-10 minutes so i just don't bother At most it's like "gah i have to redo my z-offset" Hardly worth a backup ๐Ÿ˜‚
D!NU
D!NUโ€ข15mo ago
I made backups....of the configs....I even store this on GitHub, for version management But the pain was having to reflash SD card....
miklschmidt
miklschmidtโ€ข15mo ago
Yeah you were missing everything that wasn't config stuff
D!NU
D!NUโ€ข15mo ago
And there were some other stuff I did in Linux directly, which was of course lost
miklschmidt
miklschmidtโ€ข15mo ago
yep, all you can do there is full SD backups Or .. make an "OS distribution" lol
blacksmithforlife
blacksmithforlifeโ€ข15mo ago
I mean at this point having done it for 2 new hardware "PIs" I think people probably could if they are savy enough to be messing around in linux themselves
D!NU
D!NUโ€ข15mo ago
Will probably use a UPS hat for raspi, together with a script started by a Shelly Or Tasmota And an image backup is only valuable if is done automatically Say once per week, on a NAS located in LAN
blacksmithforlife
blacksmithforlifeโ€ข15mo ago
probably could do a rsync in a cron job for that