Sure a circuit that has a servo and an arm could be used to press buttons but that s a rather complex solution.
Ac light dimmer and fan speed controlled with raspberry pi.
A raspberry pi enthusiast jeff geerling released a pretty cool video showing how to add a fan to the raspberry pi to help keep the temperature under control.
Dimmer with mosfet this circuit shows that dimmers intended for use at mains voltage do not always have to contain a triac.
Controlling the ac devices is dangerous because we will be using the high voltage so before controlling the ac device we will control the dc device so that you have an idea of how the relay module is working.
Device can be controlled via variable resistor.
By attaching a servo motor to the dimmer knob the rpi can adjust the light level without risk of electric shock.
I imagine the circuit running through a dpdt relay to a the first variac which is set to low speed and back to the fan.
Ac light dimming and fan control with raspberry pi i found this little handy ac dimmer module and wanted to test it out on a couple home automation projects i had.
Ac light dimmer module controller arduino raspberry compatible 50 60hz 80 240vac auto detect ac line frequency 50hz or 60hz.
Compatible with any arduino raspberry and other mcu.
Most domestic fans have different speed settings but these are often in the form of mechanical buttons which may be difficult to control using a raspberry pi.
He is using the servoblaster package to drive the servo motor with the raspberry pi.
Here a mosfet buz41a 500 v 4 5a in a diode bridge is used to control the voltage across an incandescent bulb with pulse.
Link here 20 ish or best offer.
Safe and simple ac pwm dimmer for arduino raspberry pi.
We will control the ac as well as dc device.
In this raspberry pi tutorial you are going to learn about raspberry pi relay control.
That project was pretty great but i wanted to take it to the next level and add the ability to only turn the fan on when needed by monitoring the core temperature.
Each can be set to their own speed and can control the fan based on which leg the relay is at.