Hi guys, I was hoping to get a little assistance trying to set up the filament sensor.
In Marlin,
the code refers the pin out to the RAMPS board pinout which specifies the following:
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
#define FIL_RUNOUT_PIN 11
in the config.h file it specifies the following:
/**
- Filament Runout Sensor
- A mechanical or opto endstop is used to check for the presence of filament.
- RAMPS-based boards use SERVO3_PIN.
- For other boards you may need to define FIL_RUNOUT_PIN.
- By default the firmware assumes HIGH = has filament, LOW = ran out
*/
#define FILAMENT_RUNOUT_SENSOR
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#define FIL_RUNOUT_INVERTING true // set to true to invert the logic of the sensor.
//#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
#define FILAMENT_RUNOUT_SCRIPT “M600”
#endif
Can anyone tell me if this is the D4 pin on servos 2? kind of lower RHS on picture?
(I have tried connecting my sensor to this pin and 5v but it didn’t seem to do anything)
created
Oct '18last reply
Jun '19- 2
replies
- 20.4k
views
- 2
users