-
Notifications
You must be signed in to change notification settings - Fork 168
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
Transmitter and receiver are not communicating #107
Comments
Hi @YoavGaudin,
Yes it should.
They should if, having uploaded the default keymap, you press the layer switching keys. More on that here: #93 (comment) I suggest you to test the keyboard before soldering the switches. You can do so by grabbing a pair of pliers and shorting the switch pads with them. That simulate a keypress. |
Thank you @mattdibi |
Hello @mattdibi and @YoavGaudin, @YoavGaudin - did you by any chance figure out how to get it running? It seems, I do have a similar issue with everything being flashed ok (both manually and via the docker containers seems to work smoothly), but I too cannot get any key press or LED to light up on pressing the combination for the layer switch (#93). @mattdibi - thanks a lot for his awesome project! Many thanks and have a nice week! |
Hi @matthiasdold I have been meaning to flash the transmitters once again to make sure I haven't confused left and right but didn't get around to it. @mattdibi I will also appreciate some tips on how to debug the transmitters and receivers if possible. THanks |
Hi @YoavGaudin, I made tiny little steps towards debugging:
String data = "";
void setup() {
// Open Serial Port
Serial.begin(1000000);
delay(50);
Serial.println("\nStarting Up the serial monitor -> not line ending here, else it would be kept through the loop");
}
void loop() {
// If there is data to grab, read it byte by byte
char character;
while(Serial.available()>0)
{
// taken from: https://electronics.stackexchange.com/questi 2 ons/84602/arduino-what-is-the-best-way-to-receive-and-read-data-with-softwareserial
char character;
character = Serial.read();
data.concat(character);
if (character == '\n'){
Serial.print("Received: ");
Serial.println(data);
data = "";
}
}
delay(5);
}
When the wire from the receiver is connected to the arduino uno's RX pin, I would get the print statements on the serial console at /dev/ttyACM0 (just using the arduino IDE). With this I noticed that the main() on my YJ-14015 starts over and over again after doing 4 iterations of the inner loop.... Will have to investigate further once time allows. Also I think I bricked my YJ now by inserting the powered pro-micro shifted by one row resulting in RAW -> GND on the receiver which probably is not good, so be aware. |
Hey @matthiasdold @YoavGaudin have you guys solved the issue of the receiver and transmitters not communicating? I have a similar issue where my LEDs do not light up and any key presses (including the default keycap layer keys) do nothing despite all the firmware being flashed without failure. Is there any way to debug the issue? I have made 3 receivers just to be sure it’s not my soldering issues and all of them were able to flash without failure + QMK is also fine since my computer is able to detect them via QMK toolkit as redox wireless. Tried both the compiled redox_w and loading the pre compiled. Shorting my transmitters and doing a continuity check works so the battery + kailh sockets are fine + I was able to flash both the transmitter. I was a bit confused about the LEDs for the receivers but I’m wondering if this will affect the communication between the receiver and transmitters? Any ideas on what I could do? @mattdibi |
Hi @Aztriltus All I tried was to flash of the components once again making sure I am not confusing left and right. But it is still not working. Furthermore, I don't have the proper equipment to really get to the bottom of this (desoldering, monitoring etc...) In the mean time, I have ordered a pre-built split keyboard (not wireless) and I'm trying to sell the parts of the wireless redox. |
Hi @Aztriltus - unfortunately my day job leaves me not time atm to work on this... I did take a raw nrf51 without the pcb and the LEDs etc, soldered a few wires to it and just hooked this up to my arduino printing out the matrix with the code mentioned above. At least from what I could see there, the matrix looked stale, thus my next steps would be to hijack a transmitter nrf51 see if and what it would send. Definitely not giving up on this, but it will take a few more months for me :( |
Hi @matthiasdold just wondering if you’ve had any progress on this issue since your last reply? I have the same issue as you and no arduino, so I haven’t been able to try your troubleshooting steps… Running out of ideas on how to make this work, haha. |
Hi all, The most helpful video I did find along the way is this - in German unfortunately, but he is so slow an deliberate, that one should be able to follow. Finally my debugging setup looked like this: Along the way I met several issues, e.g. the Arduino setup above helped to identify that I still had a few diodes soldered the wrong way. Also notice that there is no pin mapping between the yj-14015 and the nrf51822 with the build flags used in the redox firmware repo. -> I spend a few hours getting a blinky to run thinking I would need a pin mapping :( Hope this helps some of you. Once I figure out the last bit, I will try to do a more comprehensive write down of my trouble shooting steps. Best regards, |
I'm also having this issue. I've tried multiple receivers with multiple pro micros and none of them appear to be working. |
I think I am hitting this issue. Everything said it flashed properly, but when I plug in the reciever nothing happens. I get a green led that comes on. So I assume it is starting, but after that nothing when I hit keys. I double checked all my diodes and they are good. Just no idea how to tell if anything is working. |
@buddylindsey please open a new issue describing what you did and what's not working. I'll follow you on that. |
Will do. I have something on order to tweak connections. Hopefully it comes in today, might not with weather that just rolled in. Also want to test a couple of things as well so I can hit you with a series of things I have tried and questions about what to try next. |
So one final update. I am now typing this on my redox V2WHS keyboard. I did a bunch of testing with a meter and things seemed to check out. I ended up taking apart all of the pins on the receiver to arduino pro and resoldered them to fix the connections. Once I did that everything started working properly. Thank you @mattdibi for all the help and for making this project. |
Hello Matt,
Thank you so much for this awesome project.
I have almost completed the assembly of a redox-wireless keyboard, and I wish to test it before I solder all the switches (since I have to remove them from my currently working keyboard).
I have successfully flashed receiver and transmitter modules, as well as the QMK. I then soldered several switches to the left side hoping it will indicate whether things are working or not. But it didn't work.
So now I have a few questions-
Thank you for your help
The text was updated successfully, but these errors were encountered: