Author |
Message |
|
Hello,
ok, I've found the way how to check RSSI - I run driver.lastRssi();
and with 434Mhz I have results from -69 to -73
with 915Mhz results are -32 - -39
so I suppose correct band is 915MHz ?
|
|
|
ok, got it - I realized that I use different version of libs for client and for server.
for Client I use libs from Moteino site - ver.1.6, for server - last version from RadioHead site, ver 1.8
and what we see in RH_RF95.cpp files?
setFrequency(915.0); moteino 1.6
and
setFrequency(434.0); radiohead 1.8
great..
the big question now - which frequency is native for my MW ?
|
|
|
ok, got it - I realized that I use different version of libs for client and for server.
for Client I use libs from Moteino site - ver.1.6, for server - last version from RadioHead site, ver 1.8
and what we see in RH_RF95.cpp files?
setFrequency(915.0); moteino 1.6
and
setFrequency(434.0); radiohead 1.8
great..
|
|
|
Hello,
seems I can confirm that something strange happening with frequency on LoRa MW.
I have topic with detailed information abut this issue - http://forum.anarduino.com/posts/list/0/82.page#2832
in short - yesterday I have 2 anarduino+LoRa(RF96) that works on 915Mhz - 6,7,8 registers on both were - E4, C0 and 0 so it is == 915Mhz
today - one of MW start to work on 433Mhz! registers are - 6C, 80, 0 which mean 433Mhz.
|
|
|
It is really strange.
Today I try to use next example code from RadioHead Library - rf96_reliable_datagram_client (*server)
and I see that on one MW registers 6, 7 and 8 are CHANGED to values - 6C, 80 and 0 which means that this MW now works on 433MHz!
What the ... ?
Why these values has changed ???
|
|
|
UPD:
I thought if I have RF96 chip then I have 433Mhz freq.
But I was wrong, here is explanation. I've found it in this topic: http://forum.anarduino.com/posts/list/37.page
in RH_RF95 Class Reference of RadioHead library
http://www.airspayce.com/mikem/arduino/RadioHead/classRH__RF95.html
we have member function - printRegisters ()
http://www.airspayce.com/mikem/arduino/RadioHead/classRH__RF95.html#af82a441a5946b538f60f31e727009750
so we can read all MW chip registers.
Then we have header file - RH_RF95.h
http://www.airspayce.com/mikem/arduino/RadioHead/RH__RF95_8h_source.html
where we can see which regiters we need to check - 6, 7 and 8:
53 #define RH_RF95_REG_06_FRF_MSB 0x06
54 #define RH_RF95_REG_07_FRF_MID 0x07
55 #define RH_RF95_REG_08_FRF_LSB 0x08
I've read registers from my chip, just add something like this in example code from RadioHead for LoRa - rf95_client:
so my registers is:
6: E4
7: C0
8: 0
then we need to do do some calculation:
E4C000 in decimal is 14991360
then we need 14991360 multiply on 61.035 (freq resolution) == 914997657.6 Hz or 914.9976576 ~915MHz
So my chip works on 915MHz
|
|
|
Hello,
I've ordered two of MW with LoRa - LoRa RF95W 915Mhz
but I got two MW with chip RF96 - so I supposed there was some mistake while my order was shipped.
anyway - I want to check this modules and lookif for some examples how to send some data and receive it.
also I need to know which antennas should I use.
Any help will be very helpful for me.
Thank you all!
|
|
|