Need help configuring fan.

I have 3 40mm noctua fans I would like to wire 1 on the raspberri pi and 2 over the stepper drivers on the control board. They are 3 wire fans but I can switch them to two wire if needed. I have attached the printer.cfg file. Thank you guys again!!!!!
T
TheTik41d ago
Step one, get them working as two pin. Step two, get thepwm pin working. Step zero, plug the fans in
N
nathanjenny41d ago
So I think they aren't adjustable fans.... just on or off. even though three wire
T
TheTik41d ago
Wonder what the third wire is for then, tach? Seems odd to have a tach pin but no pwm What control board? Where are they plugged in?
N
nathanjenny41d ago
it's an octopus v1.1
N
nathanjenny41d ago
Noctua NF-A4x10 FLX, Premium Quiet Fan, 3-Pin (40x10mm, Brown)
Featuring advanced aerodynamic design measures such as Flow Acceleration Channels and Noctua's AAO frame, the NF-A4x10 is a highly optimized, premium quality quiet fan in 40x10mm size. Smooth Commutation Drive technology and Noctua's reference class SSO2 bearings guarantee superb running smoothne...
N
nathanjenny41d ago
that's the link to the fans
N
nathanjenny41d ago
No description
N
nathanjenny41d ago
So here you can see I have the one fan on the pi. It’s wired to the port directly under the 4028 fan. That one works and has 12v power. Noctua supplies a 3 to 2 converter so I used that and it works. But now I want two more fans over the stepper drivers and none of those other ports are working.
T
TheTik41d ago
Have you put in the jumper to supply 12V?
N
nathanjenny41d ago
yes. I tried i removed when it didn't work they are tiny quiet fans so I don't mind if they run at full speed constantly. It would be nice to see them show up in mainsail but I am not sure if that's even possible.
T
TheTik41d ago
looking through some docs. Looks like you need pin PD15, figuring out how/where to define that in printer.cfg
N
nathanjenny41d ago
I tried referencing PD15 under user section at bottom but nothing.
N
nathanjenny41d ago
wonder if this would be better?
T
TheTik41d ago
I think you'll need something like
[fan_generic my_custom_fan]
pin: PD15
[fan_generic my_custom_fan]
pin: PD15
If that doesn't give an error but the fan doesn't come on, try pin: !PD15 https://www.klipper3d.org/Config_Reference.html#fans
N
nathanjenny41d ago
Is this suppose to be the fan that is already connected to the Raspberri Pi I didn't get an error. and I now see My custom fan on the mainsail page. But it doesn't appear to control the PI fan. Ok, I figured it out. I basically just pulled up the pinout pdf and found pd15 and now it works. Thank you! That worked!!!!
T
TheTik41d ago
fuck yea! Never done that before so I'm pumped 😄
N
nathanjenny41d ago
Nice Job!!!!! Now I found the pin for the control board cooling fan but I have two fans so no idea how the hell to have a second control board cooling fan. I might just need to buy one large 120mm fan and put that on the control board.
B
blacksmithforlife41d ago
just add another entry
[fan_generic my_custom_fan2]
...
[fan_generic my_custom_fan2]
...
N
nathanjenny41d ago
I thought about that but I kinda like it coming on when I start a print. So not running all the time.
B
blacksmithforlife41d ago
fan_generic this is the type of fan you are adding my_custom_fan this is the unique name of the fan ok, make it a controller fan https://www.klipper3d.org/Config_Reference.html#controller_fan
N
nathanjenny41d ago
So if I name it My_controller_fan is there a way to program that to only come on like the default controller fan comes on?
B
blacksmithforlife41d ago
yes
N
nathanjenny41d ago
so by basically referencing the correct pin the controller_pin header that works
B
blacksmithforlife41d ago
[controller_fan MY_NAME]
pin: THE_PIN_I_WANT_TO_USE
[controller_fan MY_NAME]
pin: THE_PIN_I_WANT_TO_USE
N
nathanjenny41d ago
holy crap....... this is so awesome I can change all this stuff just by typing some code.....
B
blacksmithforlife41d ago
https://os.ratrig.com/docs/boards/btt/octopus-11#wiring you can see that one of the ports is already defined for a controller fan if you want more, just make a unique name and tell it what pin to use
N
nathanjenny41d ago
Ok that is awesome. I am going to try now. Makes total sense.
B
blacksmithforlife41d ago
just remember the last two(furthest right from the power inputs) fan ports on the octopus are always on (you can't control them)
N
nathanjenny41d ago
Where do they define the default controller fan? got it
B
blacksmithforlife41d ago
https://github.com/Rat-OS/RatOS-configuration/blob/v2.x/printers/v-core-3/v-core-3.cfg but as long as you follow the wiring diagram you don't really need to know where it is defined
N
nathanjenny41d ago
gotcha
B
blacksmithforlife41d ago
that's kind of the point of Rat-OS, you don't need to know as much about the pins and everything
N
nathanjenny41d ago
ok I am going to try it. Thank you again! Ok so I tried this:[controller_fan controller_fan] pin: PD13d So now pin PD13d turns on and off with the controller fan put PD12d doesn't Is there a way to reference two pins on the same controller_fan line so you can have both pins come on together?
B
blacksmithforlife41d ago
PD13d ? you need to use the pin names from https://github.com/bigtreetech/BIGTREETECH-OCTOPUS-V1.0/blob/master/Hardware/BIGTREETECH%20Octopus%20-%20PIN.pdf so it would be PD13 or PD12 but PD12 is already a controller fan
N
nathanjenny41d ago
That's what I was going for.
B
blacksmithforlife41d ago
so no need to change it
N
nathanjenny41d ago
For some reason now that one doesn't come on
B
blacksmithforlife41d ago
it only comes on when your stepper motors are active
N
nathanjenny41d ago
Once I started the heating process it came on.
B
blacksmithforlife41d ago
No description
B
blacksmithforlife41d ago
so if you define it to be associated with a heater, then it will turn on then
B
blacksmithforlife41d ago
No description
B
blacksmithforlife41d ago
upload your current printer.cfg
N
nathanjenny41d ago
N
nathanjenny41d ago
ok here it is.
B
blacksmithforlife41d ago
ok, did you want it as a generic fan for raspberry? You have
[controller_fan controller_fan]
pin: PD13
[controller_fan controller_fan]
pin: PD13
because you used the same name as before (controller_fan) it overwrote the previous config. It should be
[controller_fan controller_fan2]
pin: PD13
[controller_fan controller_fan2]
pin: PD13
you can change controller_fan2 to whatever you want. It just has to be unique
N
nathanjenny41d ago
Ok makes sense. I will give it a go! THAT WORKED!!!!!!!!!! THANK YOU!!!!!!!!!!!!! SO AWESOME!!!!!!!!!!!! Man now I am going to do that with the PI fan so it comes on whenever I start a print
B
blacksmithforlife41d ago
You could also attach the fan to the PI header (sure it is only 5v but that's ok, it just won't run as fast) and have it always on. The pi will constantly be generating heat, unlike the stepper drivers that only really get hot when in use
N
nathanjenny41d ago
Oh that's a good idea. Well wait I already have both 5v in use Only thing left are the two 3v
B
blacksmithforlife41d ago
you could also use something like this (FYI I designed it) https://www.printables.com/model/104296-octopus-and-pi-din-mounted-fans-holder to have two fans and have it cool both the steppers and the pi at the same time
N
nathanjenny41d ago
oh that's pretty cool
Want results from more Discord servers?
Add your server
More Posts
Kamp not workingI have followed the instructions on GitHub regarding Kamp but i get an klipper error that says ''SeTrouble with printer.cfg after IS calibrationHey folks. I did the IS calibration as told in ther comissioning guide, but after I added the code iStrange peak on yHi, My X axis looks good, but on Y I have strange peak. I was trying different accelerometers, but rWrong hotend temperatureHi all, I just finished building my VCORE 3.1 300mm standard kit (no modifications). When I'm on ratz-tilt problemhi i have a 500 v core. printing perfect until january. Yesterday i updated the machine. without prProblems with the top of my print.Im all out of ideas. Pla at 205*C, 180mm/s, em of 0.85, 4028 fan at 25% and 50 for the top layers. Circles not roundM ade a bottle. It is hexagony like and huge vibrations on 10k accel. Lowered accel, less vibrationsremote access/port forwardingThis is more of a general networking question, but I am not familiar with port forwarding, and I wouraspberry pi camera module 3Hi, will the Raspberry Pi camera module 3 work with the latest Rat OS without custom scripts? I wantPart Fan not working as it shouldI have and EBB42 but I connected my 4pin OWM fan to the board and not the toolboard. I did not enablX-Gantry not smoothHi all, I am building a v-core 3.1 at the moment, I have sourced a carbon fiber tube to replace thNew build, PT1000 showing incorrect temp.I am in the process of completing a V-Core300, and RatOS is showing my hot end at 158c when powered Y Looks good X looks like sth is lose?Option 'control' in section 'extruder' must be specified??Updated the OS recently and now i get this? Im using a btt ebb42 toolboard but maybe the config for possible Z stepper issue?I just want to rule out I'm not doing something stupid with my config that could lead to anything thFresh RatOS install x2 and still can't get the MCU to respondHave installed RatOS x2 today, Have a brand new Octopus V1.1 flashed via sd card, and tried flashingnew idex build mesh 400 enclosedJust got my printer making some moves. It’s my first own-built printer and I just ran a bed mesh usiChanging WiFiHopefully a simple solution, recently changed the WiFi and need to set RatOS back up. Quickest way jprinter Smoking ☹Hei there I finished building a ratrig vcpre 3 500. Now i am at installing it. I did flash Rat Oendstop z still triggered after retractHello, just got through most of the errors in klipper for my first rat rig but this error has stumpe