tag:blogger.com,1999:blog-7593523188053624873.post4628020176160329039..comments2024-02-21T21:59:19.160-06:00Comments on It's science, but it works like magic.: More Than One Way to Skin a CatDeKayhttp://www.blogger.com/profile/00914365501059600006noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-7593523188053624873.post-37852857849801525662019-04-14T06:00:56.756-06:002019-04-14T06:00:56.756-06:00Dear DeKay,
I was wondering if your library can b...Dear DeKay,<br /><br />I was wondering if your library can be used to receive the ISS data that is currently connecting to a Vantage Pro (pretty old , I know :-) ) The visibility of the screen of my Console is getting really bad now and I would love to capture the ISS packets and send that to a MQTT server for further processing.<br /><br />Appreciate your feedback..BOZhttps://www.blogger.com/profile/06943793664265584537noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-71053042840829652012017-09-15T10:10:54.202-06:002017-09-15T10:10:54.202-06:00For those who find it hard to get a moteino, here&...For those who find it hard to get a moteino, here's an easy to get alternative for Europe:<br />https://www.canique.com/mk1 - almost identical to the moteino!Canhttps://www.canique.comnoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-35944918956757415402017-01-17T10:19:04.297-06:002017-01-17T10:19:04.297-06:00Hi DeKay,
I read your blog and I must say: very c...Hi DeKay,<br /><br />I read your blog and I must say: very cool project. I'm looking for a new project for my sparetime. That is the reason why I ordered a Monteino board. So before I start to experiment I have a question to your DavisRFM69 Lib. Is the lib working with the european version (886MHz) of the Davis Vantage Pro2?<br /><br />I would be glad, if you would say yes.<br /><br />Best regards<br />MartinAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-72452618941418890612014-12-06T16:04:38.974-06:002014-12-06T16:04:38.974-06:00Seems we can all use these
https://www.kickstarter...Seems we can all use these<br />https://www.kickstarter.com/projects/1754284174/ardurf-wireless-arduino-done-right<br />MartinAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-28391051736776033752014-12-06T16:03:39.361-06:002014-12-06T16:03:39.361-06:00Hi
https://www.kickstarter.com/projects/1754284174...Hi<br />https://www.kickstarter.com/projects/1754284174/ardurf-wireless-arduino-done-right seems to be something we can use.<br />MartinAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-83051241321158391272014-03-14T07:43:46.464-06:002014-03-14T07:43:46.464-06:00Hi RDSman
I was using version .5 and it was worki...Hi RDSman <br />I was using version .5 and it was working OK.<br />However I just downloaded new ver .8 and it seems to be broken somehow, it hangs/restarts after receiving 3 to 6 packets...Anonymoushttps://www.blogger.com/profile/16908182484835412241noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-90929237299640525982014-02-13T09:34:10.898-06:002014-02-13T09:34:10.898-06:00Cool. I actually already have a couple of DHT22...Cool. I actually already have a couple of DHT22's and a BMP085. I plan to build a few sensor nodes similar to the EmonTH (or actually buy a few).<br /><br />But first, I need to finish my quest on the internet-connected ISS but I'm stuck again. Looked high and low but can't figure out the formula to convert the raw temp data on my metric unit. I commented on it here too: http://www.wxforum.net/index.php?topic=18718.msg208650#msg208650<br /><br />You might have an idea...kobukinoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-47959889225815305722014-02-12T21:19:09.403-06:002014-02-12T21:19:09.403-06:00Wow! I never actually expected anyone to actually...Wow! I never actually expected anyone to actually use this :-)<br /><br />Your find is interesting. I have been getting intermittent lost packets and maybe my PC is the cause? I'll have to try battery power sometime.<br /><br />I am actually well along the road to emulating the Davis console and hope to have something that works with Cumulus over the weekend. In the meantime, get onto Ebay and order up a DHT22, BMP085 or BMP180, and a DS3231. Stay tuned...DeKayhttps://www.blogger.com/profile/00914365501059600006noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-79778349950720672522014-02-12T15:10:38.006-06:002014-02-12T15:10:38.006-06:00Alright, it turned out that the noise picked up fr...Alright, it turned out that the noise picked up from the PC was the problem. I ran the Moteino from a battery and made it so every successful reception blinked the led. It was blinking every 2.5 secs continuously, so far soo good. Moving to phase 2. Thank you for your great lib and all the info you gathered, without this it wouldn't have been possible :]kobukinoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-7531808609011994132014-02-12T14:29:29.486-06:002014-02-12T14:29:29.486-06:00Well, I have some moderate success. I modified the...Well, I have some moderate success. I modified the code to only hop when the crc is right. The band seems to be crowded here. I get consistent readings but I have many interemittent gaps and I had to move the ISS near the receiver (they're now about 50cm/20" apart only, very unpractical). It seems that some receiver parameters are not optimal for reception. How would one go optimzing them? I tried to shift frequencies a little but it didn't really help.kobukinoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-20258489273849360372014-02-10T14:04:00.888-06:002014-02-10T14:04:00.888-06:00I've bought a VP2 ISS EU version (without cons...I've bought a VP2 ISS EU version (without console), and currently trying your code for reception on a Moteino/868. I've replaced the FRF array with your calculated one above for 868 MHz and adjusted the hop count, but I'm getting only garbage so far:<br /><br />0 - Data: 37 13 60 4 21 11 44 18 RSSI: -104dBm CRC: BF90<br />1 - Data: DE 88 E8 94 84 E4 16 80 RSSI: -107dBm CRC: CBCC<br />2 - Data: 59 77 3D 6F 1B FD 37 47 RSSI: -109dBm CRC: 12A<br />3 - Data: 7F E6 F9 20 7E 6B A7 E3 RSSI: -111dBm CRC: 6A71<br />4 - Data: 75 40 0 14 0 4 1A 92 RSSI: -106dBm CRC: C8D2<br /><br />Something's missing for this frequency to work. Since I don't have the console I'll need to get it working. I'll ultimately end up emulating a Davis console for alternative weather apps. Do you have any suggestions or directions to go? Anything comes to your mind I'm more than willing to test on the ISS.kobukinoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-15625114371728085092014-01-19T10:58:20.220-06:002014-01-19T10:58:20.220-06:00The zip file is back:
http://www.raydees.com/Down...The zip file is back:<br /><br />http://www.raydees.com/Downloads.htmlrdsmannoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-22318436052663721252014-01-18T15:58:29.462-06:002014-01-18T15:58:29.462-06:00Found the problem with the very first packet. I d...Found the problem with the very first packet. I don't know why, but the chip was reporting that the FifoNotEmpty and FifoLevel bits in the ReqIrqFlags2 register after powerup and reset for reasons I don't understand. This register can be cleared by writing to the FifoOverrun bit. Did this in my init routine and my first packet problem went away.<br /><br />I was also seeing packet errors during normal reception and that was caused by the LowPowerLabs code being overly chatty to the radio. Fixed that too.<br /><br />Now my reception seems to be working perfectly. Yes!DeKayhttps://www.blogger.com/profile/00914365501059600006noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-4185930762878944672014-01-16T17:46:35.394-06:002014-01-16T17:46:35.394-06:00It will be back soon. I just haven't had the ...It will be back soon. I just haven't had the time to clean it up.rdsmannoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-70178090601715107612014-01-13T18:26:30.742-06:002014-01-13T18:26:30.742-06:00I'll give that a try but I suspect the problem...I'll give that a try but I suspect the problem will always be the first frequency. It occurred to me late last night that I am not programming the frequency registers when I initialize all the rest of them, but do it a little later. Unfortunately I had very little time to play around with this stuff last weekend. Gotta leave some time this weekend!<br /><br />BTW, are you able to put up your source where you were trying to emulate the console? There is a thread on wxforum where you said you were making progress on this and then ran out of RAM. The Moteino has double the RAM, so it might be doable. I noticed that your source files for this stuff are no longer on your website.DeKayhttps://www.blogger.com/profile/00914365501059600006noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-61208443245952002172014-01-13T11:28:00.892-06:002014-01-13T11:28:00.892-06:00How about moving Hop 0 to the end and start at Hop...How about moving Hop 0 to the end and start at Hop 1 and see if it changes anything.rdsmannoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-61281057591691886202014-01-11T18:43:19.866-06:002014-01-11T18:43:19.866-06:00rdsman: it didn't help. I tried going 30 kHz ...rdsman: it didn't help. I tried going 30 kHz in the other direction too and that didn't help either. Strange...DeKayhttps://www.blogger.com/profile/00914365501059600006noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-29101000310163638782014-01-08T21:40:37.226-06:002014-01-08T21:40:37.226-06:00Thanks for the input. I'll give it a shot thi...Thanks for the input. I'll give it a shot this weekend when I get more time on my hands.DeKayhttps://www.blogger.com/profile/00914365501059600006noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-41570773512626353482014-01-07T18:26:05.954-06:002014-01-07T18:26:05.954-06:00Try (0xE3, 0xD8, 0x90) for the first hop and see i...Try (0xE3, 0xD8, 0x90) for the first hop and see if it gets rid of the problem with the first packet.rdsmannoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-20460727324943088462014-01-05T17:49:47.570-06:002014-01-05T17:49:47.570-06:00This stuff is great. I'm considering buying th...This stuff is great. I'm considering buying the barebones VP2 without its ugly and (for me at least) useless console. I'd need the console just to be able to hook the it up to the web anyway. I'm also in Europe so I'm gonna need the 868 MHz version too. If this seems doable I'll prolly buy the VP2 and test out your solution and integrate it with WeeWX or something similar (haven't decided on the SW yet).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-83286317850857194852014-01-05T12:13:59.120-06:002014-01-05T12:13:59.120-06:00Count again.
https://github.com/dekay/DavisRFM69/b...Count again.<br />https://github.com/dekay/DavisRFM69/blob/master/DavisRFM69.h<br /><br />Array is on rows 31 - 81. (81 - 31) + 1 = 51DeKayhttps://www.blogger.com/profile/00914365501059600006noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-19110638207921426512014-01-05T10:49:43.528-06:002014-01-05T10:49:43.528-06:00Thanks for helping me understand. To be honest, I ...Thanks for helping me understand. To be honest, I was not aware that more data comes when I do scroll horizontal ;-) <br /><br />When I take your frequency data above it results according to my math to what is listed below (deviation in Hz to expected values as listed above) in brackets:<br />51: 868066711 (14)<br />52: 868297119 (6)<br />53: 868527466 (59)<br />54: 868181885 (40)<br />55: 868412292 (33)<br />As all these deviations are below the Fstep of abt 61Hz these look to be the correct values.<br /><br />For the moment I don't pull, as I don't have the HW yet, which I need to produce real results and not just noise like now. When adding the lines, you might have a look at the US frequencies as well, as there seems to be missing one. I had expected 51 value triples (#0 - #50), but only #0 - #49 there.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-16098147911367554832014-01-05T10:12:06.936-06:002014-01-05T10:12:06.936-06:00Thanks for your interest. Your math is actually c...Thanks for your interest. Your math is actually correct. Here is where you are going wrong...<br />3) Fdev is not a part of this calculation. It is needed for figuring out the modulation, but not the carrier frequency<br />4) I'm not expecting Index 0 packets at 902.5 MHz. Check out the post http://madscientistlabs.blogspot.ca/2011/03/davis-frequency-hopping-sequence.html and look at the embedded spreadsheet. My example was for channel 1, not channel 0, and the sniffed RF value was 902.381925 MHz. Although that spreadsheet does have an "RF nominal" column, that doesn't mean anything today. I thought at the channels at the time would be evenly spaced, but now I know for a fact that they are not.<br /><br />I thought later that I code up the European frequencies in here too. If you beat me to it, send me a pull request. I'm trying to knock off another item from my todo list right now. My little spreadsheet that figures this all out says the European frequency array should be...<br /><br />[{0xD9, 0x04, 0x45},<br />{0xD9, 0x13, 0x04},<br />{0xD9, 0x21, 0xC2},<br />{0xD9, 0x0B, 0xA4},<br />{0xD9, 0x1A, 0x63}]DeKayhttps://www.blogger.com/profile/00914365501059600006noreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-2856565915140954752014-01-05T06:38:13.302-06:002014-01-05T06:38:13.302-06:00I tried some math with the frequency values given ...I tried some math with the frequency values given in your example. <br />1) oscillator frequency of RFM69 is: Fxosc = 32 MHz<br />2) available frequency step size of RFM69 are: 61.0351563 Hz (32 MHz / 2^19)<br />3) programmed frequence deviation for Davis is: Fdev = 4760 Hz<br />4) frequence for index 0 packets is expected to be 902.5 MHz<br />5) when I do the math on the index 0 entry in the frequency table of your code "{0xE1, 0x98, 0x71}" it results to: 0xE19871 * 61.0351563 Hz = 902.381.897 Hz <br />But that is quite a large deviation from the expected value, even when I add Fdev.<br /><br />Any idea what is wrong in my math? Unless I understand this it will be hard to do the trick for the Europe frequencies ;-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7593523188053624873.post-21981925417636860582014-01-05T05:04:18.261-06:002014-01-05T05:04:18.261-06:00In "DavisRFM69.cpp" I can see the freque...In "DavisRFM69.cpp" I can see the frequency table for US. I would love to add the one for Europe here. From this thread (http://www.wxforum.net/index.php?topic=18718.25) it looks to me like Europe ISS does hopping with just 5 frequencies:<br />Index: 00, FREQ2: 3A, FREQ1: 19, FREQ0: 45 --> 868066725Hz<br />Index: 01, FREQ2: 3A, FREQ1: 1D, FREQ0: 45 --> 868297125Hz<br />Index: 02, FREQ2: 3A, FREQ1: 21, FREQ0: 45 --> 868527525Hz<br />Index: 03, FREQ2: 3A, FREQ1: 1B, FREQ0: 45 --> 868181925Hz<br />Index: 04, FREQ2: 3A, FREQ1: 1F, FREQ0: 45 --> 868412325Hz<br /><br />Any idea how these bytes need to be recomputed to fit into the DavisRM69 frequency table schema? As numbers above are for Si1000 I guess they will not work for RFM69 without some recalculation.<br />Anonymousnoreply@blogger.com