Radio setup give: "check wires"
-
I have modified the excelent "ping/pong test" program from maniacbug so it compiles with the RF24 lib. that comes with MySensors 1.4
With this program it is very easy to test your radio if it works or maybe if it works bad (many timeouts) and you also get this info printed if it is a + or non + chip.
- Download attached zip
- Build ino file
- Uppload on two nodes
- Connect serial monitor (115200 baud)
- Press T in serial monitor and then you should se "
Now sending 29788...ok...Got response 29788, round-trip delay: 23"
For the printout of chip details you need to comment out #define MINIMAL in RF24_config.h. I also recommend comment SERIAL_DEBUG so you get less debuginfo on serial.
MySensorsPingPongTst.zip -
I have modified the excelent "ping/pong test" program from maniacbug so it compiles with the RF24 lib. that comes with MySensors 1.4
With this program it is very easy to test your radio if it works or maybe if it works bad (many timeouts) and you also get this info printed if it is a + or non + chip.
- Download attached zip
- Build ino file
- Uppload on two nodes
- Connect serial monitor (115200 baud)
- Press T in serial monitor and then you should se "
Now sending 29788...ok...Got response 29788, round-trip delay: 23"
For the printout of chip details you need to comment out #define MINIMAL in RF24_config.h. I also recommend comment SERIAL_DEBUG so you get less debuginfo on serial.
MySensorsPingPongTst.zipI can not get it to work.
The pins I use on nRF24L01 + / nRF24L01
Arduino NRF24L01 Radio Ethernet module
GND GND
3.3V VCC
13 SCK
12 MISO
11 MOSI
6 CSN
5 CEAnd what I get is this
STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1 = 0x0000000000 0x0000000000
RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
TX_ADDR = 0x0000000000
RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA = 0x00
EN_RXADDR = 0x00
RF_CH = 0x00
RF_SETUP = 0x00
CONFIG = 0x00
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = Disabled
PA Power = PA_MINWhat am I doing wrong?
-
I can not get it to work.
The pins I use on nRF24L01 + / nRF24L01
Arduino NRF24L01 Radio Ethernet module
GND GND
3.3V VCC
13 SCK
12 MISO
11 MOSI
6 CSN
5 CEAnd what I get is this
STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0
RX_ADDR_P0-1 = 0x0000000000 0x0000000000
RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00
TX_ADDR = 0x0000000000
RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00
EN_AA = 0x00
EN_RXADDR = 0x00
RF_CH = 0x00
RF_SETUP = 0x00
CONFIG = 0x00
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = Disabled
PA Power = PA_MINWhat am I doing wrong?
-
@MLs what else is connected to arduino?
i had the same result yesterday trying to build ethernet gateway using ENC based shield. I'm faced a conflict between radio and ethernet
-
Four Dallas temp sensor.
But what I am interested in is the model I have (nRF24L01 + / nRF24L01) and not to send / receive data.
-
@MLs said:
Possible, but now I wanted to read it out of the hardware to be sure.
that is easy))) check wires
-
As I wrote earlier, it is linked and I have also measured the cables to minimize errors.
-
@axillent said:
the old version is out of production for years
But they still seem to pop up. See a bit up in the thread.
@hek you knew from our conversation last night that I also got "check wires" and was ready to think that all my modules are the old ones
but finally my issue has nothing to do with version of the chip. It is exactly "check wires" issue and issue of the conflicts with other staff,
and my modules were purchased about two years agois it any confirmed case with the old version?
-
@hek you knew from our conversation last night that I also got "check wires" and was ready to think that all my modules are the old ones
but finally my issue has nothing to do with version of the chip. It is exactly "check wires" issue and issue of the conflicts with other staff,
and my modules were purchased about two years agois it any confirmed case with the old version?
-
@hek you are right
but it seams that only @sonicblaze is owner of this rare thing -
@axillent And me! I started the thread so I have got 10 of the them, maybe something for the MySensors museum!
@olaeke said:
@axillent And me! I started the thread so I have got 10 of the them, maybe something for the MySensors museum!
hm. are the + is missing on top of the nordic chip?
it can be probably still used for mysensors in case of:
- switching data rate to 1Mbs or 2MBs (old version do not support 250Kbs - default to 1.4)
- comment out "check wires" check inside Mysensors library
-
@olaeke said:
@axillent And me! I started the thread so I have got 10 of the them, maybe something for the MySensors museum!
hm. are the + is missing on top of the nordic chip?
it can be probably still used for mysensors in case of:
- switching data rate to 1Mbs or 2MBs (old version do not support 250Kbs - default to 1.4)
- comment out "check wires" check inside Mysensors library
@axillent Yes there is no + on those.
I have tried using them but without success. I couldn't get them to work at all on the gateway but if I replaced the gateway with + variant and non + on the node then it "almost" worked. I couldn't get the "Auto Id" function to work. I think it has something with Ack to do, i will remember that I have read somewhere that the hardware ack is only implemented in the + variant. -
Hello,
I'am a new one on this forum, and I've stepped on the same rake like others. So there are some recommendations for other newbies and questions for developers:
-
I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.
-
Next step for all users, that want to use this great project, should be sketch that outputs NRF24L01 version: my history is, that I've bought 10 NRF's from the same seller (alice***) 2-3 months ago, on chips there is "+" sign, but sketch says, that there is NRF24L01 without "+" :(
-
What to do for those unlucky, that bought wrong version: maybe it's possible to use these modules with some restrictions, while right modules will arrive? I saw recommendations about sensor node to change speed and comment out while()1) after "check cables", but what to do for gateway node?
-
I'm not a geek developer, maybe it is possible to use #define SOFTSPI in main sketch, before including other libraries? It would be simpler, than editing file RF24_config.h for gateway node and sensor node?
Thanks!
-
-
Hello,
I'am a new one on this forum, and I've stepped on the same rake like others. So there are some recommendations for other newbies and questions for developers:
-
I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.
-
Next step for all users, that want to use this great project, should be sketch that outputs NRF24L01 version: my history is, that I've bought 10 NRF's from the same seller (alice***) 2-3 months ago, on chips there is "+" sign, but sketch says, that there is NRF24L01 without "+" :(
-
What to do for those unlucky, that bought wrong version: maybe it's possible to use these modules with some restrictions, while right modules will arrive? I saw recommendations about sensor node to change speed and comment out while()1) after "check cables", but what to do for gateway node?
-
I'm not a geek developer, maybe it is possible to use #define SOFTSPI in main sketch, before including other libraries? It would be simpler, than editing file RF24_config.h for gateway node and sensor node?
Thanks!
@eimis said:
I've wasted some hours because this library uses serial baud rate 115200, not 9600, what is default for other projects - it should be mentioned in proper place, sorry, if it is, but I've not noticed it.
It is mentioned at a few places on the main site. Anywhere particular place it is missing?
I'm not a geek developer, maybe it is possible to use #define SOFTSPI in main sketch, before including other libraries? It would be simpler, than editing file RF24_config.h for gateway node and sensor node?
Unfortunately the Arduino IDE build system is f**cked up and does not allow this. But I agree that DEBUG and SOFTSPI would had been great to add in the sketch itself.
-