All the latest schematics are nonsense in my eyes!
In my connection proposal are the used heathers close together, it should be easy to connect with a multicore cable. Donât know your physical setup!
I never tried that setup, therefore @reneas, before you connect the âTachoâ signal behind the diode to your SKR Mini E3 v3.0! Measure the signal with a multimeter. If you measure anything above 3,3V stop immediately and tell us here!
I donât quite understand what you mean by that to be honest.
So i should measure the voltage between the green wire and GND? And you probably mean to measure it with the fan turned on, yes?
So first of all i will try this without connecting the tach signal and just the VCC, GND and PWM cables connected.
My printer.cfg should look something like this then:
[fan]
pin: !PD2 # do I need the "!" for inverting the signal?
cycle_time: 0.00004 # This is for 25kHz -> 1/25000 = 0.00004
hardware_pwm: False # or True because of really low cycle_time?
off_below: 0.2
tachometer_pin: PD0
#enable_pin: # Do I need this?
# Optional pin to enable power to the fan. This can be useful for fans
# with dedicated PWM inputs. Some of these fans stay on even at 0% PWM
# input. In such a case, the PWM pin can be used normally, and e.g. a
# ground-switched FET(standard fan pin) can be used to control power to
# the fan.
Can you help me out with the correct configuration?
Edit: I did not put the values in from which I thought that the defaults as specified here are sufficient for this setup.
Sorry for not responding for so long, I am pretty buys with writing my thesis at the moment.
I will try to set up a config for this setup but after what happened, I am really scared that I will break the MCU againâŚ
PWM fans work with ANY microcontroller and nothing gets fried.
The tacho signal from the fan just needs a normal I/O pin on the board, with pullup.
The PWM command signal goes to a I/O pin on the board, without pullup.
The VCC and GND go separately to the power supply.
I donât think any further component is really needed for fans following the official specifications, and indeed I connected one to my board as I recommended and gave no issues.
So now I finished my thesis and finally have some free time to tinker with my 3D-printer again!
This time I want to take it slow, so it canât go wrong again, so letâs start from the basics:
I connected the input of the buck converter to the input of the MCU and the output of the buck converter to the yellow and black wires of the fan.
The only difference was that I didnât connect the GND of the fan to the wire BEFORE the buck converter (as shown in the schematic of @hcet14) but rather to the GND out of the buck converter.
The green (tach signal) and blue (PWM signal) wires were not connected, so the fan was spinning freely.
Then I measured the voltages from the 4 different wires to the input of the MCU.
Green - GND : 0.0
Green - VCC : 14.0 (what is this?)
Blue - GND : 2.9 (is this the 3.3 V logic of the board?)
Blue - VCC : 15.8 (and what is this?)
Black - GND : 0.0
Black - VCC : 23.5 (equals input voltage of MCU)
Yellow - GND : 11.9 (equals output voltage of buck converter)
Yellow - VCC : 11.6 (equals difference between the two above)
I canât tell if these numbers are out of the ordinary or if everything is fine like this. But I donât really want to connect anything else before have the confirmation that it is safe.
I think the next step would be to connect the blue PWM signal wire and measuring the voltages between the wires again, like you suggested here, right?
I forgot to mention my measurement setup:
Only 1 and 2 (and 3 & 4) were connected so the fan was running on full speed and I measured on the disconnected cables.
Jesus, you almost gave me a heard attack
Kind of harsh to do it online and not live.
Do you have an external 3.3V power supply? If yesâŚ
please connect it like this (DONâT connect 6 to 3.3V, 7 to PD0 and 8 to PD2) and provide external 3.3V to 6 and 8. Donâ forget to connect the ground from your power supply to 1 or 3
Yes true, if you want to come to my city in germany and help me figure it out that would be great!
I have a phone charger (5V) and a 5V to 3.3V converter so that should work.
Since the power from the buck converter is coming through the power of the board (like in the picture) the GND in 1 is definitely connected to the PSU
Will do that!
What exactly do you mean by that? Is that a question?
Do you mean it could be that the fan is not running because we apply 3.3V to the PWM input and that means the fan is on 0%?
I would measure the whole thing with the power connected so the fan is turned on completely.
I would recommend that you use the 24V Negative Voltage (âGroundâ) rather than the 12V Negative Voltage one - unless youâre absolutely sure there is no voltage offset between the 24V Negative Voltage and there is a direct connection to it.
If there is a direct connection between the 24V Negative Voltage and the 12V Negative Voltage then delete the common connection between the two of them outside the 24/12V DC/DC converter.