{"id":5067,"date":"2012-03-09T14:46:15","date_gmt":"2012-03-09T20:46:15","guid":{"rendered":"http:\/\/mightyohm.com\/blog\/?p=5067"},"modified":"2015-09-26T11:10:57","modified_gmt":"2015-09-26T18:10:57","slug":"how-to-use-geiger-bot-with-the-mightyohm-geiger-counter","status":"publish","type":"post","link":"https:\/\/mightyohm.com\/blog\/2012\/03\/how-to-use-geiger-bot-with-the-mightyohm-geiger-counter\/","title":{"rendered":"How to use Geiger Bot with the MightyOhm Geiger Counter"},"content":{"rendered":"<p><a href=\"http:\/\/mightyohm.com\/blog\/2012\/03\/how-to-use-geiger-bot-with-the-mightyohm-geiger-counter\/\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"http:\/\/farm8.staticflickr.com\/7200\/6965345197_0217927f99.jpg\" title=\"Geiger Bot\" class=\"alignnone\" width=\"500\" height=\"375\" \/><\/a><\/p>\n<p><a href=\"https:\/\/sites.google.com\/site\/geigerbot\/\">Geiger Bot<\/a> is an <a href=\"http:\/\/www.apple.com\">iOS<\/a> application that allows you use your iPhone or iPad as a sophisticated display for an ordinary Geiger counter. It works with most Geiger counters that make an audible &#8220;click&#8221; for each event or count that is detected.<\/p>\n<p>Here&#8217;s how to get your <a href=\"http:\/\/mightyohm.com\/geiger\">MightyOhm Geiger Counter<\/a> working with Geiger Bot. These instructions were tested with an iPhone 4, but should work with other iOS devices (iPads and other versions of the iPhone).<\/p>\n<p><!--more--><\/p>\n<h3>Connecting your MightyOhm Geiger Counter to an iOS device<\/h3>\n<p>The documentation that comes with Geiger Bot claims that you can collect data by holding your Geiger counter up to the microphone of your iOS device. I didn&#8217;t find this to be the case &#8211; the number of counts registered was inconsistent and strongly affected by background noise. A direct connection is definitely preferable, so we need devise a way to connect our Geiger counter to our iOS device.<\/p>\n<p>The easiest way to do this is by using the microphone input. Apple uses a 3.5mm 4-way headset connector that is somewhat unusual (you&#8217;re not going to find it at Radio Shack). The easiest way to get your hands on the proper connector is to cannibalize a wired headset. Bonus: You get a short length of nice flexible cable for free!<\/p>\n<p>While you could use a genuine Apple headset for this, the quality of the headset isn&#8217;t important (since we&#8217;re just going to cut it apart anyway). Use the cheapest headset you can find. This one, by Miztech was <a href=\"http:\/\/www.frys.com\/product\/5879003?site=sr:SEARCH:MAIN_RSLT_PG\">$3.99 at my local Fry&#8217;s Electronics<\/a>:<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6819218778\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7198\/6819218778_cd81e630f4.jpg\" alt=\"Cheap iPhone headset\" width=\"375\" height=\"500\" \/><\/a><\/p>\n<p>The sales rep actually tried to steer me away from buying such an awful headset (I tested it, the audio quality is horrible), but quickly disappeared after I tried to explain what I planned to do with it.<\/p>\n<p>The pinout of the headset connector is <a href=\"http:\/\/pinoutsguide.com\/HeadsetsHeadphones\/blackberry_9700_headset_pinout.shtml\">well-documented online<\/a>, but here&#8217;s a quick diagram:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6965473021\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7052\/6965473021_f888bde977_n.jpg\" alt=\"iPhone headset connector pinout\" width=\"320\" height=\"155\" \/><\/a><\/p>\n<p>We don&#8217;t care about the left and right audio outputs. What we&#8217;re interested in is the microphone input and the &#8220;common&#8221; pin, which we will tie to ground. <\/p>\n<p>Cut the headset wire just before it reaches the strain relief for the microphone and strip away about an inch of the insulation to expose the wires inside. Use your soldering iron to tin each of the wires. It takes a few seconds, but the enamel insulation will dissolve into the solder, exposing the copper wires underneath:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6965343183\/in\/set-72157629177988412\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7065\/6965343183_988e54ff4b_n.jpg\" alt=\"Headset cable\" width=\"320\" height=\"240\" \/><\/a><\/p>\n<p>Use your DMM or other continuity tester to determine which wire color corresponds to which pin on the headset connector.<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6965473139\/in\/set-72157629177988412\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7051\/6965473139_717b7f29af_n.jpg\" alt=\"Headset wiring\" width=\"320\" height=\"240\" \/><\/a><br \/>\nThe wire colors vary for different headsets. (Apple uses a completely different scheme for their headsets, and combines the microphone wires in a single twisted pair.) In my case, two samples of the same headset had a different pin assignment (no wonder they didn&#8217;t work so well!)<\/p>\n<p>The <a href=\"http:\/\/mightyohm.com\/geiger\">MightyOhm Geiger Counter<\/a> outputs a short (100 microsecond) pulse on pin 2 of header J6 (marked <strong>PULSE<\/strong>) every time an event is detected. This pulse, which is active high, swings all the way from ground to the full battery voltage of the kit, typically around 3V.<\/p>\n<p>The iPhone microphone input expects a much smaller signal, less than 100mV. (I measured that the microphone input starts clipping around 40mVpp @ 1kHz!) <\/p>\n<p>Before we connect the Geiger kit to the microphone input, we need to reduce pulse signal amplitude to levels that are compatible with our iOS device. This simple circuit will do the trick:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6819286306\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7048\/6819286306_e855f6008d_n.jpg\" alt=\"Geiger Bot interface schematic\" width=\"320\" height=\"66\" \/><\/a><\/p>\n<p>C1 is a ceramic (nonpolarized) capacitor and R1 &#038; R2 are common 1\/8W carbon resistors.<\/p>\n<p>I built the circuit on a small piece of protoboard and parts I had in the lab.<\/p>\n<p>http:\/\/www.flickr.com\/photos\/mightyohm\/6965344747\/in\/set-72157629177988412<\/p>\n<p>&#8230;and used hot glue to protect the delicate headset wires.  I made sure to provide ample strain relief for the headset cable. When plugged into the Geiger kit, the resulting adapter looks sort of like a diving board hanging off the side:<\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6965339917\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7195\/6965339917_53ef2466c7_n.jpg\" alt=\"Geiger Bot interface\" width=\"320\" height=\"240\" \/><\/a><\/p>\n<p>It&#8217;s not pretty, but it works! <\/p>\n<h3>Configuring Geiger Bot<\/h3>\n<p>If you haven&#8217;t already, open the Apple App Store and install the <a href=\"http:\/\/itunes.apple.com\/us\/app\/geiger-bot\/id427728355?mt=8\">Geiger Bot application<\/a>.<\/p>\n<p>Launch Geiger Bot and you should see the home screen:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6821253878\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7192\/6821253878_d2e1d95e7d_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>Click on the small gear icon to open the settings menu:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6965298167\/in\/set-72157629177988412\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7188\/6965298167_8b3ee9436a_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>Select <strong>Geiger Counter<\/strong><br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6819175340\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7190\/6819175340_f5955ee965_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>Select <strong>Custom GM Tube&#8230;<\/strong><br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6819175366\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7192\/6819175366_f58212bbdb_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>You can leave the <strong>Conversion Factor<\/strong> and <strong>Offset<\/strong> alone for now. Select <strong>I\/O Settings&#8230;<\/strong><br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6819175388\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7061\/6819175388_a000b3dbef_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>I experienced lots of missed counts with <strong>Auto Adjust<\/strong> enabled, so against the author&#8217;s instructions I suggest turning it <strong>OFF<\/strong>.  <strong>RMS Window<\/strong> and <strong>Delay Windows<\/strong> didn&#8217;t seem to have much of an effect, but I recommend starting with <strong>RMS Window = 1<\/strong> and <strong>Delay Windows = 30<\/strong>. The <strong>Volume Threshold<\/strong> is the most critical adjustment, and I recommend setting this to <strong>20000<\/strong>.<\/p>\n<p>Scroll down to see more settings:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6965298265\/in\/set-72157629177988412\/\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7049\/6965298265_dd1704344e_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>The other critical setting is <strong>Ultrafast Rates<\/strong>, this needs to be turned <strong>ON<\/strong> to get reliable counts with my kit (I think this is because the pulse length is short compared to other kits). Leave the rest of the settings at the default values.<\/p>\n<p>Return to the settings page and click <strong>Done<\/strong> to return to the Geiger Bot application.<\/p>\n<h3>Testing<\/h3>\n<p>Make sure your Geiger counter is connected to your iOS device. Turn the Geiger counter on. Within a few seconds, you should start seeing counts register on the display:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6819175246\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7066\/6819175246_2106471419_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>If you touch the right arrow under the graph a couple times, you can see a display of the pulse signal as intepreted by Geiger Bot. Each vertical peak is a detection event, blue pulses are registered as counts, while black pulses are ignored:<br \/>\n<a href=\"http:\/\/www.flickr.com\/photos\/mightyohm\/6819175302\/in\/set-72157629177988412\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/7197\/6819175302_bfdbd22628_z.jpg\" alt=\"Geiger Bot\" width=\"427\" height=\"640\" \/><\/a><\/p>\n<p>The red line is the volume threshold, and this should be comfortably below the minimum level of the peaks, or you will occasionally miss pulses. If your display looks similar to the one shown, Geiger Bot is working.<\/p>\n<p>That&#8217;s it! For more information about Geiger Bot and how to use its many features, consult the <a href=\"https:\/\/sites.google.com\/site\/geigerbot\/docs\">Geiger Bot documentation<\/a>.<\/p>\n<p>Hopefully this helps everyone who has been asking for a way to use <a href=\"https:\/\/sites.google.com\/site\/geigerbot\/\">Geiger Bot<\/a> with the <a href=\"http:\/\/mightyohm.com\/geiger\">MightyOhm Geiger Counter kit<\/a>!<\/p>\n<p>Enjoy!<\/p>\n<p>Comments or questions? <a href=\"http:\/\/mightyohm.com\/forum\/viewforum.php?f=15\">Post in the support forum!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Geiger Bot is an iOS application that allows you use your iPhone or iPad as a sophisticated display for an ordinary Geiger counter. It works with most Geiger counters that make an audible &#8220;click&#8221; for each event or count that is detected. Here&#8217;s how to get your MightyOhm Geiger Counter working with Geiger Bot. These &hellip; <a href=\"https:\/\/mightyohm.com\/blog\/2012\/03\/how-to-use-geiger-bot-with-the-mightyohm-geiger-counter\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to use Geiger Bot with the MightyOhm Geiger Counter<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[65,432],"tags":[401,450,446,108,420,447,448],"class_list":["post-5067","post","type-post","status-publish","format-standard","hentry","category-kits","category-tutorials","tag-geiger","tag-geigerbot","tag-interface","tag-iphone","tag-kits-2","tag-mobile","tag-tutorial"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pioCd-1jJ","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":15960,"url":"https:\/\/mightyohm.com\/blog\/2023\/11\/mightyohm-geiger-counter-kits-on-sale-at-elektor-com\/","url_meta":{"origin":5067,"position":0},"title":"MightyOhm Geiger Counter Kits on sale at elektor.com","author":"admin","date":"November 7, 2023","format":false,"excerpt":"Elektor is currently offering a promotion on MightyOhm Geiger Counter Kits. These are the same kits that I have sold at very popular workshops at ToorCamp and Chaos Camp. The kit bundle that Elektor is selling includes the base Geiger counter kit, plastic laser-cut case, sensitive SBM-20 Geiger tube, and\u2026","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/mightyohm.com\/blog\/category\/announcements\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9680,"url":"https:\/\/mightyohm.com\/blog\/2018\/06\/elektor-is-now-selling-mightyohm-geiger-counter-kits-in-the-eu\/","url_meta":{"origin":5067,"position":1},"title":"Elektor is now selling MightyOhm Geiger Counter kits in the EU!","author":"Jeff","date":"June 27, 2018","format":false,"excerpt":"Elektor, publisher of the well-known European electronics magazine, is now selling the MightyOhm Geiger Counter kit in their webstore.","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/mightyohm.com\/blog\/category\/announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2018\/06\/2018-06-27_23-04-51-1.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15706,"url":"https:\/\/mightyohm.com\/blog\/2022\/07\/hello-toorcamp-mightyohm-geiger-counter-kits-now-on-sale-amazon\/","url_meta":{"origin":5067,"position":2},"title":"Hello ToorCamp! MightyOhm Geiger Counter Kits now on sale @ Amazon","author":"Jeff","date":"July 15, 2022","format":false,"excerpt":"https:\/\/www.flickr.com\/photos\/mightyohm\/7818465862\/ Hello ToorCamp! I couldn't make it to camp this year, but to celebrate the awesomeness that is ToorCamp and past Geiger Counter workshops, MightyOhm Geiger Counter kits are on sale now at Amazon.com. PS: As pictured above, this is one of my favorite ToorCamp memories. https:\/\/www.youtube.com\/watch?time_continue=7&v=V77s2fru-lk&feature=emb_title&ab_channel=zkarcher","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/mightyohm.com\/blog\/category\/announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/V77s2fru-lk\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":14142,"url":"https:\/\/mightyohm.com\/blog\/2020\/08\/oled-display-wifi-interface-lipo-and-battery-voltage-monitoring-for-the-mightyohm-geiger-counter\/","url_meta":{"origin":5067,"position":3},"title":"OLED display, WiFi interface, LiPo and battery voltage monitoring for the MightyOhm Geiger Counter","author":"Jeff","date":"August 4, 2020","format":false,"excerpt":"Twitter user @joeyhagedorn recently posted photos of his hacked MightyOhm Geiger Counter kit. He added an OLED display from Adafruit, a LiPo battery, Particle Argon WiFi interface, and a battery monitoring circuit that uses an AD8244 high impedance buffer to avoid loading down the HV supply. Interested in building your\u2026","rel":"","context":"In &quot;Kits&quot;","block_context":{"text":"Kits","link":"https:\/\/mightyohm.com\/blog\/category\/kits\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2020\/08\/Ec-r4yMU4AAnFzS.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2020\/08\/Ec-r4yMU4AAnFzS.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2020\/08\/Ec-r4yMU4AAnFzS.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":15697,"url":"https:\/\/mightyohm.com\/blog\/2022\/05\/mightyohm-geiger-counter-kit-sale-20-off-at-amazon\/","url_meta":{"origin":5067,"position":4},"title":"MightyOhm Geiger Counter Kit Sale, $20 off at Amazon","author":"Jeff","date":"May 26, 2022","format":false,"excerpt":"In observance of Memorial Day here in the US, Geiger Counter Kits are currently $20 off at Amazon.. The sale will continue through Monday.","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/mightyohm.com\/blog\/category\/announcements\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2011\/12\/geiger_with_case.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5259,"url":"https:\/\/mightyohm.com\/blog\/2012\/07\/detecting-x-rays-with-the-mightyohm-geiger-counter-kit\/","url_meta":{"origin":5067,"position":5},"title":"Detecting X-Rays with the MightyOhm Geiger Counter Kit","author":"Jeff","date":"July 8, 2012","format":false,"excerpt":"Ben Krasnow demonstrates that the MightyOhm Geiger Counter kit is sensitive to X-rays. Thanks, Ben!","rel":"","context":"In &quot;Kits&quot;","block_context":{"text":"Kits","link":"https:\/\/mightyohm.com\/blog\/category\/kits\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/yLSu_UjrcUA\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/5067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/comments?post=5067"}],"version-history":[{"count":31,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/5067\/revisions"}],"predecessor-version":[{"id":5128,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/posts\/5067\/revisions\/5128"}],"wp:attachment":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/media?parent=5067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/categories?post=5067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/tags?post=5067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}