Okay you want to set up a
Filament sensor
for your extruder
what I have done is I made a
Model of what I think it should be like I'm not sure if it is going be my final version of it
But basically I'm using an optical sensor, then I'm securing over here
I'm placing the filament in here so that it passes a sensor
And I will keep in mind you have to use a dark filament if you use a clear filament. This won't work, so
What you are going do to connect this it is kind of simple, but kind of not like the directions that they gave you
What you are going need to do is because it says to use pin 4 for the servos you have to place a jumper
These two pins to give it power it is the VCC and 5 volt
So what you are going. Do is you are going take your jumper.
You are going place it right
Here, and that is going power these pins for you now the pins are slightly different
It is a negative on the bottom positive in the center
And then your signal pin is on top so it is different from your actual
Endstops, so I have marked these I have red
For my 5 volts I have black for my ground, and then I have my signal pin
So normally they tell you to use pin 4, which would be these pins on the outer edge.
But we are going use the ones one over because there seems to be some kind of issue and the pins file
So for black you are going put it on the bottom
Second pin
Then you are going do red
Which is your power and then your signal
Will be on top
So that is how you connect your actual sensor pin now. This is going to be a normal stepper configuration
you are going to need to hook up your
stepper
over here
To your stepper zero and then I ran into another issue with LCD
panels the smart discount
LCD panel appears not to work with the filament out
Whereas the RepRap discount full graphics smart controller
appears to work quite well now you are also going to need to have a
SD card
That is loaded with a file in
g-code format
so
this part
I'm going to ignore showing you how to setup because there's great videos out there one by I believe somebody named Thomas
He explains this quite well
So I'm gonna skip that part, but I'm going to show you the full configuration as
it is setup and
how to modify the file and just a second
Ok we are going to open up Marlin
Here is the solution file
We are going go to the configuration.h tab, and we are going search on
LCD and that is going to bring a style CD and support, then I'm going to scroll down
And uncomment SD support
We are also going to uncomment SD check and retry
Then we are going look for the speaker
Here we go
We are going
uncomment the speaker for the LCD panel
and
Then we are going uncomment
LCD
feedback frequency duration
And we are also going do
LCD feedback frequency in Hertz
But then going go and find the
Entry for the RepRap discount full graphics smart controller
So let us see if I can skip to it here
Here we go
So that is the actual graphics controller we want to use now
We also want to go find
the
define filament run out
Okay now I want uncomment Filament runout sensor
all the rest of this will leave as default for the moment and
now we want to go to the Advanced tab and
We want to go find the, "Advanced Pause Feature"
Want to comment this as well
Now there is several settings in here, I'm not going to go over all of them
But as you can see here the is the advanced pause and a little bit of
An explanation of how it works
Now that is all we need to do for
the marlin portion for configuration.h and then config advance stage
But we also have to modify pins
So we are going go back over here. We are going find pins
and then we are going to scroll down to
The pins_RAMPS.h and open that up
We are going search on runout
Now a
Possible reason why I might not be working has to do with maybe this fan pin. I'm not sure
But for now what we are going
Do is we are going cheat because we do not have a filament with sensor to worry about at the moment
So we are going change that to four
We are going change that in five so normally we would connect to the fourth set of pins
But we are going in one which is in five
And we are going to save that
Then we are going to go back to Marlin FW
And we are going to upload
and
Compile, so it is first going to compile and upload
You
Okay, we are going open up Pronterface, and we are going connect to the printer now
The first thing we want to do is verify that our actual sensor is working
So with a dark filament, that's not clear inserted in the sensor
We are going to do M119
It says triggered
Now we are going remove the actual
filament and do M119 again
Now it says open
So it appears to work correctly so the next step is to show you how it works on the actual configuration
Okay
got the
LCD panel
Configured and connected. We have the SD card connected. We have our normal configuration over here, and then we have our
Optical sensor with a dark filament inserted. I'm going to turn off the light so you can see this better
Let me zoom in for you
And I'm going plug it in
Now notice we have 1.1.6 for our Marlin firmware version
We are going to navigate to the SD card
We are going pick a file we are going let it home, it is going heat up
And we have just thrown error because the filament is bent so it is unloading it
And now it is saying insert and press button to continue, so that is the
Simple process of actually adding the filament back in
Making sure these sensor is tripped
Then you're gonna press
Continue, and it is actually going to load it
So if you liked my video, please press the Like button and thank you for your time and do not forget to Subscribe
Thank you very much