geekhack

geekhack Projects => Making Stuff Together! => Topic started by: MOZ on Thu, 31 March 2016, 07:00:50

Title: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Thu, 31 March 2016, 07:00:50
This is a custom numeric pad that is designed to be usable on the right side of the keyboard or on the left (With a mirrored layout if required). There is a gap in the top row and the second row of 1.25U. The top row can be broken off by simply scoring the two brifges and snapping. The bottom 5 rows can then be used in conjunction with a 60%/65% keyboard.

SAMPad stands for Sundstrand Adding Machine. David Sundstrand was the inventor of the 10-key adding machine, the layout of which is used till date on most numeric pads. This is a humble dedication to the great man.

Features:
-- Open Source Design
-- Fully Programmable Keys
-- Numpad can be mirrored for use on the left side of the main keyboard.
-- Multiple layers
-- Alps/Cherry (PCB/Plate) support
-- PCB mount stabs supported
-- Backlight, LED on bottom for windowed keycaps
-- 6 Indicator LEDs, 4 on the top row and one on either Num Lock positions (Regular and mirrored)
-- 4 SMD RGB LEDs on the bottom of the PCB for under/side glow
-- SMD (SOD-123) diodes only
-- Individual resistors for the LEDs not required as it uses a dedicated LED driver
-- Using large (0805) capacitors and resistors so it is easier to hand-solder
-- Possibility to add a buzzer
-- Possibility to add a rotary dial on the top-right most key position for changing volume, LED brightness, etc.
-- PCB compatible with Winkeyless.kr case

Layout options decided/implemented:
-- Standard numpad with extra row on top with a 1.25U vertical offset that matches most TKL boards.
-- Possibility for upto 5*4 + 4 keys layout
-- Mirrored numpad layout for use on left side of main keyboard

(https://raw.githubusercontent.com/mohitg11/SAMPad/master/layouts.png)

To Do (immediate):
-- Add RGB support to EasyAVR
-- Add rotary encoder support to EasyAVR
-- Add buzzer support to EasyAVR

GitHub Link:  https://github.com/mohitg11/SAMPad

Current PCB design::
(https://raw.githubusercontent.com/mohitg11/SAMPad/master/PCB.png)
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Thu, 31 March 2016, 07:03:30
This one was a ***** to trace, as you can see the back of the PCB is busy!
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: SpAmRaY on Thu, 31 March 2016, 07:04:27
I'm not in the market to buy anything right now but this is really cool.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: zhihuichan on Thu, 31 March 2016, 09:28:49
I really need this. To bulid a left hand Numpad !
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: romevi on Thu, 31 March 2016, 11:07:33
Great use of the left side.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: regack on Thu, 31 March 2016, 19:38:06
That's really nice MOZ, I like how everything routes through the two thin breakpoints for the top - neat and tidy there.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: ika on Thu, 31 March 2016, 19:40:31
I literally just bought a b.pad two days ago but this looks really cool, especially the rotary switch part. Interested to see how that turns out!
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: Data on Thu, 31 March 2016, 21:26:44
This is awesome.  Some of the soldering looks intimidating.   :-X
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: 0100010 on Sun, 03 April 2016, 20:19:14
Don't need one; but I want one.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: TalkingTree on Mon, 04 April 2016, 04:29:45
I dare to ask, is it possible to get a PCB without the gap between the first and second row? I was looking for that layout specifically.
Thanks in advance.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Mon, 04 April 2016, 04:31:37
I dare to ask, is it possible to get a PCB without the gap between the first and second row? I was looking for that layout specifically.
Thanks in advance.
It's not supported on this PCB, however it should be pretty trivial to edit the KiCAD file to not have the gap between the top two rows.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: TalkingTree on Mon, 04 April 2016, 04:46:46
I dare to ask, is it possible to get a PCB without the gap between the first and second row? I was looking for that layout specifically.
Thanks in advance.
It's not supported on this PCB, however it should be pretty trivial to edit the KiCAD file to not have the gap between the top two rows.
Gotta give it a go. Thanks.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Fri, 15 April 2016, 06:47:42
Updated the PCB on GitHub. I feel it is now complete and will move onto designing the acrylic case and in parallel I've been working on adding support for RGB LEDs to Easy AVR.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Wed, 20 April 2016, 15:54:00
Working on a project at work, it struck me that I had complicated this and the TS65 project too much and had strayed away from the initial idea. I was also working on the cases for both of them over the weekend and realised the TS65 looked rather ugly with the extra bare space on the left side. The final straw was that I've been flooded with a lot of work IRL and I need a split design board to use for the long hours at work now that I've sold my Ergodox.

What this all means, is I'll be toning down both the project. For the SAMPad it only means removing the 3.3V regulator. For the TS65, I'll not be implementing wireless and rotary encoder (As there is no place for it). RGB LEDs, buzzer and trackpoint extension will stay.

Following this line of thought, I've updated the GitHub repo for SAMPad to Rev 0.4 with the changes implemented. I also pushed Rev 0.3 before I pushed 0.4, so it's up there for anyone to explore.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Sun, 24 April 2016, 11:00:00
Completed the case and uploaded it onto GitHub.

I've gone with a slightly different case to the ones I've done before. There is only one thick middle layer this time, a top/plate layer and a bottom layer along with a diffuser layer.

One would have to file the USB part that protrudes from the middle layer. Just cutting it would result in an unnecessarily large cavity, thus I've left it to the user to file to get the right height, it can easily be ammended in any vector software to be cut if required.

There is a diffuser layer that sites inside the middle layer and above the bottom layer. The purpose of this layer is to diffuse the RGB LEDs to the sides. It has cutouts for the thicker components.

(http://i.imgur.com/Bryp8r4.png)





I've also been working on the firmware side of things. I've added support for EasyAVR, so the basic keyboard should be usable with EasyAVR. I've got the UI for the RGB LED done as well as LEDs working with colors set via the firmware code. Now have to link the two.

(http://i.imgur.com/MrTFN8Q.png)
(http://i.imgur.com/GJzCYNG.png)
(http://i.imgur.com/x0j4k1u.png)

Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Mon, 02 May 2016, 15:18:43
Corrected a minor issue on the PCB with the MCU UCAP connection. Comit pushed to GitHub
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: help-14 on Mon, 09 May 2016, 06:04:35
Just printed your PCB for testing, keep up the great work  :thumb:

(https://scontent-sin1-1.xx.fbcdn.net/t31.0-8/13147692_10208405307103770_5004775067256673519_o.jpg)
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Mon, 09 May 2016, 06:22:15
Wow. Looks like it came out good. Tell me, is the "Adding Machine' part readable?

Let me know when you build it, I'll be pushing the config file for Easy AVR soon, some features might not work right now. I'll see if I have time, I'll add QMK configuration as well, with that everything besides the rotary encoder should work.

I'm about to place an order for the PCB and parts myself this weekend, but it will be a while before they reach me and I can build them.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Wed, 11 May 2016, 04:54:07
BOM updated.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: punkpc on Wed, 11 May 2016, 12:11:03
Looking forward to being able to get one of these. Can't wait!
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Sat, 21 May 2016, 05:08:51
Updated to Rev 0.6. Changes,
-- Changed how the HWBE pin is pulled. Default is pull-down but you can cut the track and then have it pulled-up
-- Changed board outline so that corners are rounded for routing if panelized

I'm waiting for feedback from help-14 before placing an order for components and PCB.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Tue, 14 June 2016, 14:36:26
So, here's my first batch of PCBs from EasyEDA. I found the quality to be excellent along with the great service and splendid pricing.

(http://i.imgur.com/29wF4pJ.jpg)
(http://i.imgur.com/u7LgMlv.jpg)
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: infiniti on Wed, 15 June 2016, 10:10:16
Great lookin' PCB, MOZ! :thumb:
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: help-14 on Wed, 15 June 2016, 11:18:23
Awesome, if it work then I'll order 10 more :))
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: Data on Wed, 15 June 2016, 13:30:24
Nice.  Still looks super intimidating.   :-X
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Wed, 15 June 2016, 13:33:08
Yeah the back side looks super busy
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Sat, 18 June 2016, 03:34:13
Yeay, first test build was successful! Hot air soldering is so much faster!

I used Easy AVR to program the board, all keys registering, indicator LEDs working as they should. I haven't got my switches yet, so I just shorted the switch pins to test and it's working.

Also, I forgot the backlight LEDs are current controlled from the driver, so to test the LED I just put one in through the holes and it was BRIGHT! In two seconds it died, 200mA going through a single LED can't be good. THis was the 2x3x4mm LED off ebay, rated for 20mA

Will now try to program it using QMK, and test the audio and RGB LEDs (Still waiting to receive the RGB LEDs as well). Already discovered that to use the buzzer, I'll have to swap the buzzer pin (B4) with another pin (C6) as the Timer 3 is used for the buzzer in QMK. Oh well, will get to it soon.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: xtrafrood on Sat, 18 June 2016, 04:24:05
Bookmarking this page for updates. The PCB looks beautiful, can't wait to see a full build
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: carzian on Wed, 10 May 2017, 22:39:00
Don't mean to revive a dead thread, but I was wondering if Moz has any updates?
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: vim_commando on Thu, 11 May 2017, 00:00:39
Don't mean to revive a dead thread, but I was wondering if Moz has any updates?

No, I think you meant to. :))

I'd like to know the status on this too, the PCB looks like something I need for a build I've got rattling around in my head.
Title: Re: SAMPad - Sundstrand Adding Machine - Numpad that is usable on right & left side
Post by: MOZ on Wed, 17 May 2017, 02:47:15
I did make a build with this, right before I was smashed in the face with the thing called life. Keyboard was working, so were back light LEDs and RGBs, didn't test the buzzer or encoder. Maybe in a month or so I can get back on the hobby train and give some more updates.