A fully custom-built Solar Powered Electric Fence Circuit designed by ECE project team. The system uses a solar panel to charge a 12V battery via an LM317L regulator and generates controlled high-voltage pulses using a CD4047 astable multivibrator (f = 46–58 Hz). IRF3205 MOSFETs drive a step-up transformer to deliver electric pulses along the fence
First half pcb is an open-source printed circuit board by bchethan24, from the bchethan24/Solar-Power-Electric-Fence-Circuit-Design repository on GitHub, published under the MIT licence. It is a 2-layer board of 131 × 78 mm with 23 parts on 14 nets, routed with 103 tracks and 0 vias.
Its parts include 8 resistors, 4 diodes, 3 capacitors, 3 connectors and 2 switches. It belongs with the power boards of this library.
README
README.md
Solar Powered Electric Fence Circuit
A high-voltage, renewable energy-based perimeter security system using CD4047 pulse generation and MOSFET power switching.
Overview
This project features a fully custom-built Solar Powered Electric Fence, designed to deliver controlled, safe high-voltage pulses for agricultural and perimeter protection. It integrates a solar charging system with a battery backup to ensure 24/7 off-grid operation without reliance on the power grid.
Energy Harvesting: The solar panel generates DC power, which is regulated by the LM317L to provide a constant charging voltage to the 12V 7Ah Lead-Acid battery.
Pulse Timing: A CD4047 IC is configured in astable mode to produce a continuous square wave. The frequency is adjustable (46–58 Hz) via a variable resistor to fine-tune the deterrent intensity.
Power Switching: The logic-level signal from the IC drives the gates of two IRF3205 MOSFETs. These MOSFETs switch the battery current through the primary winding of the transformer.
Inductive Boost: The Step-up Transformer converts the low-voltage switched DC into high-voltage, short-duration pulses suitable for long-distance fencing wires.
🧩 Detailed Hardware Information
🧮 Pulse Generation (CD4047)
The timing is governed by the RC network connected to the astable multivibrator pins.
Component
Value
Function
Resistor (R)
390 kΩ + 100 kΩ Pot
Frequency Tuning
Capacitor (C)
10 nF
Timing Constant
Pulse Period (T)
17.16 – 21.56 ms
T = 4.4RC
Frequency (f)
46 Hz – 58 Hz
Output Pulse Rate
🔋 Power & Switching
Component
Specification
Role
Voltage Regulator
LM317L
Battery Charge Control
Storage
12V, 7Ah Battery
Lead-Acid Energy Storage
Switching MOSFET
IRF3205
High-Current Driver ($V_{DSS}=55V$)
Protection
Schottky Diodes
Reverse Polarity & Surge Protection
📐 Design Features
Fully Custom Design: Optimized schematics and PCB layouts specifically for high-current pulse switching.
Off-Grid Optimized: Designed for outdoor operation with minimal maintenance.
Safety Integrated: Intermittent pulse generation ensures shocks are deterrent but safe for livestock and humans.
Modular Layout: Segmented circuit stages for charging, control, and high-voltage output for easier troubleshooting.
📂 Repository Contents
/hardware: Schematics, PCB layouts and 3D PCB layout visualizations.
/docs: component datasheets and project report.
/manufacturing: Gerber files of the PCB layouts.
🧠 Learning Outcomes
Designing Battery Charging Circuits with voltage regulation.
Implementing Astable Multivibrators for precise signal timing.
Managing High-Voltage switching
Integrating Renewable Energy into practical security applications.
🧾 License
MIT License Permission is granted to use, modify, and distribute under MIT terms.
✅ Summary
A robust, solar-powered security solution that demonstrates the practical application of Power Electronics and Analog Design. The system provides a sustainable, cost-effective deterrent for livestock and perimeter management, verified through rigorous testing and custom PCB fabrication.
A fully custom-built Solar Powered Electric Fence Circuit designed by ECE project team. The system uses a solar panel to charge a 12V battery via an LM317L regulator and generates controlled high-voltage pulses using a…
A fully custom-built Solar Powered Electric Fence Circuit designed by ECE project team. The system uses a solar panel to charge a 12V battery via an LM317L regulator and generates controlled high-voltage pulses using a…
The KiCAD source for the Duet 3d printer controller see www.duet3d.com
23 parts258
Questions
How big is the First half pcb PCB?
It measures 131 × 78 mm and has 2 copper layers, 1.6 mm thick.
What parts does the First half pcb use?
23 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the First half pcb KiCad files?
From the bchethan24/Solar-Power-Electric-Fence-Circuit-Design repository on GitHub, at the commit this page was made from: the board is Hardware/Main_Control_Board/Hardware_Design/first_part/first half pcb.kicad_pcb and its schematic Hardware/Main_Control_Board/Hardware_Design/first_part/first half pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the First half pcb design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).