<?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[Help with AIN4-20mA units]]></title><description><![CDATA[<p dir="auto">Hello<br />
I have two single channel AIN4-20ma units for a logging project.  I am struggling to get them to work due to a combination of poor knowledge and documentation.  I have the units connected to an ESP32 and I can see and read data from them but i do not know how to connect the 4-20ma signals.  I have set the jumper to external 24V supply and have connected 24v to GND and 24V  I only have  a 4-20Ma tester and  DFrobot 4-20Ma DAC all my attempts to connect these to the AIN4 give only a zero<br />
I am sure it is me can anybody help with a simple circiut diagram for me to test<br />
Couple of things i am running the module on 3.3V is that ok?  and for the single channel unit the channel to use will be 0?<br />
Thanks in advance</p>
]]></description><link>https://community.m5stack.com/topic/6304/help-with-ain4-20ma-units</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 16:44:47 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6304.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Apr 2024 09:46:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help with AIN4-20mA units on Sat, 06 Apr 2024 16:43:30 GMT]]></title><description><![CDATA[<p dir="auto">Further to my post.  I have two modules working on an ESp32 but i need to get them working on a ESP8266.  I know the libraries have been written with ESP32 in mind<br />
I have got the code to compile for ESp8266 but when loaded it return only 255 or 65535 for the ADC values or i2c address<br />
Can anyone advise on what changes to make to the libraries<br />
Thanks</p>
]]></description><link>https://community.m5stack.com/post/24708</link><guid isPermaLink="true">https://community.m5stack.com/post/24708</guid><dc:creator><![CDATA[davidrhysthomas]]></dc:creator><pubDate>Sat, 06 Apr 2024 16:43:30 GMT</pubDate></item><item><title><![CDATA[Reply to Help with AIN4-20mA units on Fri, 05 Apr 2024 12:24:31 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much i begin to see how to coonect the modules connecting in active mode seems to work with the tester<br />
Thanks again</p>
]]></description><link>https://community.m5stack.com/post/24695</link><guid isPermaLink="true">https://community.m5stack.com/post/24695</guid><dc:creator><![CDATA[davidrhysthomas]]></dc:creator><pubDate>Fri, 05 Apr 2024 12:24:31 GMT</pubDate></item><item><title><![CDATA[Reply to Help with AIN4-20mA units on Fri, 05 Apr 2024 11:19:13 GMT]]></title><description><![CDATA[<p dir="auto">This one?<br />
<a href="https://shop.m5stack.com/products/ain4-20ma-unit" target="_blank" rel="noopener noreferrer nofollow ugc">https://shop.m5stack.com/products/ain4-20ma-unit</a></p>
<p dir="auto">and you mean "external" as  like so?<br />
<img src="/assets/uploads/files/1712315167175-65b7fad8-2387-436a-aa60-60298ce0f511-image.png" alt="0_1712315167054_65b7fad8-2387-436a-aa60-60298ce0f511-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Then you should not use the 24V and GND only IN+ and IN- like so and wtih your Transmitter/tester in "passive" mode (may need to read the manual of you tester):<br />
<img src="/assets/uploads/files/1712315950253-0d95eb03-883d-4a25-8939-e5d088f99477-image.png" alt="0_1712315949699_0d95eb03-883d-4a25-8939-e5d088f99477-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">if your transmitter/tester is "active" then you should connect like this - i.e. no need for a separate power supply:<br />
<img src="/assets/uploads/files/1712315721391-2910772c-2f18-4d9d-a9eb-d15f487fb03b-image.png" alt="0_1712315719161_2910772c-2f18-4d9d-a9eb-d15f487fb03b-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/24693</link><guid isPermaLink="true">https://community.m5stack.com/post/24693</guid><dc:creator><![CDATA[Cognitive5525]]></dc:creator><pubDate>Fri, 05 Apr 2024 11:19:13 GMT</pubDate></item></channel></rss>