Manta m5p CB1 with canbus problem?

what your suggesting is pretty much exactly what I had done when I posted 2 days ago that I had a serial connection for the manta m5p and for the EBB SB2209 USB.

unfortunately at that point, I still couldn’t get any response out of the pins on the EBB SB2209 USB.

I may revisit this later in the week, but when I got on to try to do something today, neither of the Manta m5P’s with CB1s will connect to my WiFi.

certainly unrelated, but makes it somewhat difficult to do much with them.

I presume you mean this post:

In it, you seem to still looking for a “can0” device.

In my instructions, you’re setting up the Klipper system with only two USB devices.

You must have external antennas on the CB1s like:

With an IPEX/uf.L connector.

no, it was this post.

and yes I am using an external antenna, haven’t had wifi trouble until today.

I am even more confused now…

using the serial connection I can see both the CB1 and the rp2040 tool head and when I add the serial addresses into my printer.cfg and canbus.cfg files they allow me to apparently communicate and get all the way to the dashboard in mainsail.

the problem comes in that I still cant actually control anything via the toolhead.

You mentioned and esoterical guide also says I should have canbus uuids rather than serial.

but when I look at the owners manual for the BTT device that I have, it clearly shows a serial device ID.
unfortunately this specific device isn’t addressed in esotericals guide.

image

Is 24V power getting to the toolhead board?

Yes toolhead is getting 24v

How are you enabling WiFi on the CB1? It doesn’t come up automagically.

If you’ve just put the OS image on the SD Card and loaded it into the M5P/CB1 combination then enter:

sudo nmcli dev wifi connect Your_SSID password "Your_Password"

To enable WiFi operation.

After that, execute ifconfig and you should see something like:

Make sure you have the wLan0: entry.

You’ve said this before but I have no idea what it means. Could you explain?

What is canbus.cfg? As I said above, there is only one .cfg you need to worry about and that’s printer.cfg.

Could you post your latest klippy.log so I can see what’s going on in the system.

I guess in my last post with the instructions I should have been more explicit and said forget about CAN Bus, you don’t have it.

As for me suggesting that you use the Esoterical guide, that was because you indicated that you were setting up a CAN Bus system (it’s even in the title of this thread). This is an example of GIGO.

Forget about the Esoterical guide, forget about CAN Bus.

So, to repeat, going forward we’re helping you set up a system consisting of:

  1. BTT Manta M5P with a BTT CB1 plugged into the two 100pin connectors on the M5P
  2. You have an Ethernet connection to the BTT Manta M5P along with a USB Keyboard and HDMI Monitor
  3. You have a BIGTREETECH EBB SB2209 USB V1.0 connected to the BTT Manta M5P using USB (to the small board that came with the BIGTREETECH EBB SB2209 USB V1.0). There is also a 24V power line going from the small board that came with the BIGTREETECH EBB SB2209 USB V1.0 to power it
  4. There is no CAN Bus hardware in the system
  5. You should be following the setup instruction in my post: Manta m5p CB1 with canbus problem? - #20 by mykepredko
  6. Once you’ve completed the setup instructions, then report back what is happening along with posting your klippy.log

If you’ve done everything in the six point list above, post your klippy.log.

no Wifi trouble today. Apparently a fluke just yesterday.

I have been enabling WiFi per the instructions from BTT for the CB1

after loading the boot Image to micro SD card I edit the system.cfg file to include the username and password for my network. worked great up until yesterday, and is now working great again.

I did not use the minimal image for the OS for the CB1 as I couldn’t get it to work yesterday, and am having no issues today with the larger OS image.

followed the rest of the steps as suggested and mostly functional today.

meaning the MCU for both the Manta and the toolhead are not causing any errors when I go into Mainsail.

I know from past troubles with canbus (and I will argue that this is indeed a canbus, merely done from a USB canbus bridge board) that having pins defined as both what was in the Manta sample config as well as what is in the EBB SB2209 USB sample config will cause silent problems (meaning they will not work, but won’t cause an error in the Mainsail interface). So I have checked for that.

currently the thermistor on the EBB SB2209 USB and the hotend will read and heat respectively.

initially the fan1 and fan 2 part cooling and hotend fan respectively were not working, but there may have been either a crimping issue, or a pair of bad fans, as they are working now as well.

So apparently my confusion came in not understanding that USB bridges for canbus are treated very differently than CANBUS as it is implemented from the Mainboard directly from the Manta.

hopefully someone else will find this if they are having the same issue.

thank you again for your patience and help.

Duke

Could you clearly describe how you’ve set up your system?

It sounds like you’ve set up the Manta M5P’s MCU as a USB to CAN Bridge and that’s not recommended unless you are connecting to a CAN Bus controller.

Please post your klippy.log.

In addition to electrical differences USB and CAN use a different topology.

USB is host‑centric: USB is a Host-Peripheral network. The host controls all communication. CAN is peer‑to‑peer: any node can transmit when the bus is free.

The actual protocol BTT uses between the USB plug and the toolhead could be any of several types (RS232?, RS458?,CAN?, SPI?). Kipper doesn’t care. All it needs is to know where to find the USB peripheral device.

klippy.zip (135.1 KB)

here you go.

and we are back to wifi not working, had to log in with ethernet…

Your connections in your klippy.log look fine.

Why type of antenna are you using and where is it placed? It should be outside the printer or, if it’s a patch like one, attached to a non-conducting surface (like plastic or Plexiglas) inside the printer.

It’s the patch antenna that was included with the CB1

It’s currently sitting in the open on a desktop exactly where it has worked perfectly for weeks.

You should try replacing the antenna. They can be fragile, especially if they’ve been moved around a lot and what you could see is the result of intermittent connections.

I have already ordered a couple more antennas, although I think it may be something with my network, as when one of the CB1’s has difficulty connecting, the other one does as well.