beekeeb / piantor

The Piantor Keyboard is a beginner-friendly, easy-to-solder, 42-key or 36-key, diodeless, low profile aggressive column staggered, hotswappable and non-hotswappable, programmable ergonomic mechanical split keyboard powered by Raspberry Pi Pico or other compatible RP2040 boards. It is based on the Cantor Keyboard.
http://docs.beekeeb.com/piantor-keyboard
GNU General Public License v3.0
596 stars 41 forks source link

Disconnecting the TPRS cable when the keyboard is plugged in fries the chip #12

Open SadraMoh opened 1 year ago

SadraMoh commented 1 year ago

Unfortunately I found this out the hard way when I was building my own keyboard using the DIY kit from beekeeb.

Now I know there are already warnings in the beekeeb docs warning against this, but it is inevitable that at some point this will happen by mistake. I acknowledge that it is mostly my fault this has happened and have no intention to blame the designers.

I would rather ask, is there a way to make this safer so this doesn't happen again to other people?

viyoriya commented 1 year ago

If you design PCB place the routing of vcc/3v3 as last pin in TRRS then this wont happen

philong commented 1 year ago

I've read that TRRS tip should be VCC and last ring should be ground. That way, you don't hit current until fully inserted, and shorting ground to VCC should be nearly impossible.

I wonder whether the Cantor is also affected.

jojo599k commented 1 year ago

The cantor has following configuration:

The left and right piantor have the following configuration:

According to this comment on reddit https://www.reddit.com/r/MechanicalKeyboards/comments/b1s7c9/comment/einz0xw the configuration should be the following:

which is the reverse for GND and VCC for cantor configuration. That is also the configuration @philong is recommending.

I'm not quite sure what @viyoriya configuration would look like.

According to ChatGPT, the default configuration for transmitting data with a TRRS connector would be:

Which is the reverse of the piantor configuration.

I have sadly no experience with PCB design and wiring, so i cant give the right answer here. It would be nice if someone could clarify this. And of course if someone could update the pcb and create a PR.

viyoriya commented 1 year ago

@jojo599k I used

TIP (2) GND
RING1 (3) RX
RING2 (4) TX
SLEEVE (1) VCC

same as cantor I developed piantor with oled and reversable pcb so attached the pcb and sch diagram...after your comment i removed the cable and tested and it works no issues

2023-08-22-20-39-09

hxse commented 1 year ago

Really important hope that this problem can be solved.

robrecord commented 11 months ago

I developed piantor with oled and reversable pcb

Hi @viyoriya is there any chance you could link your fork or upload the files you used? I'd be very grateful for this! Thank you in advance.

pcky commented 8 months ago

As a workaround i integrated an USB-C Socket as replacement into the 3D-printed case of my Piantor keyboard: https://www.printables.com/model/764951

preview

renanqts commented 6 months ago

@pcky could you please let me know how have you soldered this usb socket behind it? is it already a pcb modified?