Skip to the content
PCBKitNew board
2 layers87 × 62 mmKeypad, the printed circuit board in 3D

An open source RFID lock for hackerspaces and more!

Size
87 × 62 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
34
Pads
86
Tracks, vias
194, 5
Pours
1
Routed
Yes
KiCad
KiCad 3
Created
17 Sep 2013
Updated
17 Sep 2013

Overview

Keypad is an open-source printed circuit board by q3k, from the q3k/hacklock repository on GitHub. It is a 2-layer board of 87 × 62 mm with 23 parts on 34 nets, routed with 194 tracks and 5 vias.

It is built around the ATMEGA8A-AU. Its parts include 5 capacitors, 4 resistors, 4 connectors, 1 switch and 1 crystal. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Introduction

This is the Hackerspace Warsaw electronic lock mk2 project.

Work in progress! This is a prototype for a TP-Link WR703n based hardware solution - with a I2C bus on which there is a MAX7300 IO expander and a PN532 NFC tag reader. The I2C is software bit-banged by the kernel, drivers for both the IO expander and the PN532 are written in Lua.

Overview

The hacklock is mae out of two separate pieces of hardware:

  • The main lock unit, which runs Linux on a low-power SoC, has one I2C bus to communicate with an NFC reader and some GPIO, and a second I2C bus to communicate with:
  • The keypad, which is a 10-key (or more) physical keypad attached externally, and is based around and ATMega8 uC (they're cheap!)

Current hardware status

Right now the project is in a prototype status. The keypad part is nearly identical to what will be in production, except that the PCB is home-etched.

The main lock part itself is however based on a TP-Link WR703N router with OpenWRT and a software I2C bus. In the future, it will probably be replaced woth a custom i.MX233-based 4-layer board.

Files

  • software/
    • main/ - code for the central unit of the lock
      • main.lua - main Lua script
      • lua-libs/ - other Lua libraries
        • mips-bin/ - C libraries compiled for MIPS/OpenWRT
        • luai2c.tar.gz** - C i2c library source
        • luasha2.tar.gz - C sha2 library source
    • keypad/ - AVR code for the keypad
      • Makefile - the makefile for the keypad firmware
  • hardware/
    • keypad/ - KiCAD files for the keypad PCB

Hacking

Feel free to hack around. The whole project, however, is not anywhere near release, so things will change around and probably make no sense at the moment.

Parts

23
QtyValueFootprintReferences
4VAL**hole_3mmhole_3mm, hole_3mm, hole_3mm, hole_3mm
3100nc_0805C1, C2, C3
2220r_0805R5, R6
222pc_0805C4, C5
240kr_0805R3, R4
2HEADER_6pin_strip_6J1, J2
1ATMEGA8lqfp32I1
1BUZZERpin_strip_2BZ1
1CRYSTALcrystal_hc-49sX1
1GREENled_3mm_greenLD1
1I2Cmors_4pJ4
1ISPpin_strip_3x2J3
1REDled_3mm_redLD2
1SW_PUSHsmd_pushSW1

Questions

How big is the Keypad PCB?

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

What parts does the Keypad use?

23 parts, built around the ATMEGA8A-AU. 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 Keypad KiCad files?

From the q3k/hacklock repository on GitHub, at the commit this page was made from: the board is hardware/keypad/keypad.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Keypad design in my own project?

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

Similar boards

  • 2 layersMP Tracker, the printed circuit board in 3D

    MP Tracker

    elektra42/freifunk-open-mppt

    Open hard- and software solar maximum power point tracker

    70 parts89
  • 2 layers99.1 × 40 mmZX BUS Mouse, the printed circuit board in 3D

    ZX BUS Mouse

    proboterror/ZX_BUS_Mouse

    ZX BUS Kempston Mouse Controller

    31 parts18
  • 2 layers96.3 × 98 mmAquarium, the printed circuit board in 3D

    Aquarium

    baranovskiykonstantin/aquarium

    Control the lighting and the heating of the aquarium.

    73 parts11
  • 2 layers58.4 × 47 mmAVRUSBLPT, the printed circuit board in 3D

    AVRUSBLPT

    a-sakharov/LptToUsbAdapter

    Solution for connecting old LPT device to modern PC via USB

    17 parts6MIT
  • 2 layers23.6 × 20 mmXenoGCFlex, the printed circuit board in 3D

    XenoGCFlex

    HDR/XenoGC-Flex

    Flashing is done over isp, a raspberry pi can be used for this, see https://github.com/HDR/RaspberryPiISP

    21 parts4
  • 2 layers302 × 135 mmModulo, the printed circuit board in 3D

    Modulo

    nodep/myAmp

    Battery powered, solid state, guitar amplifier schematic and PCB

    201 parts4GPL-3.0
  • 2 layers32 × 43.7 mmNoahESC, the printed circuit board in 3D

    NoahESC

    zosko/NoahESC

    NoahESC - Atmega8 based ESC

    50 parts3
  • 2 layers47 × 47 mmHid digout, the printed circuit board in 3D

    Hid digout

    COKPOWEHEU/MeasBot

    Automatization system for measures by scientific devices

    25 parts1