Design a schematic for an Automatic Solar Tracker using analog LDR sensing and H-bridge drive.

Requirements:

- Two LDRs form a light-difference sensor with 10kΩ resistors as voltage dividers, separated by a vertical fin.

- LM358 dual op-amp (single-supply) used as:

1) Comparator to detect which LDR is brighter.

2) Inverter/buffer to generate complementary direction.

Add small hysteresis (~100k feedback) to prevent motor chattering.

- L293D motor driver controls one DC BO geared motor. IN1 gets the comparator output, IN2 gets the inverted output. EN1 tied high. OUT1/OUT2 go to motor.

- Power: 3.7V Li-ion battery charged by TP4056 module from a 5V solar panel.

- Provide a regulated 5V rail for logic (L293D VCC1 and optional sensors) using a step-up converter (e.g., MT3608) from the 3.7V battery OR suggest using a 5V boost block. Motor supply (L293D VCC2) can be battery (3–6V) as available.

- Add a main SPST power switch.

- Optional: two NC limit switches in series with motor leads to stop at end positions.

- Include decoupling capacitors: 0.1µF near LM358 and L293D, plus 100µF on supply rails. Common ground everywhere.

- Label all nets and pins clearly: VBOOST_5V, VBAT_3V7, SOLAR_5V, LDR_A, LDR_B, DIR_A, DIR_B.

Output: clean schematic in one sheet with component values shown.

#Schematic#

#Schematic#
Circuit Design

No comments yet. Be the first to comment!