Skip to the content
2 layers66 × 23.5 mmDevil box P B, the printed circuit board in 3D

A box with a little devil inside

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

Overview

Devil box P B 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 66 × 23.5 mm with 17 parts on 34 nets, routed with 100 tracks and 5 vias.

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

Main components

3

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_0402_1005MetricR1, 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_D6.3mm_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-520DCapacitor_THT:CP_Radial_D6.3mm_P2.50mmTS1

More from milan-simanek/devil-box

1
  • 2 layers77.5 × 23.5 mmDevil box P A, the printed circuit board in 3D

    Devil box P A

    milan-simanek/devil-box

    A box with a little devil inside

    17 parts

Similar boards

  • 2 layers42.3 × 45.1 mmWii Nunchuck ProMicro Adapter, the printed circuit board in 3D

    Wii Nunchuck ProMicro Adapter

    aapaetsch/Clone-Hero-Adapter-for-Wii-Guitar-ProMicro-PCB

    A compact PCB with minimal components designed to connect a Wii Guitar Hero controller to your PC, enabling seamless play in Clone Hero and other rhythm games.

    13 partsMIT
  • 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

Questions

How big is the Devil box P B PCB?

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

What parts does the Devil box P B use?

17 parts, built around the SW-520D, 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 B 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-B.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 B design in my own project?

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