{"id":588,"date":"2013-04-02T20:12:33","date_gmt":"2013-04-03T00:12:33","guid":{"rendered":"http:\/\/fll-freak.com\/blog\/?p=588"},"modified":"2025-04-21T00:54:36","modified_gmt":"2025-04-21T04:54:36","slug":"as3935-code-is-on-github","status":"publish","type":"post","link":"http:\/\/fll-freak.com\/blog\/?p=588","title":{"rendered":"AS3935 code is on GitHub"},"content":{"rendered":"<p>I took my first jump into GitHub as a contributor. I put my current AS3935 based application called &#8220;Striker&#8221; into the repository. You can find it here:<\/p>\n<p><a title=\"Striker\" href=\"https:\/\/github.com\/SkyeSweeney\/Striker\">https:\/\/github.com\/SkyeSweeney\/Striker<\/a><\/p>\n<p>This should now get me off the hook for several of you asking for the code!<\/p>\n<p>Please note that I am using full bit-banging I2C interface. It turns out the AS3935 bug is not just on the first read of register 0, but all reads and writes of it. I had considered a hybrid solution of using the Wire library to access the bulk of the registers and a bit bang solution for register 0. But it practice this was painful to implement.<\/p>\n<p>What I hope to do is look at the Wire library and &#8216;adjust&#8217; it to ignore the incorrect NAK during the address cycle for register 0. But that will have to wait.<\/p>\n<p>You will also notice that the Arduino has a pin to control an LED, a horn, and a silence switch. It also has a pin to control a spark generator to provide self test capability. This is not tested yet as my oscilloscope had to go back for service before I could get the lightning simulator working.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I took my first jump into GitHub as a contributor. I put my current AS3935 based application called &#8220;Striker&#8221; into the repository. You can find it here: https:\/\/github.com\/SkyeSweeney\/Striker This should now get me off the hook for several of you &hellip; <a href=\"http:\/\/fll-freak.com\/blog\/?p=588\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,28,4],"tags":[],"class_list":["post-588","post","type-post","status-publish","format-standard","hentry","category-arduino","category-as3935","category-lightning-detector"],"_links":{"self":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=588"}],"version-history":[{"count":2,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/588\/revisions"}],"predecessor-version":[{"id":590,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/588\/revisions\/590"}],"wp:attachment":[{"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=588"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}