
barnardsb
United Kingdom
Asked

Can anybody suggest how I can power a fan from an EZB and control it using something like 'Continuous Servo'?
Related Hardware EZ-B v4
Related Control
Continuous Servo
A) 2 wires (+, -)
B) 3 wires (+, -, TACH)
C) 4 wires (+, -, TACH, PWM)
A, B types:
For A, B types you can connect a H-bridge https://www.ez-robot.com/Shop/AccessoriesDetails.aspx?prevCat=9&productNumber=14 and you can control the fan with https://synthiam.com/Support/Skills/Movement-Panels/Dual-HBridge-w-PWM?id=16067 control.
it works similar to a continuous servo but is not a continuous servo.
C type:
The fan has a embedded micro-controller, and the proper way to drive the fan is to use the PWM pin.
Note: Some fan's PWM pin requires a high frequency i.e. 25Khz.
You can try connect the PWM pin to an EZB's digital pin and use the pwm slider: https://synthiam.com/Support/Skills/Pwm/PWM-Slider?id=16047
IF does not work due the frequency (EZB PWM is not 25Khz) you will need an arduino micro-controller and code some custom firmware to generate the 25Khz frequency.
it works similar to a continuous servo but is not a continuous servo.
that way you use the servo pcb to control the fan speed. And in ARC you’ll just a regular continuous rotation servo control with speed for both directions
Alan
https://synthiam.com/Community/Questions/Tip120-Tip122-Transistor-Switching-Circuit-9239
You could also use a relay and simply turn it on an off with one of the digital ports on an EZB or iotiny. One like this: 5v relay