Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2c troubleshooting #1

Open
ahito89 opened this issue Sep 26, 2016 · 4 comments
Open

i2c troubleshooting #1

ahito89 opened this issue Sep 26, 2016 · 4 comments

Comments

@ahito89
Copy link

ahito89 commented Sep 26, 2016

Hello,
I've used your code to power my dactyl keyboard and it works fine on serial, but I just couldn't get it to work on i2c. Is there anyway to troubleshoot that?
Thanks and great job on the fork.

@ahtn
Copy link
Owner

ahtn commented Sep 26, 2016

Are you using the code from the master branch? The i2c code from the c44 branch is broken.

Here's a split-test-i2c.hex you can use to check if your wiring is right. Make sure to flash it to both halves.

  • Check the TX LED (next to pins 14,16) on the promicro which has the USB cable plugged in. It will light up when it cannot detect an I2C connection.
  • Check your wiring and the pull-up resistors for i2c.

@ahito89
Copy link
Author

ahito89 commented Oct 6, 2016

Hello,
I've flashed both halves with the provided hex files and the TX LED lights up, checked the wiring, but I could not figure out what's wrong. It works on the serial connection though. Isn't the serial connection enough for a split keyboard? What's the advantage of using i2c?

@ahtn
Copy link
Owner

ahtn commented Oct 10, 2016

In theory it's faster, but you should not be able to notice this in practice.

You don't really need to use i2c, unless you:

  • want to do a 3+ way split keyboard
  • want to send lots of data between the halves (e.g. per key LED matrix control information.)

@ahito89
Copy link
Author

ahito89 commented Oct 10, 2016

I see, well for a dactyl keyboard serial will suffice. Thanks for your help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants