<?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>I&amp;#39;d like to know how to check if the battery is charging.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67228/i-d-like-to-know-how-to-check-if-the-battery-is-charging</link><description>Hello, 
 I use the TP4056 charging module and the 3.7V lithium battery (300mAh) and work on sdk v17. 
 One of the features I&amp;#39;m trying to create is when the charging connector is connected to the battery (that is, when charging), to stop the previous function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Oct 2020 08:48:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67228/i-d-like-to-know-how-to-check-if-the-battery-is-charging" /><item><title>RE: I'd like to know how to check if the battery is charging.</title><link>https://devzone.nordicsemi.com/thread/275287?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 08:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63f55951-c4be-4dd7-bfb3-d4ddf4418d36</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Correct!&lt;/p&gt;
&lt;p&gt;Note that you need a pullup resistor as well, but you can use the on-chip resistor in the GPIO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'd like to know how to check if the battery is charging.</title><link>https://devzone.nordicsemi.com/thread/275235?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 02:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5d0d0c5-b567-4e3e-ad97-4a07bcb0f523</guid><dc:creator>schosdas</dc:creator><description>&lt;p&gt;Hello, ketiljo!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;According to the data sheet, pin 7 of TP4056 becomes PULL DOWN when charging.&lt;/p&gt;
&lt;p&gt;To read the signal from this pin, do I connect pin 7 of TP4056 to the GPIO pin of the CPU when designing the PCB?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'd like to know how to check if the battery is charging.</title><link>https://devzone.nordicsemi.com/thread/275007?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 08:42:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be955ed3-4c33-41c1-84ba-22c03ea61843</guid><dc:creator>schosdas</dc:creator><description>&lt;div class="edit_box___1KtZ3 active___3VPGL" id="txtTarget"&gt;&lt;span&gt;Thank you. I&amp;#39;ll check.&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'd like to know how to check if the battery is charging.</title><link>https://devzone.nordicsemi.com/thread/275004?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 08:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:259b20cc-88d7-4df4-af4b-1774b0db7d05</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;According to the datasheet of the TP4056, there&amp;#39;s a pin that goes low when the battery is being charged. Connect this to a GPIO with a pullup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>