Skip to the content
PCBKitNew board
2 layers50 × 50 mmSoundlabor schloss, the printed circuit board in 3D

Soundlabor schloss

c-base/raspberrylock20

Door-lock software for the Raspberry Pi using GPIOs

Size
50 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
20
Nets
12
Pads
56
Tracks, vias
92, 0
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
20 Oct 2013
Updated
7 May 2024

Overview

Soundlabor schloss is an open-source printed circuit board by c-base, from the c-base/raspberrylock repository on GitHub, published under the BSD-3-Clause licence. It is a 2-layer board of 50 × 50 mm with 20 parts on 12 nets, routed with 92 tracks and 0 vias.

Its parts include 3 resistors, 3 diodes, 3 connectors, 1 capacitor and 1 IC.

README

README.md

Raspberry Lock

The raspberry lock is a small application that runs on a Raspberry Pi with a PiFace shield. It reads a 4-digit user-ID and a 4-6 digit passcode from a 4x4 matrix keypad. It then sends this data to a LDAP server to check if the entered user-id and passcode combination is correct. If the server answers with "correct", a door is opened by switching on an electric strike with a relais.

Installation

Install the piface module with the Raspberry Pi configuration tool:

text
sudo raspi-config (then follow the menu to Advanced -> SPI)

sudo apt-get install python3.2 python3.2-dev build-essential
sudo apt-get install libldap-2.4-2
sudo ln -s /usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2 /usr/lib/arm-linux-gnueabihf/libldap.so
sudo ldconfig
sudo apt-get install python3-setuptools
sudo apt-get install python3-pifacedigitalios

git clone http://git.jaseg.net/python-lmap.git
cd python-lmap
python3 setup.py install

Now clone this repository and change into its subdirectory.

Copy config.py.sample to config.py and change the password/binddn/pin field/group membership test for your application.

How To Run It

text
python3 schloss.py

Usage

Press A, then enter your 4 digit UID code, then press A again. Now enter your 4-6 digit PIN code and hit A. If the code was correct, the door will open.

Hardware-Setup

text
+-----------------------------------------------------------------------+
|+---------------------------------------------------------------------+|
||+-------------------------------------------------------------------+||
|||+-----------------------------------------------------------------+|||
||||  +------+.................                                      ||||
||||  |      |                :                   +---------------+  ||||
|||+---+0    |  RASPBERRY PI  :                   |    KEYPAD     |  ||||
||+----+1    +--------+       :                   |               |  ||||
|+-----+2             |       :                   | 1   2   3   F |  ||||
+------+3             |       :                   | 4   5   6   E |  ||||
      |+4             +-------+                   | 7   8   9   D |  ||||
      |+5                     |                   | A   0   B   C |  ||||
      |+6                     ^                   |               |  ||||
      |+7                     |                   |               |  ||||
      |+0V                    +                   +---++++-++++---+  ||||
      |                       |    to LEDs            |||| ||||      ||||
      |                       |      ^ ^              |||| |||+------+|||
      |        PIFACE         |   Red| |Green         |||| ||+--------+||
      |                       |      | |              |||| |+----------+|
      |                       |      | |              |||| +------------+
      | ++                  7+-------+ |              ||||
      | ||                  6+---------+              ||||
      | ||                  5+------------------------+|||
      | ||                  4+-------------------------+||

Additional Links

Parts

20
QtyValueFootprintReferences
2120RResistors_ThroughHole:Resistor_Horizontal_RM7mmR1, R3
2CONN_01X02Terminal_Blocks:TerminalBlock_Pheonix_MKDS1.5-2polP2, P3
2CPCapacitors_ThroughHole:C_Radial_D8_L11.5_P3.5220µF1, 220µF2
2LEDLEDs:LED-5MMD1, D2
2POTPotentiometers:Potentiometer_Bourns_3006P_Angular_ScrewFront100k1, 100k2
1100kResistors_ThroughHole:Resistor_Horizontal_RM7mmR2
13300µraspberrylock_lib:ECA1EM332C1
14538Housings_DIP:DIP-16_W7.62mm_LongPadsU1
1CCapacitors_ThroughHole:C_Disc_D3_P2.50.1µF1
1CONN_01X03Pin_Headers:Pin_Header_Angled_1x03P1
1DDiodes_ThroughHole:Diode_DO-41_SOD81_Horizontal_RM10D3
1Q_NMOS_GDSTO_SOT_Packages_THT:TO-220_Neutral123_VerticalQ1
1RResistors_ThroughHole:Resistor_Horizontal_RM7mm10k1

The 18 most common of 20 parts.

Questions

How big is the Soundlabor schloss PCB?

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

What parts does the Soundlabor schloss use?

20 parts. 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 Soundlabor schloss KiCad files?

From the c-base/raspberrylock repository on GitHub, at the commit this page was made from: the board is schematics/soundlabor_schloss.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Soundlabor schloss design in my own project?

Its repository publishes it under the BSD-3-Clause licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers66.9 × 74.5 mmDeskHop Rev1, the printed circuit board in 3D

    DeskHop Rev1

    hrvach/deskhop

    Fast Desktop Switching Device

    20 parts7.9kGPL-3.0
  • 2 layers86.4 × 64.8 mmSlot machine, the printed circuit board in 3D

    Slot machine

    google/google-ctf

    Google CTF

    20 parts5.1kApache-2.0
  • 2 layers36.2 × 26.8 mmEsp32 minimal, the printed circuit board in 3D

    Esp32 minimal

    atopile/atopile

    Design circuit boards with code! ✨ Get software-like design reuse 🚀, validation, version control and collaboration in hardware; starting with electronics ⚡️

    20 parts4kMIT
  • 2 layers108.1 × 393.8 mmSweep compact ble, the printed circuit board in 3D

    Sweep compact ble

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    20 parts2.1k
  • 2 layers26 × 15.9 mmTPS54340 Buck Regulator, the printed circuit board in 3D

    TPS54340 Buck Regulator

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    20 parts1.2k
  • 2 layers67.6 × 30.5 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    20 parts1kGPL-3.0
  • 2 layers44.3 × 28.7 mmLin bus adapter esp32, the printed circuit board in 3D

    Lin bus adapter esp32

    hackclub/OnBoard

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

    20 parts915
  • 2 layers89.5 × 61.6 mmFreeDeck TH 2020-02, the printed circuit board in 3D

    FreeDeck TH 2020-02

    FreeYourStream/freedeck-hardware

    all the stuff you need to build your own FreeDeck

    20 parts772