Skip to the content
2 layers72 × 133 mmLoFence, the printed circuit board in 3D

The LoFence V2 PCB is designed with KiCad.

Size
72 × 133 mm
Copper layers
2
Thickness
1.6 mm
Parts
73
Nets
57
Pads
225
Tracks, vias
297, 32
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
13 Oct 2023
Updated
3 Mar 2024

Overview

LoFence is an open-source printed circuit board by Alex9779, from the Alex9779/LoFence_Hardware repository on GitHub. It is a 2-layer board of 72 × 133 mm with 73 parts on 57 nets, routed with 297 tracks and 32 vias.

It is built around the ATMEGA328PB-AU, TLV9062ID and TPS63051RMW, with the MY-18650-01, BAV70 and LBSS84LT1G among its other parts. Its parts include 23 resistors, 13 capacitors, 8 diodes, 6 connectors and 4 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

7

README

README.md

LoFence V2 Hardware

The LoFence V2 PCB is designed with KiCad.

The BOM has been optimized for being produced and assembled by JLCPCB. Even the THT components except the big resistors everything should be available there. Disregarding the LA66 module which is not doable in a non-bulk production.

I use the "Fabrication Toolkit" plugin for KiCad aka JLC-Plugin-for-KiCad to one-click export production files.

To complete the PCB you need:

  • 2 x 10M resistor rated for 10kV (e.g. Vishay VR68000001005JAC00 from tme.eu)
  • 1 x 1M resistor rated for 100V (e.g. Royal Ohm MGR0W4F1004A10 from tme.eu)
  • 1 x Dragino LA66 module for your LoRaWAN frequency band

And to complete a device:

  • 1 x Gainta G368MF case (e.g. from tme.eu)
  • 4 x 2.9x6.5mm plastic screw (e.g. from tme.eu)
  • 1 x double banana socket or any connectors you want to use for positive and negative fence connection (e.g. this from tme.eu) or similar
  • 2 x 40mm wire 1.5mm^2 with M5 cable lugs to connect the PCB with the banana socket (this is what I use)
  • 1 x antenna suitable for your LoRaWAN frequency (I get them from Aliexpress)
  • >=50mm antenna cable from IPEX to whatever connector your antenna has (I use 50mm ordered from Aliexpress and normal SMA)

How to program the firmware is described in the firmware repository.

Parts

73
QtyValueFootprintReferences
9100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5, R6, R7, R9, R10, R12, R13, R14, R17
9100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5, C6, C7, C8, C9, C10, C11, C12, C13
6MY-18650-01ALITECS:MY-18650-01B10, B11, B20, B21, B31, B41
4MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965_PadMH1, MH2, MH3, MH4
310uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C3
31MResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR11, R15, R18
210M 10KVResistor_THT:R_Axial_DIN0516_L15.5mm_D5.0mm_P20.32mm_HorizontalR1, R4
21kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR19, R21
2220RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR20, R22
2BAV70Package_TO_SOT_SMD:SOT-23D2, D3
2EMERALDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD4, D6
2YELLOWLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD5, D7
2lockedALITECS:TS-1187A-B-A-Blocked, locked
11.5uHInductor_SMD:L_1008_2520Metric_Pad1.43x2.20mm_HandSolderL1
1150RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR23
11M 700VResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2
11nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4
12N7002Package_TO_SOT_SMD:SOT-23Q2
132768 HzCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmY1
147RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR16
14k7Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR8
15k6Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
1ATmega328PB-AUPackage_QFP:TQFP-32_7x7mm_P0.8mmU3
1DEBUG LAConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1DEBUG LEDConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Verticallocked
1DEBUG MCUConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1FLASH LAConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ7
1Fence+TestPoint:TestPoint_THTPad_4.0x4.0mm_Drill2.0mmJ1
1Fence-TestPoint:TestPoint_THTPad_4.0x4.0mm_Drill2.0mmJ2
1ISPConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ3
1LA66ALITECS:LA66_serial-onlyU4
1LBSS84LT1GPackage_TO_SOT_SMD:SOT-23Q1
1REDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD8
1SS54Diode_SMD:D_SMA_HandsolderingD1
1TLV9062Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1TPS63051RMWALITECS:TPS63051RMWU1

The 71 most common of 73 parts.

Similar boards

  • 2 layers88 × 115 mmBadge, the printed circuit board in 3D

    Badge

    endsummercamp/badge

    Per l'anno 2024 anche l'End Summer Camp si vuole dotare di un badge interattivo e programmabile, in linea con gli eventi simili internazionali.

    131 parts1CERN-OHL-P-2.0
  • 4 layers76 × 54 mmPixelblaze battery backpack, the printed circuit board in 3D

    Pixelblaze battery backpack

    SK-Electronics-Consulting/electronics-widgets

    Small, Custom Tools for Electronics

    112 parts1
  • 2 layers30 × 60 mmRp2040, the printed circuit board in 3D

    Rp2040

    Gaitch/KiCad-Blockwoche

    Unter Debian/Ubuntu kann KiCad mit den folgenden Befehlen installiert werden:

    39 parts
  • 2 layers102 × 24.4 mmROFLtemp 1, the printed circuit board in 3D

    ROFLtemp 1

    washed/rofltemp_1-pcb

    This is the circuit schematic and board layout project for the ROFLtemp-1 multi-purpose RTD thermometer. # WARNING! DO NOT BUILD WITH THESE DESIGN FILES! Several stupid errors are in this layout that will be corrected…

    225 parts
  • 2 layers59.9 × 34.5 mmSolarPowerSupply, the printed circuit board in 3D

    SolarPowerSupply

    Octanis3/Octanis3-Electronics

    Contains PCB files of the Owl Monitoring Device

    51 parts2MIT
  • 4 layers100 × 100 mmDeneme2, the printed circuit board in 3D

    Deneme2

    Gokasimov/STM32-FOC-Control

    A completely from-scratch, bare-metal implementation of Field-Oriented Control (FOC) tailored for ultra-low inductance (3 µH) drone motors (e.g., A2212).

    118 parts2MIT
  • 4 layers60 × 60 mm数控buck, the printed circuit board in 3D

    数控buck

    JasonClock/CNC_Buck

    78 parts1

Questions

How big is the LoFence PCB?

It measures 72 × 133 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LoFence use?

73 parts, built around the ATMEGA328PB-AU, TLV9062ID, TPS63051RMW and MY-18650-01. 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 LoFence KiCad files?

From the Alex9779/LoFence_Hardware repository on GitHub, at the commit this page was made from: the board is KiCad/LoFence.kicad_pcb and its schematic KiCad/LoFence.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LoFence design in my own project?

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