fbpx

filament sensors

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #2087
    phongshaderphongshader
    Participant

    They don’t seem to work as a pair. If both sensors have filament and E0 triggers nothing happens, the printer happily keeps printing. If both sensors have filament and E1 triggers the printer runs M600 as expected. On closer examination if E0 is triggered only E0 is open E1 is still closed and the printer continues to run, if E1 is triggered and open then both E0 and E1 are triggered and the printer runs M600. This is dependent on the order the sensors are plugged into the filament out adapter as well. When I switched the order on the adapter it it also switched the order of how E0 and E1 react when triggered. That being said how do I set this up so that each sensor will start M600 when triggered instead of only the last sensor plugged into the filament out adapter.

    #2088
    cultivate3dDan
    Keymaster

    Sounds like it’s not plugged in correctly. They should both trigger. Can you send a photo of how they’re connected to the cpu quad fan adapter and also how that is connected to the board?

    #2089
    phongshaderphongshader
    Participant
    #2095
    phongshaderphongshader
    Participant

    any thoughts?

    #2096
    phongshaderphongshader
    Participant

    Bueller…Bueller…Bueller…

    #2123
    cultivate3dDan
    Keymaster

    Sorry mate. Email notifications were down. M119 is your best friend. please see my response in your post frustration issues.

    #2153
    phongshaderphongshader
    Participant

    Does this look correct?
    #define FILAMENT_RUNOUT_SENSOR
    #if ENABLED(FILAMENT_RUNOUT_SENSOR)
    #define FIL_RUNOUT_ENABLED_DEFAULT true
    #define NUM_RUNOUT_SENSORS 1

    #define FIL_RUNOUT_STATE LOW
    #define FIL_RUNOUT_PULLUP
    //#define FIL_RUNOUT_PULLDOWN

    #2154
    cultivate3dDan
    Keymaster

    That does look correct. What did your experiments with M119 produce? If results were inverted to what was expected, you’ll need to adjust a different setting to invert the logic. Can’t recall off the top of my head where that is as on my phone. Maybe in the endstops section.

    Dan

    #2157
    phongshaderphongshader
    Participant

    I’m switching over to a BTT GTR board, got one cheap and you like them. Where would I plug in the filament sensors in , ZMAX_PLUG? What pin would I define as FIL_RUNOUT_PIN in marlin?

    #2159
    cultivate3dDan
    Keymaster

    GTR has specific connectors for filament sensors. E0 and E1 endstop positions.

    I believe these pins are already mapped.

    Dan

    #2160
    phongshaderphongshader
    Participant

    So this would not be correct then,
    if pins_BTT_GTR_V1_0.h is:
    #define E2_DIAG_PIN PD3 // Z+
    #define Z_MAX_PIN E2_DIAG_PIN // Z+

    then add this to configuration.h:
    #define FIL_RUNOUT_PIN PD3

    I didn’t a specific setting in pins_BTT_GTR_V1_0.h for a filament sensor so I used the Z_MAX_PIN.
    I did get compile errors without FIL_RUNOUT_PIN defined.

    • This reply was modified 2 months, 3 weeks ago by phongshaderphongshader.
    #2162
    cultivate3dDan
    Keymaster

    Yes correct, if filament out is plugged into E2. However E0 and E1 are PG14 and PG9 respectively. E0 should be filament out for the first extruder and E1 for second.

    #2163
    cultivate3dDan
    Keymaster

    By the way, refer to this if you need help with Pin definitions.
    https://github.com/bigtreetech/BIGTREETECH-GTR-V1.0/blob/master/BTT%20GTR%20V1.0/manual/GTR%20V1.0%20PIn.PDF

    Unlike the Rumba board, pins on the GTR are referred to with 2 letters and 2 numbers.

    #2164
    phongshaderphongshader
    Participant

    ok, so I would add this to configuration.h: #define FIL_RUNOUT_PIN PG14 if I were to plug the sensor into E0. I do have 2 sensors, would I plug both sensors into E0 as on the Rumba board or would I plug the 2nd sensor into E1 and add the line #define FIL_RUNOUT2_PIN PG9?

    #2165
    phongshaderphongshader
    Participant

    I’m going to assume my last post is correct.

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.
Facebook Instagram YouTube