Skip to the content
PCBKitNew board
2 layers48.9 × 33 mmEsp01-motion sensor, the printed circuit board in 3D

ESP8266-01 Based Motion Sensor

Size
48.9 × 33 mm
Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
12
Pads
39
Tracks, vias
62, 4
Pours
1
Routed
Yes
KiCad
KiCad 4
Created
12 Jan 2018
Updated
22 Jan 2018

Overview

Esp01-motion sensor is an open-source printed circuit board by daemondazz, from the daemondazz/esp01-motion-sensor repository on GitHub. It is a 2-layer board of 48.9 × 33 mm with 10 parts on 12 nets, routed with 62 tracks and 4 vias.

It is built around the ESP-01. Its parts include 3 resistors, 2 capacitors, 2 ICs, 2 connectors and 1 switch. It belongs with the sensors and measurement boards and the ESP8266 boards of this library.

Main components

1

README

README.md

ESP-01 Based Motion Sensor

This project is a very simple motion sensor using an ESP-01 ESP8266 module and HC-SR501/DSN-FIR800 motion sensor.

Countless other designs using the same ESP module and motion sensor exist, this project was created as a learning exercise. And because I wanted to.

PCB

The PCB folder contains a Kicad project for a simple PCB that both the ESP module and motion sensor are mounted to. It has the following features:

  • Allows direct mounting of the ESP-01 module
  • Allows direct mounting of the HC-SR501 sensor as a daughter board
  • Uses a micro-USB connector for power input
  • Contains a 3.3V regulator for powering the ESP-01
  • Includes required pull-up resistors to allow the ESP-01 to boot reliably and then use the GPIO2 pin for the sensor input

Software

The Software folder contains the Arduino sketch that I am running on my modules. It has the following features:

  • Automatically publishes state changes into an MQTT topic based on the Chip ID number embedded in the ESP-01
  • Automatically publishes a name/version/OTA state message into an MQTT topic based on the Chip ID embedded into the ESP-01 every 10s as a keepalive
  • Supports password authenticated OTA updates for the first 2 minutes after powering on or being reset
  • Uses the TX LED as an activity indicator

TODO

  • Create a 3D printed case to house the PCB
  • Allow creation of a command MQTT topic to issue commands

Parts

10
QtyValueFootprintReferences
310KResistors_SMD:R_0805R1, R2, R3
20.1uFCapacitors_SMD:C_1206C1, C2
1Conn_01x03_FemaleSocket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mmJ2
1ESP-01Socket_Strips:Socket_Strip_Straight_2x04_Pitch2.54mmU2
1NCP1117-3.3TO_SOT_Packages_SMD:TO-252-2U1
1SW_PushButtons_Switches_SMD:SW_SPST_KMR2SW1
1USB POWERConnectors_USB:USB_Micro-B_Wuerth-614105150721_VerticalJ1

Questions

How big is the Esp01-motion sensor PCB?

It measures 48.9 × 33 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esp01-motion sensor use?

10 parts, built around the ESP-01. 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 Esp01-motion sensor KiCad files?

From the daemondazz/esp01-motion-sensor repository on GitHub, at the commit this page was made from: the board is PCB/ESP01 Motion Sensor.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esp01-motion sensor design in my own project?

Its repository states no licence, so its author keeps all rights: ask daemondazz before reusing the design.

Similar boards

  • 2 layers100 × 100 mmMist1010, the printed circuit board in 3D

    Mist1010

    UzixLS/mist1010-board

    10x10cm PCB variant of MIST FPGA project for G738/G706 enclosure

    273 parts43MIT
  • 2 layers50 × 100 mmDMX CTRL, the printed circuit board in 3D

    DMX CTRL

    michar71/DMX_CTRL

    DMX512 Controller for light installations based on Bluepill STM32F103 Board

    46 parts12
  • 2 layers68.6 × 95.3 mmMultitool, the printed circuit board in 3D

    Multitool

    cnlohr/stm32f042_fun

    My fun repo for the STM32f042

    90 parts8
  • 2 layers30 × 17 mmMK312WIFI, the printed circuit board in 3D

    MK312WIFI

    Rangarig/MK312WIFI

    A replacement for the MK312's bluetooth adapter that allows to connect to it via wifi ... or comport

    7 parts7GPL-3.0
  • 4 layers100 × 50 mmChronolog, the printed circuit board in 3D

    Chronolog

    slemanz/chronolog

    STM32-based temperature data logger with RTC, NOR flash storage, LCD and Wi-Fi. Hardware and firmware.

    95 parts5
  • 2 layers102.9 × 52.1 mmUarm, the printed circuit board in 3D

    Uarm

    beckdac/uArm-MicroView-esp8266

    uArm control PCB with MicroView (Arduino w/ OLED) and esp8266 WiFi/UART bridge

    14 parts4GPL-3.0
  • 2 layers204.5 × 121.9 mmCt800-pcb, the printed circuit board in 3D

    Ct800-pcb

    d3rvita/ct800-pcb

    PCB for the CT800 chess computer

    91 parts4MIT
  • 2 layers98 × 91.1 mmSoil Sensor Hub, the printed circuit board in 3D

    Soil Sensor Hub

    ArtoLabs/Sensi-pot

    Collection of modules for indoor/outdoor gardening automation and environmental control

    78 parts3MIT