

Soundlabor schloss
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.mdRaspberry 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:
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 installNow 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
python3 schloss.pyUsage
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
+-----------------------------------------------------------------------+
|+---------------------------------------------------------------------+|
||+-------------------------------------------------------------------+||
|||+-----------------------------------------------------------------+|||
|||| +------+................. ||||
|||| | | : +---------------+ ||||
|||+---+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
- PiFace documentation: http://www.farnell.com/datasheets/1684425.pdf
- The keypad that we used looks somethink like this: http://uk.farnell.com/eao/eco-16250-06/keypad-4x4-matrix-0-02a-24v-plastic/dp/1130806
Parts
20| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 120R | Resistors_ThroughHole:Resistor_Horizontal_RM7mm | R1, R3 |
| 2 | CONN_01X02 | Terminal_Blocks:TerminalBlock_Pheonix_MKDS1.5-2pol | P2, P3 |
| 2 | CP | Capacitors_ThroughHole:C_Radial_D8_L11.5_P3.5 | 220µF1, 220µF2 |
| 2 | LED | LEDs:LED-5MM | D1, D2 |
| 2 | POT | Potentiometers:Potentiometer_Bourns_3006P_Angular_ScrewFront | 100k1, 100k2 |
| 1 | 100k | Resistors_ThroughHole:Resistor_Horizontal_RM7mm | R2 |
| 1 | 3300µ | raspberrylock_lib:ECA1EM332 | C1 |
| 1 | 4538 | Housings_DIP:DIP-16_W7.62mm_LongPads | U1 |
| 1 | C | Capacitors_ThroughHole:C_Disc_D3_P2.5 | 0.1µF1 |
| 1 | CONN_01X03 | Pin_Headers:Pin_Header_Angled_1x03 | P1 |
| 1 | D | Diodes_ThroughHole:Diode_DO-41_SOD81_Horizontal_RM10 | D3 |
| 1 | Q_NMOS_GDS | TO_SOT_Packages_THT:TO-220_Neutral123_Vertical | Q1 |
| 1 | R | Resistors_ThroughHole:Resistor_Horizontal_RM7mm | 10k1 |
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 mm

- 2 layers86.4 × 64.8 mm

- 2 layers36.2 × 26.8 mm

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 mm

Sweep compact ble
davidphilipbarr/Sweep
Sweep - a small promicro based keyboard inspired by the Ferris.
20 parts2.1k - 2 layers26 × 15.9 mm

TPS54340 Buck Regulator
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
20 parts1.2k - 2 layers67.6 × 30.5 mm

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 mm

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 mm

FreeDeck TH 2020-02
FreeYourStream/freedeck-hardware
all the stuff you need to build your own FreeDeck
20 parts772