geekhack
geekhack Projects => Making Stuff Together! => Topic started by: Wumbologist on Sat, 16 March 2019, 15:34:04
-
I'm fairly sure I've got everything wired up and programmed right. I've got a ProMicro flashed from the latest branch of QMK https://github.com/qmk/qmk_firmware/tree/master/keyboards/converter/m0110_usb (https://github.com/qmk/qmk_firmware/tree/master/keyboards/converter/m0110_usb).
My wiring: https://imgur.com/a/hr8kmG0 (https://imgur.com/a/hr8kmG0)
I've got a TinkerBOY converter that works but unfortunately it's not programmable. Using it and the special Macintosh cable for these keyboards, I can confirm that the keyboard does indeed work. I've tried both the Macintosh cable and a regular phone cable with my converter and neither work and luckily neither fried my keyboard.
-
If the Pro Micro is a 5 volt, you should bridge J1. See this post (https://geekhack.org/index.php?topic=96236.msg2625899#msg2625899).
-
It is 5V. I bridged J1 and no change. I also measured VCC with a multimeter bridged and not bridged and both are ~5V. I've made plenty of other converters with this exact ProMicro without having to bridge J1.
-
Hasu has documented this very well on his fork of qmk. Make sure you use a pull up resistor.
https://github.com/tmk/tmk_keyboard/blob/master/converter/m0110_usb/README.md
https://geekhack.org/index.php?topic=24965.0
-
I have 10K resisters between 5V and CLOCK as well as 5V and DATA. I wired them up flush with the bottom of the ProMicro as you can see here: https://i.imgur.com/Q9zJ3k0.jpg (https://i.imgur.com/Q9zJ3k0.jpg)
-
are you getting errors compiling the firmware?
make sure you are compiling for your device as it is built to support both ATmega32U2 and ATmega32U4.
hasu's online configurator: http://www.tmk-kbd.com/tmk_keyboard/editor/ (pay attention to rev.1/2 processor support)
-
I'm getting no errors while compiling or flashing. I was able to use the online configurator to make a .hex file that actually works while flashed. My issue with the online configurator now is that I can't seem to get a keymap that works with the M0110's locking capslock. There's a keybind option for a regular capslock that seems to have no effect. There's also a keybind option for a locking caps lock but this doesn't seem to have the right effect. It toggles on capslock until the next time the key is depressed, not when the key is released.
I'm guessing this is a limitation of the online configurator. Also I guess we've narrowed down that there's something going wrong with compiling even though I'm getting no errors.
-
Have you tried the QMK M0110 port? It's in the configurator- https://config.qmk.fm/#/converter/m0110_usb/LAYOUT_ansi
I used the AEK II converter and it works.
-
Just tried the QMK online configurator. Same result as compiling QMK on my machine. No errors, flashes fine, but they keyboard is unresponsive.
-
locking caps lock, it's a known issue, see below
Locking CapsLock key support
See this entry. Use keycode 'LCAP' instead of 'CAPS' for the key in short. You can find it as 'Locking Caps Lock' in 'Function and Keypad' tab on Keymap Editor.
https://github.com/tmk/tmk_keyboard/#mechanical-locking-support
from: https://geekhack.org/index.php?topic=24965
as far as compiling yourself, make sure you are compiling for YOUR TARGET as well as "cleaning" before you build. like i said, i believe the default (at least for TMK is to build the firmware for the latest rev of hasu's board which is ATMega32U2 NOT ATMega32U4 which is what the pro micro is.
trying to run U2 code on a U4 will fail (unresponsive, but may flash fine)
-
Thanks nevin, I was able to get it working with that under TMK.
I was compiling the TMK version with Makefile.unimap.rev2 which is U2 and not .rev1 which is U4. Strangely, the QMK version has a rule.mk that has a line MCU = atmega32u4 but it's just as unresponsive as compiling the U2 target under TMK.
As far as capslock, I've got that key bound to shift and that's good enough for me right now.
-
no prob. glad you have a working board now.
yeah, i'm not familiar with the QMK variant of the converter software. Hasu's (TMK) stuff is great though and he readily answers any questions people have, ....really good guy.
my m0110 is sitting in pieces at the moment, working on a project with it i'm really excited about.