IoT_Components_Details
IoT_Components_Details
### 1. Switch
- 3-pin: One is the common terminal, and the other two are Normally Open
- Connect one terminal to a digital pin and the other to ground with a pull-up
resistor.
### 2. Potentiometer
- Working: Turning the knob changes the resistance, altering the output
voltage.
- Connect VCC to 5V, GND to GND, and Output to an analog pin (e.g., A0).
- Working: The I2C module reduces the number of pins required for connection.
- Connect VCC to 5V, GND to GND, SDA to A4, and SCL to A5 (for Uno).
- Power: 5V.
### 6. Gas Sensor (MQ-7)
- Connect VCC to 5V, GND to GND, and Analog Out to an analog pin.
### 7. DHT-11
- Power: 5V.
### 9. Fire Detection Sensor
- Power: 5V.
### 12. IR Sensor with Servo Motor
- Pins:
- Working:
- IR Sensor: Connect VCC to 5V, GND to GND, and Signal to a digital pin.
- Servo Motor: Connect VCC to 5V, GND to GND, and Signal to a PWM pin.
- Example Code: Use Servo library for motor control and digitalRead() for the
sensor.
- Working: Acts as a Wi-Fi module for transmitting and receiving data over the
internet.