geekhack

geekhack Projects => Making Stuff Together! => Topic started by: mrbishop on Tue, 26 July 2016, 19:45:54

Title: QMK anyone?
Post by: mrbishop on Tue, 26 July 2016, 19:45:54
So i'm looking at afew projects over the next months and ive been reading up on QMK as a replacement to TMK. if anyone is famaliar with it i'd love to pick your brain or perhaps start a knowledge dump here so others can also be helped.

things i want to know.

adafruit trinket ATTiny - feasable for micro keyboard? like 2 key matrix or just one key (1key project in brainstorming phase)
using neopixel style addressable LED's (because led's are cool)
Bluetooth (wireless mech keyboard... whats not to like)

General usage.

i have somewhat of an understanding of TMK but i'm not expert by any means. i hear QMK is abit easier but i know it originated from QMK.

thanks in advance!
Title: Re: QMK anyone?
Post by: kolec94 on Tue, 26 July 2016, 20:27:32
look at the bluefruit hid controller
or
http://kimondo.co.uk/smallest-usb-mechanical-keyboard-world/
Title: Re: QMK anyone?
Post by: mrbishop on Tue, 26 July 2016, 20:55:23
look at the bluefruit hid controller
or
http://kimondo.co.uk/smallest-usb-mechanical-keyboard-world/

NICE thanks. long term goals is to build a PCB based on the ATTiny holding a single key.... gonna hold the smallest mech key crown :D  :cool: :thumb:
Title: Re: QMK anyone?
Post by: a-c on Tue, 26 July 2016, 21:09:32
TMK dropped support for VUSB awhile ago.

You can use Adafruits libraries to make a VUSB keyboard using Arduino https://learn.adafruit.com/trinket-usb-keyboard/overview

You can do the same with the DigiSpark which is another ATTINY85 board you can program in Arduino. http://digistump.com/wiki/digispark/tutorials/digikeyboard Cheap $2 ones can be found on eBay.

Since these rely on the chip's internal frequency source and not a precision crystal they can be too far out of spec for some computers to reliably recognize them on the USB bus.

If you just want tiny, look at the DFrobot Beetle. http://www.dfrobot.com/index.php?route=product/product&product_id=1075
Same chip as Teensy 2.0 and Pro Micro. Same boot loader as Pro Micro. Thinner PCB.
Title: Re: QMK anyone?
Post by: kolec94 on Tue, 26 July 2016, 21:11:09
look at the bluefruit hid controller
or
http://kimondo.co.uk/smallest-usb-mechanical-keyboard-world/

NICE thanks. long term goals is to build a PCB based on the ATTiny holding a single key.... gonna hold the smallest mech key crown :D  :cool: :thumb:
o if thats ur goal look at this
Title: Re: QMK anyone?
Post by: mrbishop on Tue, 26 July 2016, 21:13:52
look at the bluefruit hid controller
or
http://kimondo.co.uk/smallest-usb-mechanical-keyboard-world/

NICE thanks. long term goals is to build a PCB based on the ATTiny holding a single key.... gonna hold the smallest mech key crown :D  :cool: :thumb:
o if thats ur goal look at this

look at...?
Title: Re: QMK anyone?
Post by: mrbishop on Tue, 26 July 2016, 21:14:59
TMK dropped support for VUSB awhile ago.

You can use Adafruits libraries to make a VUSB keyboard using Arduino https://learn.adafruit.com/trinket-usb-keyboard/overview

You can do the same with the DigiSpark which is another ATTINY85 board you can program in Arduino. http://digistump.com/wiki/digispark/tutorials/digikeyboard Cheap $2 ones can be found on eBay.

Since these rely on the chip's internal frequency source and not a precision crystal they can be too far out of spec for some computers to reliably recognize them on the USB bus.

If you just want tiny, look at the DFrobot Beetle. http://www.dfrobot.com/index.php?route=product/product&product_id=1075
Same chip as Teensy 2.0 and Pro Micro. Same boot loader as Pro Micro. Thinner PCB.

oh snap. that beetle looks nice. i'll have to see if i can pick one up or grab its CAD dimensions to play with. trying to keep this thing super tiny ;)

have CNC will machine
Title: Re: QMK anyone?
Post by: a-c on Tue, 26 July 2016, 21:19:15

oh snap. that beetle looks nice. i'll have to see if i can pick one up or grab its CAD dimensions to play with. trying to keep this thing super tiny ;)

have CNC will machine

You can grind off ~2mm from the bottom and sides. The solder pads are very large. http://www.dfrobot.com/wiki/index.php/Beetle_SKU:DFR0282
Title: Re: QMK anyone?
Post by: kolec94 on Tue, 26 July 2016, 21:20:48
look at the bluefruit hid controller
or
http://kimondo.co.uk/smallest-usb-mechanical-keyboard-world/

NICE thanks. long term goals is to build a PCB based on the ATTiny holding a single key.... gonna hold the smallest mech key crown :D  :cool: :thumb:
o if thats ur goal look at this

look at...?
o i guess that would help maybe a lil
https://github.com/duckythescientist/BinaryKeyboard
Title: Re: QMK anyone?
Post by: mrbishop on Tue, 26 July 2016, 21:22:39
look at the bluefruit hid controller
or
http://kimondo.co.uk/smallest-usb-mechanical-keyboard-world/

NICE thanks. long term goals is to build a PCB based on the ATTiny holding a single key.... gonna hold the smallest mech key crown :D  :cool: :thumb:
o if thats ur goal look at this

look at...?
o i guess that would help maybe a lil
https://github.com/duckythescientist/BinaryKeyboard

OMG thats super fun  ;D

love these interesting projects.
the 1Key project came about because i have a nice vintage ALPs keyboard but no windows key which i use abit for hot keys. so.... 1key idea was devised. Dis go'n be goood
Title: Re: QMK anyone?
Post by: hasu on Tue, 26 July 2016, 22:07:01
TMK dropped support for VUSB awhile ago.

You can use Adafruits libraries to make a VUSB keyboard using Arduino https://learn.adafruit.com/trinket-usb-keyboard/overview

You can do the same with the DigiSpark which is another ATTINY85 board you can program in Arduino. http://digistump.com/wiki/digispark/tutorials/digikeyboard Cheap $2 ones can be found on eBay.

Since these rely on the chip's internal frequency source and not a precision crystal they can be too far out of spec for some computers to reliably recognize them on the USB bus.

If you just want tiny, look at the DFrobot Beetle. http://www.dfrobot.com/index.php?route=product/product&product_id=1075
Same chip as Teensy 2.0 and Pro Micro. Same boot loader as Pro Micro. Thinner PCB.


TMK still works with VUSB without problem, so I think QMK also does. But problem is firmware size and you will have to remove some codes to shrink its size.
https://geekhack.org/index.php?topic=14618.msg2211907#msg2211907

But I'd go with bare V-USB without QMK/TMK for simple one-key keyboard. It would be fun  to make keychain or bussiness card with crystal-less V-USB.

As a-c referred Adafruit has nice tutorial and resources of Trinket as always.
https://learn.adafruit.com/introducing-trinket/downloads

Title: Re: QMK anyone?
Post by: mrbishop on Tue, 26 July 2016, 22:20:03
TMK dropped support for VUSB awhile ago.

You can use Adafruits libraries to make a VUSB keyboard using Arduino https://learn.adafruit.com/trinket-usb-keyboard/overview

You can do the same with the DigiSpark which is another ATTINY85 board you can program in Arduino. http://digistump.com/wiki/digispark/tutorials/digikeyboard Cheap $2 ones can be found on eBay.

Since these rely on the chip's internal frequency source and not a precision crystal they can be too far out of spec for some computers to reliably recognize them on the USB bus.

If you just want tiny, look at the DFrobot Beetle. http://www.dfrobot.com/index.php?route=product/product&product_id=1075
Same chip as Teensy 2.0 and Pro Micro. Same boot loader as Pro Micro. Thinner PCB.


TMK still works with VUSB without problem, so I think QMK also does. But problem is firmware size and you will have to remove some codes to shrink its size.
https://geekhack.org/index.php?topic=14618.msg2211907#msg2211907

But I'd go with bare V-USB without QMK/TMK for simple one-key keyboard. It would be fun  to make keychain or bussiness card with crystal-less V-USB.

As a-c referred Adafruit has nice tutorial and resources of Trinket as always.
https://learn.adafruit.com/introducing-trinket/downloads

thanks Hasu

it would be fun to think of things a single key could do. i'm considering ordering the Beetle as its ultra tiny which is what i want. saddly the shipping is almost as much as the board.

guess i'll have to start a build log after i order it and get to designing.

man this tread derailed quick  :)) :thumb:
Title: Re: QMK anyone?
Post by: a-c on Tue, 26 July 2016, 22:55:11
The A-Star Micro is another tiny ATMega32U4 board https://www.pololu.com/product/3101

Components on both sides of the board though.
Title: Re: QMK anyone?
Post by: mrbishop on Tue, 26 July 2016, 23:07:06
The A-Star Micro is another tiny ATMega32U4 board https://www.pololu.com/product/3101

Components on both sides of the board though.

i saw that one too in my search a-c but i like the more uniform size of the beetle. more square. i think i may end up with a trinket simply because its 9$ vs the almost 14$ beetle and i can get a trinket a hell of a lot faster in shipping times.
breaking out the keyboard controller discussions to the build log for the 1Key will update with url https://geekhack.org/index.php?topic=83691.0 (https://geekhack.org/index.php?topic=83691.0)

end of derailment back to QMK or bust

========================================================================================================================
Title: Re: QMK anyone?
Post by: robotmaxtron on Wed, 27 July 2016, 22:55:02
I opt'd to use QMK over TMK for my GH60 Rev.C build and plan on using it for my Ergodox build as well.
Title: Re: QMK anyone?
Post by: Xantus on Wed, 21 December 2016, 05:46:27
Im using a GH60 Rev. C with QMK Firmware.

The Right Control Button in the 5th Row isnt functioning at all and even after a replacement it still doesnt work. Removing "KC_NO" next to KC_SPC outputs an compiling error.

Can anyone help me with this problem?
Title: Re: QMK anyone?
Post by: robotmaxtron on Wed, 21 December 2016, 21:19:10
Im using a GH60 Rev. C with QMK Firmware.

The Right Control Button in the 5th Row isnt functioning at all and even after a replacement it still doesnt work. Removing "KC_NO" next to KC_SPC outputs an compiling error.

Can anyone help me with this problem?

Did you test your hardware before you flashed it with a known working copy? I ordered one from falbatech who sent me one with a broken diode.
Title: Re: QMK anyone?
Post by: Xantus on Thu, 22 December 2016, 05:57:52
Alright I just tried to reflash it with TMK and it seems like the diode on the RCTRL Spot is dead. I got mine from Falbatech too and could return it but according to their TOS I m not able to since Im already beyond the 10 day period.
Title: Re: QMK anyone?
Post by: mrbishop on Thu, 22 December 2016, 09:36:12
Alright I just tried to reflash it with TMK and it seems like the diode on the RCTRL Spot is dead. I got mine from Falbatech too and could return it but according to their TOS I m not able to since Im already beyond the 10 day period.
Could you just replace the diode. ?

sent from my chess board

Title: Re: QMK anyone?
Post by: romevi on Thu, 22 December 2016, 09:37:19
I need to figure out how to use this. Got my Clueboard and have no idea how to program it.
Title: Re: QMK anyone?
Post by: Xantus on Thu, 22 December 2016, 15:48:49
Alright I just tried to reflash it with TMK and it seems like the diode on the RCTRL Spot is dead. I got mine from Falbatech too and could return it but according to their TOS I m not able to since Im already beyond the 10 day period.
Could you just replace the diode. ?

sent from my chess board

I could replace the diode but I dont know how to do it properly without failing.
Title: Re: QMK anyone?
Post by: Xantus on Thu, 22 December 2016, 15:59:01
I need to figure out how to use this. Got my Clueboard and have no idea how to program it.

Are you using Linux or Windows?
Title: Re: QMK anyone?
Post by: romevi on Thu, 22 December 2016, 17:24:34
I need to figure out how to use this. Got my Clueboard and have no idea how to program it.

Are you using Linux or Windows?

Windows.
Title: Re: QMK anyone?
Post by: Xantus on Thu, 22 December 2016, 17:43:25
I need to figure out how to use this. Got my Clueboard and have no idea how to program it.

Are you using Linux or Windows?

Windows.

Then I would recommend this guide. Just follow the instructions but pull all the necesssary files from qmk instead of tmk.  After you setup the Vbox image, Login via Putty and edit your desired keymap with nano Editor. Before you compile the keymap you need to check whether your clueboard is 1st gen or not.

Flashing Instructions on Windows:

https://github.com/tmk/tmk_keyboard/wiki/Build-firmware-on-VirtualBox

Clueboard QMK Firmware:

https://github.com/jackhumbert/qmk_firmware/tree/master/keyboards/clueboard

You could also try to flash it directly from Windows but I cant tell you if it will work..

https://github.com/jackhumbert/qmk_firmware/wiki
Title: Re: QMK anyone?
Post by: romevi on Tue, 03 January 2017, 17:00:27
I need to figure out how to use this. Got my Clueboard and have no idea how to program it.

Are you using Linux or Windows?

Windows.

Then I would recommend this guide. Just follow the instructions but pull all the necesssary files from qmk instead of tmk.  After you setup the Vbox image, Login via Putty and edit your desired keymap with nano Editor. Before you compile the keymap you need to check whether your clueboard is 1st gen or not.

Flashing Instructions on Windows:

https://github.com/tmk/tmk_keyboard/wiki/Build-firmware-on-VirtualBox

Clueboard QMK Firmware:

https://github.com/jackhumbert/qmk_firmware/tree/master/keyboards/clueboard

You could also try to flash it directly from Windows but I cant tell you if it will work..

https://github.com/jackhumbert/qmk_firmware/wiki

Meant to thank you for this!

Will try this out this week. Eager to get my Clueboard to the right layout I want. It's a v2.