Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a 5V relay, a MAHIR 1.mini power source, a piezo buzzer, and an LDR (Light Dependent Resistor). The circuit is designed to control the relay based on the input from the LDR and to activate the piezo buzzer accordingly.
Component List
5V Relay
- Description: A relay that operates at 5V.
- Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
MAHIR 1.mini
- Description: A power source providing 3.7V.
- Pins: GND, 3.7v
Piezo Buzzer
- Description: A buzzer that produces sound when activated.
- Pins: pin 1, pin 2
LDR (Light Dependent Resistor)
- Description: A resistor whose resistance varies with light intensity.
- Pins: A0, D0, GND, VCC
Wiring Details
5V Relay
- Normally Open: Connected to LDR VCC, MAHIR 1.mini 3.7v, and 5V Relay VCC
- Common terminal: Connected to Piezo Buzzer pin 2
- In: Connected to LDR D0
- GND: Connected to LDR GND, Piezo Buzzer pin 1, and MAHIR 1.mini GND
- VCC: Connected to LDR VCC, MAHIR 1.mini 3.7v, and 5V Relay Normally Open
MAHIR 1.mini
- GND: Connected to LDR GND, Piezo Buzzer pin 1, and 5V Relay GND
- 3.7v: Connected to LDR VCC, 5V Relay Normally Open, and 5V Relay VCC
Piezo Buzzer
- pin 1: Connected to LDR GND, 5V Relay GND, and MAHIR 1.mini GND
- pin 2: Connected to 5V Relay Common terminal
LDR
- A0: Not connected
- D0: Connected to 5V Relay In
- GND: Connected to Piezo Buzzer pin 1, 5V Relay GND, and MAHIR 1.mini GND
- VCC: Connected to 5V Relay Normally Open, 5V Relay VCC, and MAHIR 1.mini 3.7v
Code
There is no code provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and code documentation.
