Skip to the content
2 layers82 × 120 mmSample Numeric Keyboard, the printed circuit board in 3D

Sample Numeric Keyboard

famichu/MagLev_Switch_MX467

The 3D printable magnetic levitation contactless switch with the linear output hall effect sensor.

Size
82 × 120 mm
Copper layers
2
Thickness
1.6 mm
Parts
66
Nets
78
Pads
268
Tracks, vias
577, 23
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
5 Dec 2021
Updated
6 Oct 2023

Overview

Sample Numeric Keyboard is an open-source printed circuit board by famichu, from the famichu/MagLev_Switch_MX repository on GitHub. It is a 2-layer board of 82 × 120 mm with 66 parts on 78 nets, routed with 577 tracks and 23 vias.

It is built around the ATMEGA328-AU. Its parts include 20 ICs, 18 diodes, 15 resistors, 5 transistors and 1 capacitor. It belongs with the keyboards and input and sensors and measurement boards and the AVR (ATmega, ATtiny) and SAM D and SAM boards of this library.

Main components

1

README

README.md

MagLev Switch MX

Summary

These 3D printable switches have linear output hall effect sensors with magnetic levitation switches. The shape of this swich is compatable with the Cherry MX switch.

Features

  • Magnetic levitation axis
  • Non-contact switch
  • Linear output(adjustable actuation depth)
  • Able to make with only 2 magnets and a hall sensor.
  • Compatible shape with Cherry MX switch

Structure

Most MagLev switches don't use hall effect sensors. I think this is because the magnetism is too strong or the distance from the magnet is too close to for the sensor to detect. Therefore I implemented with new method that by sandwiching the hall effect sensor between two magnets instead of using springs.

Using SLA(LCD) type of 3D printer

When the axis is pushed, the magnetism will cancel each other out, which causes the magnetism detected by hall effect sensor to become zero. This is how this switch works. This method made the switch smaller, allowing it to have the same shape as existing switches.

BOM

  • PCB x1
  • Hall effect sensor IC A1304 x1
  • Pin header connector 1x1 x3
  • 5mm diameter x 2mm height magnet x2
  • Axis part(3D printerd) x1
  • Botton part(3D printerd) x1
  • Top part(3D printerd) x1
  • Soldering jig(3D printed) x1(Optional)

About the magnet and the hall effect sensor

The dimensions of the magnet used to make these models are 5mm diameter and 2mm thickness neodymium magnets. I used this magnet. The hall effect sensor I used is A1304 from Allegro MicroSystems.

3D Printing

I recommend to use SLA or DLP printer to print the body of the switches. And the recommended printing direction is the angle at which the groove is parallel to the platform. Using SLA(LCD) type of 3D printer

PCB

The PCB of this switch is manufactuable with single layer. But I recommend a load-bearing double layer PCB. Pins I used are the usual pinheaders. They're easy install with this Soldering Jig included in the repositry. Solodering with jig

Sample Numeric Keypad

Sample Numeric Keypad

Features

  • Used Maglev Switches
  • Also useable with common Cherry MX switch types.
  • This keypad has an LED indicator and a volume for changing the actuation depth.

BOM

  • PCB x1
  • MagLev Switch MX x18
  • Seeeduino Xiao x1
  • Linear(B type) 10k Ohm Rotary potentiometers x1
  • Broadcom LED bar graph HDSP-4850 x1
  • Case bottom(3D printed) x1
  • Case plate(3D printed) x1
  • Case top(3D printed) x1
  • Volume cap(3D printed) x1

PCB

If you want to make the sample numeric keypad, you'll need to download KiCAD libraries from Seeed Wiki. Then put the "Seeeduino XIAO KICAD" directory and the "Seeeduino XIAO KICAD.pretty" directory under the "Sample_Numeric_Keypad\PCB" directory.

Directory configuration

  • MagLevSwitch_MX: Files for maglev switch units.
    • Body: 3D printable mesh files and the editable file with Fusion 360(F3Z).
    • PCB: KiCad project files and KiCad libraries with 3D models.
    • SolderingJig: 3D printable mesh files of soldering jig for the PCB of this switch.
  • Sample_Numeric_Keypad
    • Case: 3D printable mesh files.
    • Code: Source codes for the key matrix controller(Seeeduino Xiao with ) and LED indicator(ATmega328P)
    • PCB: KiCad project files(Libraries of Seeduino XIAO is not included.).

Parts

66
QtyValueFootprintReferences
18DDiode_THT:D_T-1_P5.08mm_HorizontalD1, D2, D3, D4, D5, D6, D7, D10, D11, D12, D13, D14, D15, D16, D17, D18 +2
16MagLevSwitchMagLev_Switch:SW_MagLev_1.00u_PCBU2, U3, U4, U5, U6, U7, U8, U10, U11, U12, U13, U14, U15, U17, U18, U19
1010Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR6, R7, R8, R9, R10, R11, R12, R13, R14, R15
51kResistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderR1, R2, R3, R4, R5
5Q_PMOS_GSDPackage_TO_SOT_SMD:SOT-23_HandsolderingQ1, Q2, Q3, Q4, Q5
4MountingHoleMountingHole:MountingHole_2.1mmH1, H2, H3, H4
2MagLevSwitchMagLev_Switch:SW_MagLev_2.00u_Vertical_PCBU9, U16
1ATmega328-AUPackage_QFP:TQFP-32_7x7mm_P0.8mmU20
1CCapacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolderC1
1Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1
1HDSP-4850_2Display:HDSP-4850BAR1
1R_POTPotentiometer_THT:Potentiometer_Alpha_RD901F-40-00D_Single_VerticalRV1
1SeeeduinoXIAOSeeeduino_XIAO_KICAD:Seeeduino XIAO-MOUDLEU1

More from famichu/MagLev_Switch_MX

1
  • 2 layers11 × 9 mmMagLev Switch, the printed circuit board in 3D

    MagLev Switch

    famichu/MagLev_Switch_MX

    The 3D printable magnetic levitation contactless switch with the linear output hall effect sensor.

    4 parts467

Similar boards

  • 2 layers76.2 × 76.2 mmPaperBack Converter, the printed circuit board in 3D

    PaperBack Converter

    dqydj/PaperBack_EPaper_Display

    Internet Connected or Standard Input EPaper Display

    92 parts83MIT
  • 2 layers18 × 33.2 mmArduino pro mini, the printed circuit board in 3D

    Arduino pro mini

    etimou/arduino-pro-mini-kicad

    This is a clone of the well known arduino board "pro-mini" designed in kicad while the original was designed in eagle. Ref https://store.arduino.cc/arduino-pro-mini

    23 parts69
  • 2 layers101.6 × 147.3 mmKarabas pro revER, the printed circuit board in 3D

    Karabas pro revER

    andykarpov/karabas-pro

    FPGA based retrocomputer with FDD and HDD controllers

    223 parts37MIT
  • 4 layers100 × 100 mmATU, the printed circuit board in 3D

    ATU

    hmatuschek/ATU

    Simple, portable automatic antenna tuner

    127 parts21
  • 2 layers100 × 70 mmWSPR Beacon, the printed circuit board in 3D

    WSPR Beacon

    alexf91/WSPR-Beacon

    Si5351 based WSPR beacon

    79 parts15GPL-3.0
  • 2 layers52.6 × 45.6 mmPyramiduino, the printed circuit board in 3D

    Pyramiduino

    baldengineer/addohms

    Projects and files from AddOhms Tutorials

    23 parts11GPL-3.0
  • 2 layers87 × 47 mmNetclock, the printed circuit board in 3D

    Netclock

    dilshan/ntp-clock

    Ethernet base NTP clock panel driver

    91 parts11MIT

Questions

How big is the Sample Numeric Keyboard PCB?

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

What parts does the Sample Numeric Keyboard use?

66 parts, built around the ATMEGA328-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 Sample Numeric Keyboard KiCad files?

From the famichu/MagLev_Switch_MX repository on GitHub, at the commit this page was made from: the board is Sample_Numeric_Keypad/PCB/Sample_Numeric_Keyboard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sample Numeric Keyboard design in my own project?

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