My project is about using a 2-Channel Relay Module to control electrical devices like lights or fans through a Raspberry Pi. The relay acts like a switch that turns devices on or off based on the Pi's signal.
Why did I decide to make it?I wanted to learn how to control real-world electrical devices using digital signals. This project helped me understand how automation and smart systems work using simple electronics.
How does it work?The relay module receives a signal from the Raspberry Pi on pins IN1 and IN2.
- The relay module receives a signal from the Raspberry Pi on pins IN1 and IN2.
When the signal is LOW (or HIGH depending on the module), the relay activates and connects the circuit.
- When the signal is LOW (or HIGH depending on the module), the relay activates and connects the circuit.
This allows current to flow to the device (e.g., a light), turning it on.
- This allows current to flow to the device (e.g., a light), turning it on.
When the signal is reversed, the relay disconnects the circuit and turns off the device.
- When the signal is reversed, the relay disconnects the circuit and turns off the device.
Comments
Please log in or sign up to comment.