Author Topic: what I would like to see ....  (Read 12162 times)

joelucid

  • Hero Member
  • *****
  • Posts: 867
Re: what I would like to see ....
« Reply #30 on: January 11, 2016, 01:09:40 AM »
Quote
If I'm reading the Gateway sketch (aka "Sample RFM69 receiver/gateway sketch") correctly, it looks as though it only reports RSSI (basically radio.rssi) after a valid packet is received and printed.

Yeah - but that's exactly how the pi interference shows up. For maybe around half all received packets the RSSI is 15-20 lower than what I'd measure with the gw sketch on a Moteino connected to my MacBook.

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #31 on: January 11, 2016, 02:47:57 AM »
Quote
If I'm reading the Gateway sketch (aka "Sample RFM69 receiver/gateway sketch") correctly, it looks as though it only reports RSSI (basically radio.rssi) after a valid packet is received and printed.

Yeah - but that's exactly how the pi interference shows up. For maybe around half all received packets the RSSI is 15-20 lower than what I'd measure with the gw sketch on a Moteino connected to my MacBook.

I believe you, but on its face wouldn't you agree that seems rather bizarre?  According to the Semtech SX1231H datasheet, "The RSSI block evaluates the amount of energy available within the receiver channel bandwidth."  What's bizarre is how could the Pi emit extra RF that would effectively lower the RSSI by that amount?  RSSI is measured during the preamble, so unless the Pi emitted a cancellation wave while RSSI was being measured, it's hard to see how the measured energy would be *less*.  Don't the odds of that seem rather remote?  And if that were happening, wouldn't you also expect to sometimes see the RSSI to be 15-20 higher when the phase of the emissions happen to be additive rather than subtractive?  Yet, it sounds like you're not observing that.

Unless you have a better theory, I'm guessing that's not it but rather the Pi is messing up the RFM69's RSSI calibration.  According to the datasheet, "The receiver is capable of automatic gain calibration, in order to improve the precision of its RSSI measurements.  This function injects a known RF signal at the LNA input, and calibrates the receiver gain accordingly. This calibration is automatically performed during the PLL start-up, making it a transparent process to the end-user."  If the "known R signal" used in the calibration is very low power (?), then the emissions could be low in absolute terms but still high relative to the "known RF signal."

The HopeRF modules do not have a metal lid on them, but some of the other SX1231H module vendors do.  Perhaps part of the reason why they have the lids is to avoid this type of faulty calibration.  If such is the case, I wonder whether retrofitting some kind of DIY metal lid or enclosure onto your RFM69 would solve the problem?  Is there anything quick and dirty you could try to see if that might be so?  e.g. wrap your moteino in aluminum foil with the antenna wire and other outside connector wires poking through?  [Obviously you'd want to take pre-emptive steps to ensure that the aluminum foil doesn't short out the Moteino if you were to try that!]

joelucid

  • Hero Member
  • *****
  • Posts: 867
Re: what I would like to see ....
« Reply #32 on: January 11, 2016, 05:18:49 AM »
I originally did many of the tests you describe. See thread https://lowpowerlab.com/forum/index.php/topic,1008.msg6487.html#msg6487.

And in particular https://lowpowerlab.com/forum/index.php/topic,1008.msg6492.html#msg6492

Aluminum foil did not help at all and it seemed that the source of the problem were the rx/tx lines, not the proximity of the Pi. Things got much better when I switched to a Pi2 so that this no longer caused practical rx issues. But I still see the two "modes".

I agree it's strange. And yeah, maybe the radio reduces its gain because of noise received on the rx/tx lines.

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #33 on: January 11, 2016, 12:35:20 PM »
OK.  How many samples should I collect?

BTW, it sure reads like you isolated the cause.  Wouldn't a low-pass filter on the wires connecting the Pi to the RFM69 fix that?

joelucid

  • Hero Member
  • *****
  • Posts: 867
Re: what I would like to see ....
« Reply #34 on: January 11, 2016, 01:17:02 PM »
Quote
OK.  How many samples should I collect?

Doesn't need to be a whole lot. Just take 50 values or so and see if it's similar to what you're seeing on your gateway and if the RSSI numbers are consistent. There should be no huge changes whether the 8266 is on or off and over time.

Quote
Wouldn't a low-pass filter on the wires connecting the Pi to the RFM69 fix that?

That could be. I'm running 1Mbit in the serial. Anyone have suggestions what to try component wise to filter out RF noise from RX/TX.

oric_dan

  • Jr. Member
  • **
  • Posts: 64
Re: what I would like to see ....
« Reply #35 on: January 11, 2016, 01:44:08 PM »
All in all, I'm a bit surprised it's the RX,Tx lines causing the problem, and not the 700-1000MHz oscillator signals getting into the receiver front-end. However, a simple 3dB low-pass filter is computed from F3dB = 1 / (2*pi*R*C), and 1Mbps corresponds to a 500KHz signal, so values of 330ohms and 1nF would round off the corners of the bitstream a good deal. So, you might try 100ohms and 1nF, or 220ohms and 470pF, or 1K and 100pF, etc. If serial becomes iffy [depends on the wire lengths], then use smaller values again.

EDIT: interestingly, a couple of years ago on the Arduino forum, they noticed a problem with the Rx pin on the DIP40 mega1284P chips. It's located adjacent to the OSC pin, and there was apparently cross-talk from Rx into the oscillator that disrupted operation. [note - only about 1/2 the people were actually seeing this problem]. The original fix put forth was to use a low-pass filter in the Rx line, but then they realized the bootloader chip fuse settings were using the low-power oscillator values, and they changed it to use the full-power oscillator settings, and the problem went away.
« Last Edit: January 11, 2016, 01:55:32 PM by oric_dan »

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #36 on: January 11, 2016, 07:55:53 PM »
I ran a simple experiment just now.  I put my ESP8266 right up next to the RFM69HW gateway and ran a node from across the room.  The ESP8266 was *not* directly connected by wire to the RFM69HW (though each was powered by its own AC-DC power source, so there may have been that happening over the common AC ground).  These first numbers were with the ESP8266 powered off:

Code: [Select]
#[1][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[2][2] 1   [RX_RSSI:-57] - ACK sent.
#[3][2] 12   [RX_RSSI:-55] - ACK sent.
#[4][2] 123   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[5][2] 123    [RX_RSSI:-56] - ACK sent.
#[6][2] 123 A   [RX_RSSI:-52] - ACK sent.
#[7][2] 123 AB   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[8][2] 123 ABC   [RX_RSSI:-55] - ACK sent.
#[9][2] 123 ABCD   [RX_RSSI:-56] - ACK sent.
#[10][2] 123 ABCDE   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[11][2] 123 ABCDEF   [RX_RSSI:-54] - ACK sent.
#[12][2] 123 ABCDEFG   [RX_RSSI:-57] - ACK sent.
#[13][2] 123 ABCDEFGH   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[14][2] 123 ABCDEFGHI   [RX_RSSI:-56] - ACK sent.
#[15][2] 123 ABCDEFGHIJ   [RX_RSSI:-58] - ACK sent.
#[16][2] 123 ABCDEFGHIJK   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[17][2] 123 ABCDEFGHIJKL   [RX_RSSI:-55] - ACK sent.
#[18][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-53] - ACK sent.
#[19][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[20][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-55] - ACK sent.
#[21][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-54] - ACK sent.
#[22][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[23][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-56] - ACK sent.
#[24][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-53] - ACK sent.
#[25][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[26][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-54] - ACK sent.
#[27][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-56] - ACK sent.
#[28][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[29][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-53] - ACK sent.
#[30][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-53] - ACK sent.
#[31][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[32][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-54] - ACK sent.
#[33][2] 1   [RX_RSSI:-54] - ACK sent.
#[34][2] 12   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[35][2] 123   [RX_RSSI:-54] - ACK sent.
#[36][2] 123    [RX_RSSI:-55] - ACK sent.
#[37][2] 123 A   [RX_RSSI:-52] - ACK sent. Pinging node 2 - ACK...ok!
#[38][2] 123 AB   [RX_RSSI:-54] - ACK sent.
#[39][2] 123 ABC   [RX_RSSI:-55] - ACK sent.
#[40][2] 123 ABCD   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[41][2] 123 ABCDE   [RX_RSSI:-55] - ACK sent.
#[42][2] 123 ABCDEF   [RX_RSSI:-54] - ACK sent.
#[43][2] 123 ABCDEFG   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[44][2] 123 ABCDEFGH   [RX_RSSI:-56] - ACK sent.
#[45][2] 123 ABCDEFGHI   [RX_RSSI:-56] - ACK sent.
#[46][2] 123 ABCDEFGHIJ   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[47][2] 123 ABCDEFGHIJK   [RX_RSSI:-55] - ACK sent.
#[48][2] 123 ABCDEFGHIJKL   [RX_RSSI:-54] - ACK sent.
#[49][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[50][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-57] - ACK sent.
#[51][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-55] - ACK sent.
#[52][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[53][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-57] - ACK sent.
#[54][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-56] - ACK sent.
#[55][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[56][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-58] - ACK sent.
#[57][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-54] - ACK sent.
#[58][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[59][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-55] - ACK sent.
#[60][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-55] - ACK sent.
#[61][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[62][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-57] - ACK sent.
#[63][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-53] - ACK sent.
#[64][2] 1   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[65][2] 12   [RX_RSSI:-54] - ACK sent.
#[66][2] 123   [RX_RSSI:-56] - ACK sent.
#[67][2] 123    [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[68][2] 123 A   [RX_RSSI:-53] - ACK sent.
#[69][2] 123 AB   [RX_RSSI:-54] - ACK sent.
#[70][2] 123 ABC   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[71][2] 123 ABCD   [RX_RSSI:-57] - ACK sent.
#[72][2] 123 ABCDE   [RX_RSSI:-55] - ACK sent.
#[73][2] 123 ABCDEF   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[74][2] 123 ABCDEFG   [RX_RSSI:-55] - ACK sent.
#[75][2] 123 ABCDEFGH   [RX_RSSI:-55] - ACK sent.
#[76][2] 123 ABCDEFGHI   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[77][2] 123 ABCDEFGHIJ   [RX_RSSI:-55] - ACK sent.
#[78][2] 123 ABCDEFGHIJK   [RX_RSSI:-54] - ACK sent.
#[79][2] 123 ABCDEFGHIJKL   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[80][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-54] - ACK sent.
#[81][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-57] - ACK sent.
#[82][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[83][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-54] - ACK sent.
#[84][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-58] - ACK sent.
#[85][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[86][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-55] - ACK sent.
#[87][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-56] - ACK sent.
#[88][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[89][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-55] - ACK sent.
#[90][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-57] - ACK sent.
#[91][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[92][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-54] - ACK sent.
#[93][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-55] - ACK sent.
#[94][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[95][2] 1   [RX_RSSI:-54] - ACK sent.
#[96][2] 12   [RX_RSSI:-54] - ACK sent.
#[97][2] 123   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[98][2] 123    [RX_RSSI:-54] - ACK sent.
#[99][2] 123 A   [RX_RSSI:-53] - ACK sent.
#[100][2] 123 AB   [RX_RSSI:-52] - ACK sent. Pinging node 2 - ACK...ok!
#[101][2] 123 ABC   [RX_RSSI:-55] - ACK sent.
#[102][2] 123 ABCD   [RX_RSSI:-56] - ACK sent.
#[103][2] 123 ABCDE   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[104][2] 123 ABCDEF   [RX_RSSI:-54] - ACK sent.
#[105][2] 123 ABCDEFG   [RX_RSSI:-55] - ACK sent.
#[106][2] 123 ABCDEFGH   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[107][2] 123 ABCDEFGHI   [RX_RSSI:-58] - ACK sent.
#[108][2] 123 ABCDEFGHIJ   [RX_RSSI:-57] - ACK sent.
#[109][2] 123 ABCDEFGHIJK   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[110][2] 123 ABCDEFGHIJKL   [RX_RSSI:-54] - ACK sent.
#[111][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-53] - ACK sent.
#[112][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[113][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-57] - ACK sent.
#[114][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-55] - ACK sent.
#[115][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[116][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-59] - ACK sent.
#[117][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-60] - ACK sent.
#[118][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-60] - ACK sent. Pinging node 2 - ACK...ok!
#[119][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-58] - ACK sent.
#[120][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-60] - ACK sent.
#[121][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!

[Because of posting character limits, I need to post the next dataset in a follow-on post below].

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #37 on: January 11, 2016, 08:00:50 PM »
These next numbers were with the ESP8266 powered on and connected to the local wi-fi router:
Code: [Select]
#[1][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[2][2] 1   [RX_RSSI:-65] - ACK sent.
#[3][2] 12   [RX_RSSI:-66] - ACK sent.
#[4][2] 123   [RX_RSSI:-67] - ACK sent. Pinging node 2 - ACK...ok!
#[5][2] 123    [RX_RSSI:-66] - ACK sent.
#[6][2] 123 A   [RX_RSSI:-63] - ACK sent.
#[7][2] 123 AB   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[8][2] 123 ABC   [RX_RSSI:-66] - ACK sent.
#[9][2] 123 ABCD   [RX_RSSI:-68] - ACK sent.
#[10][2] 123 ABCDE   [RX_RSSI:-65] - ACK sent. Pinging node 2 - ACK...ok!
#[11][2] 123 ABCDEF   [RX_RSSI:-66] - ACK sent.
#[12][2] 123 ABCDEFG   [RX_RSSI:-66] - ACK sent.
#[13][2] 123 ABCDEFGH   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[14][2] 123 ABCDEFGHI   [RX_RSSI:-65] - ACK sent.
#[15][2] 123 ABCDEFGHIJ   [RX_RSSI:-66] - ACK sent.
#[16][2] 123 ABCDEFGHIJK   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[17][2] 123 ABCDEFGHIJKL   [RX_RSSI:-65] - ACK sent.
#[18][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-63] - ACK sent.
#[19][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[20][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-66] - ACK sent.
#[21][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-65] - ACK sent.
#[22][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[23][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-67] - ACK sent.
#[24][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-65] - ACK sent.
#[25][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-67] - ACK sent. Pinging node 2 - ACK...ok!
#[26][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-64] - ACK sent.
#[27][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-65] - ACK sent.
#[28][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[29][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-65] - ACK sent.
#[30][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-66] - ACK sent.
#[31][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[32][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-64] - ACK sent.
#[33][2] 1   [RX_RSSI:-66] - ACK sent.
#[34][2] 12   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[35][2] 123   [RX_RSSI:-65] - ACK sent.
#[36][2] 123    [RX_RSSI:-67] - ACK sent.
#[37][2] 123 A   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[38][2] 123 AB   [RX_RSSI:-65] - ACK sent.
#[39][2] 123 ABC   [RX_RSSI:-65] - ACK sent.
#[40][2] 123 ABCD   [RX_RSSI:-67] - ACK sent. Pinging node 2 - ACK...ok!
#[41][2] 123 ABCDE   [RX_RSSI:-65] - ACK sent.
#[42][2] 123 ABCDEF   [RX_RSSI:-66] - ACK sent.
#[43][2] 123 ABCDEFG   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[44][2] 123 ABCDEFGH   [RX_RSSI:-65] - ACK sent.
#[45][2] 123 ABCDEFGHI   [RX_RSSI:-65] - ACK sent.
#[46][2] 123 ABCDEFGHIJ   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[47][2] 123 ABCDEFGHIJK   [RX_RSSI:-65] - ACK sent.
#[48][2] 123 ABCDEFGHIJKL   [RX_RSSI:-64] - ACK sent.
#[49][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[50][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-68] - ACK sent.
#[51][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-67] - ACK sent.
#[52][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-65] - ACK sent. Pinging node 2 - ACK...ok!
#[53][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-67] - ACK sent.
#[54][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-66] - ACK sent.
#[55][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-65] - ACK sent. Pinging node 2 - ACK...ok!
#[56][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-66] - ACK sent.
#[57][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-66] - ACK sent.
#[58][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[59][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-65] - ACK sent.
#[60][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-67] - ACK sent.
#[61][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-66] - ACK sent. Pinging node 2 - ACK...ok!
#[62][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-68] - ACK sent.
#[63][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-65] - ACK sent.
#[64][2] 1   [RX_RSSI:-64] - ACK sent. Pinging node 2 - ACK...ok!
#[65][2] 12   [RX_RSSI:-62] - ACK sent.
#[66][2] 123   [RX_RSSI:-64] - ACK sent.
#[67][2] 123    [RX_RSSI:-61] - ACK sent. Pinging node 2 - ACK...ok!
#[68][2] 123 A   [RX_RSSI:-57] - ACK sent.
#[69][2] 123 AB   [RX_RSSI:-57] - ACK sent.
#[70][2] 123 ABC   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[71][2] 123 ABCD   [RX_RSSI:-60] - ACK sent.
#[72][2] 123 ABCDE   [RX_RSSI:-54] - ACK sent.
#[73][2] 123 ABCDEF   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[74][2] 123 ABCDEFG   [RX_RSSI:-55] - ACK sent.
#[75][2] 123 ABCDEFGH   [RX_RSSI:-55] - ACK sent.
#[76][2] 123 ABCDEFGHI   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[77][2] 123 ABCDEFGHIJ   [RX_RSSI:-55] - ACK sent.
#[78][2] 123 ABCDEFGHIJK   [RX_RSSI:-55] - ACK sent.
#[79][2] 123 ABCDEFGHIJKL   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[80][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-53] - ACK sent.
#[81][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-56] - ACK sent.
#[82][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[83][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-56] - ACK sent.
#[84][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-59] - ACK sent.
#[85][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[86][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-57] - ACK sent.
#[87][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-59] - ACK sent.
#[88][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[89][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-57] - ACK sent.
#[90][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-59] - ACK sent.
#[91][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[92][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-57] - ACK sent.
#[93][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-60] - ACK sent.
#[94][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[95][2] 1   [RX_RSSI:-56] - ACK sent.
#[96][2] 12   [RX_RSSI:-56] - ACK sent.
#[97][2] 123   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[98][2] 123    [RX_RSSI:-56] - ACK sent.
#[99][2] 123 A   [RX_RSSI:-52] - ACK sent.
#[100][2] 123 AB   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[101][2] 123 ABC   [RX_RSSI:-54] - ACK sent.
#[102][2] 123 ABCD   [RX_RSSI:-55] - ACK sent.
#[103][2] 123 ABCDE   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[104][2] 123 ABCDEF   [RX_RSSI:-60] - ACK sent.
#[105][2] 123 ABCDEFG   [RX_RSSI:-60] - ACK sent.
#[106][2] 123 ABCDEFGH   [RX_RSSI:-63] - ACK sent. Pinging node 2 - ACK...ok!
#[107][2] 123 ABCDEFGHI   [RX_RSSI:-62] - ACK sent.
#[108][2] 123 ABCDEFGHIJ   [RX_RSSI:-62] - ACK sent.

Just eye-balling the numbers, there does seem to be some noticeable skewing between the control (OFF) and the experiment (ON).  FWIW, the RFM69HW gateway is set at 915Mhz.

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #38 on: January 11, 2016, 08:32:05 PM »
OK, I just now ran the ESP8266 off a battery, with the same arrangement, and so now there is no direct physical connection between the ESP8266 and the RFM69HW.  The skewing looks mitigated:

Code: [Select]
#[1][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[2][2] 1   [RX_RSSI:-58] - ACK sent.
#[3][2] 1   [RX_RSSI:-59] - ACK sent.
#[4][2] 12   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[5][2] 123   [RX_RSSI:-62] - ACK sent.
#[6][2] 123    [RX_RSSI:-60] - ACK sent.
#[7][2] 123 A   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[8][2] 123 AB   [RX_RSSI:-54] - ACK sent.
#[9][2] 123 ABC   [RX_RSSI:-56] - ACK sent.
#[10][2] 123 ABCD   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[11][2] 123 ABCDE   [RX_RSSI:-53] - ACK sent.
#[12][2] 123 ABCDEF   [RX_RSSI:-53] - ACK sent.
#[13][2] 123 ABCDEFG   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[14][2] 123 ABCDEFGH   [RX_RSSI:-55] - ACK sent.
#[15][2] 123 ABCDEFGHI   [RX_RSSI:-58] - ACK sent.
#[16][2] 123 ABCDEFGHIJ   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[17][2] 123 ABCDEFGHIJK   [RX_RSSI:-58] - ACK sent.
#[18][2] 123 ABCDEFGHIJKL   [RX_RSSI:-57] - ACK sent.
#[19][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[20][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-59] - ACK sent.
#[21][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-59] - ACK sent.
#[22][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[23][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-58] - ACK sent.
#[24][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-59] - ACK sent.
#[25][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[26][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-59] - ACK sent.
#[27][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-59] - ACK sent.
#[28][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[29][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-59] - ACK sent.
#[30][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-58] - ACK sent.
#[31][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[32][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-57] - ACK sent.
#[33][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-59] - ACK sent.
#[34][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[35][2] 1   [RX_RSSI:-55] - ACK sent.
#[36][2] 12   [RX_RSSI:-56] - ACK sent.
#[37][2] 123   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[38][2] 123    [RX_RSSI:-58] - ACK sent.
#[39][2] 123 A   [RX_RSSI:-56] - ACK sent.
#[40][2] 123 AB   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[41][2] 123 ABC   [RX_RSSI:-58] - ACK sent.
#[42][2] 123 ABCD   [RX_RSSI:-58] - ACK sent.
#[43][2] 123 ABCDE   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[44][2] 123 ABCDEF   [RX_RSSI:-58] - ACK sent.
#[45][2] 123 ABCDEFG   [RX_RSSI:-56] - ACK sent.
#[46][2] 123 ABCDEFGH   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[47][2] 123 ABCDEFGHI   [RX_RSSI:-58] - ACK sent.
#[48][2] 123 ABCDEFGHIJ   [RX_RSSI:-59] - ACK sent.
#[49][2] 123 ABCDEFGHIJK   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[50][2] 123 ABCDEFGHIJKL   [RX_RSSI:-58] - ACK sent.
#[51][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-56] - ACK sent.
#[52][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[53][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-59] - ACK sent.
#[54][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-55] - ACK sent.
#[55][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[56][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-60] - ACK sent.
#[57][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-58] - ACK sent.
#[58][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-60] - ACK sent. Pinging node 2 - ACK...ok!
#[59][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-55] - ACK sent.
#[60][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-59] - ACK sent.
#[61][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[62][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-58] - ACK sent.
#[63][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-56] - ACK sent.
#[64][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[65][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-56] - ACK sent.
#[66][2] 1   [RX_RSSI:-55] - ACK sent.
#[67][2] 12   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[68][2] 123   [RX_RSSI:-55] - ACK sent.
#[69][2] 123    [RX_RSSI:-56] - ACK sent.
#[70][2] 123 A   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[71][2] 123 AB   [RX_RSSI:-56] - ACK sent.
#[72][2] 123 ABC   [RX_RSSI:-56] - ACK sent.
#[73][2] 123 ABCD   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[74][2] 123 ABCDE   [RX_RSSI:-56] - ACK sent.
#[75][2] 123 ABCDEF   [RX_RSSI:-55] - ACK sent.
#[76][2] 123 ABCDEFG   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[77][2] 123 ABCDEFGH   [RX_RSSI:-57] - ACK sent.
#[78][2] 123 ABCDEFGHI   [RX_RSSI:-58] - ACK sent.
#[79][2] 123 ABCDEFGHIJ   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[80][2] 123 ABCDEFGHIJK   [RX_RSSI:-57] - ACK sent.
#[81][2] 123 ABCDEFGHIJKL   [RX_RSSI:-55] - ACK sent.
#[82][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[83][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-59] - ACK sent.
#[84][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-58] - ACK sent.
#[85][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[86][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-58] - ACK sent.
#[87][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-58] - ACK sent.
#[88][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[89][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-58] - ACK sent.
#[90][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-55] - ACK sent.
#[91][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[92][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-56] - ACK sent.
#[93][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-57] - ACK sent.
#[94][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[95][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-56] - ACK sent.
#[96][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-54] - ACK sent.
#[97][2] 1   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[98][2] 12   [RX_RSSI:-54] - ACK sent.
#[99][2] 123   [RX_RSSI:-55] - ACK sent.
#[100][2] 123    [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[101][2] 123 A   [RX_RSSI:-54] - ACK sent.
#[102][2] 123 AB   [RX_RSSI:-55] - ACK sent.
#[103][2] 123 ABC   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[104][2] 123 ABCD   [RX_RSSI:-57] - ACK sent.
#[105][2] 123 ABCDE   [RX_RSSI:-55] - ACK sent.
#[106][2] 123 ABCDEF   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[107][2] 123 ABCDEFG   [RX_RSSI:-56] - ACK sent.
#[108][2] 123 ABCDEFGH   [RX_RSSI:-56] - ACK sent.
#[109][2] 123 ABCDEFGHI   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[110][2] 123 ABCDEFGHIJ   [RX_RSSI:-57] - ACK sent.
#[111][2] 123 ABCDEFGHIJK   [RX_RSSI:-58] - ACK sent.
#[112][2] 123 ABCDEFGHIJKL   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[113][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-57] - ACK sent.
#[114][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-57] - ACK sent.
#[115][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[116][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-55] - ACK sent.
#[117][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-56] - ACK sent.
#[118][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[119][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-55] - ACK sent.
#[120][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-56] - ACK sent.
#[121][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[122][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-56] - ACK sent.
#[123][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-58] - ACK sent.
#[124][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[125][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-56] - ACK sent.
#[126][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-59] - ACK sent.
#[127][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[128][2] 1   [RX_RSSI:-57] - ACK sent.

« Last Edit: January 11, 2016, 08:34:52 PM by WhiteHare »

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #39 on: January 11, 2016, 08:44:13 PM »
Earlier, I ran a dataset with no ESP8266 nearby the RFM69HW, and here's how that looked:

Code: [Select]
#[1][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[2][2] 1   [RX_RSSI:-58] - ACK sent.
#[3][2] 12   [RX_RSSI:-58] - ACK sent.
#[4][2] 123   [RX_RSSI:-60] - ACK sent. Pinging node 2 - ACK...ok!
#[5][2] 123    [RX_RSSI:-60] - ACK sent.
#[6][2] 123 A   [RX_RSSI:-57] - ACK sent.
#[7][2] 123 AB   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[8][2] 123 ABC   [RX_RSSI:-58] - ACK sent.
#[9][2] 123 ABCD   [RX_RSSI:-61] - ACK sent.
#[10][2] 123 ABCDE   [RX_RSSI:-58] - ACK sent. Pinging node 2 - ACK...ok!
#[11][2] 123 ABCDEF   [RX_RSSI:-56] - ACK sent.
#[12][2] 123 ABCDEFG   [RX_RSSI:-54] - ACK sent.
#[13][2] 123 ABCDEFGH   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[14][2] 123 ABCDEFGHI   [RX_RSSI:-59] - ACK sent.
#[15][2] 123 ABCDEFGHIJ   [RX_RSSI:-59] - ACK sent.
#[16][2] 123 ABCDEFGHIJK   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[17][2] 123 ABCDEFGHIJKL   [RX_RSSI:-53] - ACK sent.
#[18][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-54] - ACK sent.
#[19][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[20][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-55] - ACK sent.
#[21][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-52] - ACK sent.
#[22][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[23][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-53] - ACK sent.
#[24][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-53] - ACK sent.
#[25][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-52] - ACK sent. Pinging node 2 - ACK...ok!
#[26][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-52] - ACK sent.
#[27][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-55] - ACK sent.
#[28][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[29][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-56] - ACK sent.
#[30][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-56] - ACK sent.
#[31][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[32][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-54] - ACK sent.
#[33][2] 1   [RX_RSSI:-54] - ACK sent.
#[34][2] 12   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[35][2] 123   [RX_RSSI:-54] - ACK sent.
#[36][2] 123    [RX_RSSI:-54] - ACK sent.
#[37][2] 123 A   [RX_RSSI:-52] - ACK sent. Pinging node 2 - ACK...ok!
#[38][2] 123 AB   [RX_RSSI:-54] - ACK sent.
#[39][2] 123 ABC   [RX_RSSI:-54] - ACK sent.
#[40][2] 123 ABCD   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[41][2] 123 ABCDE   [RX_RSSI:-55] - ACK sent.
#[42][2] 123 ABCDEF   [RX_RSSI:-54] - ACK sent.
#[43][2] 123 ABCDEFG   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[44][2] 123 ABCDEFGH   [RX_RSSI:-54] - ACK sent.
#[45][2] 123 ABCDEFGHI   [RX_RSSI:-55] - ACK sent.
#[46][2] 123 ABCDEFGHIJ   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[47][2] 123 ABCDEFGHIJK   [RX_RSSI:-54] - ACK sent.
#[48][2] 123 ABCDEFGHIJKL   [RX_RSSI:-55] - ACK sent.
#[49][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[50][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-59] - ACK sent.
#[51][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-55] - ACK sent.
#[52][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[53][2] 123 ABCDEFGHIJKLMNOPQ   [RX_RSSI:-56] - ACK sent.
#[54][2] 123 ABCDEFGHIJKLMNOPQR   [RX_RSSI:-56] - ACK sent.
#[55][2] 123 ABCDEFGHIJKLMNOPQRS   [RX_RSSI:-53] - ACK sent. Pinging node 2 - ACK...ok!
#[56][2] 123 ABCDEFGHIJKLMNOPQRST   [RX_RSSI:-55] - ACK sent.
#[57][2] 123 ABCDEFGHIJKLMNOPQRSTU   [RX_RSSI:-55] - ACK sent.
#[58][2] 123 ABCDEFGHIJKLMNOPQRSTUV   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[59][2] 123 ABCDEFGHIJKLMNOPQRSTUVW   [RX_RSSI:-53] - ACK sent.
#[60][2] 123 ABCDEFGHIJKLMNOPQRSTUVWX   [RX_RSSI:-56] - ACK sent.
#[61][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXY   [RX_RSSI:-56] - ACK sent. Pinging node 2 - ACK...ok!
#[62][2] 123 ABCDEFGHIJKLMNOPQRSTUVWXYZ   [RX_RSSI:-56] - ACK sent.
#[63][2] FLASH_MEM_ID:0xEF30   [RX_RSSI:-55] - ACK sent.
#[64][2] 1   [RX_RSSI:-55] - ACK sent. Pinging node 2 - ACK...ok!
#[65][2] 12   [RX_RSSI:-54] - ACK sent.
#[66][2] 123   [RX_RSSI:-54] - ACK sent.
#[67][2] 123    [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[68][2] 123 A   [RX_RSSI:-50] - ACK sent.
#[69][2] 123 AB   [RX_RSSI:-51] - ACK sent.
#[70][2] 123 ABC   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[71][2] 123 ABCD   [RX_RSSI:-54] - ACK sent.
#[72][2] 123 ABCDE   [RX_RSSI:-53] - ACK sent.
#[73][2] 123 ABCDEF   [RX_RSSI:-52] - ACK sent. Pinging node 2 - ACK...ok!
#[74][2] 123 ABCDEFG   [RX_RSSI:-52] - ACK sent.
#[75][2] 123 ABCDEFGH   [RX_RSSI:-54] - ACK sent.
#[76][2] 123 ABCDEFGHI   [RX_RSSI:-54] - ACK sent. Pinging node 2 - ACK...ok!
#[77][2] 123 ABCDEFGHIJ   [RX_RSSI:-56] - ACK sent.
#[78][2] 123 ABCDEFGHIJK   [RX_RSSI:-58] - ACK sent.
#[79][2] 123 ABCDEFGHIJKL   [RX_RSSI:-57] - ACK sent. Pinging node 2 - ACK...ok!
#[80][2] 123 ABCDEFGHIJKLM   [RX_RSSI:-57] - ACK sent.
#[81][2] 123 ABCDEFGHIJKLMN   [RX_RSSI:-62] - ACK sent.
#[82][2] 123 ABCDEFGHIJKLMNO   [RX_RSSI:-59] - ACK sent. Pinging node 2 - ACK...ok!
#[83][2] 123 ABCDEFGHIJKLMNOP   [RX_RSSI:-59] - ACK sent.

BTW, the node and the gateway were stationary and unmoved throughout all this. 

Unfortunately, because of family obligations I now need to pack things up, but on its face it looks to me like there's a pattern there over common AC ground similar in character to what Joe observed with his direct wired connection.  I haven't yet run a dataset  with the ESP8266 directly connected to the RFM69HW.  That will have to wait for another time, but based on the above I'd expect to see skewing.

Was the above helpful?  I took some photos if you're curious to see how the setup looked.  As for me, I would not have expected these results, so from my point of view it was a worthwhile experiment.  My initial thought is that the RFM69HW is very sensitive to ground noise.
« Last Edit: January 11, 2016, 09:08:43 PM by WhiteHare »

oric_dan

  • Jr. Member
  • **
  • Posts: 64
Re: what I would like to see ....
« Reply #40 on: January 11, 2016, 09:27:24 PM »
Yeah, those results look significant. If you get a chance to run some more, for comparison purposes, you might try using setPowerLevel(n) with n=0 or other low-values to see how it looks for low Tx power levels. And with the Moteino nodes a good ways apart, 30 feet at least.

To me, the ideal test would have the RFM radio and ESP8266 about 4" apart and run off the same power buss on the same Moteino board.

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #41 on: January 12, 2016, 10:00:51 AM »
Doesn't yesterday's experiment highlight the problem as most likely common mode noise?  If so, then I'm under the impression that a low pass filter, like the above, aimed at normal mode noise isn't going to be sufficient.  I'm at square 1 on this, but I'm guessing some sort of choke circuit is going to be needed, regardless of whether the RFM69HW is connected to a Pi or an ESP8266:  http://www.radio-electronics.com/articles/circuit-design/resolving-emi-common-mode-normal-146.   Can anyone recommend a generic choke circuit that could be adapted to work?  If there were a generic model to leverage, then perhaps if there were few enough parameters to juggle, a few "monte carlo" type experiments might expose a good enough answer while sidestepping the theory needed for an optimal answer.  Even better would be doing the monte carlo on a simulation, which probably exists somewhere.  On the other hand, if anyone reading this knows how to compute an optimal circuit wrt common mode noise, that would of course be preferable!

The alternative is to look for a radio module that already has adequate noise suppression built into it, and maybe those exist given how sensitive the SX1231H appears to be.
« Last Edit: January 12, 2016, 10:23:13 AM by WhiteHare »

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #42 on: January 12, 2016, 10:59:20 AM »
Maybe this won't be too difficult.  As a starting point, it looks like I might simply pick a common-mode filter (CMF) that's optimized for the OTA frequency used by the RFM69HW, which in my case would be about 915Mhz:  https://product.tdk.com/en/products/emc/guidebook/eemc_product_05.pdf  Would that work?  Or would I need to mitigate at other frequencies also?
« Last Edit: January 12, 2016, 11:05:41 AM by WhiteHare »

oric_dan

  • Jr. Member
  • **
  • Posts: 64
Re: what I would like to see ....
« Reply #43 on: January 12, 2016, 12:18:10 PM »
Quote
Doesn't yesterday's experiment highlight the problem as most likely common mode noise?

I believe you're right on that. RF design is not my area, so I'm not really the guy for this. It's all magic to me. One problem is, you don't know what you really have until you get a board totally designed and tested. Hooking anything up via jumpers, and having wires going to the power mains are probably going to produce large inductive loops that radiate, so a nice final layout gets away from most of that stuff.

If someone does want to put 2 radios on the same pcb, like the putative Moteino-Gateway, then it likely would be best to use your common-mode filters on the board. But there still may be a problem with direct radiation between radios. Short of putting in common-mode chokes like you mentioned, it might also with just the differential-mode arrangement shown here in figure 14, but probably not as effectively. But now things are starting to get rather complex, and away from being a nice cheap Moteino-Gateway board too.
http://www.eetimes.com/document.asp?doc_id=1272503

This is all a bag of worms to me, I build robots :-). Oh well, the idea of RFM radio and ESP8266 both on a single board was mainly a passing-thought in any case.

WhiteHare

  • Hero Member
  • *****
  • Posts: 1300
  • Country: us
Re: what I would like to see ....
« Reply #44 on: January 12, 2016, 01:42:47 PM »
Well, conversely, one can  take the view that if you have adequate link budget, the reduced RSSI doesn't really matter, and so resolving it, while desirable, is little more than icing on the cake.  For instance, I wasn't even aware of the issue until I specifically went looking for it.  Besdes, it's probably not even reduced RSSI, just an "apparent" reduced RSSI because of mis-calibration.  Actual SNR might be largely unaffected.  So, in the end, I'm not sure that it even matters provided that the RSSI threshold is crossed enough for the radio to initiate packet capture, and so perhaps lowering the threshold by an equal amount would compensate.

Anyhow, this is more than I care to take on alone.  If those who are using the Pi with Moteino don't care enough to want to resolve it, then I guess neither do I.
« Last Edit: January 12, 2016, 01:45:29 PM by WhiteHare »