Controlling 12V PWM Fan with Zigbee: Relay or Signal Conversion?

Hello Arduino community,

I'm working on a project where I need to control the speed of a 12V PWM fan using a Zigbee device. The fan requires a 25kHz PWM signal for proper operation. I've come up with two possible approaches and would appreciate your guidance on the best solution:

  • Zigbee 4 relay switch: I plan to connect each relay signal output of the Zigbee 4 relay switch to Arduino input pins. The Arduino would generate the required PWM signal to control the fan speed. To encode different speeds, I would utilize a combination of the four relays (e.g., all OFF for 0 speed, OFF OFF OFF ON for 1 speed, and so on up to ON ON ON ON for 15 speed). I have tested this approach, and it works. However, connecting the 4-channel relay to the Arduino is challenging since I need to desolder the relays and extract the signal directly from the relay board because I don't want to hear the ticks of the relays. I already bricked a module desoldering the relays.

  • Zigbee LED PWM dimmer: I'm considering using a Zigbee LED PWM dimmer, but the PWM signal output of these devices are from 500Hz to 2000Hz. Is there a way to convert this 500Hz signal to a 25kHz signal? I've seen the output of those devices are made through a transistor, should I get the signal to arduino before the transistor or after the transistor? I'm open to suggestions involving how to connect the dimmer to Arduino or even additional electronics devices or even utilizing an Arduino for signal conversion.

If you have alternative suggestions, I'm open to those as well. Thank you in advance for your valuable input!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.