joric / nrfmicro

A Pro Micro alternative for wireless keyboards
https://github.com/joric/nrfmicro/wiki
The Unlicense
1.5k stars 129 forks source link

I used the ZMK firmware ext_ VCC does not have the correct output #27

Closed a826889260 closed 4 years ago

a826889260 commented 4 years ago

I used the ZMK firmware ext_ VCC does not have the correct output, When I'm not connected to RGB, the voltage is 3.3V. But as soon as I connect the RGB voltage to 2. + V。 is power pin problem?

joric commented 4 years ago

yes if it's uninitialized it leaks through the floating gate

a826889260 commented 4 years ago

if CONFIG_BOARD_NRFMICRO_13

struct device *p0 = device_get_binding("GPIO_0");
// enable EXT_VCC (use 0 for nRFMicro 1.3, use 1 for nRFMicro 1.1)
gpio_pin_configure(p1, 9, GPIO_OUTPUT);
gpio_pin_set(p1, 9, 0);

i try it but it didn't seem to work

joric commented 4 years ago

are you just randomly mashing keys it's pin P1.09 so it should be GPIO_1

Lenbok commented 4 years ago

Is nrfmicro directly supported in ZMK master, or do you need to build off joric's personal fork?

Lenbok commented 4 years ago

Nice, I just looked and nrfmicro 1.1 onwards are in there now, (although I'm still on 0.03 boards until my 1.3 PCBs arrive).

a826889260 commented 4 years ago

There's more ahead
struct device *p1 = device_get_binding("GPIO_1"); But still no effect

joric commented 4 years ago

maybe bad soldering. I got zmk working with stable voltage on the oled and leds. see wiki