{"id":25980,"date":"2022-10-16T22:27:18","date_gmt":"2022-10-16T21:27:18","guid":{"rendered":"https:\/\/www.pinballnews.com\/site\/?p=25980"},"modified":"2024-01-23T10:17:34","modified_gmt":"2024-01-23T10:17:34","slug":"new-ir-pinball-testers-part-one","status":"publish","type":"post","link":"https:\/\/www.pinballnews.com\/site\/2022\/10\/16\/new-ir-pinball-testers-part-one\/","title":{"rendered":"NEW IR PINBALL TESTERS: PART ONE"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Infrared (IR) transmitters and receivers are vital components used in many electronic pinball machines since 1987.  Commonly referred to as &#8216;opto-switches&#8217; or simply &#8216;optos&#8217;, paired-up transmitters and receivers allow contactless sensing of movement in order to register a target hit, detection of a ball&#8217;s position or the sensing of movement by a mechanical device.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, useful as these components are, they do have one characteristic which makes it difficult to troubleshoot them (or the circuit of which they form a part).  The infrared light they either transmit or sense is usually invisible to the human eye.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That makes it tricky to tell whether an IR transmitter is radiating as intended, and whether an IR receiver is detecting IR radiation correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Back in 2006, Todd Andersen of Pinball Renaissance in Minnesota wrote an article describing how to build your own matching IR transmitter and IR receiver to aid with testing.  When the associated button is pressed, these car-fob-sized devices would either transmit a constant IR beam, or light an LED to indicate the detection of IR radiation, thus allowing you to diagnose faults with both IR transmitters and receivers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While extremely useful and functional, much has changed in the world of electronics in the past sixteen years.  The availability of the component parts has changed as has the cost, while newer methods have become easily afforded.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, Todd has looked anew at the problem and devised an alternative, automated, more modern and more readily-available alternative you can build at home.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this first article he looks at the hardware used in his design, how the components are chosen, and includes links to the components&#8217; suppliers for more information, while the second part concentrates on the software needed, providing code you can use immediately or modify to your own requirements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Over to Todd&#8230;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Having previously put myself in your shoes, I\u2019ll summarise two of my main reasons for deciding an <a href=\"https:\/\/www.pinballnews.com\/learn\/irtester.html\">earlier Pinball News article<\/a> about building your own IR testers possibly needed an update&#8230;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>First and foremost, <a href=\"https:\/\/www.pinballnews.com\/learn\/soldering\/index.html\">soldering<\/a>.<\/strong><br>\u2022 Many people can\u2019t solder.<br>\u2022 Many people don\u2019t want to solder.<br>\u2022 With this new version, connections can be simply wrapped and hot glued, or even bolted in place.<\/li>\n\n\n\n<li><strong>Technology is changing.<\/strong><br>\u2022 Modern computers (post-2015) do always not play nicely with Arduino devices.<br>\u2022 Microcontroller technology is now cheaper, smaller, more capable, and newer.<br>\u2022 Software (sketches) can be easily modified for use with various board\/component combinations.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Pinball Renaissance sold a &#8216;fob&#8217; version of the IR Tester sets &#8211; sender and receiver pairs &#8211; to pinball hobbyists. These testers were built using discrete electronic components and sold out some time ago.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While fulfilling a special request to make more, I noticed that I lacked enough discrete components to complete said order. At that point, I realised I could update the IR Pinball Testers from all-discrete electronic components, to use newer Arduino clone boards. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most of the clone boards I had in stock were subsequently made into IR Pinball Testers. These new IR Testers are now sold out as well, with completion of this special request marking these new Arduino clone board based IR Tester sets as no longer available.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using the Arduino clone boards to complete the special order significantly dwindled my stock of the specific microcontroller clone board I used. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When I shopped reputable mainstream retailers to try to purchase enough boards to replenish stock, I discovered two things. First, assuming in large part due to the global chip shortage, prices had over quadrupled. Second, and again I\u2019m assuming related to the assumed reason behind the first, boards were wildly out of stock. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This forced me to search even harder. In doing so, I discover I could purchase complete Attiny85 microcontroller-based boards for less than the cost of the Attiny85 microcontroller chips alone. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, I decided to purchase these new-to-me Attiny85 based clone boards.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"text-decoration: underline;\"><strong>Tiny Boards<\/strong><\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To replenish my stock, I found the <a href=\"https:\/\/www.electrodragon.com\/product\/attiny85-mini-dev-board-lilytiny-digispark-edatiny\/\">EDATtiny<\/a> from <a href=\"https:\/\/www.electrodragon.com\/\">ElectroDragon<\/a>. These one inch diameter boards are designed to be &#8216;wearable&#8217; and feature the ATtiny85 microprocessor, being programmable via the Arduino IDE software. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, these Chinese clone boards had a 20% failure rate, although the manufacture did refund me for those failed boards.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Per the manufacturer, these red EDATtiny boards are, \u201c<em>Compatible with lilytiny, digispark bootloader, to upload sketch please add board digispark 16.5mhz in arduino IDE.<\/em>\u201d<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"605\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers-1024x605.jpg\" alt=\"The top and bottom of the EDATtiny board\" class=\"wp-image-26006\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers-1024x605.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers-300x177.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers-768x454.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers-1536x907.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers-850x502.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers-413x244.jpg 413w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/01-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The top and bottom of the EDATtiny board<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">As an alternative, the layout and board colours of the black and purple Lilytiny clone boards (shown below) are only cosmetic differences from the EDATtiny boards I used (shown above). These Lilytiny clone boards should otherwise be identical to the EDATtiny boards.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers-1024x576.jpg\" alt=\"The Lilytiny ATTiny85 boards\" class=\"wp-image-26007\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers-1024x576.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers-300x169.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers-768x432.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers-1536x864.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers-850x478.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/02-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The Lilytiny ATTiny85 boards<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">All three round boards are actually clones of <a href=\"http:\/\/digistump.com\/products\/1\">Digispark square boards<\/a>. In fact, and as introduced earlier, DigiStump started it all with their Digispark boards. After all, they are, \u201c<em>Home of the Digispark<\/em>.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the price I found for the standalone ATtiny85 chips, I could purchase two complete EDATtiny boards. This included the same shipping and handling costs. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to affordability, I noticed the use of holes and their spacing on these boards made connecting a few discrete electronic components quite easy. I realised this made these boards ideal for pinball hobbyists who may want to build their own IR Tester boards. And, the built-in\/onboard LED of the EDATtiny saves us from having to bother with even more discrete electronic components.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For those who want to try this at home, the few supporting discrete electronic components needed can be easily attached without soldering. The legs of these components can be wrapped in place and secured with hot glue. Or, the legs can simply be bolted in place if you prefer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Discrete Components<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the additional components you will need:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>IR LED (Sender \u2013 880nm wavelength)<\/strong><br>Industry <strong>P<\/strong>art <strong>N<\/strong>umber (<strong>PN)<\/strong>: QED123<br>Substitute PNs: QED121, QED122, 276-143, 276-143C<br>Old WMS Pinball PN: A-16908 <br><em>(Note: Some pinball parts sellers may sell this component already mounted on a board.)<\/em><br>New WMS Pinball PN: 5671-12731-00 <br><em>(Note: This is usually sold as just the discrete component itself.)<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/10-new-ir-testers-1024x344.jpg\" alt=\"Williams Pinball Ir LED (Sender \u2013 880 nm wavelength)\" class=\"wp-image-26026\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/10-new-ir-testers-1024x344.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/10-new-ir-testers-300x101.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/10-new-ir-testers-768x258.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/10-new-ir-testers-1536x516.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/10-new-ir-testers-850x285.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/10-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Williams Pinball IR LED (Sender \u2013 880nm wavelength)<\/figcaption><\/figure>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/11-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"1024\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/11-new-ir-testers-813x1024.jpg\" alt=\"IR Transmitter specifications\" class=\"wp-image-26027\" style=\"width:610px;height:768px\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/11-new-ir-testers-813x1024.jpg 813w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/11-new-ir-testers-238x300.jpg 238w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/11-new-ir-testers-768x968.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/11-new-ir-testers-850x1071.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/11-new-ir-testers.jpg 900w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/a><figcaption class=\"wp-element-caption\">IR Transmitter specifications<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">This diode has polarity. This means it can only operate correctly in circuit when placed in a specific orientation. <strong>The ANODE goes to the +5 Volt source on your ATtiny board; not the +5V pin.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A 940nm wavelength side-looking version of this photodiode (PN: QEE113) can also be procured. It <em>should<\/em> work in pinball machines and may be useful for getting into smaller spaces like the small slot in between opto-interrupters, as used on drop targets and flipper mechanisms. However, that photodiode has not been tested for use in this article.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>IR Transistor (Receiver \u2013 880nm sensitivity)<\/strong><br>Industry PN: QSD124<br>Substitute PN: 276-145 or 276-145A<br>Old WMS Pinball PN: A-16909 <br><em>(Note: Some pinball parts sellers may sell this component already mounted on a board.)<\/em><br>New WMS Pinball PN: 5163-12732-00 <br><em>(This is usually sold as just the discrete component itself.)<\/em><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"331\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers-1024x331.jpg\" alt=\"Williams Pinball IR Transistor (Receiver \u2013 880nm sensitivity)\" class=\"wp-image-26012\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers-1024x331.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers-300x97.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers-768x248.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers-1536x496.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers-850x275.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/03-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Williams Pinball IR Transistor (Receiver \u2013 880nm sensitivity)<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/04-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"725\" height=\"1024\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/04-new-ir-testers-725x1024.jpg\" alt=\"IR Receiver specifications\" class=\"wp-image-26013\" style=\"width:544px;height:768px\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/04-new-ir-testers-725x1024.jpg 725w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/04-new-ir-testers-212x300.jpg 212w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/04-new-ir-testers-768x1085.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/04-new-ir-testers-850x1201.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/04-new-ir-testers.jpg 900w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><\/a><figcaption class=\"wp-element-caption\">IR Receiver specifications<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">This transistor also has polarity. That means it can only operate correctly in circuit when placed in a specific orientation. <strong>The COLLECTOR (non-flat side) goes to the +5V pin on your ATtiny board.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A side-looking version of this NPN phototransistor (PN: QSE113 or QSE114) can also be sourced. It <em>may <\/em>be useful for getting into smaller spaces like the small slot between opto-interrupters, as used on drop targets and flipper mechanisms. However, that phototransistor has not been tested for use in this article.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Resistor (10k\u03a9\/10kOhms \u2013 10,000 Ohms)<\/strong><br>1\/4 (0.25) Watt<br>Axial Leads<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"387\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers-1024x387.jpg\" alt=\"A 10K Ohms resistor\" class=\"wp-image-26016\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers-1024x387.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers-300x113.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers-768x290.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers-1536x580.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers-850x321.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/05-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">A 10k Ohms resistor<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><span style=\"text-decoration: underline;\"><strong>ATtiny85 Datasheet<\/strong><\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Atmel 8-bit AVR Microcontroller with 2\/4\/8K Bytes In-System Programmable Flash<br>ATtiny25\/V \/ ATtiny45\/V \/ ATtiny85\/V<br>Rev. 2586Q\u2013AVR\u201308\/2013<br>The ATtiny85 datasheet can be found, in its entirety, <a rel=\"noreferrer noopener\" href=\"http:\/\/www.atmel.com\/avr\" target=\"_blank\">here<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019ll save you from having to look through all 234 pages of the datasheet and show you a summary of the most important part we need to know about the ATtiny85 chip.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"472\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers-1024x472.jpg\" alt=\"A small section of the ATtiny85 Datasheet\" class=\"wp-image-26019\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers-1024x472.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers-300x138.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers-768x354.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers-1536x708.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers-850x392.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/07-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">A small section of the ATtiny85 Datasheet<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The ATtiny85 can handle 40.0 mA of current per Input\/Output pin. This is plenty for our simple use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Digispark Schematic<\/span><\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"632\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers-1024x632.jpg\" alt=\"The schematic for the Digispark design\" class=\"wp-image-26020\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers-1024x632.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers-300x185.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers-768x474.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers-1536x948.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers-850x524.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/08-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The schematic for the Digispark design<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">From the schematic above we can see that the Digispark (and most clone boards) have an onboard LED, as previously written about in this article. And, that a resistor (R5) is used to limit that LED\u2019s current.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More general information on <a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/learn\/leds.html\" target=\"_blank\">LEDs<\/a> and more technical information, including limiting the operating current of LEDs, was covered in a previous Pinball News <a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/learn\/pinduino\/\" target=\"_blank\">article<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Taking an excerpt from the second, more technical article:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><em><strong>The following formula is based on <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Ohm's_law\" target=\"_blank\">Ohm\u2019s Law<\/a>.<br>Rdrop = (Vin \u2013 Vled) \/ Iled<\/strong><\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When reviewing manufacturer\u2019s specification, you many need to substitute the following technical names in the formula below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Voltage In (<strong>Vin<\/strong>)<br>This value is 5.0 for five volt UNO boards.<\/li>\n\n\n\n<li>LED Voltage (<strong>Vf<\/strong>)<br>See the LED manufacturer\u2019s specifications.<\/li>\n\n\n\n<li>LED Current (<strong>If<\/strong>)<br>See the LED manufacturer\u2019s specifications.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>R = (Vin \u2013 Vf) \/ If<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Long and short of all that technical mumbo-jumbo is, the onboard LED only uses a few milliamps (mA) of the 40 mA available on each ATtiny85 pin, leaving plenty of current for our use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>ATTiny85 \/ Digispark Connections<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"492\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers-1024x492.jpg\" alt=\"The ATtiny85 chip connections\" class=\"wp-image-26021\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers-1024x492.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers-300x144.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers-768x369.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers-1536x738.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers-850x409.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/09-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The ATtiny85 chip connections<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"has-white-background-color has-background wp-block-paragraph\">The <strong>numbers<\/strong> inside the rectangle are the physical pins of the ATtiny85 chip.<br>The <strong><mark style=\"background-color:#b3f4f9\" class=\"has-inline-color has-black-color\"> numbers <\/mark> <\/strong>outside the rectangle are Arduino digital pin designations.<br>The <mark style=\"background-color:#f78da7\" class=\"has-inline-color has-black-color\"><strong> A-numbers <\/strong><\/mark> outside the rectangle are Arduino analog pin designations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Digispark Clone Model Identification<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Three models have been shipped. They have no feature differences, only a different connection for the on-board LED.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From the Digispark section of the Digistump&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/digistump.com\/wiki\/digispark\/tutorials\/modelbi2c\" target=\"_blank\">Wiki<\/a> . . .<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td>&#8220;Y<em>ou can identify your model by the presence of &#8216;rev2&#8217;, &#8216;rev4&#8217;, or nothing on the top (the side with the gold connectors) of the USB end of the Digispark. Also, there is a &#8216;rev3&#8217; version in circulation; this is actually counterfeit (i.e. a clone which falsely uses the Digispark trade name), although functionally it seems to match the (true) revisions 2 and 4.<\/em><br><br><em>&#8216;rev2&#8217; or &#8216;rev4&#8217; marking: The on-board LED is connected to P1. This board should cause no conflicts with any devices, but remember the LED is on pin 1 not pin 0!<\/em><br><br><em>No marking: The on-board LED is connected to P0.<\/em>&#8220;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Note: Most Digispark clones will have their on-board LEDs connected to P1. If yours is not the case, use 0 (for P0) in the #define you will add to the \u201cBlink\u201d sketch featured in Part Two of this article.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Putting it all Together<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can cleverly use all the gathered information and a couple of Arduino programming tricks to deduce a few shortcuts when building ATtiny IR Testers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Sender Connections<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The lead associated with the flat spot on the lens of the IR diode goes to PB0 on the sender board.<br>The other lead of the Diode goes to PB1 on the sender board.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/12-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/12-new-ir-testers-768x1024.jpg\" alt=\"The IR LED attached\" class=\"wp-image-26031\" style=\"width:576px;height:768px\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/12-new-ir-testers-768x1024.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/12-new-ir-testers-225x300.jpg 225w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/12-new-ir-testers-850x1133.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/12-new-ir-testers.jpg 900w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption class=\"wp-element-caption\">The IR diode attached to the transmitter board<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Receiver Connections<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One lead of the IR transistor goes to +5V on the receiver board.<br>The resistor\/transistor combined lead is associated with the flat spot in the lens, and goes to PB2 on the receiver board.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s a good tight fit for the other end of the 10k\u03a9 resistor to go to PB0 on the receiver board.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/13-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"808\" height=\"1024\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/13-new-ir-testers-808x1024.jpg\" alt=\"The IR transistor attached to the receiver board\" class=\"wp-image-26032\" style=\"width:606px;height:768px\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/13-new-ir-testers-808x1024.jpg 808w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/13-new-ir-testers-237x300.jpg 237w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/13-new-ir-testers-768x974.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/13-new-ir-testers-850x1078.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/13-new-ir-testers.jpg 900w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/a><figcaption class=\"wp-element-caption\">The IR transistor attached to the receiver board<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Changing to Battery Power<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The simplest way to power your tiny IR Testers is to employ the cable you will have used to program your board and a cheap 5 Volt battery bank.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, a 9 Volt snap cap and 9 Volt battery can also be used. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"524\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers-1024x524.jpg\" alt=\"Adding a 9V battery connector\" class=\"wp-image-26037\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers-1024x524.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers-300x153.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers-768x393.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers-1536x785.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers-850x435.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/15-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Adding a 9V battery connector<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">When making these battery connections, put the snap cap\u2019s <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">RED<\/mark><\/strong> wire to your board\u2019s <strong>VIN<\/strong> connection and the snap cap\u2019s <strong>BLACK<\/strong> wire to your board\u2019s <strong>GND<\/strong> connection.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"517\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/14-new-ir-testers-1024x517.jpg\" alt=\"The battery power connections\" class=\"wp-image-26036\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/14-new-ir-testers-1024x517.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/14-new-ir-testers-300x152.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/14-new-ir-testers-768x388.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/14-new-ir-testers-1536x776.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/14-new-ir-testers-850x429.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/14-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The battery power connections<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Completing your Sender and Receiver<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is recommended you electrically insulate your little boards from possibly shorting to something. Some of you may want to go as far as to create your own custom 3D printed cases. Others may wish to cleverly employ clear heat shrink tubing. While still others may simply want to wrap all exposed metal in clear tape.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Programming<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please see the companion to this article to learn how you can program these boards with Arduino.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sorry, Pinball News cannot provide Arduino coding or troubleshooting advice. However, there are many resources available for you that are listed at the end of this article for your convenience.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Testing<\/span><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once programmed and powered, the IR Sender and Receiver can be used to test each other.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Below you can see the IR Sender on the left and IR Receiver on the right, with power indicator LEDs glowing brightly, but on-board\/built-in LEDs unlit while the boards are booting up.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"599\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers-1024x599.jpg\" alt=\"The powered IR Transmitter and Receiver boards\" class=\"wp-image-26040\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers-1024x599.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers-300x176.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers-768x449.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers-1536x899.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers-850x497.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/16-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The powered IR Transmitter and Receiver boards<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Pictured below are the Sender on the left and Receiver on the right, this time with power indicator LEDs glowing brightly along with the on-board\/built-in LEDs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"603\" src=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers-1024x603.jpg\" alt=\"The boards with their in-built controlled LEDs lit\" class=\"wp-image-26041\" srcset=\"https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers-1024x603.jpg 1024w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers-300x177.jpg 300w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers-768x452.jpg 768w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers-1536x904.jpg 1536w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers-850x500.jpg 850w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers-413x244.jpg 413w, https:\/\/www.pinballnews.com\/site\/wp-content\/uploads\/learn\/new-ir-testers\/17-new-ir-testers.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The boards with their in-built controlled LEDs lit<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once you insulate your IR Tester sets, they will be ready to help you troubleshoot IR LEDs which are used as switches in many pinball machines. The receiver may also be used on its own to verify dead batteries in your television remote.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Resources<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Arduino.cc Blink<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.arduino.cc\/en\/Tutorial\/BuiltInExamples\/Blink\" target=\"_blank\">https:\/\/www.arduino.cc\/en\/Tutorial\/BuiltInExamples\/Blink<\/a><br>&nbsp;<\/li>\n\n\n\n<li><strong>Digistump Digispark Model Identification<br><\/strong><a rel=\"noreferrer noopener\" href=\"http:\/\/digistump.com\/wiki\/digispark\/tutorials\/modelbi2c\" target=\"_blank\">http:\/\/digistump.com\/wiki\/digispark\/tutorials\/modelbi2c<\/a><br>&nbsp;<\/li>\n\n\n\n<li><strong>Digistump Digispark Forum<br><\/strong><a rel=\"noreferrer noopener\" href=\"http:\/\/digistump.com\/board\/\" target=\"_blank\">http:\/\/digistump.com\/board\/<\/a><br>&nbsp;<\/li>\n\n\n\n<li><strong>Digistump&nbsp;Digispark Wiki<br><\/strong><a rel=\"noreferrer noopener\" href=\"http:\/\/digistump.com\/wiki\/digispark\" target=\"_blank\">http:\/\/digistump.com\/wiki\/digispark<\/a><br><a rel=\"noreferrer noopener\" href=\"http:\/\/digistump.com\/wiki\/digispark\/tutorials\/connecting\" target=\"_blank\">http:\/\/digistump.com\/wiki\/digispark\/tutorials\/connecting<\/a><br>&nbsp;<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Parts Suppliers<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Adafruit Industries<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.adafruit.com\/\" target=\"_blank\">https:\/\/www.adafruit.com<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>AliExpress<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/aliexpress.com\/\" target=\"_blank\">https:\/\/aliexpress.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Amazon<\/strong><br>(For your country)<br><a href=\"https:\/\/www.amazon.com\/\">https:\/\/www.amazon.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Arrow Electronics<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.arrow.com\/\" target=\"_blank\">https:\/\/www.arrow.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Finding Parts (Ladyada)<\/strong><br><a href=\"https:\/\/ladyada.net\/library\/procure\/index.html\">https:\/\/ladyada.net\/library\/procure\/index.html<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Banggood<\/strong><br>(For your country)<br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Chicago Electronics Distributors<\/strong><br><a href=\"https:\/\/chicagodist.com\/\">https:\/\/chicagodist.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Circuit.Rocks<\/strong><br><a href=\"https:\/\/circuit.rocks\/\">https:\/\/circuit.rocks\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Core-Electronics<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/core-electronics.com.au\/\" target=\"_blank\">https:\/\/core-electronics.com.au\/<\/a><br>*<br><\/li>\n\n\n\n<li><strong>DealExtreme<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.dx.com\/\" target=\"_blank\">https:\/\/www.dx.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>DHGate<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.dhgate.com\/\" target=\"_blank\">https:\/\/www.dhgate.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Digi-Key Electronics<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.digikey.com\/\" target=\"_blank\">https:\/\/www.digikey.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>DIYMall<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.diymalls.com\/\" target=\"_blank\">https:\/\/www.diymalls.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>ElectroDragon<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.electrodragon.com\/\" target=\"_blank\">https:\/\/www.electrodragon.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>electro:kit<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.electrokit.com\/en\/\" target=\"_blank\">https:\/\/www.electrokit.com\/en\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Evil Mad Scientist<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.evilmadscientist.com\/\" target=\"_blank\">https:\/\/www.evilmadscientist.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Evelta<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.evelta.com\/\" target=\"_blank\">https:\/\/www.evelta.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Gearbest<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.gearbest.com\/\" target=\"_blank\">https:\/\/www.gearbest.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Little Bird Electronics<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/littlebirdelectronics.com.au\/\" target=\"_blank\">https:\/\/littlebirdelectronics.com.au\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Melopero Electronics<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.melopero.com\/\" target=\"_blank\">https:\/\/www.melopero.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Newark Electronics<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.newark.com\/\" target=\"_blank\">https:\/\/www.newark.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Okdo <\/strong>(You will need to enable cookies)<br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.okdo.com\/\" target=\"_blank\">https:\/\/www.okdo.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Pimoroni<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/shop.pimoroni.com\/\" target=\"_blank\">https:\/\/shop.pimoroni.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Robotpark Global<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.robotpark.com\/\" target=\"_blank\">https:\/\/www.robotpark.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>SolarBotics Ltd.<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.solarbotics.com\/\" target=\"_blank\">https:\/\/www.solarbotics.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>SparkFun Electronics<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.sparkfun.com\/\" target=\"_blank\">https:\/\/www.sparkfun.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>The PiHut<br><\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/thepihut.com\/\" target=\"_blank\">https:\/\/thepihut.com\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>Thingbits<\/strong><br><a href=\"https:\/\/www.thingbits.in\/\">https:\/\/www.thingbits.in\/<\/a><br>&nbsp;<br><\/li>\n\n\n\n<li><strong>SunSky<\/strong><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.sunsky-online.com\/\" target=\"_blank\">https:\/\/www.sunsky-online.com\/<\/a><br>&nbsp;<br><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Learning Links<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.pinballnews.com\/site\/\">https:\/\/www.pinballnews.com\/site\/<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/site\/2019\/08\/07\/pinball-acronyms\/\" target=\"_blank\">https:\/\/www.pinballnews.com\/site\/2019\/08\/07\/pinball-acronyms\/<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/learn\/index.html\" target=\"_blank\">https:\/\/www.pinballnews.com\/learn\/index.html<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/learn\/leds.html\" target=\"_blank\">https:\/\/www.pinballnews.com\/learn\/leds.html<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/learn\/irtester.html\" target=\"_blank\">https:\/\/www.pinballnews.com\/learn\/irtester.html<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/learn\/pinduino\/\" target=\"_blank\">https:\/\/www.pinballnews.com\/learn\/pinduino\/<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.pinballnews.com\/learn\/pinduino\/index2.html\" target=\"_blank\">https:\/\/www.pinballnews.com\/learn\/pinduino\/index2.html<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"http:\/\/www.atmel.com\/avr\" target=\"_blank\">http:\/\/www.atmel.com\/avr<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/highlowtech.org\/?p=1695\" target=\"_blank\">https:\/\/highlowtech.org\/?p=1695<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/ATtiny_microcontroller_comparison_chart\">https:\/\/en.wikipedia.org\/wiki\/ATtiny_microcontroller_comparison_chart<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/arduino.pinout.guide\/\">https:\/\/arduino.pinout.guide\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/docs.arduino.cc\/software\/ide-v1\/tutorials\/arduino-ide-v1-basics\">https:\/\/docs.arduino.cc\/software\/ide-v1\/tutorials\/arduino-ide-v1-basics<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.arduino.cc\/en\/Tutorial\/Foundations\/DigitalPins\">https:\/\/www.arduino.cc\/en\/Tutorial\/Foundations\/DigitalPins<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/programmingdigest.com\/photodiode-phototransistor-and-ir-sensor-with-arduino\/\">https:\/\/programmingdigest.com\/photodiode-phototransistor-and-ir-sensor-with-arduino\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.google.com\/\">https:\/\/www.google.com\/<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\">Going Further<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.hackster.io\/digispark\/projects\">https:\/\/www.hackster.io\/digispark\/projects<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/hackaday.io\/projects?tag=attiny85\">https:\/\/hackaday.io\/projects?tag=attiny85<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"text-decoration: underline;\"><strong>Pinball Repair Guides<\/strong><\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/homepinballrepair.com\/\" target=\"_blank\">https:\/\/homepinballrepair.com\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.pinwiki.com\/wiki\/index.php\/Williams_Pinball_Repair_Guides\">https:\/\/www.pinwiki.com\/wiki\/index.php\/Williams_Pinball_Repair_Guides<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This concludes the first, hardware-related half of this pair of Pinball News articles. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.pinballnews.com\/site\/?p=26053\" data-type=\"URL\" data-id=\"https:\/\/www.pinballnews.com\/site\/?p=26053\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Please follow this link to view the second half, featuring the software details.<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Infrared (IR) transmitters and receivers are vital components used in many electronic pinball machines since 1987. Commonly referred to as &#8216;opto-switches&#8217; or simply &#8216;optos&#8217;, paired-up transmitters and receivers allow contactless sensing of movement in order to register a target hit, detection of a ball&#8217;s position or the sensing of movement by a mechanical device. However, &hellip;<\/p>\n","protected":false},"author":2,"featured_media":26049,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1914,1916,1915,1909,1912,1913,1911,1910],"class_list":["post-25980","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn","tag-components","tag-diagnostic","tag-fault-finding","tag-ir","tag-opto","tag-switches","tag-tester","tag-testing"],"_links":{"self":[{"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/posts\/25980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/comments?post=25980"}],"version-history":[{"count":10,"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/posts\/25980\/revisions"}],"predecessor-version":[{"id":31661,"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/posts\/25980\/revisions\/31661"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/media\/26049"}],"wp:attachment":[{"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/media?parent=25980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/categories?post=25980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pinballnews.com\/site\/wp-json\/wp\/v2\/tags?post=25980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}