Difference between revisions of "MCookie-Base"

From Microduino Wiki
Jump to: navigation, search
(Created page with "{| style="width: 800px;" | |400px|thumb|right|mCookie-Base mCookie-Base is a discharging management module that the single lithium battery boo...")
 
Line 4: Line 4:
  
  
mCookie-Base is a discharging management module that the single lithium battery boosts to 5V output and LDO to 3.3V output , and at the same time it integrates the Hub sensor interface. You need to use it with [[Microduino BM Shield]], equivalent to '''cell box+Hub'''.
+
mCookie-Base is a discharging management module that the single lithium battery boosts to 5V output and LDO to 3.3V output , and at the same time it integrates the Hub sensor interface. You need to use it with [[Microduino-BM Shield]], equivalent to '''cell box+Hub'''.
  
 
==Features==
 
==Features==
*Support UPS(need to cooperate [[Microduino Module BM Shield]]);
+
*Support UPS(need to cooperate [[Microduino-BM Shield]]);
 
*Highly integration of electricity detection, 5v booster, and 3.3v LDO ;
 
*Highly integration of electricity detection, 5v booster, and 3.3v LDO ;
 
*Integrate Hub sensor interfaces;
 
*Integrate Hub sensor interfaces;
  
 
==Specification==
 
==Specification==
*[[Microduino BM Shield]] interface:
+
*[[Microduino-BM Shield]] interface:
**A 1.27-spacing 4Pininterface, the one labeled("VUSB","SWI","BAT" and "GND"), through which be connected with [[Microduino BM Shield]];
+
**A 1.27-spacing 4Pininterface, the one labeled("VUSB","SWI","BAT" and "GND"), through which be connected with [[Microduino-BM Shield]];
 
**The interfaces playing a role of UPIN27 includes 5V, 3V3, and GND;A7 of BM can detect the analog voltage, and can judge the electricity quality of the battery through detecting the voltage of battery with mc. You mustn’t rely on the protection circuit to protect the battery, because the protection circuit is only working in extreme cases.
 
**The interfaces playing a role of UPIN27 includes 5V, 3V3, and GND;A7 of BM can detect the analog voltage, and can judge the electricity quality of the battery through detecting the voltage of battery with mc. You mustn’t rely on the protection circuit to protect the battery, because the protection circuit is only working in extreme cases.
 
*Hub sensor interfaces:
 
*Hub sensor interfaces:
Line 24: Line 24:
  
 
===Power Supply===
 
===Power Supply===
*When the Microduino BM Shield is connected and it is in a state of power supply(switch on), the 5v provides 1a power output, and the 3.3v provides 700ma power output.
+
*When the Microduino-BM Shield is connected and it is in a state of power supply(switch on), the 5v provides 1a power output, and the 3.3v provides 700ma power output.
  
 
==Documents==
 
==Documents==
Line 34: Line 34:
 
==Development==
 
==Development==
 
*Microduino BM Shield, and connect to 3.7 single section lithium battery or USB;
 
*Microduino BM Shield, and connect to 3.7 single section lithium battery or USB;
*Use 1.27-spacing 4PIN line to connect Microduino BM Shield;
+
*Use 1.27-spacing 4PIN line to connect Microduino-BM Shield;
 
*Electric energy calculation:
 
*Electric energy calculation:
 
<source lang="cpp">
 
<source lang="cpp">

Revision as of 06:26, 7 July 2016

mCookie-Base


mCookie-Base is a discharging management module that the single lithium battery boosts to 5V output and LDO to 3.3V output , and at the same time it integrates the Hub sensor interface. You need to use it with Microduino-BM Shield, equivalent to cell box+Hub.

Features

  • Support UPS(need to cooperate Microduino-BM Shield);
  • Highly integration of electricity detection, 5v booster, and 3.3v LDO ;
  • Integrate Hub sensor interfaces;

Specification

  • Microduino-BM Shield interface:
    • A 1.27-spacing 4Pininterface, the one labeled("VUSB","SWI","BAT" and "GND"), through which be connected with Microduino-BM Shield
    • The interfaces playing a role of UPIN27 includes 5V, 3V3, and GND;A7 of BM can detect the analog voltage, and can judge the electricity quality of the battery through detecting the voltage of battery with mc. You mustn’t rely on the protection circuit to protect the battery, because the protection circuit is only working in extreme cases.
  • Hub sensor interfaces:
    • 12 totally. Each is marked on the name of the corresponding core pin.

Description of pins

Power Supply

  • When the Microduino-BM Shield is connected and it is in a state of power supply(switch on), the 5v provides 1a power output, and the 3.3v provides 700ma power output.

Documents

PCB File:Battery Mange.rar

Main Components

Development

  • Microduino BM Shield, and connect to 3.7 single section lithium battery or USB;
  • Use 1.27-spacing 4PIN line to connect Microduino-BM Shield;
  • Electric energy calculation:
//Voltage detection pin, A7pin
#define PIN_bat A7  //BAT

//MCU working voltage, which need to be chosen according to the situation.
#define MCU_VOLTAGE 50
//#define MCU_VOLTAGE 33

#define _V_max 41   //4.2V
#define _V_min 35   //3.7V

#define _V_fix 0.2  //fix battery voltage
#define _V_math(Y) (_V_fix+((Y*analogRead(PIN_bat)/1023.0f)/(33.0f/(51.0f+33.0f))))

uint8_t batVoltage() {
  return constrain(_V_math(MCU_VOLTAGE), _V_min, _V_max);
}

Application

  • Lithium battery boosts to power Microduino core.

FAQ

History

Gallery

Micrmodule BM Front
Micrmodule BM Back