Author Topic: nRF52820 Keyboard  (Read 2418 times)

0 Members and 1 Guest are viewing this topic.

Offline Kageni

  • Thread Starter
  • Posts: 24
nRF52820 Keyboard
« on: Thu, 04 March 2021, 16:25:35 »
Is there a reason that you wouldn't be able to use a single nRF52820 module as the sole MCU for a 65% keyboard? There are enough I/O ports if you design a square matrix and it has native usb support. I haven't really seen many keyboards using it and I'm curious why. I'm designing a BT keyboard and it seems better to use this as solo mcu then use a atmega and then use a secondary bluetooth module.

Offline Findecanor

  • Posts: 5036
  • Location: Koriko
Re: nRF52820 Keyboard
« Reply #1 on: Thu, 04 March 2021, 16:47:52 »
There should be support for nrf52 in ZMK.

The chips haven't been officially supported by TMK or QMK because Nordic Semicondutor's "Soft devices" have a license that isn't compatible with GPL v2 that TMK/QMK use. There have been inofficial forks of QMK though.
« Last Edit: Thu, 04 March 2021, 16:49:31 by Findecanor »

Offline nevin

  • Posts: 1646
  • Location: US
Re: nRF52820 Keyboard
« Reply #2 on: Fri, 05 March 2021, 08:07:52 »
applet has been working on one
https://geekhack.org/index.php?topic=109628.0
and check his github for code and notes
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Applet

  • Posts: 488
  • Location: Sweden
Re: nRF52820 Keyboard
« Reply #3 on: Fri, 05 March 2021, 08:52:10 »
I believe the nRF52820 has too little flash/ram to run ZMK. The most common MCU used for ZMK is the nRF52840 afaik.

Feel free to check out my project that nevin linked, schematic is in the releases. Revision B is still untested due to modules stuck in customs :D

Ebastler has started on a guide I'd recommend to check out: https://github.com/ebastler/zmk-designguide
Joric also has a very good Wiki for nRF stuff: https://github.com/joric/nrfmicro/wiki
« Last Edit: Fri, 05 March 2021, 09:00:11 by Applet »

Offline nevin

  • Posts: 1646
  • Location: US
Re: nRF52820 Keyboard
« Reply #4 on: Fri, 05 March 2021, 09:02:39 »
oops, my bad... didn't catch the number difference.
but glad you dropped in to clarify, thanks @Applet
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Applet

  • Posts: 488
  • Location: Sweden
Re: nRF52820 Keyboard
« Reply #5 on: Fri, 05 March 2021, 09:09:32 »
No worries  :D

It would be nice to be able to use the nRF52820 due to the package. The AQFN that the nRF52840 uses is a bit of a pain, but it does not matter much when using a module.

A popular module is the holyiot 18010 (it's the same I use and described in ebastlers guide), it has enough GPIOs for a 65% on the outer pins, so it will be easy to solder. One issue with it is that it does not support HV-mode, so you'll need a external voltage regulator.
« Last Edit: Fri, 05 March 2021, 10:51:42 by Applet »

Offline Kageni

  • Thread Starter
  • Posts: 24
Re: nRF52820 Keyboard
« Reply #6 on: Fri, 05 March 2021, 15:14:33 »
Thanks for the responses! I wish I had read this before spending all day working on the routing for the nRF52820  :-[. Yeah I really liked the package of the nRF52840 but couldn't get it to work without a module without it being prohibitively expensive. I had passed on modules before because the ones I found on digikey all had green boards, which would ruin the blacked out aesthetic that I was going for. Looks like I will be starting back with a module.

Offline nevin

  • Posts: 1646
  • Location: US
Re: nRF52820 Keyboard
« Reply #7 on: Fri, 05 March 2021, 15:20:10 »
solder it all together then hit it with some spray paint! done.
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline Kageni

  • Thread Starter
  • Posts: 24
Re: nRF52820 Keyboard
« Reply #8 on: Fri, 05 March 2021, 15:57:37 »
My man XD Genius

Offline nevin

  • Posts: 1646
  • Location: US
Re: nRF52820 Keyboard
« Reply #9 on: Fri, 05 March 2021, 15:58:26 »
lol
Keeb.io Viterbi, Apple m0110, Apple m0120, Apple m0110a, Apple 658-4081, Apple M1242, Apple AEK II, MK96, GH60/Pure, Cherry g84-4100, Adesso AKP-220B, Magicforce 68

Offline hanya

  • Posts: 132
  • Location: Japan
Re: nRF52820 Keyboard
« Reply #10 on: Fri, 05 March 2021, 19:48:29 »
I believe the nRF52820 has too little flash/ram to run ZMK. The most common MCU used for ZMK is the nRF52840 afaik.
I analyzed hex file built for zmk_bfo9000 with nRF52840 and it contains 205KB data. So it should work with nRF52820 having 256KB flash.
But I have never tried.
PFU HHKB JP, Sanwa MA-TB38 trackball

Offline Applet

  • Posts: 488
  • Location: Sweden
Re: nRF52820 Keyboard
« Reply #11 on: Mon, 08 March 2021, 03:48:43 »
I believe the nRF52820 has too little flash/ram to run ZMK. The most common MCU used for ZMK is the nRF52840 afaik.
I analyzed hex file built for zmk_bfo9000 with nRF52840 and it contains 205KB data. So it should work with nRF52820 having 256KB flash.
But I have never tried.
Oh, that's interesting. I'd argue to keep a good margin of space for future proofing ofc, but it would be interesting to test out.