<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Input optoisolated with PC817</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93146/input-optoisolated-with-pc817</link><description>Hi I&amp;#39;m developing a board to isolate external GPIO signals from a Nordic nRF52832 (Isolated input from 5VDC to 25VDC). For this I am using a circuit with the PC817 optoisolator, like this: 
 
 my doubt is: 
 Knowing that my input can vary from 5 to 25VDC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Oct 2022 19:21:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93146/input-optoisolated-with-pc817" /><item><title>RE: Input optoisolated with PC817</title><link>https://devzone.nordicsemi.com/thread/392248?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 19:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6eb7b1c-e459-43e0-b73c-692db7c1aad0</guid><dc:creator>MATHEUS G</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;Kenneth, the transistor idea is great.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Input optoisolated with PC817</title><link>https://devzone.nordicsemi.com/thread/392131?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2022 11:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ef04ea-5e82-45b6-b0b7-ee0286ee0236</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This forum is mainly for development on the nRF platform.&lt;/p&gt;
&lt;p&gt;But my 5 cent, you can for instance place a LED in series with a small resistor (e.g. 10ohm), this can be placed in parallell with the 10k ohm pull up you see in your figure, then every time there is voltage on the input the LED will turn ON. Alternatively you can just control an LED (through a transistor) from a different pin of the nRF52, so every time IN_1 go low you also turn ON the LED from the MCU using this pin.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>