Files

428 lines
13 KiB
Markdown
Raw Permalink Normal View History

2020-03-16 18:36:03 +08:00
# BASIC
2018-12-25 16:04:58 +08:00
<el-tag effect="plain">SKU:K001</el-tag>
2020-03-17 11:59:41 +08:00
2020-04-30 10:09:54 +08:00
<div class="product_pic"><img src="assets/img/product_pics/core/basic/basic_01.webp"><img src="assets/img/product_pics/core/basic/basic_03.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>
2020-11-04 19:11:58 +08:00
2018-12-25 16:04:58 +08:00
## Description
2020-04-08 15:12:17 +08:00
**M5Stack BASIC Kit**, like its namesake, is a starter kit among the M5Stack development kit series. Its a modular, stackable, scalable, and portable device which 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 including circuit design, PCB design, software, mold design and production. This Basic kit provides a friendly price and full-featured resources which makes it a good starter kit for you to explore IoT.
2020-03-17 14:38:21 +08:00
2020-06-02 17:39:01 +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.
2020-03-17 14:38:21 +08:00
2020-04-08 15:12:17 +08:00
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.
e
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-04-08 15:12:17 +08:00
M5Stack Basic is consist with two separable parts. The upside part has all kinds of processors, chips and some other slot components. The bottom part has a lithium battery, M-BUS socket and extendable pins on both sides.
2019-08-08 15:52:08 +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-04-26 18:10:14 +08:00
## Product Features
2019-04-24 14:15:44 +08:00
- ESP32-based
2020-03-31 13:38:27 +08:00
- Built-in Speaker, Buttons,Color LCD, Power/Reset button
2019-04-24 14:15:44 +08:00
- TF card slot (16G Maximum size)
2020-03-31 13:38:27 +08:00
- Magnetic suction at back
2019-04-24 14:15:44 +08:00
- Extendable Pins & Holes
- M-Bus Socket & Pins
2019-04-30 19:12:33 +08:00
- Program Platform: [UIFlow](http://flow.m5stack.com), [MicroPython](http://micropython.org/), [Arduino](http://www.arduino.cc)
2019-04-24 14:15:44 +08:00
2020-04-22 16:18:12 +08:00
## Include
2020-03-26 14:57:52 +08:00
- 1x BASIC
- 10x Dupont
- 1x Type-C USB(20cm)
- 1x User Manual
- 1x Sticker
## Applications
- Internet of things terminal controller
- Stem education product
- DIY creation
2020-03-31 13:38:27 +08:00
- Smart home equipment
2020-04-02 11:05:52 +08:00
## Specification
2020-03-31 13:38:27 +08:00
<table class="table-1">
<thead>
2020-05-21 17:55:38 +08:00
<tr>
2020-03-31 13:38:27 +08:00
<th>Resources</th>
<th>Parameter</th>
2020-05-21 17:55:38 +08:00
</tr>
2020-03-31 13:38:27 +08:00
</thead>
<tbody>
<tr>
<td>ESP32</td>
<td>240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi, dual mode Bluetooth</td>
</tr>
<tr>
<td>Flash Memory</td>
2020-06-02 17:39:01 +08:00
<td>16MB</td>
2020-03-31 13:38:27 +08:00
</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>Core Bottom Port</td>
<td>PIN (G1G2G3G16, G17, G18, G19, G21, G22, G23, G25, G26, G35, G36)</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-03-31 13:38:27 +08:00
</tr>
<tr>
<td>Button</td>
<td>Custom button x 3</td>
</tr>
<tr>
<td>Speaker</td>
<td>1W-0928</td>
</tr>
<tr>
<td>Battery</td>
<td>110mAh @ 3.7V</td>
</tr>
<tr>
2020-04-09 15:44:13 +08:00
<td>Antenna</td>
<td>2.4G 3D Antenna</td>
2020-03-31 13:38:27 +08:00
</tr>
<tr>
2020-04-01 15:01:18 +08:00
<td>Operating Temperature</td>
2020-03-31 13:38:27 +08:00
<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>47.2g</td>
<tr>
<td>Gross weight</td>
<td>93g</td>
</tr>
<tr>
<td>Product Size</td>
<td>54 x 54 x 18mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>95 x 65 x 25mm</td>
2020-03-31 13:38:27 +08:00
</tr>
<tr>
<td>Case Material</td>
<td>Plastic ( PC )</td>
</tr>
</tbody>
</table>
2020-03-26 14:57:52 +08:00
2019-06-18 21:16:27 +08:00
## EasyLoader
2020-03-11 14:57:18 +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 14:57:18 +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 14:57:18 +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_FACES_FactoryTest.dmg">MacOS</a>
2020-03-11 14:57:18 +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/BASIC.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 14:57:18 +08:00
</div>
</div>
</div>
2019-06-18 21:16:27 +08:00
2020-06-18 09:30:41 +08:00
## PinMap
2018-12-25 16:04:58 +08:00
2020-03-31 20:24:29 +08:00
**LCD & TF card**
2020-03-17 10:22:08 +08:00
LCD 320x240
TF card Maximum size 16GB
2018-12-25 16:04:58 +08:00
2020-03-17 11:59:41 +08:00
<table class="table-1">
<thead>
<th>ESP32 Chip</th>
2020-03-17 14:32:17 +08:00
<th>GPIO23</th>
<th>GPIO19</th>
<th>GPIO18</th>
<th>GPIO14</th>
<th>GPIO27</th>
<th>GPIO33</th>
<th>GPIO32</th>
<th>GPIO4</th>
2020-03-17 11:59:41 +08:00
</thead>
<tbody>
<tr>
2020-03-17 14:32:17 +08:00
<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>
2020-03-17 11:59:41 +08:00
</tr>
<tr>
2020-03-17 14:32:17 +08:00
<td>TF Card</td>
<td>MOSI</td>
<td>MISO</td>
<td>CLK</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td>CS</td>
2020-03-17 11:59:41 +08:00
</tr>
</tbody>
2018-12-25 16:04:58 +08:00
</table>
2020-03-31 20:24:29 +08:00
**Button & Speaker**
2020-03-17 11:59:41 +08:00
<table class="table-1">
<thead>
<th>ESP32 Chip</th>
<th>GPIO39</th>
<th>GPIO38</th>
<th>GPIO37</th>
<th>GPIO25</th>
</thead>
<tbody>
<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>DA PIN</td>
</tr>
</tbody>
2018-12-25 16:04:58 +08:00
</table>
2020-03-31 20:24:29 +08:00
**GROVE Port A & IP5306**
2019-02-26 12:09:29 +08:00
2020-03-17 11:59:41 +08:00
<table class="table-1">
<thead>
<th>ESP32 Chip</th>
<th>GPIO22</th>
<th>GPIO21</th>
<th>5V</th>
<th>GND</th>
</thead>
<tbody>
<tr>
<td>GROVE A</td>
<td>SCL</td>
<td>SDA</td>
<td>5V</td>
<td>GND</td>
</tr>
<tr>
<td>IP5306</td>
<td>SCL</td>
<td>SDA</td>
<td>5V</td>
<td>GND</td>
</tr>
</tbody>
2018-12-25 16:04:58 +08:00
</table>
2020-03-17 11:59:41 +08:00
## IP5306 charging/dischargingVoltage parameter
<table class="table-1">
<thead>
<th>charging</th>
<th>discharging</th>
</thead>
<tbody>
<tr>
<td>0.00 ~ 3.40V -> 0%</td>
<td>4.20 ~ 4.07V -> 100%</td>
</tr>
<tr>
<td>3.40 ~ 3.61V -> 25%</td>
<td>4.07 ~ 3.81V -> 75%</td>
</tr>
<tr>
<td>3.61 ~ 3.88V -> 50%</td>
<td>3.81 ~ 3.55V -> 50%</td>
</tr>
<tr>
<td>3.88 ~ 4.12V -> 75%</td>
<td>3.55 ~ 3.33V -> 25%</td>
</tr>
<tr>
<td>4.12 ~ / -> 100%</td>
<td>3.33 ~ 0.00V -> 0%</td>
</tr>
</tbody>
2019-08-08 20:10:54 +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>
## ESP32 ADC/DAC
<table>
2020-03-17 11:59:41 +08:00
<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>
2019-08-15 16:36:11 +08:00
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-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>0.55A</td><td>-</td><td>0.066A</td></tr>
</table>
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
2020-06-18 09:30:41 +08:00
## Related Link
2018-12-25 16:04:58 +08:00
2020-03-31 13:38:27 +08:00
- **Datasheet**
- [ESP32](https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/datasheet/core/esp32_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**
2020-11-25 16:54:10 +08:00
- [Arduino API](en/arduino/arduino_home_page?id=m5core_api)
2020-11-05 11:39:06 +08:00
2020-03-31 13:38:27 +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)
2019-04-30 12:24:55 +08:00
2019-10-12 11:18:00 +08:00
## Version Change
2020-03-19 20:02:35 +08:00
<table>
2020-03-17 11:59:41 +08:00
<thead>
<tr>
<th>Release Date</th>
<th>Product Change</th>
<th>Note:</th>
</tr>
2020-03-17 11:59:41 +08:00
</thead>
<tbody>
<tr>
2019-10-12 11:18:00 +08:00
<td>2017.7</td>
<td>Initial public release</td>
2020-03-17 11:59:41 +08:00
<td>/</td>
</tr>
<tr>
2019-10-12 11:18:00 +08:00
<td>2019.7</td>
<td>TN screen changed to IPS screen</td>
2020-03-17 14:32:17 +08:00
<td>before use . pls upgrade your M5Stack lib to the latest version (after 0.2.8) to solve screen reverse color problem.</td>
2020-03-17 11:59:41 +08:00
</tr>
2020-03-19 20:02:35 +08:00
<tr>
<td>2020.3</td>
<td>Battery capacity changed from 150mAh to 110mAh</td>
<td>/</td>
</tr>
2020-06-02 17:39:01 +08:00
<tr>
<td>2020.6</td>
<td>Flash size changed from 4MB to 16MB</td>
<td>/</td>
</tr>
2020-03-17 11:59:41 +08:00
</tbody>
</table>
2020-03-17 14:38:21 +08:00
## Example
2020-03-31 15:07:57 +08:00
2021-02-19 19:34:06 +08:00
### 1. Arduino
2020-03-31 15:07:57 +08:00
2020-04-01 15:01:18 +08:00
- Click[here](https://github.com/m5stack/M5Stack/tree/master/examples/Basics)to get Arduino code
2020-03-17 10:22:08 +08:00
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/basic-core-iot-development-kit';
var quickstart_link = 'https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_quick_start';
anchor_search(purchase_link,quickstart_link);
scrollFunc();
</script>