It's getting warm in Barcelona...

11 Apr 2014

So let's make an S4A program to fix that!

In this demo, a real fan is switched on by means of a relay when the temperature goes over 19°C. There is also a virtual fan and a virtual temperature sensor, so you can play with both controllers and actuators in the real world and the virtual one.

S4A-controlled relay, with a temperature sensor

Watch the video to see it in action:

You can get the code from here:

S4A fan controller