

EsperDNS
Ad Blocking with an ESP32
- Size
- 51 × 48 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 60
- Nets
- 101
- Pads
- 266
- Tracks, vias
- 1,462, 118
- Pours
- 8
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 9 Apr 2021
- Updated
- 24 May 2021
Overview
EsperDNS is an open-source printed circuit board by zachmorr, from the zachmorr/esper repository on GitHub, published under the MIT licence. It is a 4-layer board of 51 × 48 mm with 60 parts on 101 nets, routed with 1,462 tracks and 118 vias.
It is built around the DP83848CVV, ESP32-WROOM-32E and AZ1117EH-3.3TRG1, with the RS-3535MWAR among its other parts. Its parts include 29 resistors, 14 capacitors, 5 transistors, 4 ICs and 2 diodes. It belongs with the ESP32 boards of this library.
Main components
4DP83848CVV
LQFP48PHYTER™ QFP Single Port 10/100Mb/s Ethernet Physical Layer TransceiverTexas InstrumentsUncategorisedESP32-WROOM-32E
SMD,18x25.5mmSMD,18x25.5mm WiFi Modules ROHSEspressif SystemsWiFi ModulesAZ1117EH-3.3TRG1
SOT-223-40℃~+125℃@(Tj) 0.003%Vout 1 1.1V@(1A) 13V 1A 3.3V 3.5mA 70dB@(120Hz)、70dB Fixed Over Current Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSDiodes IncorporatedVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsRS-3535MWAR
SMD3535-6P-30℃~+85℃ 110° 2.8mm 3.5mm 3.7mm Discrete Diode G:85mW、B:85mW、R:78mW R:20mA、G:20mA、B:20mA R:2V、G:2.9V、B:2.9V R:622nm、G:527nm、B:471nm R:950mcd、G:2200mcd、B:500mcd Top-mount SMD3535-6P RGB LEDs ROHSFoshan NationStar OptoelectronicsRGB LEDs
README
README.md
About Esper
Heavily inspired by the Pi-Hole, this project aims to bring network wide ad-blocking to another popular device popular among makers and hobbyists, the ESP32.
What is DNS?
Commonly referred to as the "phone book for the internet", the DNS protocol is how devices map human readable urls like google.com or facebook.com into IP addresses that the device can use.
How does Esper block ads?
Just like the Pi-Hole, Esper acts as a DNS server for devices. When sent a DNS query, Esper will read the url the device is requesting, then decide to block the request by returning 0.0.0.0 or forward the request on to a real DNS server.
Differences between Pi-hole and Esper
The biggest, and most obvious difference is the hardware these projects run on. Pi-hole aims to be available on any Linux powered hardware, while Esper is an ESP32 specific project. Due to being run on a microcontroller, Esper is much more limited in it's capabilities and is therefore much more minimal in it's design.
Why choose Esper instead of Pi-hole?
Choose whatever one suits you! If you like tinkering with hardware, and do not have much experience with the Raspberry Pi/Linux ecosystem, setting up the Esper software on an ESP32 dev board might be an interesting project. And while Esper may not be nearly as powerful as a Raspberry Pi, DNS protocol is very lightweight in nature. Unless you are in a household with 10+ people that are always online you will likely never going to need more computing power than a microcontroller can provide.
At the same time, if you have no problem using a shell and Linux environment, the Pi-hole is a much more feature rich and powerful piece of software that is a joy to use.
How can I get an Esper?
The easiest way, is to purchase a pre-made one from the Tindie store.
If you have some ESP32 development boards collecting dust, it will work on those too! (Just follow the instructions here!)
DISCLAIMER: It is heavily recommended to use a device with ethernet. Even the best Wifi will significantly increase latency and decrease reliability compared to a good copper connection.
If you want to try you hand an making an Esper from scratch, the repository contains all the schematic, pcb, and enclosure files needed to build one yourself.
Reprogramming Esper
Do you like the Esper hardware, but want to use it for something other than ad-blocking? Great! The Esper hardware is completely reprogrammable and includes an on-board USB-UART converter, no extra programmers are needed!
Esper Development
Tools Used
- KiCAD - EDA tool used to design PCB
- FreeCAD - 3D modeling tool for designing enclosure
- ESP-IDF - Contains ESP32 API and build tools for firmware development
- Python 3.7 - Scripts to glue everything together
Directory Structure
├── hardware # Hardware root directory
│ ├── custom components # Custom KiCad component files
│ ├── enclosure # FreeCAD project and STL files for enclosure
│ ├── product # KiCad projects for Esper
│ │ ├── usb-programmable # Includes CP2102 for easy usb programming
│ │ └── jtag-header # 10-pin header for JTAG & UART, meant to be used with programmer
│ └── programmer # KiCad project for programmer/debugger
└── software # Software root directory
├── firmware # ESP-IDF project that contains all code for Esper
├── scripts # Scripts used in build process and testing
└── website # For website development, contains symbolic links to HTML filesParts
60| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 49.9 | Resistor_SMD:R_0402_1005Metric | R6, R7, R9, R13, R14, R15, R16, R18, R19, R20, R22 |
| 9 | 2.2k | Resistor_SMD:R_0402_1005Metric | R10, R12, R21, R23, R24, R25, R26, R27, R28 |
| 8 | 0.1uF | Capacitor_SMD:C_0402_1005Metric | C2, C5, C6, C7, C11, C13, C14, C16 |
| 5 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q3, Q4, Q5 |
| 3 | 10uF | Capacitor_SMD:C_0402_1005Metric | C3, C10, C15 |
| 3 | 1uF | Capacitor_SMD:C_0402_1005Metric | C1, C4, C12 |
| 2 | 10K | Resistor_SMD:R_0402_1005Metric | R2, R8 |
| 2 | 270 | Resistor_SMD:R_0603_1608Metric | R11, R17 |
| 2 | 47 | Resistor_SMD:R_0603_1608Metric | R3, R4 |
| 2 | MountingHole | MountingHole:MountingHole_2.2mm_M2_Pad | H1, H2 |
| 1 | 4.87 | Resistor_SMD:R_0402_1005Metric | R29 |
| 1 | 470 | Resistor_SMD:R_0402_1005Metric | R1 |
| 1 | 82 | Resistor_SMD:R_1206_3216Metric | R5 |
| 1 | AZ1117EH-3.3TRG1 | Package_TO_SOT_SMD:SOT-223 | U1 |
| 1 | CP2102-GMR_NRND | EsperFootprints:VFQFN-28-1EP_5x5mm | U4 |
| 1 | DP83848C | Package_QFP:LQFP-48_7x7mm_P0.5mm | U5 |
| 1 | ESP32-WROOM-32E | RF_Module:ESP32-WROOM-32 | U2 |
| 1 | Ferrite_Bead | Inductor_SMD:L_0805_2012Metric | FB2 |
| 1 | GRN | Diode_SMD:D_0603_1608Metric | D1 |
| 1 | PTS645VH83-2 LFS | Button_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx83-2LFS | SW1 |
| 1 | RJ45_Amphenol_RJMG1BD3B8K1ANR | Connector_RJ:RJ45_Amphenol_RJMG1BD3B8K1ANR | J3 |
| 1 | RS-3535MWAR | LED_SMD:LED_RGB_PLCC-6 | D2 |
| 1 | USB_B_Micro | Connector_USB:USB_Micro-B_Molex-105017-0001 | J1 |
More from zachmorr/esper
2- 4 layers51 × 48 mm

- 2 layers40 × 20 mm

Similar boards
- 2 layers148 × 30 mm

Ui board 1u
betz-engineering/ui_board_1u
User interface PCB for 1U chassis front-panels
85 parts1CERN-OHL-P-2.0 - 4 layers75 × 100 mm

- 2 layers

DemoBoardPIC32
ffich/Athena_HW
Repository that contains the Kicad HW project for Athena Pic32 EVB.
141 parts - 2 layers57.9 × 65.4 mm

- 2 layers

- 2 layers111.1 × 61.2 mm

STM32F4-UCC
UCC-LCRS/STM32F4Discovery-expansion
Placa de expancion para la plataforma STM32F4Discovery.
121 partsBSD-3-Clause - 2 layers100 × 100 mm

- 4 layers58 × 85 mm

Questions
How big is the EsperDNS PCB?
It measures 51 × 48 mm and has 4 copper layers, 1.6 mm thick.
What parts does the EsperDNS use?
60 parts, built around the DP83848CVV, ESP32-WROOM-32E, AZ1117EH-3.3TRG1 and RS-3535MWAR. 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 EsperDNS KiCad files?
From the zachmorr/esper repository on GitHub, at the commit this page was made from: the board is hardware/product/usb-programmable/EsperDNS.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the EsperDNS design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).