Skip to the content
PCBKitNew board
2 layers73.5 × 73 mmVoltageSwitch, the printed circuit board in 3D

Controls loads connected to a Lipo battery with BMS + solar panel.. for a pond pump.

Size
73.5 × 73 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
28
Pads
119
Tracks, vias
222, 0
Pours
3
Routed
Yes
KiCad
KiCad 4
Created
24 Mar 2023
Updated
9 Sep 2023

Overview

VoltageSwitch is an open-source printed circuit board by ieb, from the ieb/SolaryVoltageSwitch repository on GitHub. It is a 2-layer board of 73.5 × 73 mm with 44 parts on 28 nets, routed with 222 tracks and 0 vias.

It is built around the LM7808ACT, BC817-40 and IRF540N. Its parts include 14 resistors, 13 connectors, 4 ICs, 4 diodes and 4 transistors. It belongs with the power boards of this library.

Main components

3

README

README.md

Voltage Switch

Originally this code was written as a voltage switch for a lead acid batter, connected to a solar pannel, that would turn on when the voltage is high, and off when low. For years it powered a pond pump, but my wife got super annoyed by the large 12v battery in the flower bed.

This is 2023, and there are lithium batters. Acer laptop battery packs are 11.1v at 7K Ah with a TI BQ4050 Lipo state of charge chip. The chip is on I2C so the code has been rewitten to use this chip basing the turn on and turn off points on the state of chage. On above 70% provided the solar volate is > 12V, and off when < 30% or if the solar volate drops below 11.5v (ie its dark)

The LED flashes once the pump is on and 2x when its off.

Battery

I am using a 9x18650 Acer batter pack with a BMS controlled by a TI BQ4050 chip. (chip data sheet. https://www.ti.com/lit/ug/sluuaq3a/sluuaq3a.pdf)

The BMS is probably a cheap clone. With the packs feet on the ground looking at the pack the pins are

text
 |   | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |   |
 -----------------------------------------

1,2 BatV+ 3 ID - Currently not known 4 ID - Currently purpose not known 5 SDA 6 SCL 7 0V 8 0V

Parts

44
QtyValueFootprintReferences
510KResistors_SMD:R_0805_HandSolderingR101, R103, R108, R111, R114
4CONN_1Mounting_Holes:MountingHole_3.2mm_M3_ISO7380P105, P106, P107, P108
34K7Resistors_SMD:R_0805_HandSolderingR102, R112, R113
21KResistors_SMD:R_0805_HandSolderingR107, R110
22K2Resistors_SMD:R_0805_HandSolderingR105, R109
2BC817-40TO_SOT_Packages_SMD:SOT-23Q101, Q103
2FUSEDivers:BladeFuse-CarTypeF101, F102
2IN4001Diodes_SMD:D_0805D102, D104
2IRF540NTO_SOT_Packages_THT:TO-220_Neutral123_Vertical_LargePadsQ102, Q104
2LEDLEDs:LED_0805D101, D103
2PC817Housings_DIP:DIP-4_W7.62mm_LongPadsIC101, IC102
1100nCapacitors_SMD:C_0805_HandSolderingC102
110uCapacitors_SMD:C_0805_HandSolderingC101
122KResistors_SMD:R_0805_HandSolderingR106
14k7Resistors_SMD:R_0805_HandSolderingR104
1ArdinoMinProDivers:ArduinoProMiniU101
1Bat-TermWire_Pads:SolderWirePad_single_2mmDrillP111
1BatCharge+Wire_Pads:SolderWirePad_single_2mmDrillP109
1BatTerm+Wire_Pads:SolderWirePad_single_2mmDrillP110
1LM7808ACTTO_SOT_Packages_THT:TO-220_Neutral123_Vertical_LargePadsU102
1Pump+Wire_Pads:SolderWirePad_single_2mmDrillP101
1Pump-Wire_Pads:SolderWirePad_single_2mmDrillP102
1S1Wire_Pads:SolderWirePad_single_2mmDrillP103
1S2Wire_Pads:SolderWirePad_single_2mmDrillP104
1Solar+Wire_Pads:SolderWirePad_single_2mmDrillP112
1Solar-Wire_Pads:SolderWirePad_single_2mmDrillP113
1THERMISTORResistors_ThroughHole:Resistor_Vertical_RM5mmTH101

Questions

How big is the VoltageSwitch PCB?

It measures 73.5 × 73 mm and has 2 copper layers, 1.6 mm thick.

What parts does the VoltageSwitch use?

44 parts, built around the LM7808ACT, BC817-40 and IRF540N. 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 VoltageSwitch KiCad files?

From the ieb/SolaryVoltageSwitch repository on GitHub, at the commit this page was made from: the board is pcb/VoltageSwitch.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the VoltageSwitch design in my own project?

Its repository states no licence, so its author keeps all rights: ask ieb before reusing the design.

Similar boards

  • 2 layers78 × 124 mmDriver2, the printed circuit board in 3D

    Driver2

    ieb/UltrasonicAntifouling

    Code and PCB to for Ultrasonic Antifouling units designed to be installed on the hull

    47 parts
  • 2 layersMP Tracker, the printed circuit board in 3D

    MP Tracker

    elektra42/freifunk-open-mppt

    Open hard- and software solar maximum power point tracker

    70 parts89
  • 2 layers44.2 × 32.6 mmWiring, the printed circuit board in 3D

    Wiring

    esp-ebus/ebus-adapter-hardware

    This repo conains KiCAD design of eBUS bus powered (without external supply) adapter to WiFi.

    49 parts44
  • 11 layers74.2 × 29.2 mmSolderingStationPCB, the printed circuit board in 3D

    SolderingStationPCB

    clytle374/Open-T12-Soldering-Station

    This is a clone of the cheap T12 soldering stations, attempting to eliminate the shortfalls of the cheap designs.

    68 parts43GPL-3.0
  • 6 layers69.6 × 46.1 mmCarrier, the printed circuit board in 3D

    Carrier

    KaiPereira/CM5-SODIMM-Carrier

    A fully open source CM5 carrier to turn your Pi into a Jetson in compact SO-DIMM format!

    98 parts29
  • 4 layersIONPAK2, the printed circuit board in 3D

    IONPAK2

    m-labs/ionpak

    A modern, low-cost universal controller for hot-cathode ionization vacuum gauges. (WIP)

    259 parts23
  • 2 layers24 × 24 mmBlue - 1.2mm, the printed circuit board in 3D

    Blue - 1.2mm

    flummer/pcb-color-samples

    Small PCB color samples to be used when designing printed circuit boards

    25 parts21CC-BY-SA-4.0
  • 2 layers96.3 × 93.6 mmESP OpenMppt, the printed circuit board in 3D

    ESP OpenMppt

    ISEMS/ISEMS-ESP32

    ISEMS-Port for Solarnodes based on ESP32 Microcontrollers

    75 parts11