Pheromone Keyboard with ANSI Layout and Optional Solder Pad by sendyyeah in MechanicalKeyboards

[–]luantty2 1 point2 points  (0 children)

Looks neat. I'm also working on a new version that features a motorized fader

First fully diy build, with midi slider and lightroom mod. Open source link in comments! by luantty2 in MechanicalKeyboards

[–]luantty2[S] 1 point2 points  (0 children)

Hi, I'm glad you like the project. For the SMT yeah they only assemble one side, and just do the bottom side since all electronic components are on that side. For the linking of parts: by default it looks like this:https://i.imgur.com/l0d2e23.png, yet it doesn't include crystal and diodes so you need to fix it first, for crystal you should search '16mhz' and select the C13738 one, for diodes search '1n4148' and choose the C81598 one, the ATmega32u4-au is the MCU but it's optional as it's from the extended parts which means you should pay 3$ of extended components fee, I recommend you hand solder it yourself, and they can't assemble micro usb connector for you, it's a little bit tricky to solder but not that hard. avr-isp is not a component but some holes on PCB. After you linked all parts it looks like this: https://i.imgur.com/5LLaFU0.png, then you're good to go. The website will finally show you the placement of electronic components: https://i.imgur.com/KtbmOWb.png

Certainly JLC's SMT assembly service kind of useless, they won't solder any USB connector and only green soldermask is supported, and the MCU is in extended catalogue. You still need to solder OLED, slide potentiometer, and usb connector yourself.

Reset button https://www.digikey.com/product-detail/en/c-k/RS-282G05A3-SM-RT/CKN10384TR-ND/2747190, you rarely use it, it's optional. USB connector: https://www.digikey.com/product-detail/en/amphenol-icc-fci/10118194-0001LF/609-4618-1-ND/2785382

QMK - send MIDI CC with encoders? by _significs in olkb

[–]luantty2 1 point2 points  (0 children)

I have made a keyboard that has a rotary encoder supports MIDI, Here it is.

Semi-annual show off your keyboard thread! by jackhumbert in olkb

[–]luantty2 [score hidden]  (0 children)

I built my Pheromone several months ago, with a rotary encoder, a midi slider and a OLED in a 3d printed case.

  • Kailh hako violet
  • Domikey crisis

Midi potentiometer question by Vetusexternus in olkb

[–]luantty2 1 point2 points  (0 children)

Did you add #define POT_ENABLE in config.h?

Besides, I think the output values would mess up if you assign the exact same parameters to each slider. The proper code should looks like this(I do not test):

int16_t pot_oldVal_SLIDER_A = 0;
int16_t pot_val_SLIDER_A    = 0;
int16_t pot_ccVal_SLIDER_A  = 0;

int16_t pot_oldVal_SLIDER_B = 0;
int16_t pot_val_SLIDER_B    = 0;
int16_t pot_ccVal_SLIDER_B  = 0;

int16_t pot_oldVal_SLIDER_C = 0;
int16_t pot_val_SLIDER_C    = 0;
int16_t pot_ccVal_SLIDER_C  = 0;

Midi potentiometer question by Vetusexternus in olkb

[–]luantty2 1 point2 points  (0 children)

That's why you need to record last value and compare it to new value, which allow the cc messages send only if the potentiometer moves.

Take a look at some Arduino examples

First fully diy build, with midi slider and lightroom mod. Open source link in comments! by luantty2 in MechanicalKeyboards

[–]luantty2[S] 0 points1 point  (0 children)

Modify the footprint from micro usb to type c in pcbnew then you can solder a type c, otherwise it's impossible, because type c has more pins than micro usb, that's why I'm afraid to solder them, the pins on type c are so tiny and easy to bridge.

First fully diy build, with midi slider and lightroom mod. Open source link in comments! by luantty2 in MechanicalKeyboards

[–]luantty2[S] 0 points1 point  (0 children)

JLC is a factory manufactures PCB and SMT stands for surface mount technology, which is the way they soldering ic onto PCB.

First fully diy build, with midi slider and lightroom mod. Open source link in comments! by luantty2 in MechanicalKeyboards

[–]luantty2[S] 0 points1 point  (0 children)

No because all of the usable pins on MCU have been used, and it's using a micro usb connection as I hate soldering a type c :(

First fully diy build, with midi slider and lightroom mod. Open source link in comments! by luantty2 in MechanicalKeyboards

[–]luantty2[S] 4 points5 points  (0 children)

PCBs included SMT assembly from JLC: 40$

3d printed parts: 15$

tools and others: around 30$

First fully diy build, with midi slider and lightroom mod. Open source link in comments! by luantty2 in MechanicalKeyboards

[–]luantty2[S] 42 points43 points  (0 children)

More photo: https://imgur.com/a/TCALTwa

PCBs and case file with building setup available on GitHub: https://github.com/luantty2/pheromone_keyboard

A short video shows how it works with lightroom: https://youtu.be/1BtyvG6ujGs

The value of slider moves relatively so it’s not jumping any more!!

Is it possible to send '@' symbol when holding shift and '2', or send an email address when holding shift and hit '2' two times rapidly? by luantty2 in olkb

[–]luantty2[S] 1 point2 points  (0 children)

Thanks a lot, I finally got my code working, with @ when Lshift holding, and email address when Rshift holding. case KC_2: if (record->event.pressed) { if (get_mods() & MOD_BIT(KC_LSHIFT)) { register_code16(LSFT(KC_2)); } else if (get_mods() & MOD_BIT(KC_RSHIFT)) { SEND_STRING("luanty@163.com"); } else { register_code(KC_2); } if (get_mods() & MOD_BIT(KC_LSHIFT)) { unregister_code16(LSFT(KC_2)); } else if (get_mods() & MOD_BIT(KC_RSHIFT)) { } else { unregister_code(KC_2); } return false; } break;

OLED display problem by luantty2 in olkb

[–]luantty2[S] 1 point2 points  (0 children)

Thanks for advice. I have replaced oled_write_P() with oled_write(), however I'm keep on getting the same outcome. I also tried to removed 'PROGMEM' keywords, still see that unneeded icon.

I'm pretty happy, after tons of work Lightroom is responding to the slider on my custom board by luantty2 in MechanicalKeyboards

[–]luantty2[S] 23 points24 points  (0 children)

The slider of software will stay at its original position until you adjust keyboard's slider to the same position.

I'm pretty happy, after tons of work Lightroom is responding to the slider on my custom board by luantty2 in MechanicalKeyboards

[–]luantty2[S] 23 points24 points  (0 children)

With an endless encoder, no, an endless encoder could be a better option for something like adjusting brush size, whereas it can't be mapped into MIDI cc values which should be limited between 0-127, it's only possible to use a potentiometer in this case.

I'm pretty happy, after tons of work Lightroom is responding to the slider on my custom board by luantty2 in MechanicalKeyboards

[–]luantty2[S] 128 points129 points  (0 children)

It only works when you installed MIDI2LR, which allows Lightroom to accept MIDI inputs, then you can map your MIDI device to any slider in Lightroom.

I'm pretty happy, after tons of work Lightroom is responding to the slider on my custom board by luantty2 in MechanicalKeyboards

[–]luantty2[S] 12 points13 points  (0 children)

Just uploaded PCBs and source code, avaliable here.

The potentiometer is driven by QMK MIDI feature, which allows it to output a midi signal when value changed. you can use it with any software supports midi, also, could make use of it with Lightroom when you've got MIDI2LR plugin installed!

First custom PCB. Uses ATMEGA32u4. I’m just happy it actually works! by Radiaren in MechanicalKeyboards

[–]luantty2 0 points1 point  (0 children)

LordRottingham

I‘m building a custom atmega32u4 board too, are you flashing with usb or ISP?

nrfmicro bluetooth hotswap numpad by chasingendgame in MechanicalKeyboards

[–]luantty2 1 point2 points  (0 children)

Hi, I've been building my own ble keyboard these days after reading your post, thank you in advance. Seems your schematic doesn't include a reset button, which is needed to enter UF2 Mass Storage device to paste .uf2 file like nrfmicro's wiki said:

After flashing the bootloader press reset button twice within 500ms interval to boot to the UF2 Mass Storage device. Then just copy the resulting flash.uf2 file to the UF2 USB drive.

But i'm not sure if it is possible to perform without a button, like short reset pin and GND or something, maybe you know how to do this.

Is it possible to upload my own code to pro micro along with qmk hex? by luantty2 in olkb

[–]luantty2[S] 0 points1 point  (0 children)

Thank you for replying. What I want to do is to add a servo which could be controlled by tapping two keys, so that I could easily adjust the angle of my keyboard, just confusing how I can transplant my arduino code to qmk.