{"id":113,"date":"2015-01-11T15:13:03","date_gmt":"2015-01-11T14:13:03","guid":{"rendered":"http:\/\/www.sevenwatt.com\/main\/?p=113"},"modified":"2016-01-10T14:51:06","modified_gmt":"2016-01-10T13:51:06","slug":"rfm69-ook-signals-sampled-with-rssi","status":"publish","type":"post","link":"https:\/\/www.sevenwatt.com\/main\/rfm69-ook-signals-sampled-with-rssi\/","title":{"rendered":"RFM69 OOK signals sampled with RSSI"},"content":{"rendered":"<p>By polling the RFM69 RSSI register at rates ranging from 25us to 100us, an oscilloscope like picture can be generated for OOK signals.<\/p>\n<p><script type=\"text\/javascript\" src=\"\/\/www.sevenwatt.com\/data\/dygraph-combined.js\"><\/script><\/p>\n<div id=\"graphdiv1\" style=\"height:200px;\"><\/div>\n<div id=\"graphdiv2\" style=\"height:200px;\"><\/div>\n<div id=\"graphdiv3\" style=\"height:200px;\"><\/div>\n<p><script type=\"text\/javascript\">g1 = new Dygraph(document.getElementById(\"graphdiv1\"),\"\/\/www.sevenwatt.com\/data\/rfm69\/433hr-kaku1.log\",{title: 'Klik-Aan-Klik-Out - old',showRangeSelector: true} );g2 = new Dygraph(document.getElementById(\"graphdiv2\"),\"\/\/www.sevenwatt.com\/data\/rfm69\/433hr-os2.log\",{title: 'Oregon scientific outdoor sensor - V1 protocol',showRangeSelector: true}); g3 = new Dygraph(document.getElementById(\"graphdiv3\"),\"\/\/www.sevenwatt.com\/data\/rfm69\/433hr-phi1.log\",{title: 'Philips temperature sensor',showRangeSelector: true});<\/script><br \/>\n<!--more--><br \/>\nThis has been achieved using a RFM69 interface to a Nucleo STM32 F103RB board, and using ChibiOs V3. The RSSI register is polled with a maximum rate of 25us. The 8-bit values are stored in a circular buffer of 10000 samples. A high RSSI value is used as a trigger, after which at maximum the full buffer length will be acquired. However, a pre-time is defined (10 ms in this case), giving the opportunity to have some acquired signal before the trigger happens. After sampling has been completed, the data is printed over the serial line for further storage and graphing.<\/p>\n<p>Realtime data can only be acquired with a minimum of 100us. Sending one byte per sample over the 115200bps serial ink is the limitation. This requires processing SW at the receiving side.<\/p>\n<p>Code will soon be posted in github.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By polling the RFM69 RSSI register at rates ranging from 25us to 100us, an oscilloscope like picture can be generated for OOK signals.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7,27,15],"tags":[6,32,28,33,58],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-ook","category-picos-arm","category-rfm69","tag-868mhz","tag-arduino","tag-jeenode","tag-nucleo","tag-ook"],"_links":{"self":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":9,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/posts\/113\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sevenwatt.com\/main\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}