Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an IR sensor, a DC motor, a motor driver, and two 9V batteries. The IR sensor detects an object and sends a signal to the motor driver, which in turn controls the DC motor. The circuit is powered by two 9V batteries.
Component List
IR Sensor
- Description: An infrared sensor used to detect objects.
- Pins: out, gnd, vcc
9V Battery
- Description: A 9V battery used to power the circuit.
- Pins: +, -
DC Motor
- Description: A DC motor controlled by the motor driver.
- Pins: pin 1, pin 2
L293 Motor Driver
- Description: A motor driver used to control the DC motor based on the signal from the IR sensor.
- Pins: Motor 2+ve, Motor 2-ve, Motor 1+ve, Motor 1-ve, HC5, HC6, V in -ve, V in +ve
Wiring Details
IR Sensor
- out is connected to HC5 of the L293 Motor Driver.
- gnd is connected to - of the first 9V Battery.
- vcc is connected to + of the first 9V Battery.
9V Battery (First)
- - is connected to gnd of the IR Sensor.
- + is connected to HC5 of the L293 Motor Driver and vcc of the IR Sensor.
9V Battery (Second)
- + is connected to V in +ve of the L293 Motor Driver.
- - is connected to V in -ve of the L293 Motor Driver.
DC Motor
- pin 1 is connected to Motor 1+ve of the L293 Motor Driver.
- pin 2 is connected to Motor 1-ve of the L293 Motor Driver.
L293 Motor Driver
- HC5 is connected to out of the IR Sensor and + of the first 9V Battery.
- V in +ve is connected to + of the second 9V Battery.
- V in -ve is connected to - of the second 9V Battery.
- Motor 1+ve is connected to pin 1 of the DC Motor.
- Motor 1-ve is connected to pin 2 of the DC Motor.
Code
There is no code provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, a detailed component list, wiring details, and a section for code documentation.
