-
Notifications
You must be signed in to change notification settings - Fork 40
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
How to debug wireless issues? #104
Comments
I also just tried it with a unifying receiver, but it does also not work. At this point I am lost, I don't even know if it is a hardware or a software issue. @ahtn If there is any change you are still around, I would greatly appreciate your help! |
Have you tried a different RF channel? Try |
@angustrau I just tried 8 and it also does not work. I should just have to plug in the unifying receiver and then it should work, correct? |
Pretty sure, yeah |
I had some trouble with my board where the fab put in a nrf module that was the same size but had a different pinout. |
@angustrau That's something worth checking out. This is the exact model I have: How would I check if the pinout is corret? |
First thing to check is whether the ground pin lines up with the ground plane. For the others you can reference it to the nrf24 pinout from the datasheet. |
Ok let me do that real quick. |
@angustrau I just checked and the pinout is the correct one. Was worth a try though. |
Is there a way to get something like a debug output from the xmega in order to see if the communication with the nrf module is working? |
Not that I know of. You might need to go digging in the code. |
@angustrau I think I found something: The modules I am using do not actually say "NRF" on them, but rather: Could that be the root of my problem? I mean I knew I was buying fakes, but this seems like a different chip. |
It's possible. Maybe plug it into an Arduino and try some test scripts |
@angustrau So I ordered new modules and tried them. Still no luck. Have you designed your own pcb? Can I share my schema and pcb layout for you to check if anything seems odd? |
Sure I can have a look, although it's been a while since I've done my PCB. You could try this demo script to test your modules https://forum.arduino.cc/index.php?topic=421081.0 |
@angustrau Thanks. I will try the sketches tomorrow. Here is my schematic and pcb: |
I think I found something in the code: keyplus/ports/xmega/src/main.c Line 425 in aaeaff3
Seems like if the usb check pin is active then it always goes into USB mode. I do not have a check pin on my pcb. |
Yep that was it. It is working now. Only the unifying receiver does not work yet. |
Hi there,
I managed to get my keyplus boards working in wired mode. I want to use one of the boards as the wired receiver and the other board completely wireless.
I can not get the wireless working. I tried everything the last couple hours. The RF settings and the layout should be correct:
This is my schematic:

Can someone maybe look over those and confirm if they look good?
I can also provide all the schematics for the boards I made, but they are basically the same as the keyplus_mini.
Is there any way to debug the wireless connection?
The text was updated successfully, but these errors were encountered: