› Forums › The Beast V1, V2 and Elevator 3D Printer Support › filament sensors
- This topic has 16 replies, 3 voices, and was last updated 2 months, 2 weeks ago by
Dan.
-
AuthorPosts
-
November 17, 2020 at 12:53 am #2087
phongshader
ParticipantThey 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.
November 17, 2020 at 7:36 pm #2088Dan
KeymasterSounds 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?
November 18, 2020 at 7:08 pm #2089phongshader
ParticipantHere you go
November 20, 2020 at 2:33 am #2095phongshader
Participantany thoughts?
November 23, 2020 at 6:19 pm #2096phongshader
ParticipantBueller…Bueller…Bueller…
November 27, 2020 at 6:35 am #2123Dan
KeymasterSorry mate. Email notifications were down. M119 is your best friend. please see my response in your post frustration issues.
November 29, 2020 at 4:04 pm #2153phongshader
ParticipantDoes 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_PULLDOWNNovember 30, 2020 at 7:42 pm #2154Dan
KeymasterThat 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
December 3, 2020 at 6:58 pm #2157phongshader
ParticipantI’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?
December 3, 2020 at 9:46 pm #2159Dan
KeymasterGTR has specific connectors for filament sensors. E0 and E1 endstop positions.
I believe these pins are already mapped.
Dan
December 3, 2020 at 11:29 pm #2160phongshader
ParticipantSo 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 PD3I 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
phongshader.
December 4, 2020 at 1:07 am #2162Dan
KeymasterYes 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.
December 4, 2020 at 1:12 am #2163Dan
KeymasterBy 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.PDFUnlike the Rumba board, pins on the GTR are referred to with 2 letters and 2 numbers.
December 4, 2020 at 1:25 am #2164phongshader
Participantok, 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?
December 10, 2020 at 8:00 pm #2165phongshader
ParticipantI’m going to assume my last post is correct.
-
This reply was modified 2 months, 3 weeks ago by
-
AuthorPosts
- You must be logged in to reply to this topic.