<?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[Core2 - Pullup resistor]]></title><description><![CDATA[<p dir="auto">Hi <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/1">@m5stack</a></p>
<p dir="auto">I can read here that Core1 have integrated pull-up resistors (3.3k) on G21 and G22<br />
<a href="https://community.m5stack.com/topic/1762/solved-m5stack-basic-i2c-pull-up-resistor">https://community.m5stack.com/topic/1762/solved-m5stack-basic-i2c-pull-up-resistor</a></p>
<p dir="auto">Is it similar on Core2 ?</p>
<p dir="auto">I use DS18B20 sensor with external pullup resistor 4.7k, but do I really need it ?<br />
Can I have problems using internal pullup? (DS18B20 are powered on 5V pin) ?</p>
]]></description><link>https://community.m5stack.com/topic/5709/core2-pullup-resistor</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 06:28:12 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5709.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Oct 2023 19:37:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Core2 - Pullup resistor on Tue, 17 Oct 2023 15:53:51 GMT]]></title><description><![CDATA[<p dir="auto">I've never had any problems with the DS18B20 sensor powered at 5V, with an external 4.7k resistor. Never any esp32 or even Raspberry Pi burnt out.</p>
<p dir="auto">I did a few tests:</p>
<ul>
<li>24 m cable with 8 sensors of 1m at the end</li>
<li>sensors powered by 3.3V</li>
</ul>
<p dir="auto">Works well with 4.7k external resistor<br />
Also works well with internal resistor using pinMode(33, INPUT_PULLUP)<br />
No errors (-127 or not detected) at all in all cases</p>
<p dir="auto">I'll test soon with longer cables.</p>
<p dir="auto">But, most important I use certified DS18B20, not bad quality copies that are good only for short distance.</p>
]]></description><link>https://community.m5stack.com/post/22491</link><guid isPermaLink="true">https://community.m5stack.com/post/22491</guid><dc:creator><![CDATA[Leo05]]></dc:creator><pubDate>Tue, 17 Oct 2023 15:53:51 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 - Pullup resistor on Mon, 16 Oct 2023 08:15:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> said in <a href="/post/22479">Core2 - Pullup resistor</a>:</p>
<blockquote>
<p dir="auto">If 5v hits the GPIO pin it will kill the IO pin.</p>
</blockquote>
<p dir="auto">Well...poop. That explains a lot!</p>
]]></description><link>https://community.m5stack.com/post/22486</link><guid isPermaLink="true">https://community.m5stack.com/post/22486</guid><dc:creator><![CDATA[mtylerjr]]></dc:creator><pubDate>Mon, 16 Oct 2023 08:15:07 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 - Pullup resistor on Sun, 15 Oct 2023 08:02:31 GMT]]></title><description><![CDATA[<p dir="auto">If 5v hits the GPIO pin it will kill the IO pin.<br />
When you say its long range, are you saying that the sensor is 50M away from the core?<br />
If so that is way too far and the issue is volt drop cause by the resistance of the cable connecting the two.</p>
]]></description><link>https://community.m5stack.com/post/22479</link><guid isPermaLink="true">https://community.m5stack.com/post/22479</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 15 Oct 2023 08:02:31 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 - Pullup resistor on Fri, 13 Oct 2023 20:51:54 GMT]]></title><description><![CDATA[<p dir="auto">Thank you <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a></p>
<p dir="auto">I will try on 3.3V, 5.1k seems good instead of 4.7k, but I use DS18B20 on long range (50m) and I am afraid 3.3V is not enough.</p>
<p dir="auto">what happens if I connect 5V? do I risk destroying GPIO33 or the whole board?<br />
I have to tell that after many tests over long periods of time, I've never burned out a GPIO using an external 4.7k resistor on the 5V, but may be it is possible while using internal pullup.</p>
<p dir="auto">I can see that GPIO21/22 are 2.2k, may be it is better to have more current for long distance ?</p>
<p dir="auto"><img src="/assets/uploads/files/1697229905728-54757a4c-1d76-4971-9bf7-899bd111cb2e-image.png" alt="0_1697229904447_54757a4c-1d76-4971-9bf7-899bd111cb2e-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/22466</link><guid isPermaLink="true">https://community.m5stack.com/post/22466</guid><dc:creator><![CDATA[Leo05]]></dc:creator><pubDate>Fri, 13 Oct 2023 20:51:54 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 - Pullup resistor on Fri, 13 Oct 2023 20:01:24 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/2264">@Leo05</a></p>
<p dir="auto">check out the M5Core2 <a href="https://docs.m5stack.com/en/core/core2" target="_blank" rel="noopener noreferrer nofollow ugc">schematic</a>. Port A is using GPIO32 / 33 and yes, there are internal pull-up resistors (5.1 k) to MCU_VDD (= 3.3 V).</p>
<p dir="auto">According to the DS18B20 <a href="https://www.analog.com/media/en/technical-documentation/data-sheets/ds18b20.pdf" target="_blank" rel="noopener noreferrer nofollow ugc">datasheet</a> minimal voltage is 3.0 V, so it should work being powered with 3.3 V.</p>
<p dir="auto">Note: ESP32 GPIOs are not 5 V tolerant, so I would not use an external pull-up to 5 V.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/22465</link><guid isPermaLink="true">https://community.m5stack.com/post/22465</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 13 Oct 2023 20:01:24 GMT</pubDate></item></channel></rss>