# What speed is minumum for can bus setup

**URL:** <https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877>\
**Category:** General Discussion\
**Created:** [February 24, 2023, 4:43pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877 "2023-02-24T16:43:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 24, 2023, 4:43pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/1 "2023-02-24T16:43:51Z")

</div>

In preparation for my Voron 2.4 build, I am testing the can-bus setup.  
I have made a test setup in order to flash the BIGTREETECH EBB36 v1.2. On the pi I have the waveshare CAN HAT.  
At first, I set the can bus speed to 500k, in the way the more the better. This resulted in timeout and failure to flash klipper on the device.  
Reducing the speed to 250k the flashing of klipper was successful, still seeing retries during flash verification.

My basic question is how far down the speed I can go and be sure that it is fast enough to do the job as intended.  
Any experiences?

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [February 24, 2023, 6:45pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/2 "2023-02-24T18:45:51Z")

</div>

You shouldn’t be having any problems - I’m running with both a CanHat and directly from an Octopus at 500kbps without any issues.

The most likely culprit is your wiring. How did you wire the connection from the CanHat to the EBB36? Can you share some pictures?

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 24, 2023, 7:09pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/3 "2023-02-24T19:09:58Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/a/a3c6f57ad7a44ee23be2775d9a514d755a7017d6.jpeg)

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [February 24, 2023, 7:29pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/4 "2023-02-24T19:29:27Z")

</div>

Those dupont jumpers are usually very small gauge wire and are definitely not sufficient for powering a board. Even for testing you might see significant voltage drop. You also should use twisted pair for the data, and make sure both ends have 120ohm resistors.

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 24, 2023, 7:56pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/5 "2023-02-24T19:56:28Z")

</div>

> [@jakep\_82](#):
>
> Those dupont jumpers are usually very small gauge wire and are definitely not sufficient for powering a board

What alternative do I have on the board, this is the only powering option

> [@jakep\_82](#):
>
> You also should use twisted pair for the data, and make sure both ends have 120ohm resistors

On the EBB there is a jumper for the 120ohm and on the hat, there is a 120ohm resistor fix too.  
The data cable I twisted with no different result.

The strange thing is that the firmware upload works perfect. the download for verification fails.

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 24, 2023, 8:14pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/6 "2023-02-24T20:14:57Z")

</div>

I set the speed to 1 000 000 and neither up nor download works

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 24, 2023, 8:39pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/8 "2023-02-24T20:39:02Z")

</div>

> [@mykepredko](#):
>
> You shouldn’t be having any problems - I’m running with both a CanHat and directly from an Octopus at 500kbps without any issues.

Is there an instruction on how to connect the can bus directly to BTT Octopus?  
I searched but did not find any information

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [February 24, 2023, 9:35pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/9 "2023-02-24T21:35:15Z")

</div>

Why don’t you start with this from the Klipper documentation:

[https://www.klipper3d.org/CANBUS.html](https://www.klipper3d.org/CANBUS.html)

You can also follow the links mentioned in this conversation:

> **[CAN Bus Upgrade Information and Sources](https://forum.vorondesign.com/threads/can-bus-upgrade-information-and-sources.323/)**
>
> I am starting a path to upgrading my stock Voron 2.4 R2 to Stealth Burner and CAN Bus. I am looking for information on sources for learning what I will need to know to make this happen. I want to switch to an umbilical cord arrangement. I have a...

Something I forgot to ask in my first reply - did you set the jumpers for the 120Ohm CAN bus terminating resistors?

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 25, 2023, 5:01am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/10 "2023-02-25T05:01:14Z")

</div>

> [@mykepredko](#):
>
> Something I forgot to ask in my first reply - did you set the jumpers for the 120Ohm CAN bus terminating resistors?

Yes, the 120Ohm is set.

I found this very good article containing a document describing the process in detail step-by-step:  
[How to Use CAN Toolhead Boards Connected Directly to Octopus / Octopus Pro on CanBoot](https://www.google.com/search?q=octopus+canboot&oq=octopus+canboot&aqs=chrome..69i57j69i65l2j69i60.7229j0j15&sourceid=chrome&ie=UTF-8#:~:text=How%20to%20Use,com%20%E2%80%BA%20topic)

I expect my package with the octopus to get in soon so I will test this.

Regarding can bus hat I got the following statement on the CanBoot GitHub as a result of my opened issue:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/e/e855fbfa5a6cd0987899644c95c5872800074160.jpeg)

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [February 25, 2023, 5:57am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/11 "2023-02-25T05:57:57Z")

</div>

As @jakep_82 indicated, the wiring you’ve selected for power won’t be sufficient for the EBB36 - you should be looking at 18 or 20 AWG (stranded). Along with that, the data wires really aren’t appropriate - you should be looking at using either prepackaged twisted pair or something like this (which is what I plug into my Octopi):

[https://www.digikey.com/en/products/detail/assmann-wsw-components/AT-S-26-6-6-W-7/1972709](https://www.digikey.com/en/products/detail/assmann-wsw-components/AT-S-26-6-6-W-7/1972709)

As I have mentioned elsewhere, I did a back of the envelope calculation of the characteristic impedance of adjacent wires in this cable and it came out to 112 Ohms. Note that you should only use the middle two lines for data - for power, again look at separate 18 or 20 gauge AWG stranded wires.

Along with this, you might want to try a U2C board, like BTT’s:

[https://www.aliexpress.com/item/1005004242828520.html](https://www.aliexpress.com/item/1005004242828520.html)

rather than the CanHat. They’re very reliable (I’ve never seen any reports of dropped frames) and easy to set up.

First though, you need to address your wiring.

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 25, 2023, 6:12am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/12 "2023-02-25T06:12:27Z")

</div>

> [@mykepredko](#):
>
> Along with this, you might want to try a U2C board, like BTT’s:

Isn’t the USB to CAN bus bridge mode (e.g. BTT Octopus 1.1) the better solution?  
I’ve seen statements that this puts a burden on the raspberry pi, though looking at the Klipper documentation that should not be the case:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/0/0f14df3c404f9cea7355363d0fad8703fc255554.jpeg)

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [February 25, 2023, 6:48am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/13 "2023-02-25T06:48:11Z")

</div>

> [@lukics](#):
>
> > [@mykepredko](#):
> >
> > Along with this, you might want to try a U2C board, like BTT’s:
> 
> Isn’t the USB to CAN bus bridge mode (e.g. BTT Octopus 1.1) the better solution?

Personally, I think it’s the optimal solution as it is the simplest approach from the system (and wiring) perspective and I haven’t had any issues to suggest otherwise. However, other people don’t agree with me and have had problems in their printers.

Having said that, it is somewhat tricky to get the CAN Adapter working in the Octopus with Klipper for the first time and I used the CanHat and U2C solutions before going on to implementing it on my Octopus boards.

I would recommend that if you are starting out with the CanHat solution, keep with it and get your wiring fixed up (which should basically eliminate all dropped frames) and then migrate to running the CAN bus from your Octopus (and then deciding whether or not to run CanBoot).

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 25, 2023, 6:55am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/14 "2023-02-25T06:55:20Z")

</div>

Is not CanBoot flashed Octopus a prerequisite to have can bus bridge?

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [February 25, 2023, 7:14am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/15 "2023-02-25T07:14:58Z")

</div>

Nope.

> **[CANBUS - Klipper documentation](https://www.klipper3d.org/CANBUS.html#usb-to-can-bus-bridge-mode)**

As I said above, work at getting CAN working reliably first with more appropriate wiring your CanHat and then move onto the Octopus.

We had something of a spirited conversation on the topic that you can read through here:

> [@Setup EBB36 v1.2 connected to Octopus pro](https://klipper.discourse.group/t/setup-ebb36-v1-2-connected-to-octopus-pro/6617):
>
> Basic Information: Printer Model: V Core 3.1 500 MCU / Printerboard: btt Octopus Pro Lets continue the klipper noob adventures. For those already involved, thank you. The printer works and has printed a couple of calibration prints. Has anyone any experience of setting you the ebb36 v1.2 with an octopus pro (and not use a can hat) The [GitHub - bigtreetech/EBB](http://github.com/bigtreetech/ebb) makes no sense to me. It appears to suggest install firmware\_USB.bin onto ebb board and add the code from sample-bigtreetech-ebb…

You can setup Klipper on the Octopus to act as a CAN Bridge using a Klipper build like:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/7/7408890059572b81ea2ae0a2011882fd2f17438b.png)

CanBoot is installed before it and acts as a CAN bus bootloader with the purpose of providing a way of updating the firmware from the comfort of an SSH terminal but it isn’t necessary to run the CAN interface from the Octopus.

However, I again highly recommend getting the wiring and a CanHat or U2C board interface working first.

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 25, 2023, 8:01am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/16 "2023-02-25T08:01:07Z")

</div>

> [@mykepredko](#):
>
> However, I again highly recommend getting the wiring and a CanHat or U2C board interface working first.

I totally see the point. You are right.  
I ordered a Formbot Voron 2.4 and intended from the start to implement can bus and tap.  
I think I will revert the idea and start with a plain basic functioning version (drag chain + magnetic sensor) and step up with mod-by-mod.

Just an additional question: what is the best solution for the umbilical? Using a PTFE tube and feed in wires or by a special drag chain cable?

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [February 25, 2023, 9:07am UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/17 "2023-02-25T09:07:24Z")

</div>

That’s the way I did my 2.4. I started with the base configuration but changed to the Stealthburner when I was finalizing the gantry and didn’t like the way the Afterburner went together. I initially used the the Hartk board with the Stealthburner. Next, I went to the EBB SB2040 toolhead (with the CanHat on the rPi) board while simultaneously working with the FLY SHT42 (using a USB2CAN board) on a CoreXY I designed myself. I’m still running with the CanHat on the 2.4 and moved CAN to the Octopus on my CoreXY with CanBoot.

I tried implementing a Klicky on the 2.4 but was never happy with it - I’m quite happy using the Omron inductive sensor (I just finished adding it to my CoreXY after ditching a BL Touch on it). Maybe one day I’ll try the Klicky PCB, but the Voron is running very well and I don’t see any reason to tear it apart yet again as well as figuring out the best way to connect the RJ-11 connector to the SB2040 wiring harness.

I used the drag chains for the 13 or so wires of the Hartk board without any problems for 100+ hours of printing and am now running two 20 AWG power lines and the cable with the RJ-11 connector I linked above on both printers with drag chains and I’ve probably logged 1,000+ hours on the two of them without any issues. If you got the drag chains with the your 2.4 kit, I don’t see any reason to replace them.

Good luck with putting the 2.4 together!

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 25, 2023, 12:29pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/18 "2023-02-25T12:29:12Z")

</div>

> [@mykepredko](#):
>
> I initially used the the Hartk board

Did you use this Hartk board:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/98fb12b60d3dfa5dd7f3132ce173879ad431fccd.jpeg)

---

<div class="post-metadata">

**Author:** ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)\
**Post date:** [February 25, 2023, 4:57pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/19 "2023-02-25T16:57:40Z")

</div>

Not quite. I got the Mellow one here from AliExpress:

[https://www.aliexpress.com/item/1005004379749085.html](https://www.aliexpress.com/item/1005004379749085.html)

I don’t have a chamber thermistor (should put one in some day) and I used the X/Y switch block so that connector was also left empty.

---

<div class="post-metadata">

**Author:** ![sprior](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sprior](https://klipper.discourse.group/u/sprior)\
**Post date:** [February 25, 2023, 8:57pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/20 "2023-02-25T20:57:24Z")

</div>

Last week I had a very similar problem but my hardware is a U2C adapter and an EBB42, drove myself nuts when the final flash of klipper didn’t work with a timeout. I got on Discord and was told that the firmware that came flashed on my U2C had a bug and I still needed to flash an updated Candle\_FW to it and retry. It worked after that. So I don’t know if you already flashed Candle to your CAN hat or stuck with whatever came on it, but I’d give that a try.

---

<div class="post-metadata">

**Author:** ![lukics](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lukics/32/3552_2.png) [@lukics](https://klipper.discourse.group/u/lukics)\
**Post date:** [February 25, 2023, 9:51pm UTC](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877/21 "2023-02-25T21:51:52Z")

</div>

> [@sprior](#):
>
> So I don’t know if you already flashed Candle to your CAN hat or stuck with whatever came on it, but I’d give that a try.

My board is waveshare rs485 can bus hat. I did not find any info what „candle“ is and how to flash FW on that board. Can you please point into the right direction.

[Next page](https://klipper.discourse.group/t/what-speed-is-minumum-for-can-bus-setup/6877.md?page=2)
