DIY-Sonoff

LoZioo·DIY-Sonoff·schematics/sonoff.kicad_pcb

DIY-Sonoff PCB layout, top view — open source ESP8266 board by LoZioo

About the DIY-Sonoff PCB

DIY-Sonoff is an open source ESP8266 PCB design by LoZioo, published on GitHub under the MIT license. It is a 2-layer board measuring 59.2 × 42.9 mm, with 16 components from 11 distinct parts.

Its main chip is the ESP-01_2x04, from the ESP8266 family. By type, the board carries 3 connectors, 3 resistors, 2 transistors, 2 relays, 2 diodes and 2 capacitors.

It belongs with the dev boards & breakouts designs in this gallery.

From the project

Simple sonoff PCB built around the ESP-01 devboard.

- Requirements - 3D enclosure - Assembly - GPIOs mapping Inputs and outputs ESP8266 bootloader GPIOs configurations ESP8266 GPIOs behaviour Suggested configurations - Firmware - Circuit and PCB - Previews - References

Note: On the ESP-01 dev board, the GPIO15 is not exposed and is held low by the hardware, so you can ignore the first column.

Said that, when booting the already programmed module, you must ensure that the second column configuration is selected. That's accomplished by the resistors R1 and R2 on the PCB.

DIY-Sonoff, from the project README
From the project README

Main components on the DIY-Sonoff

DIY-Sonoff bill of materials (BOM)

16 components, 11 distinct parts.

QtyPartRefs
1
ESP-01_2x04
U1
2
2N7000
Q1, Q2
1
Screw_Terminal_01x06
J1
1
Screw_Terminal_01x04
J2
1
Conn_02x03_Odd_Even
J3
2
Relay_SPDT
K1, K2
1
HLK-2M03
PS1
2
1N4007
D1, D2
1
100nF
C1
1
100uF
C2
3
10k
R1, R2, R3

DIY-Sonoff design files

The KiCad project lives in the LoZioo/DIY-Sonoff repository on GitHub; these links point at the commit this page was built from.

DIY-Sonoff: common questions

What microcontroller does the DIY-Sonoff use?

The DIY-Sonoff is built around the ESP-01_2x04, from the ESP8266 family.

How big is the DIY-Sonoff PCB?

The DIY-Sonoff measures 59.2 × 42.9 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the DIY-Sonoff?

16 components, from 11 distinct parts. The full bill of materials is listed on this page.

Where can I download the DIY-Sonoff design files?

From the LoZioo/DIY-Sonoff repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.

Can I use the DIY-Sonoff design in my own project?

Yes, under the terms of its MIT license, which LoZioo chose for the repository.

Can I test firmware for the DIY-Sonoff without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP8266 firmware against it before you order a PCB.

Similar boards