Tag: Relay Switch

PIR Sensor and Relay Switch to turn on a Light

PIR Sensor and Relay Switch to turn on a Light

Ever wonder how a motion detector is used to turn on a light? Take a look at this graphic (made with Fritzing). It shows the circuitry that uses an STM32F103C8T6 microcontroller to control a PIR sensor and relay switch to turn on a Light. Get the Fritzing source code for the above image HERE (in …

Continue reading

How a Web Server on an STM32F103C8T6 can be used to control a Relay Switch

BluePill As A Web Server With A Relay

Here is the circuit showing how a Web Server on an STM32F103C8T6 can be used to control a Relay Switch: The Fritzing code used to create that diagram/image can be downloaded here. An ENC28J60 ethernet module is used to connect the STM32F103C8T6 (BluePill) to a network. Here is the source code for the sketch to …

Continue reading