{"id":11779,"date":"2021-11-12T12:45:09","date_gmt":"2021-11-12T17:45:09","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/?p=11779"},"modified":"2021-11-12T12:51:46","modified_gmt":"2021-11-12T17:51:46","slug":"project-2-meiger-counters","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/project-2-meiger-counters\/","title":{"rendered":"Project 2: Meiger Counters"},"content":{"rendered":"<h1>Meiger Counters<\/h1>\n<div id=\"attachment_11796\" style=\"width: 2570px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-11796\" loading=\"lazy\" class=\"wp-image-11796 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-scaled.jpg\" alt=\"Meiger Counter pointing at a ceiling ligtht\" width=\"2560\" height=\"1711\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-300x201.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-1024x684.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-768x513.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-1536x1027.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-2048x1369.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-973x650.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0035-508x340.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11796\" class=\"wp-caption-text\">Meiger Counter pointing at a ceiling ligtht<\/p><\/div>\n<h2><strong>Description<\/strong><\/h2>\n<p class=\"p1\">A plain, black carrying case usually meant for industrial tools with two cutouts in the foam.<\/p>\n<p class=\"p1\">Perfectly fit into the cutouts are two handheld meter-shaped devices, with boxy tops and a yellowed, plastic look. The handheld portions are opaque, while the top and bottom caps are made of a semi-translucent plastic. When taken out of their case and held in one hand, the user can see a meter labeled &#8220;magnetic field&#8221; going from 1 to 5 on the back. The front face on both meters is covered with an old, paper grid of red lines on yellowed paper. For one of the meters, the front features a coil wound around a stick, while on the other, a flat coil sits flush on the front surface.<\/p>\n<p class=\"p1\">The meters emit a click noise intermittently, around once or twice a second. When a user holds them close to an electrical device, the meters begin to click much more rapidly, blending together into a stream of pulses. Most devices will trigger this faster click rate: lights, wall adaptors, chargers, computers.<span class=\"Apple-converted-space\"> The LEDs flicker whenever a click is emitted, and the meter&#8217;s hand on the back corresponds roughly to the clicking rate.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Final Photos + Function<\/strong><\/h2>\n<div id=\"attachment_11817\" style=\"width: 2526px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11817\" loading=\"lazy\" class=\"wp-image-11817 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1.jpg\" alt=\"Removing Meiger counters from their carrying case\" width=\"2516\" height=\"1936\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1.jpg 2516w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1-300x231.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1-1024x788.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1-768x591.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1-1536x1182.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1-2048x1576.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1-973x749.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0031-1-508x391.jpg 508w\" sizes=\"(max-width: 2516px) 100vw, 2516px\" \/><p id=\"caption-attachment-11817\" class=\"wp-caption-text\">Removing Meiger counters from their carrying case<\/p><\/div>\n<div id=\"attachment_11814\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11814\" loading=\"lazy\" class=\"wp-image-11814 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-scaled.jpg\" alt=\"Mid-presentation: Andy standing in front of a slide which shows a graph of cancer rate vs childhood magnetic field exposure\" width=\"2560\" height=\"1711\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-300x201.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-1024x684.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-768x513.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-1536x1027.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-2048x1369.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-973x650.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/DSC_0028-508x340.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11814\" class=\"wp-caption-text\">Mid-presentation: Andy standing in front of a slide which shows a graph of cancer rate vs childhood magnetic field exposure<\/p><\/div>\n<div id=\"attachment_11809\" style=\"width: 2125px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11809\" loading=\"lazy\" class=\"wp-image-11809 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-scaled.jpg\" alt=\"2nd generation Meiger counter, with a flat pack coil and round LED on top\" width=\"2115\" height=\"2560\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-scaled.jpg 2115w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-248x300.jpg 248w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-846x1024.jpg 846w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-768x930.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-1269x1536.jpg 1269w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-1692x2048.jpg 1692w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-973x1178.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/yea-508x615.jpg 508w\" sizes=\"(max-width: 2115px) 100vw, 2115px\" \/><p id=\"caption-attachment-11809\" class=\"wp-caption-text\">2nd generation Meiger counter, with a flat pack coil and round LED on top<\/p><\/div>\n<div id=\"attachment_11799\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11799\" loading=\"lazy\" class=\"wp-image-11799 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-scaled.jpeg\" alt=\"The two prototype Meiger counters in their carrying case, with the batteries removed and stored in a separate compartmenta\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-scaled.jpeg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-300x225.jpeg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-1024x768.jpeg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-768x576.jpeg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-1536x1152.jpeg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-2048x1536.jpeg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-973x730.jpeg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/mFjTV-508x381.jpeg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11799\" class=\"wp-caption-text\">The two prototype Meiger counters in their carrying case, with the batteries removed and stored in a separate compartmenta<\/p><\/div>\n<div style=\"width: 620px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-11779-1\" width=\"620\" height=\"349\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/My-Movie2.mp4?_=1\" \/><a href=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/My-Movie2.mp4\">https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/My-Movie2.mp4<\/a><\/video><\/div>\n<div style=\"width: 620px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-11779-2\" width=\"620\" height=\"349\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/My-Movie.mp4?_=2\" \/><a href=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/My-Movie.mp4\">https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/My-Movie.mp4<\/a><\/video><\/div>\n<p>&nbsp;<\/p>\n<h2><strong>Process Reflection<\/strong><\/h2>\n<p class=\"p1\">I began this project like I usually do; procrastinating in the name of planning. Wait, honestly, I&#8217;m not sure that&#8217;s true. Making a jig helps you make a cabinet later, and proper planning prevents for potential problems. Anyway, Erin gave me a kick in the ass when she accused me of planning so I would never have to start working. Blunt works well with me, I started later that day. Because of how early I finished my first prototype, I finally had the chance to make a 2nd iteration of something.<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<p class=\"p1\">Electronics &#8211; Fairly simple, thanks to about $50 of adafruit boards lying around the physcomp lab. I struggled a bit miniaturizing everything to fit into the shell of the barcode scanner, but I switched to a smaller microcontroller and had a good time with it.<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<p class=\"p1\">Physical construction &#8211; Watching Tom&#8217;s project from last time, I realized that it&#8217;s easy to make something look good if you&#8217;re just repurposing something that already existed. I&#8217;m telling you this at risk to my own grade because I think it&#8217;s a bit exclusionary <span class=\"s1\">\u2014<\/span> not everyone is into vintage consumer electronics or has the money to buy them, but they do look good. And yes, while it&#8217;s possible to use class budget to buy these things, it&#8217;s more of a mindset where you&#8217;re aware that you can trade money for part of your project to look good already.<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<p class=\"p1\">Anyway, I had these leftover handles from the last handheld barcode scanner to include a full sized HeNe tube to generate the laser. I needed to replace both the bottom cap and the top section, and luckily I had a 3D printer with just the right color of resin. The prints each took about 4 hours, and the first one did not fit properly. Good thing I had a second iteration! Little traps in the physical design &#8211; the speaker grills I added did not work, and the ammeter did not initially fit into the shell. These were things I forgot to fix in my 2nd go at it, probably because I just never wrote them down.<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<p class=\"p1\">Also working with foam is hard, and the cutouts I made didn&#8217;t look very smooth at all. Sanding the case&#8217;s letters off also took a long time. Overall, I think the case and the presentation helped set up the ambiance I wanted to create. And I&#8217;m glad people walked around with the Meiger counters and explored the evil electromagnetic devices around them; that&#8217;s the point of my project! However, most people in the class looked bored\/sleepy when I presented, probably because they had just stayed up all night to finish their projects! I should have thought of that, but I wanted to try something more serious. I can do playful &amp; tongue-in-cheek just fine. I still think that part didn&#8217;t really work out; I felt rushed while presenting because I didn&#8217;t want to bore anybody. Not sure how to fix that, presentations are either boring or funny.<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<p class=\"p1\">I wanted to try something serious because I know that it will be important. One day I will not be young, and people will not give me a pass to be childlike. I want to always be childlike, so full of wonder and excitement about the world around me, but seriousness is required for adult situations and I&#8217;ve never practiced that. The Little Prince is a great book to read yearly. Anyway, not sure I pulled that one off properly. Maybe I&#8217;m just not cut out for seriousness and should instead pursue some alternative method to gain ethos while presenting something. Any ideas welcome!<span class=\"Apple-converted-space\">\u00a0<\/span><\/p>\n<h2><strong>In-Progress Photos<\/strong><\/h2>\n<div id=\"attachment_11804\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11804\" loading=\"lazy\" class=\"wp-image-11804 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-scaled.jpg\" alt=\"Guts of the first Meiger counter, not yet placed into the shell. Bottom cap of the Mieger counter is sitting next to it\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3535-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11804\" class=\"wp-caption-text\">Guts of the first Meiger counter, not yet placed into the shell. Bottom cap of the Mieger counter is sitting next to it. Features antenna, speaker, and amplifier.<\/p><\/div>\n<div id=\"attachment_11807\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11807\" loading=\"lazy\" class=\"wp-image-11807 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-scaled.jpg\" alt=\"Miniaturized guts, same parts as the previous photo except with a Seeeduino Xiao instead of an Arduino. This uC is crazy good, and it is tiny. I'm just beginning to glue everything down inside the 2nd iteration of the Meiger\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3591-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11807\" class=\"wp-caption-text\">Miniaturized guts, same parts as the previous photo except with a Seeeduino Xiao instead of an Arduino. This uC is crazy good, and it is tiny. I&#8217;m just beginning to glue everything down inside the 2nd iteration of the Meiger<\/p><\/div>\n<div id=\"attachment_11803\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11803\" loading=\"lazy\" class=\"wp-image-11803 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-scaled.jpg\" alt=\"Resin printed top shell of the Meiger counters, right after curing. Needs sanding. \" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3499-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11803\" class=\"wp-caption-text\">Resin printed top shell of the Meiger counters, right after curing. Needs sanding.<\/p><\/div>\n<div id=\"attachment_11802\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11802\" loading=\"lazy\" class=\"wp-image-11802 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-scaled.jpg\" alt=\"Failure of white paint to cover the initial labels of the ammeters. I ended up printing out &quot;magnetic field&quot; labels and putting them over the originals\" width=\"1920\" height=\"2560\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-scaled.jpg 1920w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3515-508x677.jpg 508w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><p id=\"caption-attachment-11802\" class=\"wp-caption-text\">Failure of white paint to cover the initial labels of the ammeters. I ended up printing out &#8220;magnetic field&#8221; labels and putting them over the originals<\/p><\/div>\n<div id=\"attachment_11805\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11805\" loading=\"lazy\" class=\"wp-image-11805 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-scaled.jpg\" alt=\"Removing the DeWalt logo using sandpaper. I should've used acetone, it would have been much faster\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3587-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11805\" class=\"wp-caption-text\">Removing the DeWalt logo using sandpaper. I should&#8217;ve used acetone, it would have been much faster<\/p><\/div>\n<div id=\"attachment_11806\" style=\"width: 2570px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-11806\" loading=\"lazy\" class=\"wp-image-11806 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-scaled.jpg\" alt=\"Prepping the foam to fit into the case. I had to cut down much of the foam for it to even go in the bounds, and even then it looked a bit patchy. \" width=\"2560\" height=\"1920\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-scaled.jpg 2560w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-content\/uploads\/2021\/11\/IMG_3577-508x381.jpg 508w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><p id=\"caption-attachment-11806\" class=\"wp-caption-text\">Prepping the foam to fit into the case. I had to cut down much of the foam for it to even go in the bounds, and even then it looked a bit patchy.<\/p><\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">#define speakerNum 7\r\n#define dialNum 3\r\n#define trigger 6\r\n\r\n\r\nfloat curRad = 0.0;\r\nlong now = 0;\r\n\r\n\/\/ Click timing\r\nint lambda = 4;\r\nint next = 0;\r\n\r\n\/\/ Click rate measurement\r\nfloat rate = 0.0;\r\nint numInLast100 = 0;\r\nlong timeSinceLast100 = 0;\r\n\r\nvoid setup() {\r\n    pinMode(speakerNum, OUTPUT);\r\n    pinMode(dialNum, OUTPUT);\r\n    pinMode(trigger, INPUT_PULLUP);\r\n    Serial.begin(115200);\r\n    \r\n}\r\n\r\n\r\n\/\/ Storing the samples that we read in\r\nconst int numsamples = 100;\r\ndouble yea[numsamples];\r\nint ind = 0;\r\n\r\nvoid loop() {\r\n    \/\/ Calculate the exponential timing for the geiger counter\r\n    if ((millis()-now) &gt; next){\r\n        next = -log(1.0-float(random(1000))\/1000.0)\/lambda*1000;\r\n        if (!digitalRead(trigger)){\r\n            digitalWrite(speakerNum, HIGH);\r\n        }\r\n        delayMicroseconds(40);\r\n        digitalWrite(speakerNum, LOW);\r\n        now = millis();\r\n        numInLast100 += 1;\r\n    }\r\n\r\n    \/\/ Calculate rate to output to the ammeter\r\n    if (millis()-timeSinceLast100 &gt; 100){\r\n        rate = float(numInLast100)*100*.3 + rate*.7;\r\n        analogWrite(dialNum, min(rate,255.0));\r\n        numInLast100 = 0;\r\n        timeSinceLast100 = millis();\r\n    }\r\n\r\n    yea[ind] = analogRead(A0);\r\n    \r\n    ind += 1;\r\n    ind %= numsamples;\r\n    float A0var = variance(yea, numsamples);\r\n    \/\/ set the new clicking rate based on the variance of the EMI around it\r\n    lambda = sqrt(min(map(A0var, 0, 1000, 1,30),500));\r\n    Serial.println(lambda);\r\n    \r\n}\r\n\r\n\r\n\r\n\r\n\/\/ Calculates the variance of a list of numbers\r\nfloat variance(double a[], int n) {   \r\n    \/\/ Compute mean (average of elements) \r\n    double sum = 0; \r\n    \r\n    for (int i = 0; i &lt; n; i++) sum += a[i];    \r\n    double mean = (double)sum \/ (double)n; \r\n    \/\/ Compute sum squared differences with mean. \r\n    double sqDiff = 0; \r\n    for (int i = 0; i &lt; n; i++) \r\n        sqDiff += (a[i] - mean) * (a[i] - mean); \r\n    return (float)sqDiff \/ n; \r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Meiger Counters Description A plain, black carrying case usually meant for industrial tools with two cutouts in the foam. Perfectly fit into the cutouts are two handheld meter-shaped&#8230;<\/p>\n","protected":false},"author":136,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[186,89],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts\/11779"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/users\/136"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/comments?post=11779"}],"version-history":[{"count":4,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts\/11779\/revisions"}],"predecessor-version":[{"id":11825,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/posts\/11779\/revisions\/11825"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/media?parent=11779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/categories?post=11779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2021\/wp-json\/wp\/v2\/tags?post=11779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}