2020-03-19 16:12:40 +08:00
# GRAY
2018-12-25 16:04:58 +08:00
2020-07-09 17:48:46 +08:00
<el-tag effect="plain">SKU:K002</el-tag>
2020-03-18 20:16:20 +08:00
2020-04-08 14:09:44 +08:00
<div class="product_pic"><img src="assets/img/product_pics/core/gray/gray_01.webp"><img src="assets/img/product_pics/core/gray/gray_02.webp"></div>
2018-12-25 16:04:58 +08:00
2020-11-04 19:11:58 +08:00
## Tutorial&Quick-Start
Choose the development platform you want to use, view the corresponding tutorial&quick-Start.
2020-11-17 16:38:23 +08:00
<a href="/#/en/quick_start/m5core/m5stack_core_get_started_MicroPython "><el-tag effect="plain">UIFlow</el-tag></a>
<a href="/#/en/arduino/arduino_development "><el-tag effect="plain">Arduino</el-tag></a>
2018-12-25 16:04:58 +08:00
## Description
2020-04-08 15:12:17 +08:00
**M5Stack GRAY Kit** is one of the M5Stack development kit series, which is a upgrade from the Basic kits. In comparison, Gray kit provides an extra IMU sensor, BMM150 + MPU6886. Gray kit is a nice choice for users who just get started or in progress.
2019-04-26 18:10:14 +08:00
2020-04-08 15:12:17 +08:00
With a IMU posture sensor, there are a lot of situations which u can apply this kit to: detecting acceleration, angulation, and trajectory. You can make relative products like sports data collector, 3D remote gesture controller and more base on the above functions.
2019-08-08 15:52:08 +08:00
2020-04-08 15:12:17 +08:00
**GRAY** is M5 Core device. Its modular, stackable, scalable, and portable device is powered with an ESP-32 core, which makes it open source, low cost, full-function, and easy for developers to handle new product development on all stages include circuit design, PCB design, software, mold design and production.
2019-08-08 15:52:08 +08:00
2020-04-08 15:12:17 +08:00
If you want to explore the fastest way of IoT prototyping, M5Stack development board is the perfect solution. Not like others, M5Stack development board is highly efficient, covered with industrial grade case and **ESP32-based** development board. It integrates with Wi-Fi & Bluetooth modules and contains a dual-core and 16MB of SPI Flash . Together with 30+ M5Stack stackable modules , 40+ extendable units and different levels of program language, you can create and verify your IoT product in a very short time.
Supportive development platforms and programming languages: Arduino, Blockly language with [UIFlow ](http://flow.m5stack.com ), Micropython. Regardless of what level programming skill you have, M5Stack would guide you in every step of the way to realize your idea as well as to the final productlization.
If you ever played with ESP8266, you would realize that ESP32 is a perfect upgrade out of ESP8266. In comparison, ESP32 has more GPIOs, more analog inputs and two analog outputs, multiple extra peripherals( like a spare UART ). Official developing platform ESP-IDF has transplanted with FreeRTOS. With dual-core and real time OS you can get more organized code and much high speed processor.
2020-03-17 14:38:21 +08:00
2020-05-25 17:01:34 +08:00
**Power on/off:**
* Power on: click the red power button on the left
* Power off: Quickly double-click the red power button on the left
2019-08-08 15:52:08 +08:00
2019-04-26 18:10:14 +08:00
## Product Features
2019-02-28 13:43:11 +08:00
2019-04-26 11:18:55 +08:00
- ESP32-based
2020-04-01 15:01:18 +08:00
- Built-in Speaker, Buttons, LCD
2019-04-30 12:24:55 +08:00
- TF card slot (Up to 16GB support)
2020-04-01 15:01:18 +08:00
- Battery Socket & Lipo Battery
2019-04-26 11:18:55 +08:00
- Extendable Pins & Holes
- M-Bus Socket & Pins
- Development Platform [UIFlow ](http://flow.m5stack.com ), [MicroPython ](http://micropython.org/ ), [Arduino ](http://www.arduino.cc )
2020-04-01 15:01:18 +08:00
2019-07-24 19:15:44 +08:00
2020-03-26 14:57:52 +08:00
## Include
2020-06-18 09:30:41 +08:00
2020-03-26 14:57:52 +08:00
- 1x Gray
- 10x Femal-male Dupont
- 1x Type-C USB(20cm)
- 1x User Manual
- 1x Sticker
## Applications
- Internet of things terminal controller
- Stem education product
- DIY creation
2020-04-02 11:05:52 +08:00
## Specification
2020-04-01 15:01:18 +08:00
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>ESP32</td>
<td>240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi, dual mode Bluetooth</td>
</tr>
<tr>
<td>Flash Memory</td>
<td>16MB (old: 4MB)</td>
</tr>
<tr>
<td>Power Input</td>
<td>5V @ 500mA</td>
</tr>
<tr>
<td>Port</td>
<td>TypeC x 1, GROVE(I2C+I/0+UART) x 1</td>
</tr>
<tr>
<td>IPS Screen</td>
2020-04-09 09:26:51 +08:00
<td>2 inch, 320x240 Colorful TFT LCD, ILI9342C, max brightness 853nit</td>
2020-04-01 15:01:18 +08:00
</tr>
<tr>
<td>Speaker</td>
<td>1W-0928</td>
</tr>
<tr>
<td>Button</td>
<td>Custom button x 3</td>
</tr>
<tr>
<td>Core Bottom Port</td>
<td>PIN (G1, G2, G3, G16, G17, G18, G19, G21, G22, G23, G25, G26, G35, G36)</td>
</tr>
<tr>
<td>MEMS</td>
<td>BMM150 + MPU6886</td>
</tr>
<tr>
<td>Battery</td>
<td>110mAh @ 3.7V</td>
</tr>
2020-04-09 15:44:13 +08:00
<tr>
<td>Antenna</td>
<td>2.4G 3D Antenna</td>
</tr>
2020-04-01 15:01:18 +08:00
<tr>
<td>Operating Temperature </td>
<td>32°F to 104°F ( 0°C to 40°C )</td>
</tr>
<tr>
2020-11-18 19:00:45 +08:00
<td>Net weight</td>
2020-05-28 21:05:47 +08:00
<td>49.2g</td>
2020-04-01 15:01:18 +08:00
</tr>
<tr>
2020-05-28 21:05:47 +08:00
<td>Gross weight</td>
<td>93g</td>
</tr>
<tr>
<td>Product Size</td>
<td>54 x 54 x 18.9 mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>95 x 65 x 25mm</td>
2020-04-01 15:01:18 +08:00
</tr>
<tr>
<td>Case Material</td>
<td>Plastic ( PC )</td>
</tr>
</table>
2019-06-18 21:16:27 +08:00
## EasyLoader
2020-03-11 21:11:32 +08:00
>EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial ](en/arduino/arduino_development ), M5StickC/V/T/ATOM series can be used without driver)
2019-06-18 21:16:27 +08:00
2020-03-11 21:11:32 +08:00
<div class="easyloader-box">
<div style="background-color:white;">
2020-04-08 14:09:44 +08:00
<div><img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/easyloader_intro.webp"></div>
2020-03-11 21:11:32 +08:00
<div class="easyloader-btn">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Windows/CORE/EasyLoader_M5Core_FactoryTest.exe">Windows</a>
2020-04-14 17:55:39 +08:00
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/MacOS/CORE/EasyLoader_M5Core_FactoryTest.dmg">MacOS</a>
2020-03-11 21:11:32 +08:00
<!-- <a>Linux</a>
<a>MacOS</a> -->
</div>
</div>
<div>
<video id="example_video" controls>
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Core/GRAY.mp4" type="video/mp4">
</video>
<div class="easyloader-mask">
<a>
<svg id="play-btn" t="1583228776634" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4152" width="75" height="75"><path d="M512 0C229.216 0 0 229.216 0 512s229.216 512 512 512 512-229.216 512-512S794.784 0 512 0z m0 928C282.24 928 96 741.76 96 512S282.24 96 512 96s416 186.24 416 416-186.24 416-416 416zM384 288l384 224-384 224z" p-id="4153" fill="#007aff "></path></svg></a>
<p>Description:</p>
2020-11-25 16:54:10 +08:00
<p>This case will perform hardware running tests for speakers, wifi, buttons, accelerometer, TF-card(microSD), screen, etc.</p>
2020-03-11 21:11:32 +08:00
</div>
</div>
</div>
2019-06-18 21:16:27 +08:00
2019-04-26 11:18:55 +08:00
## Peripherals Pin Map
2018-12-25 16:04:58 +08:00
2019-04-26 11:18:55 +08:00
**LCD & TF card**
2018-12-25 16:04:58 +08:00
2020-03-17 14:38:21 +08:00
LCD : 320x240
TF card Maximum size 16GB
2018-12-25 16:04:58 +08:00
<table>
<tr><td>ESP32 Chip</td><td>GPIO23</td><td>GPIO19</td><td>GPIO18</td><td>GPIO14</td><td>GPIO27</td><td>GPIO33</td><td>GPIO32</td><td>GPIO4</td></tr>
2019-12-13 19:58:17 +08:00
<tr><td>ILI9342C</td><td>MOSI/MISO</td><td>/</td><td>CLK</td><td>CS</td><td>DC</td><td>RST</td><td>BL</td><td> </td></tr>
2018-12-25 16:04:58 +08:00
<tr><td>TF Card</td><td>MOSI</td><td>MISO</td><td>CLK</td><td> </td><td> </td><td> </td><td> </td><td>CS</td></tr>
</table>
**Button & Speaker**
<table>
<tr><td>ESP32 Chip</td><td>GPIO39</td><td>GPIO38</td><td>GPIO37</td><td>GPIO25</td></tr>
<tr><td>Button</td><td>BUTTON A</td><td>BUTTON B</td><td>BUTTON C</td></tr>
<tr><td>Speaker</td><td> </td><td> </td><td> </td><td>Speaker Pin</td></tr>
</table>
2019-03-06 11:22:54 +08:00
**GROVE A & IP5306**
2020-03-17 14:38:21 +08:00
Power Management IC (IP5306) is customized I2C edition, its I2C address is 0x75. Click[here ](https://github.com/m5stack/M5-Schematic/blob/master/Core/IIC_IP5306_REG_V1.4.pdf ) to check IP5306 datasheet
2019-04-26 11:18:55 +08:00
**Button & Speaker**
<table>
<tr><td>ESP32 Chip</td><td>GPIO39</td><td>GPIO38</td><td>GPIO37</td><td>GPIO25</td></tr>
<tr><td>Button Pin</td><td>BUTTON A</td><td>BUTTON B</td><td>BUTTON C</td></tr>
<tr><td>Speaker</td><td> </td><td> </td><td> </td><td>Speaker Pin</td></tr>
</table>
**GROVE Port A & IP5306**
2020-03-17 14:38:21 +08:00
We've use the customized I2C version of IP5306, on power management.
2019-04-30 19:12:33 +08:00
2020-03-17 14:38:21 +08:00
Its I2C address is 0x75. Click [here ](https://github.com/m5stack/M5-Schematic/blob/master/Core/IIC_IP5306_REG_V1.4.pdf ) to check its datasheet
2018-12-25 16:04:58 +08:00
<table>
<tr><td>ESP32 Chip</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>GROVE A</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
2019-03-06 11:22:54 +08:00
<tr><td>IP5306</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
2018-12-25 16:04:58 +08:00
</table>
2019-08-15 16:36:11 +08:00
**IP5306 charging/discharging, Voltage parameter**
2019-08-08 20:10:54 +08:00
<table>
<tr style="font-weight:bold;text-align:center" >
<td>charging</td>
<td><td>
<td>discharging</td>
</tr>
<tr>
<td>0.00 ~ 3.40V -> 0%</td>
<td><td>
<td>4.20 ~ 4.07V -> 100%</td>
</tr>
<tr>
<td>3.40 ~ 3.61V -> 25%</td>
<td><td>
<td>4.07 ~ 3.81V -> 75%</td>
</tr>
<tr>
<td>3.61 ~ 3.88V -> 50%</td>
<td><td>
<td>3.81 ~ 3.55V -> 50%</td>
</tr>
<tr>
<td>3.88 ~ 4.12V -> 75%</td>
<td><td>
<td>3.55 ~ 3.33V -> 25%</td>
</tr>
<tr>
<td>4.12 ~ / -> 100%</td>
<td><td>
<td>3.33 ~ 0.00V -> 0%</td>
</tr>
</table>
2018-12-25 16:04:58 +08:00
2019-07-10 21:10:21 +08:00
**6-Axis MotionTracking Sensor MPU6886**
2020-03-17 14:38:21 +08:00
MPU6886 I2C address 0x68
2018-12-25 16:04:58 +08:00
<table>
<tr><td>ESP32 Chip</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
2019-07-10 21:10:21 +08:00
<tr><td>MPU6886</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
</table>
**3-Axis Geomagnetic Sensor BMM150**
2020-03-17 14:38:21 +08:00
BMM150 I2C address 0x10
2019-07-10 21:10:21 +08:00
<table>
<tr><td>ESP32 Chip</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
<tr><td>BMM150</td><td>SCL</td><td>SDA</td><td>5V</td><td>GND</td></tr>
2018-12-25 16:04:58 +08:00
</table>
2020-03-19 20:02:35 +08:00
## M5PORT EXPLAIN
2019-08-15 16:36:11 +08:00
2020-03-19 20:02:35 +08:00
<table>
<thead>
<th>PORT</th>
<th>PIN</th>
<th>Note:</th>
</thead>
<tbody>
<tr>
<td>PORT-A(Red)</td>
<td>G21/22</td>
<td>I2C</td>
</tr>
<tr>
<td>PORT-B(Black)</td>
<td>G26/36</td>
<td>DAC/ADC</td>
</tr>
<tr>
<td>PORT-C(Blue)</td>
<td>G16/17</td>
<td>UART</td>
</tr>
</tbody>
</table>
2019-08-15 16:36:11 +08:00
2020-03-19 20:02:35 +08:00
## ESP32 ADC/DAC
<table>
<thead>
<th>ADC1</th>
<th>ADC2</th>
<th>DAC1</th>
<th>DAC2</th>
</thead>
<tbody>
<tr>
<td>8 channels</td>
<td>10 channels</td>
<td>2 channels</td>
<td>2 channels</td>
</tr>
<tr>
<td>G32-39</td>
<td>G0/2/4/12-15/25-27</td>
<td>G25</td>
<td>G26</td>
</tr>
</tbody>
</table>
2020-09-30 18:18:24 +08:00
**Charging current measured value**
<table>
<tr><td>charging current</td><td>Fully charged current(Power OFF)</td><td>Fully charged current(Power ON) </td></tr>
<tr><td>1.069A</td><td>-</td><td>0.073A</td></tr>
</table>
2021-02-20 12:19:28 +08:00
## M-BUS
<img src="assets/img/product_pics/core/M-BUS.webp" alt="M_BUS" width="60%" height="36%">
2020-03-19 20:02:35 +08:00
For more information about Pin assignment and Pin Remapping, Please refer to [ESP32 Datasheet ](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32_datasheet_en.pdf )
2019-05-30 10:21:01 +08:00
2018-12-25 16:04:58 +08:00
2020-02-11 18:00:45 +08:00
## Schematic
2020-05-11 20:45:33 +08:00
- [Schematic ](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/schematic/Core/M5-Core-Schematic(20171206 ).pdf)
2020-03-19 10:58:07 +08:00
2020-06-18 09:30:41 +08:00
## Related Link
2018-12-25 16:04:58 +08:00
2019-10-22 11:48:25 +08:00
- **Datasheet**
2018-12-25 16:04:58 +08:00
2019-10-22 11:48:25 +08:00
- [ESP32 ](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32_datasheet_en.pdf )
- [MPU6886 ](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/MPU-6886-000193%2Bv1.1_GHIC_en.pdf )
- [BMM150 ](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/BMM150_datasheet_en.pdf )
- [IP5306 ](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/IIC_IP5306_REG_V1.4_cn.pdf )
2020-11-05 11:39:06 +08:00
- **API**
2019-04-26 11:18:55 +08:00
2020-11-25 16:54:10 +08:00
- [Arduino API ](en/arduino/arduino_home_page?id=m5core_api )
2020-04-01 15:01:18 +08:00
## Example
### ArduinoIDE
2020-04-02 11:05:52 +08:00
2020-04-01 15:01:18 +08:00
- Click [here ](https://github.com/m5stack/M5Stack/tree/master/examples/Basics )to download Arduino code
2018-12-25 16:04:58 +08:00
2019-10-12 11:18:00 +08:00
## Version Change
<div class="table-wrapper">
<table class="fl-table">
<thead>
<tr>
<th>Release Date</th>
<th>Product Change</th>
</tr>
</thead>
<tbody>
<tr>
<td>2017.9</td>
<td>Initial public release</td>
</tr>
<tr>
<td>2017.12</td>
<td>MPU6050+MAG3110 changed to MPU9250</td>
</tr>
<tr>
<td>2019.6</td>
<td>MPU9250 changed to MPU6886+BMM150</td>
</tr>
<tr>
<td>2019.7</td>
<td>TN screen changed to IPS screen</td>
</tr>
2020-05-21 17:55:38 +08:00
<tr>
<td>2020.3</td>
<td>Battery capacity changed from 150mAh to 110mAh</td>
<td>/</td>
</tr>
2019-10-12 11:18:00 +08:00
<tbody>
</table>
</div>
2020-02-11 18:00:45 +08:00
## Video
2018-12-25 16:04:58 +08:00
2019-01-26 18:10:47 +08:00
**m5stack instroduce**
2018-12-25 16:04:58 +08:00
2019-10-12 15:04:01 +08:00
<video class="video_size" controls>
2019-06-11 18:12:23 +08:00
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/LukeVideo/Introducing%20M5Stack.mp4" type="video/mp4">
2019-03-19 14:56:33 +08:00
</video>
2019-01-26 18:10:47 +08:00
2020-02-11 18:00:45 +08:00
<script>
var purchase_link = 'https://m5stack.com/collections/m5-core/products/grey-development-core';
var quickstart_link = 'https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_quick_start ';
anchor_search(purchase_link,quickstart_link);
scrollFunc();
</script>