

Devil box P B
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
3README
circuit/README.mdAlternatives
-
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R2, R3, R4 |
| 4 | BSS123 | Package_TO_SOT_SMD:SOT-23 | T1, T2, T3, T5 |
| 1 | 100n | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C2 |
| 1 | 100μF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C1 |
| 1 | 150 | Resistor_SMD:R_0805_2012Metric | R5 |
| 1 | Arduino_Nano_v3.x | Module:Arduino_Nano_WithMountingHoles | A1 |
| 1 | Battery | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | BT1 |
| 1 | IRF9540N | Package_TO_SOT_THT:TO-220-3_Horizontal_TabDown | T4 |
| 1 | LED eyes | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | D3 |
| 1 | Motor_Servo | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | M1 |
| 1 | SW-520D | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | TS1 |
More from milan-simanek/devil-box
1- 2 layers77.5 × 23.5 mm

Similar boards
- 2 layers42.3 × 45.1 mm

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 mm

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 layers

- 2 layers102 × 72 mm

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 mm

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 mm

6502fast3io
gfoot/fastpdip6502
Fast PDIP-only 6502-based homebrew computer - code and hardware design sources
56 parts7Unlicense - 2 layers50.8 × 38.1 mm

Powercontrol
gfoot/powercontrolcircuit
A soft power supply circuit with tunable overcurrent cutoff
19 parts6Unlicense - 4 layers92 × 95 mm

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.