Hi all,
For some days now I have been searching for a solution for this problem with no avail. It makes it tricky when I am not exactly sure what I am after, so I am hoping some of you fine folk can point me in the right direction.
I am hoping to control a mains powered fan (230V, 0.3A, 63W) that according to the manufacturer can be speed controlled (I have attached a wiring diagram below from the manufacturer). Now the problem is, I would like fan speed to be controlled by a raspberry pi (or some similar device, any suggestions?) as part as an environmental control system. Now I understand it would be simple to use a relay to have the fan turn on and off when need be. However, I need the fan to be constantly running at say 20% capacity and then when needed it would ramp up to say 80% to correct a rise in temperature. It doesn't have to ramp up and down, it could simply jump from 20% to 80% and vice versa.
This signalling would come from the raspberry pi (or similar device) which would be monitoring the environmental condition. So when the pi is told that the temperature has risen above a threshold a signal is produced to ramp up the fan until normal temperature is again met. Once normal is met and we are back within the 'normal' temperature range the fan returns back to 20% speed.
From my limited knowledge, I am guessing the controller need to be the sort that could accept a low voltage input from the pi and then the controller would need to be able to give a high voltage output to control the fan speed.
A guess on how it might work with my limited knowledge: The pi signals and a switch moves to a circuit which allows for 80% fan speed via variable voltage. Then the pi signals again (or stops signalling) and a the switch returns to the normal lower voltage output to achieve 20% speed control.
Does anyone know of any kind of circuitry that could achieve this? Or such a way to achieve such a thing?
Thanks
For some days now I have been searching for a solution for this problem with no avail. It makes it tricky when I am not exactly sure what I am after, so I am hoping some of you fine folk can point me in the right direction.
I am hoping to control a mains powered fan (230V, 0.3A, 63W) that according to the manufacturer can be speed controlled (I have attached a wiring diagram below from the manufacturer). Now the problem is, I would like fan speed to be controlled by a raspberry pi (or some similar device, any suggestions?) as part as an environmental control system. Now I understand it would be simple to use a relay to have the fan turn on and off when need be. However, I need the fan to be constantly running at say 20% capacity and then when needed it would ramp up to say 80% to correct a rise in temperature. It doesn't have to ramp up and down, it could simply jump from 20% to 80% and vice versa.
This signalling would come from the raspberry pi (or similar device) which would be monitoring the environmental condition. So when the pi is told that the temperature has risen above a threshold a signal is produced to ramp up the fan until normal temperature is again met. Once normal is met and we are back within the 'normal' temperature range the fan returns back to 20% speed.
From my limited knowledge, I am guessing the controller need to be the sort that could accept a low voltage input from the pi and then the controller would need to be able to give a high voltage output to control the fan speed.
A guess on how it might work with my limited knowledge: The pi signals and a switch moves to a circuit which allows for 80% fan speed via variable voltage. Then the pi signals again (or stops signalling) and a the switch returns to the normal lower voltage output to achieve 20% speed control.
Does anyone know of any kind of circuitry that could achieve this? Or such a way to achieve such a thing?
Thanks
Attachments
-
20.3 KB Views: 7
Last edited: