How is the relay connected to the R4?
I use one of the Digital pins to activate the relay coil which is 5V.
Post a link to the fan's datasheet or it's brand name and exact part number. https://www.amazon.com/dp/B0CMD47XYG
Okinos, 67CFM, 1500RPM, 4Pin PWM, Hurricane Series, 120mm Case Fan 5 Packs, High Airflow
I could not find the exact datasheet.
I could change to almost any fan as long as they are reasonable. (I need four of them)
Appears there is some sort of action happening as if I wire the use int PWM_PIN = 6;
And wire this to the PWM pin on the fan, the fan is not at Full speed.
I assume this maybe due to a difference in the PWM_PIN on the Arduino and the fan being different KHz for PWM.
There appears to be no change in fan speed regardless of what I Write to the PWM_PIN, but I have no tools to red the RPM.
Trying to read the SENSE_PIN A5 gives values even when the Fan has no power.
I have put a shared GRD for Arduino and external power supply.
Do you have the Arduino GND connect to the 12V GND?
Yes
Where does the relay board's Vcc power come from?
The relay coil is powered from the Arduino's VCC 5V connected to the Digital PINs.
The relay's contacts use a 12V external power cube.
How is the R4 powered?
Currently it is powered by USB, but I have also used an external power Cube.
Extensive documentation on the overall project is at:
But be careful this is a small part of that much larger overall project.
If there is 12V power to the fan and PWM signal from the R4 it should work. I'm not familiar with UNO R4 so, like you say, it's PWM frequency may be too low for the fan (I believe that's usually 25kHz).