{"id":632,"date":"2013-07-18T13:15:59","date_gmt":"2013-07-18T17:15:59","guid":{"rendered":"http:\/\/fll-freak.com\/blog\/?p=632"},"modified":"2025-04-21T00:54:36","modified_gmt":"2025-04-21T04:54:36","slug":"sundar-etc","status":"publish","type":"post","link":"https:\/\/fll-freak.com\/blog\/?p=632","title":{"rendered":"SUNDAR update"},"content":{"rendered":"<p>Been working on my SUNDAR in what little free time I have these days. Last night my Digikey order came in and I was able to get the dual channel digital potentiometer working. This will be used for a software AGC type circuit to adjust the offset and gain of the light sensor amplifier.<!--more--><\/p>\n<p>Interfacing to the MCP42010 was very simple. You simply SPI over a command byte and then a data byte. At 256 counts these parts will give fine control over the amplifier.<\/p>\n<p>I also got the interrupt driven ADC code working for the controlling Arduino. Even with the floating point filtering and AGC code, I am able to get 6K samples per second. This is way more than I need for the SUNDAR. I was thinking more like 360 samples per rotation and 1-4 rotations per second.<\/p>\n<p>After the next iteration of software development, the next issue will be the mechanicals. I did order and receive a set of slip rings from AdaFruit. But I will need to figure out a way to spin the rotating platform at 1-4 RPS. I would rather not use ferrous metals and electric motors, but that may be a pipe dream. Wind-up rubber band motor?<\/p>\n<p>In the meantime, I have had conversations with Tautic Electronics on the lightning detector board I had purchased from them that did not work. Seems the unit had a cold solder joint and they are sending me a replacement. Hope it arrives today as we are due for thunderstorms.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Been working on my SUNDAR in what little free time I have these days. Last night my Digikey order came in and I was able to get the dual channel digital potentiometer working. This will be used for a software &hellip; <a href=\"https:\/\/fll-freak.com\/blog\/?p=632\">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":[24,4,31,30],"tags":[],"class_list":["post-632","post","type-post","status-publish","format-standard","hentry","category-avc","category-lightning-detector","category-mcp42010","category-sundar"],"_links":{"self":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=632"}],"version-history":[{"count":6,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/632\/revisions"}],"predecessor-version":[{"id":1002,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/632\/revisions\/1002"}],"wp:attachment":[{"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fll-freak.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}