I am using an nrf24l01+ radio module in my project to let 2 micro-controllers communicate wirelessly. There is a socket on my pcb where the wireless module plugs right in. I also have a socket mounted on a breadboard that I used for testing. The strange thing is, while using the breadboard socket, everything works great. As soon as I remove the breadboard, it stops working. Here are the things I've tried and the results:
module into pcb socket - no signal
module into breadboard into wires into pcb socket - works:
module into ribbon cable into pcb socket - no signal
module into ribbon cable into breadboard into wires into pcb socket - works
module into breadboard into wires into ribbon cable into pcb socket - works
At first I thought the breadboard might just be moving the radio away from some source of noise on the board, so I made the ribbon cable to try out that theory. The ribbon cable didn't help. Then I thought maybe having all the wires parallel vs spaghetti style coming out of the breadboard might be the issue, so I tried connecting the breadboard and the ribbon cable at the same time, and it worked again, so I ruled out a problem with the cable. I also swapped the order of the ribbon cable and breadboard to see if maybe the socket on the pcb was only getting good contact with wires and not pins. Didn't matter. Continuity checks along the way said I was getting good contact all the time. I also tried holding the radio module near the breadboard, but not connected to it to see if it was just helping reflect signal at the antenna or something. No luck. As a last ditch effort, I wrapped the ribbon cable in foil and connected the foil to ground. Nothing. Any ideas what is going on here? I wish I had access to an oscilloscope, to see what's going on in there. I suppose it could be something either blocking the radio from receiving the signals, or a problem stopping the micro-controller from talking to the radio, but I can't think of a reason a breadboard would do either. Could it help dampen electrical noise? Something with extra capacitance? Any ideas / suggestions / things to try are welcome. And yes, I have checked many times that my wires are going to the same place with the connector on the breadboard, ribbon cable, and pcb socket. I'd like to avoid having a breadboard in the final project just for its mysterious magical effects.
module into pcb socket - no signal
module into breadboard into wires into pcb socket - works:
module into ribbon cable into pcb socket - no signal
module into ribbon cable into breadboard into wires into pcb socket - works
module into breadboard into wires into ribbon cable into pcb socket - works
At first I thought the breadboard might just be moving the radio away from some source of noise on the board, so I made the ribbon cable to try out that theory. The ribbon cable didn't help. Then I thought maybe having all the wires parallel vs spaghetti style coming out of the breadboard might be the issue, so I tried connecting the breadboard and the ribbon cable at the same time, and it worked again, so I ruled out a problem with the cable. I also swapped the order of the ribbon cable and breadboard to see if maybe the socket on the pcb was only getting good contact with wires and not pins. Didn't matter. Continuity checks along the way said I was getting good contact all the time. I also tried holding the radio module near the breadboard, but not connected to it to see if it was just helping reflect signal at the antenna or something. No luck. As a last ditch effort, I wrapped the ribbon cable in foil and connected the foil to ground. Nothing. Any ideas what is going on here? I wish I had access to an oscilloscope, to see what's going on in there. I suppose it could be something either blocking the radio from receiving the signals, or a problem stopping the micro-controller from talking to the radio, but I can't think of a reason a breadboard would do either. Could it help dampen electrical noise? Something with extra capacitance? Any ideas / suggestions / things to try are welcome. And yes, I have checked many times that my wires are going to the same place with the connector on the breadboard, ribbon cable, and pcb socket. I'd like to avoid having a breadboard in the final project just for its mysterious magical effects.