Comments (18)
Unfortunately this will not work with the standard cabling on FAN3 of Voron V0.2 config, because according to schematic this port GPIO20 is linked with the laser port. Furthermore Klipper gives an error message that the port is already occupied. You are not allowed to connect a fan on FAN3 and have to switch to FAN 2/1.
from smart-filament-detection-module.
Add this to the appropriate config file on YOUR setup (on mine it's sky-pico-v1.0.cfg)
[filament_switch_sensor switch_sensor]
switch_pin: ^gpio16 # as shown in Figure 2, switch sensor I is PAO
pause_on_runout: False
runout_gcode:
PAUSE # [pause resume] is required in printer.cfg
M117 Filament switch runout
insert_gcode:
M117 Filament switch inserted
[filament_motion_sensor encoder_sensor]
switch_pin: ^gpio20 # as shown in Figure 2, motion sensor IO is PC2
detection_length: 2.88 # accuracy of motion sensor 2.88mm
extruder: extruder
pause_on_runout: False
runout_gcode:
PAUSE # [pause resume] is required in printer.cfg
M117 Filament encoder runout
insert_gcode:
M117 Filament encoder inserted
And here's what it should look like with yellow highlights to point out:
Someone at BTT should add this as a sample config. I don't know how to submit a pull request, I'm not a programmer.
from smart-filament-detection-module.
Thanks I will try this!
from smart-filament-detection-module.
Unfortunately this will not work with the standard cabling on FAN3 of Voron V0.2 config, because according to schematic this port GPIO20 is linked with the laser port. Furthermore Klipper gives an error message that the port is already occupied. You are not allowed to connect a fan on FAN3 and have to switch to FAN 2/1.
I wonder if the P11 "SERVOS" header could be used, with the caveat that you'd have to re-pin the connector. Not sure if GPIO29_ADC being an ADC port will cause an issue or not.
The endstops are wired pin 1: data, 2: gnd, 3: 5V
The servos header is wired pin 1: gnd, pin 2: 5v, pin 3: data
Another candidate is the P13 "PROBE" header, which requires repinning that two wires into 3-pins green and black connector to a 2-pin connector. You'd have to install a jumper on P21 between pins 2 and 3, and the motion sensor would thus be on the Pico's GPIO 22 aka "P_2" pin.
Probably easier to just wire this thing to your raspberry pi header, assuming you can find a spare 5v pin that you haven't already hijacked by powering the pi via the SKR Pico's P5 header. Though it looks like this thing will take 3.3 volts as well, so you could use the Pi pin 1 for 3.3v.
from smart-filament-detection-module.
Not sure if GPIO29_ADC being an ADC port will cause an issue or not.
Oh yes, it will. Apparently, GPIO29 is used internally by RP2040 to measure VSYS, and connecting it as a digital input messes up thermistor reads somehow, causing Klipper to crash with "ADC out of range". Okay, VSYS theory might not be correct. The issue might be that sensor feeds its supply voltage back to the filament motion pin, so when connected to GPIO29, it will feed its supply of 5V back into an ADC pin. Presumably, ADC inside the RP2040 doesn't like that and all other measurements go bonkers.
However, there is a pin header on a board with GPIO22 on the middle pin -- this one could be used for encoder. I re-pinned the connectors such that one connector, JST, got red/black/blue and is plugged into E0 stop and another connector, Dupont, gets a single wire, green, going to that middle pin with GPIO22.
from smart-filament-detection-module.
Has there been any updates or solutions for any of you?
from smart-filament-detection-module.
I got this working for anyone who is looking to connect the BTT smart filament sensor to a SKR Pico. There doesnt seem to be enough points for a correct separate connection. I was able to feed a needle though the connection and swap the pins around on the Motion / GND connnection. I matched the RGB connection layout per the pinout diagram on the Pico (next to the E0 endstop) and activated it via that pin. Changing the connector pins allows for more ports to be used.
from smart-filament-detection-module.
Related Issues (20)
- cr4ns200141c13 on ender 5 s1 config klipper for sfs v2.0 HOT 1
- What is the best way to test a 2.0 installation?
- Btt v2.0 on sovol sv07+ HOT 1
- Install SFS v2 on Artillery Sidewinder X2? HOT 4
- BTT 2.0 with Creality 4.2.7 system board HOT 29
- How to test SFS v2 without printing... just moving the filament in/out by hand? HOT 1
- Broken CAD model for SFS 2.0
- SFS 2.0: filament path, a design flaw - filament hits walls near output holes HOT 5
- Creality K1? Can the sensor be used if only filament runout pins are available? HOT 33
- How to install sfs 2.0 on a spider 2.3 HOT 4
- How to install sfs 2.0 on Neptune 4?
- Btt sensor v2 made sv06 motherboard defective ?
- SFS V2 with relay V1.2 and SKR mini e3 V2
- Many false positive errors HOT 1
- Reset pause state with Klipper?
- Incorrect settings for Reprap Firmware in manual
- BTT Smart Sensor v2 Constantly triggering Switch Sensor HOT 1
- Skr mini e3 v3 used with BTT ups 24v and a BTT SFS v2
- Example for use with BTT Kraken MCU
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart-filament-detection-module.