EBB icon indicating copy to clipboard operation
EBB copied to clipboard

filament sensor EBB SB2209 CAN(RP2040)

Open Krlesul opened this issue 1 year ago • 31 comments

Hi, can you help me please? I have no idea to which connector on the sb2209 board I can connect filament sesor which I have in the tool head Stealthburner.

Thank you so much

Krlesul avatar Nov 23 '23 14:11 Krlesul

if your not using a proximity switch, try using gpio6 with jumper IND on and NPN jumper on. oh and don't use the V pin as that is 24v.. if you have a 3 pin switch.. normally you only have use 2 pins ground and sensing pin (gpio6).

cruzer619 avatar Dec 05 '23 18:12 cruzer619

image

cruzer619 avatar Dec 05 '23 18:12 cruzer619

Did it work?

julianschweizer avatar Feb 10 '24 17:02 julianschweizer

Yes, Thank you

*S pozdravem a přáním krásného dne * Best regards and wish a beautiful day

František Kršňák

  • Czech Republic*

so 10. 2. 2024 v 18:49 odesílatel Julian @.***> napsal:

Did it work?

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/EBB/issues/86#issuecomment-1937081592, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VYKNYNXD6GTYLTF7OMOATYS6XLVAVCNFSM6AAAAAA7X3ZQTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGA4DCNJZGI . You are receiving this because you authored the thread.Message ID: @.***>

Krlesul avatar Feb 10 '24 17:02 Krlesul

thats good to know it worked with the workaround.

cruzer619 avatar Feb 10 '24 19:02 cruzer619

This is helpful info. Is there another spot that works? I have one before gears and after in my galileo 2 setup.

Hulign avatar Feb 28 '24 22:02 Hulign

This is helpful info. Is there another spot that works? I have one before gears and after in my galileo 2 setup.

@Hulign nope thats the only "extra" port available to my knowledge.

cruzer619 avatar Feb 28 '24 23:02 cruzer619

This is helpful info. Is there another spot that works? I have one before gears and after in my galileo 2 setup.

@Hulign nope thats the only "extra" port available to my knowledge.

I intend to use 2 pins on the probe connector (I use a cartographer3d scanner via CAN as bed probe). That way I think it must be possible…

hartmanrik avatar Mar 05 '24 19:03 hartmanrik

i think its possible to use the 2 extra fans GPIOs (if not in use)

iwm911 avatar Apr 09 '24 19:04 iwm911

Going to be installing a ERCF soon. Here is how I connected the two runout sensors. image

dearnheart avatar Apr 11 '24 14:04 dearnheart

@dearnheart nice... didn't realize SB2209 has 2 endstop ports.. (didn't really look at the schematics of the SB2209 thought they would be similar to SB2209-RP2040 version. Just different connectors and chip).. as I'm thinking of getting an ERCF v2 as well.. Now I have to think do I need to buy that version..

cruzer619 avatar Apr 11 '24 17:04 cruzer619

@dearnheart nice... didn't realize SB2209 has 2 endstop ports.. (didn't really look at the schematics of the SB2209 thought they would be similar to SB2209-RP2040 version. Just different connectors and chip).. as I'm thinking of getting an ERCF v2 as well.. Now I have to think do I need to buy that version..

Give BTT horrible naming for these boards I can easily see the confusion.

dearnheart avatar Apr 11 '24 17:04 dearnheart

Going to be installing a ERCF soon. Here is how I connected the two runout sensors. image

Hi dearnheart, by the 'two runout sensors' are you referring to the Toolhead and Entry Sensor? Thanks!

fkahhaleh avatar Apr 16 '24 15:04 fkahhaleh

Going to be installing a ERCF soon. Here is how I connected the two runout sensors. image

Hi dearnheart, by the 'two runout sensors' are you referring to the Toolhead and Entry Sensor? Thanks!

Correct, I was planning on using this mod.

https://github.com/Enraged-Rabbit-Community/ERCF_v2/tree/master/Recommended_Options/ERF_Filament_Cutter/Stls/1_Toolhead_And_Entry_Sensors

dearnheart avatar Apr 16 '24 15:04 dearnheart

Going to be installing a ERCF soon. Here is how I connected the two runout sensors. image

Hi dearnheart, by the 'two runout sensors' are you referring to the Toolhead and Entry Sensor? Thanks!

Correct, I was planning on using this mod.

https://github.com/Enraged-Rabbit-Community/ERCF_v2/tree/master/Recommended_Options/ERF_Filament_Cutter/Stls/1_Toolhead_And_Entry_Sensors

Great. I am at the road fork of deciding which route to go. Did you actually make the connections/test it working? or just planning phase! Thank you

fkahhaleh avatar Apr 16 '24 15:04 fkahhaleh

Going to be installing a ERCF soon. Here is how I connected the two runout sensors. image

Hi dearnheart, by the 'two runout sensors' are you referring to the Toolhead and Entry Sensor? Thanks!

Correct, I was planning on using this mod. https://github.com/Enraged-Rabbit-Community/ERCF_v2/tree/master/Recommended_Options/ERF_Filament_Cutter/Stls/1_Toolhead_And_Entry_Sensors

Great. I am at the road fork of deciding which route to go. Did you actually make the connections/test it working? or just planning phase! Thank you

Connection was made and fully functional. PXL_20240411_113316934 [filament_switch_sensor filament_sensor2] switch_pin: EBBCan: PB8 pause_on_runout: True insert_gcode: M117 Insert Detected runout_gcode: M117 Runout Detected #LCDRGB R=1 G=0 B=0 # Turn LCD red #BEEP I=12

[filament_switch_sensor filament_sensor] switch_pin: EBBCan: PC13 pause_on_runout: True insert_gcode: M117 Insert Detected runout_gcode: M117 Runout Detected #LCDRGB R=1 G=0 B=0 # Turn LCD red #BEEP I=12

dearnheart avatar Apr 16 '24 15:04 dearnheart

Wow this is really good news! Thank you for sharing your setup.

fkahhaleh avatar Apr 16 '24 15:04 fkahhaleh

This is helpful info. Is there another spot that works? I have one before gears and after in my galileo 2 setup.

@Hulign nope thats the only "extra" port available to my knowledge.

I intend to use 2 pins on the probe connector (I use a cartographer3d scanner via CAN as bed probe). That way I think it must be possible…

Did this work? I’m looking to do the same.. cartographer via can on sb2209 (sb2040) 2 sensors on the probe connector. Thanks

mrellifant avatar Jun 04 '24 21:06 mrellifant

This is helpful info. Is there another spot that works? I have one before gears and after in my galileo 2 setup.

@Hulign nope thats the only "extra" port available to my knowledge.

I intend to use 2 pins on the probe connector (I use a cartographer3d scanner via CAN as bed probe). That way I think it must be possible…

Did this work? I’m looking to do the same.. cartographer via can on sb2209 (sb2040) 2 sensors on the probe connector. Thanks

Yes, all the details shared by @dearnheart are spot on and worked for me.

fkahhaleh avatar Jun 05 '24 16:06 fkahhaleh

O no I was gonna do this too but sb2209 and sb2209 rp2040 are 2 different boards?? Is it not possible to put 2 sensors on sb2209 rp2040?

Pitufo123 avatar Aug 04 '24 21:08 Pitufo123

O no I was gonna do this too but sb2209 and sb2209 rp2040 are 2 different boards?? Is it not possible to put 2 sensors on sb2209 rp2040?

Wish I could say, I can only speak to the board I have.

dearnheart avatar Aug 04 '24 22:08 dearnheart

O no I was gonna do this too but sb2209 and sb2209 rp2040 are 2 different boards?? Is it not possible to put 2 sensors on sb2209 rp2040?

i use BL Touch for bed leveling and i am able to use 2 sensors on the 2209 rpi2040. i used the spare GPIO (i think its GPIO6) and the extra fan on the cover plate using the PWM pin.

iwm911 avatar Aug 05 '24 04:08 iwm911

I've got gpio6 and gpio21 currently (on sb2209 rp2040 board). One of them is always showing detected and the other shows detected when I insert filament but then reverts to empty with filament still inserted. I'm not certain if one of the switches is stuck or not, but what would cause the detected state to revert with switch still triggered?

Pitufo123 avatar Aug 05 '24 17:08 Pitufo123

I've got gpio6 and gpio21 currently (on sb2209 rp2040 board). One of them is always showing detected and the other shows detected when I insert filament but then reverts to empty with filament still inserted. I'm not certain if one of the switches is stuck or not, but what would cause the detected state to revert with switch still triggered?

add a ! to the pin to reverse it "Pin names may be preceded by ! to indicate that a reverse polarity should be used (eg, trigger on low instead of high)."

dearnheart avatar Aug 05 '24 18:08 dearnheart

Ya but that would just invert the state right? What's happening on one of my sensors is that I insert the filament, the state changes, and then without moving the filament, the state reverts to the previous state

Pitufo123 avatar Aug 05 '24 18:08 Pitufo123

Ya but that would just invert the state right? What's happening on one of my sensors is that I insert the filament, the state changes, and then without moving the filament, the state reverts to the previous state

Oh, sounds like maybe a bad sensor or something, I am at a loss on that one.

dearnheart avatar Aug 05 '24 18:08 dearnheart

Ya I'm really confused... I've got a sticky top sensor (ball bearing not working properly) but when I take it apart and check with a multimeter both connections work. I have them wired NC. The bottom sensor on gpio6 doesn't change state in klipper. (The sensor that reliably works with the multimeter)

Pitufo123 avatar Aug 05 '24 21:08 Pitufo123

Could be the jumpers on the board, could be the switch is loose to the point it triggers when the filament enters but the pressure pushes it back, could be the wiring. To many variables

dearnheart avatar Aug 05 '24 21:08 dearnheart

I've got gpio6 and gpio21 currently (on sb2209 rp2040 board). One of them is always showing detected and the other shows detected when I insert filament but then reverts to empty with filament still inserted. I'm not certain if one of the switches is stuck or not, but what would cause the detected state to revert with switch still triggered?

I have the same situation... already got a new sensor but the problem still exists... i wonder if there is a jumper missing? I will try the other GPIOs mentioned above, maybe they will work...

kabelrolle avatar Aug 08 '24 13:08 kabelrolle

I've got gpio6 and gpio21 currently (on sb2209 rp2040 board). One of them is always showing detected and the other shows detected when I insert filament but then reverts to empty with filament still inserted. I'm not certain if one of the switches is stuck or not, but what would cause the detected state to revert with switch still triggered?

I have the same situation... already got a new sensor but the problem still exists... i wonder if there is a jumper missing? I will try the other GPIOs mentioned above, maybe they will work...

there is the jumper that sets the GPIO to fan or ind. it should be on ind image

iwm911 avatar Aug 08 '24 20:08 iwm911