Skip to the content
2 layers33.5 × 74.2 mmEsp8266RFIDcontrol, the printed circuit board in 3D

Esp8266RFIDcontrol

Ranthalion/rfidLock2

RFID Lock system

Size
33.5 × 74.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
39
Pads
83
Tracks, vias
173, 43
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
21 Sep 2016
Updated
6 Dec 2022

Overview

Esp8266RFIDcontrol is an open-source printed circuit board by Ranthalion, from the Ranthalion/rfidLock repository on GitHub. It is a 2-layer board of 33.5 × 74.2 mm with 21 parts on 39 nets, routed with 173 tracks and 43 vias.

It is built around the TPS561208DDC and RTE24005F. Its parts include 5 resistors, 5 connectors, 3 capacitors, 2 ICs and 2 switches. It belongs with the ESP8266 boards of this library.

Main components

2

README

README.md

View this project on CADLAB.io.

rfidLock

RFID Lock system

###Lock Hardware The lock is Morning Industry RF-01SN.

###Lamp Server Primary Network IP: 10.200.200.11 up on eth0
Secure Network IP: 172.12.123.20 up on eth1
Software: Apache2, php7 w/all mods and oauth extension, mariaDB, phpMyAdmin
Services: SSHD

Diagram

Diagram

Database Diagram

Database Diagram

Installation

Configuration File

A configuration file is necessary for managing the connection to the mysql database which is used as the authoratative data source. This file is also needed for other configuration details such as the location of templates.

The options that can be configured in this file's database parameter match with mysql.connector's Python Connection Arguments

A simple example configuration file is shown here for reference.

json
{
  "database": {
    "username": "rfid_user",
    "password": "db_passwd",
    "host": "rfid_host",
    "database": "rfid_db"
  },
  "templates": "/usr/share/rfidlock/templates"
}
Member Server

To install the member server and web interface:

bash
git clone https://github.com/Ranthalion/rfidLock.git
sudo pip install rfidLock/
# Edit or create the config.json file described above
vim /etc/rfidlock/config.json
# Creates the necessary database tables
rfid_db_install

# For Arch, this should enable wsgi
echo "LoadModule wsgi_module modules/mod_wsgi.so" >> /etc/httpd/conf/httpd.conf
# For Debian/Ubuntu, this should enable wsgi
a2enmod wsgi

# Mount the WSGI script, again, this is for Arch, will be different on other distros
echo "WSGIScriptAlias /rfid_db.wsgi $(which rfid_db.wsgi)" >> /etc/httpd/conf/httpd.conf

# Install and enable mod_wsgi
# Modify Apache server configuration

# TODO run a script that installs an apache server site to a path
# Varies by distribution

# ? WSGIScriptAlias /wsgi /path/to/script/rfid_members.wsgi
# TODO configure apache server to run mod_wsgi

To remove the member server after installation:

Raspberry Pi

Secure Network IP: 172.12.123.98

bash
git clone https://github.com/Ranthalion/rfidLock.git
sudo pip install rfidLock/
# TODO, establish a daemon that handles the RFID lock and enable it on start-up

Web API

GET /api/verify

Verifies access to a resource by rfid

Consumes

This API call consumes the following media types via the Content-Type request header:
application/x-www-form-urlencoded

Query parameters

resource (required)
Query Parameter — The name of the resource being requested
encryptedrfid (optional)
Query Parameter — The encoded rfid value
rfid (optional)
Query Parameter — The raw, unencoded rfid value

Return type

Content-Type: application/json

text
{
  "verified" : false
}

Parts

21
QtyValueFootprintReferences
21kResistors_SMD:R_0805_HandSolderingR4, R6
10.1uFCapacitors_SMD:C_1206_HandSolderingC2
110kResistors_SMD:R_0805_HandSolderingR3
110uFCapacitors_SMD:C_1210_HandSolderingC1
14.7uHInductors_SMD:L_Wuerth_HCI-5040L1
1460Resistors_SMD:R_0805_HandSolderingR1
147uFCapacitors_SMD:C_1210_HandSolderingC3
154.9kResistors_SMD:R_0805_HandSolderingR2
1Barrel_JackConnectors:BARREL_JACKJ5
1C_DOORjst:CONNECTOR_JST_SH_2J1
1C_PWRjst:CONNECTOR_JST_SH_2J4
1C_STRIKEConnectors_Terminal_Blocks:TerminalBlock_bornier-2_P5.08mmJ2
1Conn_01x05jst:CONNECTOR_JST_SH_5J3
1LED_WIFILEDs:LED_0603_HandSolderingD3
1LOGOesp-control:ML_LogoG***
1LoLinESP8266esp-control:LOLIN_NODEMCUU2
1Q_PNPTO_SOT_Packages_SMD:SOT-23_HandsolderingQ1
1RTE24005Fesp-control:RTE24005FK1
1SW_RESETbutton_smd_2_pin:button_smd_2_pinSW1
1TPS561208TO_SOT_Packages_SMD:SOT-23-6_HandsolderingU1

More from Ranthalion/rfidLock

2
  • 2 layers34.3 × 23.1 mmEsp8266RFIDReader, the printed circuit board in 3D

    Esp8266RFIDReader

    Ranthalion/rfidLock

    RFID Lock system

    18 parts2
  • 2 layers74 × 58.7 mmHackDoor, the printed circuit board in 3D

    HackDoor

    Ranthalion/rfidLock

    RFID Lock system

    14 parts2

Similar boards

  • 2 layers74.9 × 114.2 mmHalf Shield, the printed circuit board in 3D

    Half Shield

    Open-Acidification/TankController-KiCad

    KiCad files for pcb design for Open Acidification pH-stat unit

    49 parts
  • 4 layers165 × 50 mmGarnet, the printed circuit board in 3D

    Garnet

    Ti-g/AURCmainboard

    131 parts
  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0

Questions

How big is the Esp8266RFIDcontrol PCB?

It measures 33.5 × 74.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esp8266RFIDcontrol use?

21 parts, built around the TPS561208DDC and RTE24005F. 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 Esp8266RFIDcontrol KiCad files?

From the Ranthalion/rfidLock repository on GitHub, at the commit this page was made from: the board is esp8266/control/esp8266RFIDcontrol.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esp8266RFIDcontrol design in my own project?

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