Socket
eddyem·STM8_samples·220controlled_socket/kicad/socket.kicad_pcb
About the Socket PCB
Socket is an open source STM32 PCB design by eddyem, published on GitHub. It is a 2-layer board measuring 87 × 71 mm, with 84 components from 32 distinct parts.
Its main chip is the STM8S003F3P, from the STM32 family. Other key parts include the MAX3232, CH340G, PC817, MOC3063M and ACS712. By type, the board carries 35 resistors, 15 capacitors, 9 ICs, 9 transistors, 7 diodes and 6 connectors.
It belongs with the displays & leds and sensors designs in this gallery.
From the project
Some code samples and ready projects based on STM8 (deprecated)
Some my projects based on STM8 ==============================
Developed for SDCC compiler. Here you can find some more heades under MIT license.
- 1-wire 1-wire for DS18x20 based on timer and interrupts. - 220controlledsocket Simple two-channel power socket manager with current measurement at one channel. - blinky Just blink LED. - client-term-8bit Simplest terminal client. - distancemeter Ultrasonic distance meter. - DRUM (not even started at all) Approach to toy drum. - led Work with 4-digit LED indicator. - LEDSBT Bluetooth-management 7/8-channel LED "stars". - microdrill Microdrill…
Main components on the Socket
Socket bill of materials (BOM)
84 components, 32 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | MAX3232 | SOP-16_4.4x10.4mm_P1.27mm | U1 |
| 1 | CH340G | SOIC-16_3.9x9.9mm_P1.27mm | U2 |
| 1 | STM8S003F3P | SSOP-20_4.4x6.5mm_P0.65mm | U3 |
| 3 | PC817 | DIP-4_W7.62mm | U5, U6, U7 |
| 2 | MOC3063M | DIP-6_W7.62mm | U8, U9 |
| 1 | ACS712 | SOIC-8_3.9x4.9mm_P1.27mm | U10 |
| 6 | 2N7002 | SOT-23_Handsoldering | Q1, Q2, Q5, Q7, Q8, Q9 |
| 2 | SI2300 | SOT-23_Handsoldering | Q3, Q4 |
| 1 | AO3407 | SOT-23_Handsoldering | Q6 |
| 1 | 12M | Crystal_HC49-U_Vertical | Y1 |
| 1 | USB_B | USB_B_Horizontal | J2 |
| 1 | 5Vext | PinHeader_1x02_P2.54mm_Vertical | J3 |
| 1 | SWIM | PinHeader_1x03_P2.54mm_Vertical | J4 |
| 1 | DB15_Male | DSUB-15_Male_EdgeMount_P2.77mm | J5 |
| 2 | Power | TerminalBlock_Altech_AK300-3_P5.00mm | J6, J7 |
| 2 | SRD-05VDC | Relay_SPDT_SANYOU_SRD_Series_Form_C | K1, K2 |
| 1 | SMF05 | SOT-353_SC-70-5_Handsoldering | D1 |
| 1 | SS14 | D_SMA-SMB_Universal_Handsoldering | D2 |
| 2 | BT137-600E | TO-220-3_Vertical | D3, D4 |
| 1 | 5V suppressor | D_SOD-323_HandSoldering | D5 |
Show 12 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | SS14 | D_SMA | D7, D8 |
| 10 | 0.1 | C_0603_1608Metric_Pad0.84x1.00mm_HandSolder | C1, C2, C4, C6, C7, C8, C9, C10 +2 |
| 2 | 22p | C_0603_1608Metric_Pad0.84x1.00mm_HandSolder | C3, C5 |
| 1 | 1n | C_0603_1608Metric_Pad0.84x1.00mm_HandSolder | C12 |
| 2 | 0.01 600V | C_Disc_D6.0mm_W2.5mm_P5.00mm | C14, C15 |
| 2 | 22 | R_0603_1608Metric_Pad0.84x1.00mm_HandSolder | R1, R2 |
| 9 | 330 | R_0603_1608Metric_Pad0.84x1.00mm_HandSolder | R3, R4, R11, R12, R14, R16, R18, R28 +1 |
| 3 | 4k7 | R_0603_1608Metric_Pad0.84x1.00mm_HandSolder | R5, R23, R24 |
| 9 | 47k | R_0805_2012Metric_Pad1.15x1.50mm_HandSolder | R6, R13, R25, R26, R27, R29, R30, R32 +1 |
| 6 | 150 | R_0603_1608Metric_Pad0.84x1.00mm_HandSolder | R7, R8, R9, R10, R15, R17 |
| 4 | 330 | R_1206_HandSoldering | R19, R20, R21, R22 |
| 2 | 330 2W | R_Axial_Power_L20.0mm_W6.4mm_P25.40mm | R34, R35 |
Socket design files
The KiCad project lives in the eddyem/STM8_samples repository on GitHub; these links point at the commit this page was built from.
Socket: common questions
What microcontroller does the Socket use?
The Socket is built around the STM8S003F3P, from the STM32 family.
How big is the Socket PCB?
The Socket measures 87 × 71 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Socket?
84 components, from 32 distinct parts. The full bill of materials is listed on this page.
Where can I download the Socket design files?
From the eddyem/STM8_samples repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the Socket design in my own project?
The repository has no license, so all rights stay with eddyem. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Socket without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in STM8_samples
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k