Tag Archive: relay


This project refers to an Arduino sketch which with the help of a relay (electromechanical switch) and a light sensor can drive an external device (e.g. a household lamp, a car alarm, a home air conditioner). More specifically, the Arduino collects samples from a light sensor at a specific rate and calculates the mean of samples for best accuracy. Then, if the average exceeds a threshold limit, it will activate the device via the relay. Also, the opposite happens where, if the average sensor value drops below the limit mentioned, the device is turned off.

Continue reading

This project refers to an Arduino sketch that implements a motion detector for driving and controlling other devices using a passive infrared sensor (PIR) and an electromechanical switch (relay). The program examines whether there is movement (the detection range of the detector is about 6 meters) in space (via the sensor PIR) to activate the device via the relay.

Continue reading

This project refers to an Arduino sketch which with the help of a relay (electromechanical switch), the system VRBot and the expansion card for sensors (Sensor Shield) can control (enable or disable) an external device (eg. a lamp, a car alarm, a home air conditioner, etc.) with a double beat of the palm.

Continue reading

This project refers to an Arduino sketch which with the help of a relay (electromechanical switch) and the VRBot system can drive an external device (eg. a household lamp, a car alarm, a home air conditioner etc.) with voice commands. The system VRBot is properly trained with voice messages and then performs voice recognition.

More specifically, the Arduino detects acoustic sounds and tries to recognize them through the system VRBot. Finally, if acceptable voice messages are identified, the Arduino manages them for the use of the device driven with the help of the relay.

Continue reading