# GRAY


| Resources | Parameter |
| ESP32 | 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi, dual mode Bluetooth |
| Flash Memory | 16MB (old: 4MB) |
| Power Input | 5V @ 500mA |
| Port | TypeC x 1, GROVE(I2C+I/0+UART) x 1 |
| IPS Screen | 2 inch, 320x240 Colorful TFT LCD, ILI9342C, max brightness 853nit |
| Speaker | 1W-0928 |
| Button | Custom button x 3 |
| Core Bottom Port | PIN (G1,G2,G3,G16, G17, G18, G19, G21, G22, G23, G25, G26, G35, G36) |
| MEMS | BMM150 + MPU6886 |
| Battery | 110mAh @ 3.7V |
| Antenna | 2.4G 3D Antenna |
| Operating Temperature | 32°F to 104°F ( 0°C to 40°C ) |
| Net weight | 49.2g |
| Gross weight | 93g |
| Product Size | 54 x 54 x 18.9 mm |
| Package Size | 95 x 65 x 25mm |
| Case Material | Plastic ( PC ) |
| ESP32 Chip | GPIO23 | GPIO19 | GPIO18 | GPIO14 | GPIO27 | GPIO33 | GPIO32 | GPIO4 |
| ILI9342C | MOSI/MISO | / | CLK | CS | DC | RST | BL | |
| TF Card | MOSI | MISO | CLK | CS |
| ESP32 Chip | GPIO39 | GPIO38 | GPIO37 | GPIO25 |
| Button | BUTTON A | BUTTON B | BUTTON C | |
| Speaker | Speaker Pin |
| ESP32 Chip | GPIO39 | GPIO38 | GPIO37 | GPIO25 |
| Button Pin | BUTTON A | BUTTON B | BUTTON C | |
| Speaker | Speaker Pin |
| ESP32 Chip | GPIO22 | GPIO21 | 5V | GND |
| GROVE A | SCL | SDA | 5V | GND |
| IP5306 | SCL | SDA | 5V | GND |
| charging | discharging | ||
| 0.00 ~ 3.40V -> 0% | 4.20 ~ 4.07V -> 100% | ||
| 3.40 ~ 3.61V -> 25% | 4.07 ~ 3.81V -> 75% | ||
| 3.61 ~ 3.88V -> 50% | 3.81 ~ 3.55V -> 50% | ||
| 3.88 ~ 4.12V -> 75% | 3.55 ~ 3.33V -> 25% | ||
| 4.12 ~ / -> 100% | 3.33 ~ 0.00V -> 0% |
| ESP32 Chip | GPIO22 | GPIO21 | 5V | GND |
| MPU6886 | SCL | SDA | 5V | GND |
| ESP32 Chip | GPIO22 | GPIO21 | 5V | GND |
| BMM150 | SCL | SDA | 5V | GND |
| PORT | PIN | Note: |
|---|---|---|
| PORT-A(Red) | G21/22 | I2C |
| PORT-B(Black) | G26/36 | DAC/ADC |
| PORT-C(Blue) | G16/17 | UART |
| ADC1 | ADC2 | DAC1 | DAC2 |
|---|---|---|---|
| 8 channels | 10 channels | 2 channels | 2 channels |
| G32-39 | G0/2/4/12-15/25-27 | G25 | G26 |
| charging current | Fully charged current(Power OFF) | Fully charged current(Power ON) |
| 1.069A | - | 0.073A |
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)
## Schematic
- [Schematic](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/schematic/Core/M5-Core-Schematic(20171206).pdf)
## Related Link
- **Datasheet**
- [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)
- **API**
- [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
## Example
### ArduinoIDE
- Click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Basics)to download Arduino code
## Version Change
| Release Date | Product Change | |
|---|---|---|
| 2017.9 | Initial public release | |
| 2017.12 | MPU6050+MAG3110 changed to MPU9250 | |
| 2019.6 | MPU9250 changed to MPU6886+BMM150 | |
| 2019.7 | TN screen changed to IPS screen | |
| 2020.3 | Battery capacity changed from 150mAh to 110mAh | / |