<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Omega2 with Industrial 4-20mA Sensors]]></title><description><![CDATA[<p dir="auto"><img src="https://media.ncd.io/20170824195650/Layout-1038x692.jpg" alt="alt text" class="img-responsive img-markdown" /><br />
The Onion Omega 2 is one of my favorite SBCs. It’s small and comes with a ton of power. There are so many neat and interesting projects that can be done with<br />
this computer. In this guide, I will show you how to use the Onion Omega with 4-20mA industrial sensors.</p>
<p dir="auto">About 4-20mA Sensors<br />
4-20mA sensors are a powerful communication standard, commonly found in industrial applications.  4-20mA sensors use current variations to send data.  Current variations can travel long distance because current does not decay over distance.</p>
<p dir="auto">Why is 4-20mA the Standard Current Range?<br />
I have seen this question asked so many times, but there is a really easy answer for this.  Put simply, a current sensor needs to use 4mA for a Zero reading rather than 0mA.  If 0mA were used for the zero value, there would be no way to detect a sensor malfunction vs. a broken wire.  Using the standard 4-20mA current range, a broken wire will indicate 0mA.  A working sensor will load the current on the line to 4mA (minimum), indicating the sensor is active and ready to go to work.  This has been an industry standard for many years, making it easy to troubleshoot a long-distance wiring problem vs. a remote sensor problem.  The 4-20mA standard really has nothing to do with 420, it’s just a just a “happy” coincidence!</p>
<p dir="auto">There are many industrial sensors which come with 4-20mA output.  The most common are distance sensors, pressure sensors, temperature sensors, flow meters, weight sensors, and much more. In this tutorial, we will learn how we can read all these complex industrial sensors using the Onion Omega and an NCD 4-Channel 4-20mA current receiver board.<br />
<img src="https://media.ncd.io/20170817200044/Angle2-1024x683.png" alt="alt text" class="img-responsive img-markdown" /><br />
The onion omega python lib for reading 4-20mA can be found over <a href="https://github.com/bhaskar-anil429/Onion-Omega-2-4-20mA-Current-Receiver" rel="nofollow">here</a></p>
<p dir="auto">4-20mA board reading with no input attached<img src="https://media.ncd.io/20170817160343/Onion-Omega-No-input-672x571.png" alt="alt text" class="img-responsive img-markdown" /><br />
4-20mA Bord readings with input attached <img src="https://media.ncd.io/20170818162348/4mA-input-672x825.png" alt="alt text" class="img-responsive img-markdown" /></p>
<p dir="auto">The complete project details can be found over here as well <a href="https://ncd.io/interfacing-onion-omega-with-industrial-4-20ma-sensors/" rel="nofollow">Omega 2 4-20mA Project</a></p>
]]></description><link>http://community.onion.io/topic/2316/omega2-with-industrial-4-20ma-sensors</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 05:08:49 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/2316.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Aug 2017 21:09:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Omega2 with Industrial 4-20mA Sensors on Thu, 24 Aug 2017 21:09:59 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://media.ncd.io/20170824195650/Layout-1038x692.jpg" alt="alt text" class="img-responsive img-markdown" /><br />
The Onion Omega 2 is one of my favorite SBCs. It’s small and comes with a ton of power. There are so many neat and interesting projects that can be done with<br />
this computer. In this guide, I will show you how to use the Onion Omega with 4-20mA industrial sensors.</p>
<p dir="auto">About 4-20mA Sensors<br />
4-20mA sensors are a powerful communication standard, commonly found in industrial applications.  4-20mA sensors use current variations to send data.  Current variations can travel long distance because current does not decay over distance.</p>
<p dir="auto">Why is 4-20mA the Standard Current Range?<br />
I have seen this question asked so many times, but there is a really easy answer for this.  Put simply, a current sensor needs to use 4mA for a Zero reading rather than 0mA.  If 0mA were used for the zero value, there would be no way to detect a sensor malfunction vs. a broken wire.  Using the standard 4-20mA current range, a broken wire will indicate 0mA.  A working sensor will load the current on the line to 4mA (minimum), indicating the sensor is active and ready to go to work.  This has been an industry standard for many years, making it easy to troubleshoot a long-distance wiring problem vs. a remote sensor problem.  The 4-20mA standard really has nothing to do with 420, it’s just a just a “happy” coincidence!</p>
<p dir="auto">There are many industrial sensors which come with 4-20mA output.  The most common are distance sensors, pressure sensors, temperature sensors, flow meters, weight sensors, and much more. In this tutorial, we will learn how we can read all these complex industrial sensors using the Onion Omega and an NCD 4-Channel 4-20mA current receiver board.<br />
<img src="https://media.ncd.io/20170817200044/Angle2-1024x683.png" alt="alt text" class="img-responsive img-markdown" /><br />
The onion omega python lib for reading 4-20mA can be found over <a href="https://github.com/bhaskar-anil429/Onion-Omega-2-4-20mA-Current-Receiver" rel="nofollow">here</a></p>
<p dir="auto">4-20mA board reading with no input attached<img src="https://media.ncd.io/20170817160343/Onion-Omega-No-input-672x571.png" alt="alt text" class="img-responsive img-markdown" /><br />
4-20mA Bord readings with input attached <img src="https://media.ncd.io/20170818162348/4mA-input-672x825.png" alt="alt text" class="img-responsive img-markdown" /></p>
<p dir="auto">The complete project details can be found over here as well <a href="https://ncd.io/interfacing-onion-omega-with-industrial-4-20ma-sensors/" rel="nofollow">Omega 2 4-20mA Project</a></p>
]]></description><link>http://community.onion.io/post/14254</link><guid isPermaLink="true">http://community.onion.io/post/14254</guid><dc:creator><![CDATA[Anil bhaskar]]></dc:creator><pubDate>Thu, 24 Aug 2017 21:09:59 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 with Industrial 4-20mA Sensors on Fri, 25 Aug 2017 20:54:42 GMT]]></title><description><![CDATA[<p dir="auto">Cool project!<br />
Is the hardware open?</p>
]]></description><link>http://community.onion.io/post/14271</link><guid isPermaLink="true">http://community.onion.io/post/14271</guid><dc:creator><![CDATA[valerionew]]></dc:creator><pubDate>Fri, 25 Aug 2017 20:54:42 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 with Industrial 4-20mA Sensors on Sat, 26 Aug 2017 06:19:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1357">@Anil-bhaskar</a> hello. thanks for the explanations. it is understandable that the minimum would be non-zero to differentiate between signal/no signal however can you explain why 4mA instead of 2mA or other small current factor value?</p>
]]></description><link>http://community.onion.io/post/14275</link><guid isPermaLink="true">http://community.onion.io/post/14275</guid><dc:creator><![CDATA[Douglas Kryder]]></dc:creator><pubDate>Sat, 26 Aug 2017 06:19:38 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 with Industrial 4-20mA Sensors on Sun, 27 Aug 2017 00:24:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/4402">@valerionew</a>  i don't have any sch.. i wrote the python lib and it's available on github...</p>
]]></description><link>http://community.onion.io/post/14281</link><guid isPermaLink="true">http://community.onion.io/post/14281</guid><dc:creator><![CDATA[Anil bhaskar]]></dc:creator><pubDate>Sun, 27 Aug 2017 00:24:43 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 with Industrial 4-20mA Sensors on Sun, 27 Aug 2017 00:39:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1572">@Douglas-Kryder</a> its really really good questions, there are few reasons</p>
<ol>
<li>this is a very old technique to read sensors and at that time the chips which are used to read pressures or any other data used to consume 3mA. this was a two wire protocol so the current has to be greater than 3mA to make it work</li>
</ol>
<p dir="auto">then the second question will why 4 they could have started with 5,10,20 or something else</p>
<ol>
<li>
<p dir="auto">in this protocol the values change linear, so they have to have some thing like this 4-20mA or 5-25mA or 10-30mA or 10-40mA something to make calculation real easy.</p>
</li>
<li>
<p dir="auto">human body can take up to 30mA current above that it could damage the heart, so they had to keep it below 30mA.</p>
</li>
</ol>
<p dir="auto">so now we left with 2 choices either 4-20mA or 5-25mA. according to me, there could be two reasons<br />
a. in case of 5-25mA the 25mA was still really close to the max limit of 30mA, so they went with 4-20mA standard.<br />
b. or the people who defined this protocol were real 420 friendly, so they made 4-20mA as an industry standard.</p>
]]></description><link>http://community.onion.io/post/14282</link><guid isPermaLink="true">http://community.onion.io/post/14282</guid><dc:creator><![CDATA[Anil bhaskar]]></dc:creator><pubDate>Sun, 27 Aug 2017 00:39:25 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 with Industrial 4-20mA Sensors on Thu, 31 Aug 2017 02:54:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1357">@Anil-bhaskar</a> said in <a href="https://community.onion.io/topic/2316/omega2-with-industrial-4-20ma-sensors" rel="nofollow">Omega2 with Industrial 4-20mA Sensors</a>:</p>
<blockquote>
<p dir="auto">The 4-20mA standard really has nothing to do with 420, it’s just a just a “happy” coincidence!</p>
</blockquote>
<blockquote>
<p dir="auto">b. or the people who defined this protocol were real 420 friendly, so they made 4-20mA as an industry standard.</p>
</blockquote>
<p dir="auto"><strong>"420"</strong><br />
Let me know what are you talking about please.</p>
]]></description><link>http://community.onion.io/post/14316</link><guid isPermaLink="true">http://community.onion.io/post/14316</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Thu, 31 Aug 2017 02:54:20 GMT</pubDate></item><item><title><![CDATA[Reply to Omega2 with Industrial 4-20mA Sensors on Thu, 31 Aug 2017 05:50:52 GMT]]></title><description><![CDATA[<p dir="auto">april 20th is a long mythical [since 1971 at least] day of celebration for marijuana smokers. Anil, thanks for the explanation of the circuit, i was unaware of currents affect on human heart was so low.</p>
]]></description><link>http://community.onion.io/post/14317</link><guid isPermaLink="true">http://community.onion.io/post/14317</guid><dc:creator><![CDATA[Douglas Kryder]]></dc:creator><pubDate>Thu, 31 Aug 2017 05:50:52 GMT</pubDate></item></channel></rss>