-
-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OTAA does not work on 8MHz ? #22
Comments
Yup, I've run on 8Mhz succesfully for a project last week. I have been using the internal oscillator, which is fairly inaccurate, but in the mjs branch there is a change that allows compensating for this (by enlarging the RX window). Perhaps you could try the same thing, just to confirm whether it's a timing problem or not? To do so, add something like this to the setup:
|
I had the same issue, and this solved it for me. |
@tftelkamp, "this" being the clock error thing? Good to hear my work is already useful for others too :-) |
"This" is exactly that. Very useful! |
Hi, clever solution ! So I close the issue, sorry to bother you ! |
Weird indeed. Also weird that TX works but not RX, since TX needs even more power. Perhaps RX is more sensitive to voltage drops/fluctuations than TX. Or perhaps the insufficient power somehow influenced your clock accuracy? During OTAA, the RX window happens after 5 seconds, while regular downlinks happen after 1 second (so with OTAA, any clock accuracy will cause 5x more drift). Oh well. |
Yes, it is weird. But since I add a battery I do not have troubles so I presume it was that... |
Fix matthijskooijman#22 -- no longer any refs to MAX_TXPOW_125kHz
Does anyone tested OTAA on 8 MHz ATMega328 ?
It works well on my 16 MHz Arduino shield, but I do not receive any message on my 8 MHz boards during join process, whatever is the SF. I checked the timings which seems to be OK, and the gateway log shows that
joinAccept
is answered.I am a bit lost because in APB the downlink works well on RX1 and RX2 :-(
The text was updated successfully, but these errors were encountered: