Pcb pi onoff
bablokb·pcb-pi-onoff·pcb-pi-onoff/pcb-pi-onoff.kicad_pcb
About the Pcb pi onoff
Pcb pi onoff is an open source PIC PCB design by bablokb, published on GitHub under the CC-BY-SA-4.0 license. It is a 2-layer board measuring 65 × 30 mm, with 29 components from 23 distinct parts.
Its main chip is the PIC12F1840, from the PIC family. Other key parts include the TSOP4838 and DS3231M. By type, the board carries 10 connectors, 9 resistors, 4 capacitors, 3 ICs, 2 diodes and 1 transistor.
It belongs with the power & battery designs in this gallery.
From the project
A power-control pHat for the Pi
This project contains the KiCAD-project-files for a small power-control pHat. A PIC-MCU controls the power for the Pi. On/off is via a push-button or an IR-remote. Before cutting current, the PIC sends a shutdown request to the Pi. Once done, the Pi signals shutdown-complete to the PIC which in turn cuts power.
- production: OK - basic firmware: tested - basic functional test: open - test with RTC: open - IR firmware: open - IR test: open

Main components on the Pcb pi onoff
Pcb pi onoff bill of materials (BOM)
29 components, 23 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | TSOP4838 | Vishay_MOLD-3Pin | U1 |
| 1 | PIC12F1840 | SO-8_3.9x4.9mm_P1.27mm_HandSolder | U2 |
| 1 | DS3231M | SOIC-16W_7.5x10.3mm_P1.27mm_HandSolder | U3 |
| 1 | AO3401A | SOT-23 | Q1 |
| 1 | CONN_02X20_ODD_EVEN Conn_02x20_Odd_Even | PinSocket_2x20_P2.54mm_Vertical | J1 |
| 1 | CONN_01X04_I2C Conn_01x04_I2C | PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | CONN_01X06_MALE Conn_01x06_Male | PinHeader_1x06_P2.54mm_Vertical | J3 |
| 1 | C40942 USB_B_Micro | USB_Micro-B_JLCPCB_40942 | J4 |
| 1 | RUN/~PGM~ | PinHeader_1x02_P2.54mm_Vertical | J5 |
| 1 | CONN_01X03_MALE Conn_01x03_Male | PinHeader_1x03_P2.54mm_Vertical | J6 |
| 1 | CONN_SW1 Conn_SW1 | PinHeader_1x02_P2.54mm_Vertical | J7 |
| 1 | CONN_01X02_BAT Conn_01x02_Bat | PinHeader_1x02_P2.54mm_Vertical | J8 |
| 1 | CONN_01X06_SPI Conn_01x06_SPI | PinHeader_1x06_P2.54mm_Vertical | J9 |
| 1 | CONN_02X06_GPIO Conn_02x06_GPIO | PinHeader_2x06_P2.54mm_Vertical | J10 |
| 1 | C84256 LED Red | LED_0805_2012Metric | D1 |
| 1 | C2297 LED grün | LED_0805_2012Metric | D2 |
| 3 | 100NF 100nF | C_0805_2012Metric | C1, C3, C4 |
| 1 | C96123 47µF | C_1206_3216Metric | C2 |
| 1 | 100 | R_0805_2012Metric | R1 |
| 1 | 12K 12k | R_0805_2012Metric | R2 |
Show 3 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 6.2K 6.2k | R_0805_2012Metric | R3 |
| 4 | 1k | R_0805_2012Metric | R4, R6, R7, R8 |
| 2 | 10K 10k | R_0805_2012Metric | R5, R9 |
Pcb pi onoff design files
The KiCad project lives in the bablokb/pcb-pi-onoff repository on GitHub; these links point at the commit this page was built from.
Pcb pi onoff: common questions
What microcontroller does the Pcb pi onoff use?
The Pcb pi onoff is built around the PIC12F1840, from the PIC family.
How big is the Pcb pi onoff?
The Pcb pi onoff measures 65 × 30 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Pcb pi onoff?
29 components, from 23 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Pcb pi onoff design files?
From the bablokb/pcb-pi-onoff repository on GitHub, which has the KiCad layout and the BOM; the links under Design files point to each one.
Can I use the Pcb pi onoff design in my own project?
Yes, under the terms of its CC-BY-SA-4.0 license, which bablokb chose for the repository.
Can I test firmware for the Pcb pi onoff without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug PIC firmware against it before you order a PCB.
Similar boards
PIC
Pslab hardware
fossasia
99 × 53.3 mm187 parts4LApache-2.01.7kPIC
Micro 8088
skiselev
152.4 × 101.6 mm71 partsGPL-3.0414PIC
GB-MBCTEST
Gekkio
51.4 × 61 mm32 parts2LCC-BY-4.0376PIC
GB-BENCH-G1
Gekkio
100 × 100 mm98 parts4LCC-BY-4.0376PIC
GB-CARTPP-DIY
Gekkio
100 × 100 mm22 parts2LCC-BY-4.0376PIC
GB-LIVE32
Gekkio
51.4 × 61 mm46 parts4LCC-BY-4.0376