{"id":794,"date":"2016-07-04T10:04:12","date_gmt":"2016-07-04T17:04:12","guid":{"rendered":"http:\/\/thenscaler.com\/?p=794"},"modified":"2016-07-04T10:53:01","modified_gmt":"2016-07-04T17:53:01","slug":"update","status":"publish","type":"post","link":"https:\/\/thenscaler.com\/?p=794","title":{"rendered":"Update"},"content":{"rendered":"<p>Happy Independence Day weekend to my US readers. Well its been several months where time for railroading has been limited. Top of the list, our nine-year-old beagle developed serious back\/neck problems a few months ago that ultimately required surgery.<\/p>\n<div id=\"attachment_795\" style=\"width: 160px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/06\/Age-9-2-weeks-after-back-surgery.jpeg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-795\" class=\"wp-image-795 size-thumbnail\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/06\/Age-9-2-weeks-after-back-surgery-150x150.jpeg\" alt=\"Lewis the beagle; 2 weeks after back surgery.\" width=\"150\" height=\"150\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/06\/Age-9-2-weeks-after-back-surgery-150x150.jpeg 150w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/06\/Age-9-2-weeks-after-back-surgery-300x300.jpeg 300w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/06\/Age-9-2-weeks-after-back-surgery-50x50.jpeg 50w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/06\/Age-9-2-weeks-after-back-surgery.jpeg 400w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-795\" class=\"wp-caption-text\">Lewis the beagle; 2 weeks after back surgery.<\/p><\/div>\n<p>Little fellow is recovering and doing well with his rehabilitation program&#8211;exercises given to us by the specialty vet. Things like stairs are going to be a problem for him for a while, so he won&#8217;t be joining me in the layout room, as he usually does, in the near future.<\/p>\n<p>Even so, I have some L&amp;NC construction news along with updates on on-going projects.<\/p>\n<p>&nbsp;<\/p>\n<h2>ACS712 &#8211; How Low is Low Current<\/h2>\n<div id=\"attachment_523\" style=\"width: 160px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2015\/11\/ACS712-Board.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-523\" class=\"wp-image-523 size-thumbnail\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2015\/11\/ACS712-Board-150x150.jpg\" alt=\"ACS712 Board\" width=\"150\" height=\"150\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2015\/11\/ACS712-Board-150x150.jpg 150w, https:\/\/thenscaler.com\/wp-content\/uploads\/2015\/11\/ACS712-Board-50x50.jpg 50w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-523\" class=\"wp-caption-text\">ACS712 Board<\/p><\/div>\n<p>I&#8217;ve been exploring the limits of low current sensing with ACS712 sensors. Sparkfun markets a<a href=\"https:\/\/www.sparkfun.com\/products\/8883\" target=\"_blank\"> sensor board combining an ACS712 with an OP Amp<\/a> that they characterize as a low current sensor. I had no luck calibrating and using that sensor; if someone reading this has used it successfully, please leave a comment explaining how you calibrate and use it.\u00a0 Additional experiments with Op Amps, including creating a fairly stable instrumentation amplifier, have not been encouraging though I haven&#8217;t entirely given up and have a few possible circuit designs yet to try.<\/p>\n<p>The fundamental constraint with ACS712 sensors is that their output noise inhibits current sensing below 20 mA (officially, Allegro says that you can&#8217;t detect below 20 mA without a specially designed version of the chip; which they will happily work on for a paying customer). At higher currents, the sensor works pretty much as advertised and can be used with or without filtering. At and below 20 mA it is difficult to tell the signal from the noise without some sort of mathematical filter; the <a href=\"https:\/\/thenscaler.com\/?p=529\" target=\"_blank\">RMS method I use<\/a> can detect down to around 15 mA with an UNO&#8217;s 10 bit ADC.\u00a0 With a <a href=\"https:\/\/thenscaler.com\/?p=777\" target=\"_blank\">Mayhew Labs 14 bit ADC, I seem to get a little more sensitivity, around 12 mA, using the RMS algorithm<\/a>.<\/p>\n<p>Below 12 mA noise takes over, at least so far as short term measurements go. So I&#8217;ve been looking at data collected over longer time periods and have a preliminary method that can discern a low current signal down to around 8 mA.\u00a0 In essence, a low current change causes the long term output noise range to shift up or down depending on whether the current is increasing or decreasing. Capturing this range shift should improve practical detection sensitivity considerably. Its promising, but I still have kinks to work out of the system.<\/p>\n<p><strong>Is 1 mA sensitivity\u2014the holy grail for detecting a single 10k resistor wheelset\u2014possible with an off-the-shelf ACS712 sensor?<\/strong>\u00a0 Probably not, and that may matter to people who want to use off-the-shelf 10k resistor wheelsets.<\/p>\n<p>That does not make these inexpensive sensors useless. If you don&#8217;t mind making your own resistor wheelsets, then a single 1.5k resistor (assuming one resistor wheelset per car; two wheelsets at 3k\u2014in parallel producing a net 1.5k resistance\u2014one at each end of the car, would be a better idea for a bunch of reasons) will be detectable while still drawing under 1\/10 watt (at 11.5 volts DCC n-scale standard; higher voltages allow for more resistance). 100 wheelsets would draw less than one Amp total current. More on that when I get the system operational.<\/p>\n<p>Nevertheless, I&#8217;m curious whether a 16 bit ADC will help further resolve the low current signal. I&#8217;ll be giving that a try this summer so we will see.<\/p>\n<h2>Construction Progress<\/h2>\n<div id=\"attachment_803\" style=\"width: 160px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-803\" class=\"wp-image-803 size-thumbnail\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-1-150x150.jpg\" alt=\"Laying Track-Bed at the Red Bluff Yard.\" width=\"150\" height=\"150\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-1-150x150.jpg 150w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-1-50x50.jpg 50w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-803\" class=\"wp-caption-text\">Laying Track-Bed at the Red Bluff Yard.<\/p><\/div>\n<p>I finished drawing in the track plan, including some additional yard space, on the lower level modules and started in on laying roadbed and track.<\/p>\n<div id=\"attachment_804\" style=\"width: 310px\" class=\"wp-caption alignright\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-804\" class=\"size-medium wp-image-804\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-2-300x199.jpg\" alt=\"Roughed In Turntable\" width=\"300\" height=\"199\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-2-300x199.jpg 300w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-2-768x510.jpg 768w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/laying-trackbed-lower-level-2.jpg 900w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-804\" class=\"wp-caption-text\">Roughed In Turntable<\/p><\/div>\n<p>Roughing in the turntable was fairly straight forward. After preliminary rough siting, I installed the roundhouse base and drew in the track center-lines. That located the turntable center (the intersection of the track center lines), enabling me to cut out an appropriately sized circle to accommodate a pit I&#8217;ve already created using a plywood base and styrene strips.<\/p>\n<div id=\"attachment_811\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/pit-under-construction.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-811\" class=\"size-medium wp-image-811\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/pit-under-construction-300x199.jpg\" alt=\"Building the Turntable Pit with Styrene Strips glued to a plywood base.\" width=\"300\" height=\"199\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/pit-under-construction-300x199.jpg 300w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/pit-under-construction-768x510.jpg 768w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/pit-under-construction.jpg 900w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-811\" class=\"wp-caption-text\">Building the Turntable Pit with Styrene Strips glued to a plywood base.<\/p><\/div>\n<p>The turntable project is a major layout item in its own right and will be the subject of multiple future posts.<\/p>\n<div id=\"attachment_805\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-under-construction.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-805\" class=\"size-medium wp-image-805\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-under-construction-300x199.jpg\" alt=\"Laying Track for the Yard\" width=\"300\" height=\"199\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-under-construction-300x199.jpg 300w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-under-construction-768x510.jpg 768w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-under-construction.jpg 900w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-805\" class=\"wp-caption-text\">Laying Track for the Yard<\/p><\/div>\n<p>It took a few sessions, but I laid all the lower level track except for the turntable\/<a href=\"https:\/\/thenscaler.com\/?p=302\" target=\"_blank\">roundhouse <\/a>area (which I will do when I install the turntable) and joined it with the helix.<\/p>\n<div id=\"attachment_806\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Lower-Level-main-tracklaying-complete.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-806\" class=\"size-large wp-image-806\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Lower-Level-main-tracklaying-complete-1024x768.jpg\" alt=\"Tracklaying on Lower Level Done.\" width=\"610\" height=\"458\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Lower-Level-main-tracklaying-complete-1024x768.jpg 1024w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Lower-Level-main-tracklaying-complete-300x225.jpg 300w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Lower-Level-main-tracklaying-complete-768x576.jpg 768w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Lower-Level-main-tracklaying-complete.jpg 1200w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-806\" class=\"wp-caption-text\">Track-laying on Lower Level Done.<\/p><\/div>\n<div id=\"attachment_809\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-Track-1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-809\" class=\"wp-image-809 size-medium\" src=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-Track-1-300x199.jpg\" alt=\"Track Laid and Ready for Painting and Ballast.\" width=\"300\" height=\"199\" srcset=\"https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-Track-1-300x199.jpg 300w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-Track-1-768x510.jpg 768w, https:\/\/thenscaler.com\/wp-content\/uploads\/2016\/07\/Yard-Track-1.jpg 900w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-809\" class=\"wp-caption-text\">Track Laid and Ready for Painting and Ballast.<\/p><\/div>\n<p>For those interested in the nitty-gritty of track laying techniques, I used adhesives rather than mechanical fasteners for all roadbed and track. I use Liquid Nails for projects (water based) to adhere foam to wood, and anything else to foam. For the track I used DAP ALEX clear latex silicone caulk, deploying T-pins to hold the track in position while the caulk cures (just a few hours). What I like most about this method is that once cured the adhesive is completely invisible creating a nice base upon which to detail the track. Now that I&#8217;ve used clear caulk for track laying, I can&#8217;t imagine using a grey (and definitely not white) product unless the color closely matches the intended ballast color.<\/p>\n<p>I don&#8217;t know if you can tell from the photograph of the whole lower level above, but the <a href=\"https:\/\/thenscaler.com\/?p=477\" target=\"_blank\">lighting system using Addressable LEDS that I&#8217;ve devised<\/a> is working rather well (granted the wiring needs\u00a0 tidying up; I&#8217;ll get to that eventually).<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Happy Independence Day weekend to my US readers. Well its been several months where time for railroading has been limited. Top of the list, our nine-year-old beagle developed serious back\/neck problems a few months ago that ultimately required surgery. Little fellow is recovering and doing well with his rehabilitation program&#8211;exercises given to us by the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":806,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,35,8],"tags":[46,36,29,58,47,18,59],"class_list":["post-794","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-construction","category-electronics","category-materials","tag-acs712-sensor","tag-addressable-led","tag-alex-caulk","tag-analog-to-digital-conversion","tag-block-occupancy-detection","tag-liquid-nails-for-projects","tag-track-laying"],"_links":{"self":[{"href":"https:\/\/thenscaler.com\/index.php?rest_route=\/wp\/v2\/posts\/794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thenscaler.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thenscaler.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thenscaler.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thenscaler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=794"}],"version-history":[{"count":10,"href":"https:\/\/thenscaler.com\/index.php?rest_route=\/wp\/v2\/posts\/794\/revisions"}],"predecessor-version":[{"id":813,"href":"https:\/\/thenscaler.com\/index.php?rest_route=\/wp\/v2\/posts\/794\/revisions\/813"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thenscaler.com\/index.php?rest_route=\/wp\/v2\/media\/806"}],"wp:attachment":[{"href":"https:\/\/thenscaler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thenscaler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thenscaler.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}