mattdibi / redox-keyboard

Ergonomic split mechanical keyboard
MIT License
1.76k stars 163 forks source link

Only one side works #105

Closed SirRonBird closed 3 years ago

SirRonBird commented 3 years ago

Greetings. First of all i wanna say thank you for this awesome project. It was much fun to build this keyboard.

until now everthing works fine but after i flashes the boards, with the default firmware, the rightside of the keyboard dont work. I use a TRRS-Cable. (triple checked).I also checked the connection with a multimeter and it seems fine. I am a little bit confused, cause I dont know wether i have to solder the resistors, even if I dont use the rgb lights. (I´ve soldered them on). Could this be the Issue?

Do the config.h file have to say I2C or Serial-Connection ? I tried both none worked... iam a little bit desperate

mattdibi commented 3 years ago

Hi,

first of all, do they work independently? (i.e. if you plug in the right side, does it work?) Did you burn the firmware also on the right side? Did you check continuity on the TRRS plugs to the Arduino? Did you check the other already opened issues? ( #97 #77 #71 )

SirRonBird commented 3 years ago

Hi. Yes they work independently. If I plug either side to the Computer both work. Just the otherone dont. Yes i burned the firmware on both (both have the same firmware !?) Yes i checked the TRRS Plugs. I could messure a through put from the plug from the one side to the pin of the other side. Yes. In the other issues they had an other Problem.

mattdibi commented 3 years ago

If they work independently there must be something wrong with the link between the two halves.

Yes i burned the firmware on both (both have the same firmware !?)

Yes, they both have the same firmware. Each side scans the matrix but only the plugged side send the key codes.

I could messure a through put from the plug from the one side to the pin of the other side.

If you soldered the 4.7k resistor you should use the I2C communication. Did you enable it? Otherwise you can remove the resistor and use the serial communication (the default configuration). Keep in mind that I2C uses two wires for data, did you check continuity on both?

SirRonBird commented 3 years ago

What exactly you mean with two wires? I have the TRRS-Cable plugged in and tested all poles in it.

I already tried with i2c enabled...

mattdibi commented 3 years ago

What exactly you mean with two wires? I have the TRRS-Cable plugged in and tested all poles in it.

Every pole carries a wire. An I2C connection used 4 wires or connections: VCC, GND (aka power), SDA, SCL (aka data). Did you check that SDA, SCL are correctly wired through the two halves by the TRRS connector?

Follow this thread for more informations: https://github.com/mattdibi/redox-keyboard/issues/33

Ensure that, when the TRRS cable is connected, the PD0 pin of the left Arduino is connected to the PD0 pin of the right Arduino. The same goes for the PD1 pin.

Also: does the right hand Arduino lights up when connected to the left hand?

SirRonBird commented 3 years ago

Ok. I checked the cable again and it seems that the tips of both ends are not connected. I will buy a new cable and try it again The other side lights up...

By the way. Do you have a tip were i can get a custom TRRS Cable?

mattdibi commented 3 years ago

Do you have a tip were i can get a custom TRRS Cable?

There are a few vendors around. Here's a short and (surely) incomplete list.

I used Coolcables in the past but they're out of stock in the TRRS department right now unfortunately. You might also consider to build your own.

SirRonBird commented 3 years ago

I just got the new cable hooked up and it still not working... I´ve checked the cable and the continuity between PD0 Pins and between PD1 Still only one side is working.... I down know why...

SirRonBird commented 3 years ago

Hello. Ive rechecked everything and its still not working. The new cable is fine and the Pins SDA and SCL are connected. Does anyone have an other idea what the problem can be ?

mattdibi commented 3 years ago

Hi,

even if I dont use the rgb lights. (I´ve soldered them on).

RGB lights are still soldered on? If so, remove them to avoid another variable in the system.

Another useful piece of information: when you plug one half of the keyboard in the PC does the other half's Arduino lights up (i.e. does the TRRS cable carry power to the other Pro Micro)?

SirRonBird commented 3 years ago

I dont use rgb lights. Yes its lights up. I just noticed, that the usb port on the arduinos are lose... i ordered newones. Maybe that was the problem

SirRonBird commented 3 years ago

So I worked a littlebit on the keyboard and it turns out, that something was wrong with the pcb. I build the right side again and now everything works.