<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=MCookie-Base</id>
		<title>MCookie-Base - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=MCookie-Base"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=MCookie-Base&amp;action=history"/>
		<updated>2026-06-06T17:35:13Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=MCookie-Base&amp;diff=26428&amp;oldid=prev</id>
		<title>2018年6月12日 (二) 07:26 18811016169</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=MCookie-Base&amp;diff=26428&amp;oldid=prev"/>
				<updated>2018-06-12T07:26:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2018年6月12日 (二) 07:26的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot; &gt;第65行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第65行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==图库==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==图库==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file:mCookie-base-F.jpg|thumb|600px|center|Micrmodule &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BM &lt;/del&gt;Front]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file:mCookie-base-F.jpg|thumb|600px|center|Micrmodule &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;base &lt;/ins&gt;Front]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file:mCookie-base-B.jpg|thumb|600px|center|Micrmodule &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BM &lt;/del&gt;Back]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file:mCookie-base-B.jpg|thumb|600px|center|Micrmodule &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;base &lt;/ins&gt;Back]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>18811016169</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=MCookie-Base&amp;diff=16337&amp;oldid=prev</id>
		<title>Yanglibin@microduino.cc：/* 规格 */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=MCookie-Base&amp;diff=16337&amp;oldid=prev"/>
				<updated>2016-07-11T07:38:11Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;规格&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2016年7月11日 (一) 07:38的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;第21行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第21行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file:mCookie-base.jpg|800px|thumb|center|pinout]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[file:mCookie-base.jpg|800px|thumb|center|pinout]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[file:mCookie-base-2.jpg|800px|thumb|center|pinout]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===供电===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===供电===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Yanglibin@microduino.cc</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=MCookie-Base&amp;diff=16183&amp;oldid=prev</id>
		<title>Yanglibin@microduino.cc：创建页面，内容为“{| style=&quot;width: 800px;&quot; | mCookie-Base   mCookie-Base是一款单节锂电池升压到5V输出、LDO到3.3V输出...”</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=MCookie-Base&amp;diff=16183&amp;oldid=prev"/>
				<updated>2016-07-05T09:22:58Z</updated>
		
		<summary type="html">&lt;p&gt;创建页面，内容为“{| style=&amp;quot;width: 800px;&amp;quot; | &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:MCookie-base-rect.jpg&quot; title=&quot;文件:MCookie-base-rect.jpg&quot;&gt;|400px|thumb|right|mCookie-Base&lt;/a&gt;   mCookie-Base是一款单节锂电池升压到5V输出、LDO到3.3V输出...”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
[[File:mCookie-base-rect.jpg||400px|thumb|right|mCookie-Base]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mCookie-Base是一款单节锂电池升压到5V输出、LDO到3.3V输出的放电管理模块同时集成了Hub传感器接口。需要配合[[Microduino Module BM Shield/zh]]来使用，相当于'''电池盒+Hub'''。&lt;br /&gt;
&lt;br /&gt;
==特色==&lt;br /&gt;
*支持UPS（需配合[[Microduino Module BM Shield/zh]]）；&lt;br /&gt;
*电量检测、5v升压、3.3v LDO高度集成；&lt;br /&gt;
*集成Hub传感器接口；&lt;br /&gt;
&lt;br /&gt;
==规格==&lt;br /&gt;
*与[[Microduino Module BM Shield/zh]]接口：&lt;br /&gt;
**一个1.27间距的4Pin接口，标有（&amp;quot;VUSB&amp;quot;,&amp;quot;SWI&amp;quot;,&amp;quot;BAT&amp;quot;以及&amp;quot;GND&amp;quot;）的接口，通过这个接口与[[Microduino Module BM Shield/zh]]模块连接起来；&lt;br /&gt;
**UPIN27上起作用的接口有5V、3V3、GND；BM上的A7可以检测模拟电压，可以利用mcu检测电池的电压来判断电池的电量，不要依靠保护电路保护电池，保护电路只是极端情况下才起作用。&lt;br /&gt;
*Hub传感器接口：&lt;br /&gt;
**共12个，每个接口上都标有对应接到核心管脚的名字。&lt;br /&gt;
&lt;br /&gt;
'''引脚说明'''&lt;br /&gt;
&lt;br /&gt;
[[file:mCookie-base.jpg|800px|thumb|center|pinout]]&lt;br /&gt;
[[file:mCookie-base-2.jpg|800px|thumb|center|pinout]]&lt;br /&gt;
&lt;br /&gt;
===供电===&lt;br /&gt;
*当接上Microduino Module BM Shield时且处于供电状态（打开开关），5v提供1a的电力输出，3.3v提供700ma的电力输出。&lt;br /&gt;
&lt;br /&gt;
==文档==&lt;br /&gt;
PCB ''[[File:Battery Mange.rar]]''&lt;br /&gt;
&lt;br /&gt;
===主要元件===&lt;br /&gt;
*MOS管：AO3407 '''[[File:AO3407.pdf]]'''&lt;br /&gt;
&lt;br /&gt;
==开发==&lt;br /&gt;
*Microduino Module BM Shield，并接上3.7单节锂电池或接上USB；&lt;br /&gt;
*用1.27间距的4PIN线连接Microduino Module BM Shield；&lt;br /&gt;
*电量计算：&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//电压检测引脚，A7引脚&lt;br /&gt;
#define PIN_bat A7  //BAT&lt;br /&gt;
&lt;br /&gt;
//MCU工作电压，需要根据情况选择&lt;br /&gt;
#define MCU_VOLTAGE 50&lt;br /&gt;
//#define MCU_VOLTAGE 33&lt;br /&gt;
&lt;br /&gt;
#define _V_max 41   //4.2V&lt;br /&gt;
#define _V_min 35   //3.7V&lt;br /&gt;
&lt;br /&gt;
#define _V_fix 0.2  //fix battery voltage&lt;br /&gt;
#define _V_math(Y) (_V_fix+((Y*analogRead(PIN_bat)/1023.0f)/(33.0f/(51.0f+33.0f))))&lt;br /&gt;
&lt;br /&gt;
uint8_t batVoltage() {&lt;br /&gt;
  return constrain(_V_math(MCU_VOLTAGE), _V_min, _V_max);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==应用==&lt;br /&gt;
*锂电池升压给Microduino核心供电&lt;br /&gt;
&lt;br /&gt;
==问题解答==&lt;br /&gt;
&lt;br /&gt;
==历史==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==图库==&lt;br /&gt;
[[file:mCookie-base-F.jpg|thumb|600px|center|Micrmodule BM Front]]&lt;br /&gt;
[[file:mCookie-base-B.jpg|thumb|600px|center|Micrmodule BM Back]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Yanglibin@microduino.cc</name></author>	</entry>

	</feed>