Hello everybody !
I am a student, and for my last year's project i want to use Z-wave wireless communication in order to do an auto-run classroom. To link all my sensors i've decided to use the nRF905. First i want to make two nRF905 communicate but there are some problems.
-With the good libraries and the good programs, i succeed to transmit and receive the nRF905's frame in hexadecimal. But when we want to modify the informations we want to transmit, the receiver keep the default frame. For example, the default frame is : "76 E 44 20 20 CC CC CC 58". When we change the "58" for "40" , the transmittor displays "76 E 44 20 20 CC CC CC 40" but the receiver displays "76 E 44 20 20 CC CC CC 58"
-Moreover, when we change the length of the frame with the instruction "for (i=0; i<10; i++)" we change the "10" for "5" for example; we receive 5 Bytes in hexa, with the transmittor, but with the receiver we still have 10Bytes in the frame.
-That's why i am doubting about the communication of the two nRF905, since the receiver always keep the same frame.
-In addition, even when we disconnect the transmittor, the receiver still give us the same frame.
I give you the libraries and the programs of the transmittor and receiver.
Is there any problems in the libraries or is it in the program ?
That's the site where i found all of it.
http://www.electrodragon.com/w/NRF905_Transceiver_433MHz-Wireless_Module
NRF905.h (1.88 KB)
NRF905.cpp (5.35 KB)
nRF905_RX.ino (1.74 KB)
nRF905_TX.ino (1.39 KB)