Author Topic: Hybris - A wireless 104 key keyboard from scratch  (Read 12279 times)

0 Members and 1 Guest are viewing this topic.

Offline pomk

  • Posts: 470
  • Location: Finland
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #50 on: Tue, 27 March 2018, 03:16:22 »
Just be sure to check that your printer is accurate as well. I usually add a 50% opaque ruler in such printouts to rule out scaling issues.

Offline senso

  • Posts: 47
  • Location: Portugal
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #51 on: Sun, 06 May 2018, 10:22:47 »
How the keyboard going?

Everything OK with you Richard?

Offline RichardH

  • Thread Starter
  • Posts: 35
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #52 on: Thu, 10 May 2018, 00:36:42 »
Just a quick update! I've been working on techno recently, so the keyboard design took the back seat last month. I got back into it the last few days and placed the diodes and encoder. Next step will be to place the logic components and power supply. I'll try and describe the hows and whys on that next. I went through and measured everything twice and it looks like everything should fit the first time. I placed the diodes so there was a good bit of space around the drill holes. Other than that, it's boring, methodical work.





-Rich

Offline RichardH

  • Thread Starter
  • Posts: 35
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #53 on: Mon, 03 December 2018, 01:33:08 »
Big progress! I finally got some time to finish routing and I've sent the board off to the fab!  :eek:

I'll go through some of my routing decisions.

The component side of the board (numpad on the left) board was split up like this:



USB signals were routed first since they're really the only high speed thing on the board. I followed the chip vendor's PCB prints here https://www.ftdichip.com/Support/Documents/PCBData/NerO%20PCB%20Prints.PDF and tried to length match the differential pairs  to 5mil. This will definitely be an annoying area to hand solder due to the density of the parts. I chose fairly big footprints for the passives at 0805 packages, so I'm confident it'll come together.




Next came the Bluetooth MCU. The Bluetooth module was placed right on the edge of the board above the numpad. I kept the crystal close to the module, and as far as I could get it from the other signals. The space was pretty constrained, so I ended up killing a bunch of test points in order to make all the parts fit and still leave a ground keepout zone under the antenna. The rotary encoder is mounted just to the right and the signal lines are pretty short. Since the serial lines are really slow, I routed then wherever they fit later in the layout process



The column layout and diodes were next. I picked a spot and roughly placing the diodes in the same place for most of the 1u switches and did the 1.25/2u ones a little more custom. I'm a little disappointed in the shape of the traces, but this was a good learning experience for what to do better in Rev 2.   



I placed the shift registers next. The data direction ended up being opposite to the breaboard mockup, which ended up making the connection go from the MCU to the register nearest the spacebar. Instead, the data line now goes from the MCU to the register nearest the numpad and daisy chains to the arrow keys then to the spacebar area. I also tried to make the traces not go directly under the stabs, just in case of wear. Any traces routed through the stabs were pulled as close to the mounting holes as possible.



Lastly was the power supply. I was running a little short on space with all of the signal traces, so I picked a convenient spot under the F12 key. Since this will be the highest point of incline, it will let the main board to lay just above the battery inside the case. I'm going to design for a 2000mAh battery, so 60mm x 36mm x 7mm will be the allowance. I've used some fairly beefy traces on the VCC rails just because they have so damn long to go.

I added some more mounting holes to the board after routing all the signals and pulled back the ground plane from all of the holes. That concludes the PCB layout! I'm expecting the boards to arrive as early as tomorrow!

-Rich
« Last Edit: Mon, 03 December 2018, 01:50:08 by RichardH »

Offline marhalloweenvt

  • Posts: 20
  • Location: Viet Nam
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #54 on: Mon, 03 December 2018, 21:34:23 »
I just want to say that Your work is very amazing.
Would you allow me to use your design for my design?
Thanks

Offline RichardH

  • Thread Starter
  • Posts: 35
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #55 on: Mon, 03 December 2018, 22:52:19 »
@marhalloweenvt by all means. It's open source hardware. Hack away :)

The PCBs come tomorrow, so I should have some assembly stuff to show off.

-Rich

Offline marhalloweenvt

  • Posts: 20
  • Location: Viet Nam
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #56 on: Tue, 04 December 2018, 00:28:03 »
Can't wait for coming home to do some prototype with your design. I have some nrf52823 modules lying around.

Offline RichardH

  • Thread Starter
  • Posts: 35
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #57 on: Wed, 02 January 2019, 00:42:09 »
Happy new year everyone. It's been almost a year since the project started and I'm now at a fully built PCB!

Rev.1 of the PCB had a number of problems:

  • The Switch spacing ended up being 19.05mm, the printer was scaling as suggested by a previous poster - moral: never trust printers
  • The USB protection diode had too much skew and ended up fouling the signal- I've dropped it for now
  • Pull up and down resistors were not needed on the Jlink connector

So I've spun a Rev.2 and now the switches fit the plate and the minor signal issues were resolved :)

Here's some photos from the build - it was hand soldered minutes before these photos were taken, so it's a bit blobby and flux-y:


USB Section





BT module





Battery Section




The bottom side of the board




Thanks for all the help and feedback, guys! I'll follow up with a post on the progress of the case and hopefully get to building the plate and switches soon.

-Rich

Offline marhalloweenvt

  • Posts: 20
  • Location: Viet Nam
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #58 on: Wed, 02 January 2019, 03:22:07 »
You're rock.
Do you think about add some underglow RGB led? That should be nice future
« Last Edit: Wed, 02 January 2019, 03:29:55 by marhalloweenvt »

Offline iaman

  • Posts: 148
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #59 on: Wed, 02 January 2019, 08:04:04 »
This rules, Rich! Glad to see folks doing work on full-size PCBs, finally.

Offline vvp

  • Posts: 812
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #60 on: Wed, 02 January 2019, 10:23:56 »
Do you think about add some underglow RGB led?
LEDs would have quite a bad impact on the battery life when switched on.

Offline RichardH

  • Thread Starter
  • Posts: 35
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #61 on: Wed, 02 January 2019, 22:38:58 »
Hey again! So today I want to share my case design so far (been working on it during the holidays). First I'll follow up on the LED qustion above. I left the two wire interface open with solder pads on the mcu in case I decide to do that :) It would need a much bigger battery or to only run lights while on USB. I'm designing the case to support up to a 2000mAh battery, which would run bright lighting for about a day (@ 70mA or so). I guess the other issue is I wanted the base to be black.

So here we go:



My design goals here:

  • A metal case top, likely natural color anodized aluminum
  • A metal knob for media controls
  • A vinyl or silk screened decal in the top right corner
  • A plastic base - probably 3d printed to allow a large bluetooth aperture
  • A switch on the bottom to physically turn off the board when not in use
  • Room for a fairly large capacity battery just in case

I've done laser sintered nylon (SLS) through shapeways before and I liked how it came out. I'm not sure if that's the latest tech these days. The aluminum upper housing might be very expensive as designed due to the cavities on the bottom (the  plate is one level and the top right is another) and I want to cut the back of it up a bit to cause as little signal loss as possible. I'm not sure which bumpons to use, are they normally recessed? I'd love some manufacturing tips if anyone's done this before.

-Rich
« Last Edit: Wed, 02 January 2019, 22:45:08 by RichardH »

Offline hottrout

  • Posts: 595
  • Location: Northern Ireland
  • I'd Hit Dat Key
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #62 on: Thu, 03 January 2019, 07:57:35 »
I love what you are doing here and am following very closely.  Can I just say as a man the same age, I loved Hybris on my Amiga, it is one of my all time fav games from one of my all time fav systems.

Do you still game?
Do you collect Amigas/Computers?
I started typing on a Sinclair Spectrum 'human flesh' keyboard in 1980 and I never stopped.

More
Rig1 |i9-7940x@4.8ghz|32GB(3600)|RTX 2080Ti|Bespoke Water, 360m Rad|X299 Prime Deluxe|EK x299 Monoblock|Optane 900p|2x1TB 960 Pro|2x10TB Helium|Dell U3415W + Dell UP2116Q
Rig2 |i9-9900k@5GHz|16GB(3200)|STRIX1080Ti|EK Closed Water Loop|Z390-F|1TB 960 Pro|Dell AW3418DW
Rig3 |i5-7500|16GB(2400)|H110 Pro BTC+|8x1080Ti|2x1650Watt PSU
Systems
More
IBM 3101, IBM 3276, IBM 5150, IBM ModelM, Dictaphone Dual Display, Cherry (all of them), Nixdorf, Siemens, Filco Majistouch, Rama M6-B, CA66, ClueBoard, VA69M, Rama U-80, VN66, BOCC, Rama M10-C, Rama M60-A LYN, CyberVoyager, Clarabelle, Elongate Mini 1800, Petrichor 1800, Maja, Think6.5v2, Bear, Cherry CB87
Keyboards

Offline RichardH

  • Thread Starter
  • Posts: 35
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #63 on: Thu, 03 January 2019, 15:09:47 »
Heh.. I still play most of my favourites on uae - itís close enough when using a game pad. My friend has my A1200, so I know where to find it :) waiting to see more about these vampire boards, too. There might be a little retro computing in my future if those turn out as advertised.

-Rich

Offline RichardH

  • Thread Starter
  • Posts: 35
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #64 on: Tue, 22 January 2019, 01:07:56 »
So it's time to build! All the internal parts have arrived and I now have enough to build the plate and switches.

The mechkb universal plate I'm using just needs the top tab sawed off to fit the encoder and status leds.



This plate also uses plate mount stabs, so I did a little test fit and installed all the stabilizers. I put a bunch of lube on the ends of the wires and the sides of the housings.



I originally started the project thinking I would use MX browns, but through a twist of fate I ended up with some bags of zilents :) so 62g zilents for the alphas and 65g for mods/numpad/f row/space



Lubed the side rails, the lower spring mount and a touch on the lower "pin" of the switch




After putting in the anchor switches, I populated the rest of them



Keys, encoder and aluminum knob and battery all installed. using a little cloth to keep the battery connector from hitting the table.



I'm now typing this message from my new board using Bluetooth :) So happy with how it turned out - Zilents are a dream! Plastics will come probably next month so I'll have a full prototype. If the plastic version looks good, it'll be onto the metal case top.

-Rich


 

Offline iaman

  • Posts: 148
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #65 on: Tue, 22 January 2019, 07:21:13 »
Rich, that looks great! So excited to see this project get here!

Offline AGmurdercore

  • Posts: 261
  • Location: Bulgaria
Re: Hybris - A wireless 104 key keyboard from scratch
« Reply #66 on: Sat, 25 July 2020, 18:09:42 »
I was searching around to gather ideas on a wireless build and I stumbled upon this thread. Any update on this, how are you liking it after some time now?
What the hell am I even doing