Jump to content

How to Use CAN Toolhead Boards Connected Directly to Octopus / Octopus Pro on CanBoot


Go to solution Solved by mvdveer,

Recommended Posts

On 12/9/2022 at 12:41 PM, Pradit said:

I'm using canboot. is it serial or canbus bridge? (EBB36 + Octopus pro)

if your using the canbus on the octopus without a card like the U2c then it's usb to serial so you probably would have a serial address. If you are using this method did you follow the pdf guide at the beginning of this thread on page ?

if your using a Card like the U2c then your using the canbus address.

Canboot is just a bootloader that helps you flash future versions without having to plug in usb cables to your EBB board.

 

Link to comment
Share on other sites

2 minutes ago, michaelmacintyre said:

if your using the canbus on the octopus without a card like the U2c then it's usb to serial so you probably would have a serial address. If you are using this method did you follow the pdf guide at the beginning of this thread on page ?

if your using a Card like the U2c then your using the canbus address.

Canboot is just a bootloader that helps you flash future versions without having to plug in usb cables to your EBB board.

Oh. Ive been using uuid all along.

I followed the document here.

After flash i couldnt query serial address any more.

Only get uuid query.

 

But after fan led extruder are working. Query canbus return nothing any more.

Link to comment
Share on other sites

5 hours ago, Pradit said:

Oh. Ive been using uuid all along.

I followed the document here.

After flash i couldnt query serial address any more.

Only get uuid query.

But after fan led extruder are working. Query canbus return nothing any more.

when you run python3 flash_can.py -i can0 -q does it show only 1 uuid?

I just came across your posts about your build. very nice and well done.

looks like one of your posts shows your can network is up so could you possibly have a wiring problem to your mcu? seems unlikely though since your pi can't see either can devices.

akhamar/voron_canbus_octopus_sb2040 (github.com)

try that site also to see if it helps. i know its a different toolhead board but might be helpful.

Edited by michaelmacintyre
  • Like 1
Link to comment
Share on other sites

6 hours ago, michaelmacintyre said:

when you run python3 flash_can.py -i can0 -q does it show only 1 uuid?

I just came across your posts about your build. very nice and well done.

looks like one of your posts shows your can network is up so could you possibly have a wiring problem to your mcu? seems unlikely though since your pi can't see either can devices.

akhamar/voron_canbus_octopus_sb2040 (github.com)

try that site also to see if it helps. i know its a different toolhead board but might be helpful.

At 1st it show both uuid then i noted down and setup mcu uuid and can uuid.

Then i tested all toolhead components work fine. 

As i said it still work but only when query uuid it return nothing.

 

I ll check the link out and see.

Thanks.

Link to comment
Share on other sites

9 minutes ago, Pradit said:

At 1st it show both uuid then i noted down and setup mcu uuid and can uuid.

Then i tested all toolhead components work fine. 

As i said it still work but only when query uuid it return nothing.

I ll check the link out and see.

Thanks.

I'm pretty sure that once you setup the uuid in the config file then the query no longer finds the uuid.

I just ran the command on one of my printers that are currently printing and it returned 

 

Resetting all bootloader node IDs...
Checking for canboot nodes...
Query Complete
 

I also just found the following note from the klipper page

Note that the canbus_query.py tool will only report uninitialized devices - if Klipper (or a similar tool) configures the device then it will no longer appear in the list.

Edited by michaelmacintyre
  • Like 1
Link to comment
Share on other sites

2 minutes ago, michaelmacintyre said:

I'm pretty sure that once you setup the uuid in the config file then the query no longer finds the uuid.

I just ran the command on one of my printers that are currently printing and it returned 

Resetting all bootloader node IDs...
Checking for canboot nodes...
Query Complete
 

Great... Im normal.

Hhahaha.

 

Next question if you dont mind.

 

Im using rapido which come with 104nt-4.

How do I make sure this thermistor is reading correct temp?

Link to comment
Share on other sites

9 minutes ago, michaelmacintyre said:

it should show the temperature in mainsail or fluidd or octoprint. with no heat on it should read the room temperature.

image.thumb.png.315cc2ce25fffe78256d7bddb3dc7812.png

My room temp is 35c, bed temp is 35c(I haven't install yet just put outside the buil.).

But hotend temp is 47c sometime 50c.

I didnt plug the heater to ebb yet.

Is it because its in at tight spot with wire and ebb board?

Simply put hotend temp 10+ C more than bed always without heater plugin yet.

 

Is it normal? 

Id like to check the thermistor working correctly 1st before pid tuning. Afraid something go wrong.

Link to comment
Share on other sites

1 minute ago, Pradit said:

My room temp is 35c, bed temp is 35c(I haven't install yet just put outside the buil.).

But hotend temp is 47c sometime 50c.

I didnt plug the heater to ebb yet.

Is it because its in at tight spot with wire and ebb board?

Simply put hotend temp 10+ C more than bed always without heater plugin yet.

Is it normal? 

Id like to check the thermistor working correctly 1st before pid tuning. Afraid something go wrong.

10 degrees seems a little too much to be out.

What sensor type have you set on your ebb? 

Link to comment
Share on other sites

14 minutes ago, Pradit said:

ATC Semitec 104NT-4-R025H42G on th0.

check your ebb config file to see what the resistance is set for. Some config files are set for 2200. I've added my config. Also make sure that your printer.cfg has the thermistor commented out. I'm sure you do but worth checking.

 

[extruder]
step_pin: EBBCan: PD0
dir_pin: EBBCan: PD1
enable_pin: !EBBCan: PD2
microsteps: 32
rotation_distance: 22.6789511
gear_ratio: 50:17
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: EBBCan: PA2
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: EBBCan: PA3
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 280
max_power: 1.0
min_extrude_temp: 170
pressure_advance: 0.059
 

Link to comment
Share on other sites

22 minutes ago, michaelmacintyre said:

check your ebb config file to see what the resistance is set for. Some config files are set for 2200. I've added my config. Also make sure that your printer.cfg has the thermistor commented out. I'm sure you do but worth checking.

[extruder]
step_pin: EBBCan: PD0
dir_pin: EBBCan: PD1
enable_pin: !EBBCan: PD2
microsteps: 32
rotation_distance: 22.6789511
gear_ratio: 50:17
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: EBBCan: PA2
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: EBBCan: PA3
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 280
max_power: 1.0
min_extrude_temp: 170
pressure_advance: 0.059
 

May I ask where is ebb config file locate?

Here is my printer cfg. I haven't done anything with extruder config yet but the sensortype.

## EXTRUDER 
[extruder]
step_pin: can0:EXT_STEP
dir_pin: !can0:EXT_DIR
enable_pin: !can0:EXT_EN
#rotation_distance: 22.67895 #for 5mm Shaft Driven Bondtech gearsets
rotation_distance: 26.72306036
gear_ratio: 50:8 #for sherpa mini 8t motor
microsteps: 16
full_steps_per_rotation: 200 #1.8deg Motor
max_extrude_only_distance: 1400.0
max_extrude_only_velocity: 75.0
max_extrude_only_accel: 1500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: can0:HE0
sensor_pin: can0:TH0
sensor_type: ATC Semitec 104NT-4-R025H42G  # this is the default for the Revo heater
pullup_resistor: 2200             # this is the default for the Revo heater
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: -50
max_temp: 350
min_extrude_temp: 10

 

Link to comment
Share on other sites

6 hours ago, Pradit said:

May I ask where is ebb config file locate?

Here is my printer cfg. I haven't done anything with extruder config yet but the sensortype.

## EXTRUDER 
[extruder]
step_pin: can0:EXT_STEP
dir_pin: !can0:EXT_DIR
enable_pin: !can0:EXT_EN
#rotation_distance: 22.67895 #for 5mm Shaft Driven Bondtech gearsets
rotation_distance: 26.72306036
gear_ratio: 50:8 #for sherpa mini 8t motor
microsteps: 16
full_steps_per_rotation: 200 #1.8deg Motor
max_extrude_only_distance: 1400.0
max_extrude_only_velocity: 75.0
max_extrude_only_accel: 1500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: can0:HE0
sensor_pin: can0:TH0
sensor_type: ATC Semitec 104NT-4-R025H42G  # this is the default for the Revo heater
pullup_resistor: 2200             # this is the default for the Revo heater
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: -50
max_temp: 350
min_extrude_temp: 10

I have attached the one that i use but you must have some sort of file used since you have references to Can0:

Usually the file is in the same folder as your printer.cfg file

In my file the EBB mcu is named EBBCan which is why for example my thermistor says EBBCan:PA3

I think i know why your temperature is out and i mentioned it a couple of messages ago. looks like your config is set for 2200 resistance. if you remove that it should use the 4.7k and might make it better.

ebbcanbus.cfg

Link to comment
Share on other sites

1 hour ago, michaelmacintyre said:

I have attached the one that i use but you must have some sort of file used since you have references to Can0:

Usually the file is in the same folder as your printer.cfg file

In my file the EBB mcu is named EBBCan which is why for example my thermistor says EBBCan:PA3

I think i know why your temperature is out and i mentioned it a couple of messages ago. looks like your config is set for 2200 resistance. if you remove that it should use the 4.7k and might make it better.

ebbcanbus.cfg 1.72 kB · 0 downloads

Ah I see what you mean 

pullup_resistor

I'll try tomorrow. Thanks.

Link to comment
Share on other sites

2 hours ago, michaelmacintyre said:

Excellent,

Sounds like you'll be up and running in no time.

I'm setting up klicky probe. still manually dock and figure it out how to put in macro.

However I tried to probe_accuracy and it randomly timeout on me. never finish 10 times.

What should I dig?

Link to comment
Share on other sites

1 hour ago, michaelmacintyre said:

Was your temperature on at the time possibly causing drift?

Also double check your wiring in case there's a wire loose.

usually when probe_accuracy fails it's due to something moving.

is everything nice and tight also?

Not sure about wire, im a bad crimp anyway. 😄

But i found the solution to change timeout in mcu.py from. 0.25 to 0.5.

"Changed TRSYNC_TIMEOUT value in “/home/pi/klipper/klippy/mcu.py” file from 0.025 to 0.050, i.e. was “TRSYNC_TIMEOUT = 0.025”, and became “TRSYNC_TIMEOUT = 0.050”, and the error “Communication timeout during homing probe” disappeared"

 

I can finished probe accuracy.

and something weird came with it.

those 2 led have never on it is in now. White.

 

Some time in early build it used to on but green.

Edited by Pradit
Link to comment
Share on other sites

2 minutes ago, Pradit said:

Not sure about wire, im a bad crimp anyway. 😄

But i found the solution to change timeout in mcu.py from. 0.25 to 0.5.

I can finished probe accuracy.

and something weird came with it.

those 2 led have never on it is in now. White.

Some time in early build it used to on but green.

I'm not sure. What klicky are you using? is it like an ldo klicky or is it one you built yourself?

Also do you have any status based macros that might be turning the led's on for example stealburner can have different colours switched on for probing and heating etc.

Link to comment
Share on other sites

7 minutes ago, michaelmacintyre said:

I'm not sure. What klicky are you using? is it like an ldo klicky or is it one you built yourself?

Also do you have any status based macros that might be turning the led's on for example stealburner can have different colours switched on for probing and heating etc.

Im using original klicky with the glue.

 

I have to check led things later tomorrow.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...