-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pi 2 B is not receiving from moteino. Transmit is OK. #29
Comments
Hello |
No solution. I gave up on the Pi and I am using an ESP8266 with RFM69 as a gateway to ethernet. |
@morrowwm Same problem here, When you say ESP8266 with RFM69 what do you mean? Thanks, |
Work for wemos D1 and esp07. |
I have the same issue. It can send but not receive. |
I am experiencing similar problem within 2 PIs.. It seems I receive the ACK maybe 10% of the time.. Thanks |
OK, it seems adding 2 milliseconds delay before sending the ACK does the trick for me. (i.e now receive the ACK 100 % of the time). From the radio1.py line 58 it would look like:
|
Can you please describe the problem you meet?
Thanks
…On Tue, Aug 14, 2018 at 8:38 AM, labaude ***@***.***> wrote:
I am experiencing similar problem within 2 PIs.. It seems I receive the
ACK maybe 10% of the time..
Anyone has an idea of the reason why the PI would act as such?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#29 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AlCbiB_28K5mFdoaa5Jgvy7AfwSFD_HAks5uQsTbgaJpZM4RBdYf>
.
|
Actually the trick described above do not work anyore for me after reboot. I'll edit when I'll have finish my investigation. I am trying to connect 2 RFM69HCW using a RPI 3 B+ and RPI 2 B. I am using radio1.py and radio2.py exemple sighlty modified. I can get the radio2 to send msg to radio1, which receives it and send the ACK. But I can't get the radio2 to systematically get the ACK back. (i.e sendWithRetry should turn to True and so print ( ack_recieved)). It only print it some time, maybe 1 out of 10... I am using highpower. Any idea if I am doing something silly? |
Hi
This may be the problem of pin definition, if you check the PIN number by
pinout, you may see it’s different from the user guide or the code. Another
guess is about Pi2. I experience some pin name issues with pi3, but
switching to pi 3 will help a lot.
…On Tue, Aug 14, 2018 at 13:24 labaude ***@***.***> wrote:
Actually the trick described above do not work anyore for me after reboot.
I'll edit when I'll have finish my investigation.
I am trying to connect 2 RFM69HCW using a RPI 3 B+ and RPI 2 B.
I am using radio1.py and radio2.py exemple sighlty modified. I can get the
radio2 to send msg to radio1, which receives it and send the ACK. But I
can't get the radio2 to systematically get the ACK back. (i.e sendWithRetry
should turn to True and so print ( ack_recieved)). It only print it some
time, maybe 1 out of 10...
I am using highpower.
Any idea if I am doing something silly?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#29 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AlCbiK0SPz4VNNIEiRJuQzDXMbMsgGcWks5uQwemgaJpZM4RBdYf>
.
|
We no longer call receiveBegin() from inside receiveDone() if no data's ready. Previously, if interruptHandler triggerred while receiveDone() was processing, receiveBegin() would wipe out the received data. This could be mitigated with sleeps between loops to decrease the odds of such a scenario, but it's far more reliable to just let the user explicitly call receiveBegin() once they have processed the latest message. This should fix issue etrombly#29
I am testing communication between a Raspberry Pi model 2B and moteino. On the Pi I am using the radio1.py script, with slight changes. On the moteino I am using a modified version of LowPowerLab's "Struct_receive" example script. They're in the attachment.
On the Pi, I see:
and so on. On the moteino, I see
the [1] means the message came from node 1, which is the Raspberry Pi. So it transmits and the moteino receives.
However, the ACK back fails, and any transmitting I try from the moteino side is not received by the Pi.
I'm using a perfboard hack to attach the RFM69 to the Pi. I've attached the RFM69 according to the pins in README.md here, except I'm using ground pin 20. I have RFM69W, so not enabling high power.
files.tar.gz
The text was updated successfully, but these errors were encountered: