Skip to the content
2 layers77.5 × 23.5 mmDevil box P A, the printed circuit board in 3D

A box with a little devil inside

Size
77.5 × 23.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
34
Pads
73
Tracks, vias
100, 5
Pours
5
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
17 Jul 2024
Updated
19 Mar 2026

Overview

Devil box P A is an open-source printed circuit board by milan-simanek, from the milan-simanek/devil-box repository on GitHub. It is a 2-layer board of 77.5 × 23.5 mm with 17 parts on 34 nets, routed with 100 tracks and 5 vias.

It is built around the BSS123 and IRF9540NS. Its parts include 5 resistors, 2 capacitors, 1 diode and 1 switch. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

circuit/README.md

Alternatives

  • devil-box-N = Arduino power controlled by N-MOSFET on ground side.

  • devil-box-P = Arduino power controlled by P-MOSFET on Vcc side.

Revisions

Revision A

  • initial revision, home-made motion sensor

Revision B

  • PCB developed
  • SW-520D sensor

Revision C

  • never implemented, future changes

Changes:

N-A -> N-C

  • add R6 10k - Arduino can detect unexpected box motion
  • better component placement in schematics
  • motion sensor changed to SW-520D
  • rezistors R1-R4 changed to 10k

P-B -> P->C

  • add R6 10k - Arduino can detect unexpected box motion
  • better component placement in schematics
  • change A7->A0 (A7 is analog in put only)
  • change T4: IRF9Z34N
  • improve power supply for Arduino by schottky D1 (internal linear power regulater has voltage drop 1.2V [datasheet max 2V])
  • add C3 to limit interference voltage spikes

Parts

17
QtyValueFootprintReferences
410kResistor_SMD:R_0603_1608MetricR1, R2, R3, R4
4BSS123Package_TO_SOT_SMD:SOT-23T1, T2, T3, T5
1100nCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC2
1100μFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1
1150Resistor_SMD:R_0805_2012MetricR5
1Arduino_Nano_v3.xModule:Arduino_Nano_WithMountingHolesA1
1BatteryConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1
1IRF9540NPackage_TO_SOT_THT:TO-220-3_Horizontal_TabDownT4
1LED eyesConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalD3
1Motor_ServoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalM1
1SW_PushResistor_THT:R_Axial_DIN0617_L17.0mm_D6.0mm_P20.32mm_HorizontalSW1

More from milan-simanek/devil-box

1
  • 2 layers66 × 23.5 mmDevil box P B, the printed circuit board in 3D

    Devil box P B

    milan-simanek/devil-box

    A box with a little devil inside

    17 parts

Similar boards

  • 2 layers96.8 × 97 mmPsoc5power, the printed circuit board in 3D

    Psoc5power

    profdc9/DRSSTC-PCB-Pack

    A pack of PCBs for a dual resonant solid state tesla coil setup. Pretty much everything you need.

    133 parts59
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25
  • 2 layers102 × 72 mmHF PA Combined, the printed circuit board in 3D

    HF PA Combined

    kholia/HF-PA-v6

    RF "Lego" blocks. Quite-Linear HF broadband RF amplifier experiments for higher bands.

    40 parts11
  • 4 layers98.5 × 82 mmPico2lvds, the printed circuit board in 3D

    Pico2lvds

    ceteras/PicoLVDS

    Tested with B089AW01-V.0 and HSD089IFW1-A00-V1.0 on a breadboard. I'm sure it will work with other displays from old netbooks.

    43 parts7GPL-3.0
  • 2 layers99.7 × 80 mm6502fast3io, the printed circuit board in 3D

    6502fast3io

    gfoot/fastpdip6502

    Fast PDIP-only 6502-based homebrew computer - code and hardware design sources

    56 parts7Unlicense
  • 2 layers50.8 × 38.1 mmPowercontrol, the printed circuit board in 3D

    Powercontrol

    gfoot/powercontrolcircuit

    A soft power supply circuit with tunable overcurrent cutoff

    19 parts6Unlicense
  • 4 layers92 × 95 mmESP32-CAN, the printed circuit board in 3D

    ESP32-CAN

    Eric-2012/ESP32-CAN

    251 parts5
  • 2 layersWeller loddestasjon, the printed circuit board in 3D

    Weller loddestasjon

    kagjerde/Arduino-based-soldering-station

    This is an Arduino soldering station using Weller RT soldering tips

    34 parts5

Questions

How big is the Devil box P A PCB?

It measures 77.5 × 23.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Devil box P A use?

17 parts, built around the BSS123 and IRF9540NS. 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 Devil box P A KiCad files?

From the milan-simanek/devil-box repository on GitHub, at the commit this page was made from: the board is circuit/devil-box-P-A.kicad_pcb and its schematic circuit/devil-box-N-A.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Devil box P A design in my own project?

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