pdf-icon

BASIC

SKU:K001

教程&快速上手

本教程将向你介绍, 如何通过 UIFlow 图形化编程平台控制 Basic 设备
本教程将向你介绍, 如何通过 UIFlow2.0 图形化编程平台控制 Basic 设备
本教程将向你介绍, 如何通过 Arduino IDE 编程控制 Basic 设备
本教程将向你介绍, 如何通过 Micropython 编程控制 Basic 设备

描述

M5Stack BASIC 是M5Stack开发套件系列中的一款,拥有超高性价比与丰富案例资源的入门级开发套件.对于开发新手来说, Basic 是不二之选.

快速成型,超低门槛,直达产品级,M5Stack 开发板会是你物联网开发的不二之选.传统开发板只能用作验证和学习,M5的出现赋予了开发板更多的可能性,M5Stack 开发板采用了工业级外壳,再加上精致的外观设计,整体性能稳定,除了验证和学习的功能之外,还可以加速开发和产品化的进程.采用ESP32物联网芯片.集成Wi-Fi,拥有16MB 的 SPI 闪存,双核低功耗的它在多种应用场景中有着非凡表现.由 30 多个 M5Stack 可堆叠模块,40 多个可扩展单元组成的硬件拓展体系,能够快速的帮助你搭建和验证你的物联网产品.

支持的开发平台和程序语言:Arduino, UIFlow (采用Blockly ,MicroPython语言). 无论你的开发和编程能力处在何种水平,M5Stack 都将协助你,逐步的将想法变为现实.

如果你开发过 ESP8266,你会发现 ESP32 是 ESP8266 的完美升级版.相比之下,ESP32 具有更多 GPIO ,更多的模拟输入和两个模拟输出,多个外设接口(如备用UART).官方开发平台 ESP-IDF 已经移植了 FreeRTOS,借助双核与实时操作系统,能使你更加高效的去组织你的程序代码,优化程序的执行效率.

M5Stack Basic 由两个可分离部分堆叠组成. 顶部放置了电路板,芯片,各种电子元器件和一些接口组件.底部放置了锂电池,M-BUS 总线母座和边缘的拓展引脚.

开关机操作
开机: 单击左侧红色电源键
关机: 快速双击左侧红色电源键
注意: 默认情况下, USB供电时,无法进行关机

产品特性

  • 基于 ESP32 开发
  • 内置扬声器,按键,LCD屏幕,电源/复位按键
  • TF卡插槽(支持最大16GB)
  • 内置锂电池
  • 背部磁吸设计
  • 可拓展的引脚与接口
  • M-Bus总线母座
  • 兼容多平台开发:

包含

  • 1x BASIC
  • 10x 杜邦线
  • 1x Type-C USB(20cm)
  • 1x 使用手册
  • 1x 贴纸

应用

  • 物联网控制器
  • STEM教育
  • DIY作品
  • 智能家居设备

规格参数

主控资源 参数
ESP32-D0WDQ6 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi
Flash 16MB
输入电压 5V @ 500mA
主机接口 TypeC x 1, GROVE(I2C+I/0+UART) x 1
Core底座接口 PIN (G21,G22,G23,G19, G18, G3, G1, G16, G17, G2, G5, G25, G26, G35, G36)
IPS屏幕 2 inch, 320x240 Colorful TFT LCD, ILI9342C,最高亮度853nit
扬声器 1W-0928
按键 自定义按键 x 3
锂电池 110mAh @ 3.7V
天线 2.4G 3D天线
工作温度 0°C to 60°C
净重 47.2g
毛重 93g
产品尺寸 54 x 54 x 18mm
包装尺寸 95 x 65 x 25mm
外壳材质 Plastic ( PC )

驱动安装

驱动下载
点击下方连接下载匹配操作系统的驱动程序。目前存在两种驱动芯片版本,CP210X(适用于CP2104版本)/CP34X(适用于CH9102版本)驱动程序压缩包.在解压压缩包后,选择对应操作系统位数的安装包进行安装。(若您不确定您的设备所使用的USB芯片, 可同时安装两种驱动。CH9102_VCP_SER_MacOS v1.7在安装过程中,可能出现报错,但实际上已经完成安装,忽略即可。)
驱动名称 适用驱动芯片 下载链接
CP210x_VCP_Windows CP2104 Download
CP210x_VCP_MacOS CP2104 Download
CP210x_VCP_Linux CP2104 Download
CH9102_VCP_SER_Windows CH9102 Download
CH9102_VCP_SER_MacOS v1.7 CH9102 Download

EasyLoader

EasyLoader是一个简洁快速的程序烧录器,其内置了一个产品相关的案例程序,通过简单步骤将其烧录至主控,即可进行一系列的功能验证.

Download Windows Version Easyloader Download MacOS Version Easyloader

案例描述:

该案例将执行喇叭,wifi,按键,加速计,TF-card(microSD)卡,屏幕等硬件运行测试.

管脚映射

LCD 屏幕 & TF 卡

LCD 像素:320x240 TF 卡最大支持 16GB

ESP32 Chip GPIO23 GPIO19 GPIO18 GPIO14 GPIO27 GPIO33 GPIO32 GPIO4
ILI9342C MOSI/MISO / CLK CS DC RST BL
TF卡 MOSI MISO CLK CS

按键 & 喇叭

ESP32 Chip GPIO39 GPIO38 GPIO37 GPIO25
按键引脚 BUTTON A BUTTON B BUTTON C /
喇叭 DA PIN

GROVE 接口 A & IP5306

电源管理芯片 (IP5306) 是定制 I2C 版本,它的 I2C 地址是 0x75。点击 这里 查看 IP5306 的寄存器手册。

ESP32 Chip GPIO22 GPIO21 5V GND
GROVE A SCL SDA 5V GND
IP5306 SCL SDA 5V GND

IP5306充/放电,电压参数

充电 放电
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%

PORT

PORT PIN 备注:
PORT-A(红色) G21/22 I2C
PORT-B(黑色) G26/36 DAC/ADC
PORT-C(蓝色) G16/17 UART

ESP32 ADC/DAC

ADC1 ADC2 DAC1 DAC2
8 通道 10 通道 2 通道 2 通道
G32-39 G0/2/4/12-15/25-27 G25 G26

充电电流测量值

充电电流 充满后电流(关机) 充满电(开机)
0.55A - 0.066A

M-BUS

M_BUS

有关引脚分配和引脚重新映射的更多信息,请参考 ESP32 datasheet

原理图

相关链接

项目案例

It is a device that assists in verifying body temperature information so that people can meet with ease at the Corona disaster.
An attempt to create a realtime "Artificial Horizon" on the M5.
Brew your own beer in a fridge with M5Stack.
There are bound to be times when you need to add music or SFX to your M5Stack projects. Here's how to do so with MicroPython.
LoRaWAN module is supported by UIFlow!
A customisable ESP32-based touchscreen project to control MQTT switches or HomeKit accessories (through the Home App).
This is the clock developed to take away the viewer's time
Use MicroPython to connect your M5Stack to Wi-Fi or a device to AP and create a simple web page to control some functions of the M5Stack.
Tree style menu for M5Stack. Features SD updater, battery level indicator, on-screen keyboard, and more.
A simple, analog-style digital tester (voltage meter, DVM) created using the compact development module M5Stack.
Make cool App controllable projects with ease by combining M5Stack, Tuniot and MIT App inventor.
Use your M5Stack ESP32 Basic to receive little Logo programs via MQTT and show the results.
Out of the M5Stack family only the M5StickC has an inbuilt RTC. Here's how to add one to your other M5Stack devices
It is possible to turn a lamp or fan on and off through an SMS message.
#M5Stack 3.3V端子にEDLC付けといたらUSB挿抜してもリセット掛からないぜ…! (無理やり感)
Voice notifications have been added to the tool to automatically share the timeline to family members.
WebBluetooth経由でM5Stackに文字列送信してQRコード化、さらにそれをPWA製QRスキャナで読み取りできた! ここまでの処理が全部JavaScriptで書けるの最高では?
We developed a stereo web radio for the M5Stack with software, audio board, 3d printed enclosure and documentation.
We have programmed a game to give to children.
A technology which increases efficiency in signing in or out during peak hour areas when entering the campus while the SafeEntry implies.
This year's Christmas, I decorated the tree with M5Stack devices.
I tried to communicate with Unity-M5Stack via WebSocket. M5Stack is a gadget with a built-in ESP32 module that enables Wi-Fi commun
Scratch Cat want to catch Xmas gift. So you control giftbox for Scratch Cat!! This project use M5Stack and Scratch 1.4 with M5Scratch.
I was able to control the focus adjustment of the telescope mak127 sp by the stepping motor which connected to M5Stack.
The mechanism is simple to monitor the value of the water temperature sensor with the M5Stack, and heater power is controlled by the relay
TCS3472 color recognition module can distinguish different colors of objects, and map the colors to pitch through algorithm
Colorimeter/Color recognition/Color overlay
Tuner for an Ukulele/Guitar, made using a M5 Core + M5Go bottom
A Dji Tello Drone wifi controller based on M5Stack Core
Using M5Stack and Nodemcu with python to control Youtube vids remotely from a distance.
ReaMima, is the open and free hardware design so that anyone can help by building respirators with easily available materials.
The "Social Distancing LED" that alerts you when someone gets too close within 2m.
I used mqtt to control the switching of the scene of OBS moving on PC from other devices.
Realize the "offline cloud platform" interaction function of operation information based on mqtt information transmission technology
Technology to protect puddle pudding!
I checked whether Amazon FreeRTOS is the only candidate to use M5 Stack.
Thanks to @ghibi for providing material. This project will measure the power consumption of the Sigfox module (IFS-M01) with M5Stack.
M5Stack Multi-Tool has Distances measurement, Spirit level, Voltage sensor, Find my phone, Torch, Home automation controls
M5Stack works as a pc mouse with the help of pyautogui.
M5Stack robot car which we can control with mpu6050 module through Wi-Fi with NodeMCU
Thanks for the source code and project information provided by @沧海
On hand gesture, you can open the door without touching the handle M5STACK AND NODEMCU USED.
In this project, I'm using an ultrasonic sensor to measure distance and calculate the area of a circle and square and display it on screen
Measure the current value used by equipment using M5Stack and clamp type current sensor.
My family has eaten the pudding I have saved! Do you have such experience? I want to keep the peace of my home. I made pudding alert-V.
An expandable turntable created using M5Stack Products.
A library for MicroPython for drawing tiles and sprites on an RGB SPI screen.
M5Stack and Micro:bit can control each other, thanks to the M5:Bit
Tilt left and right to move the ball
Make a simple watch device using UIFlow.
This project is based on the use of the development system M5StickV, for the classification of emotions.
M5Stack ESP32 Basic Core based maker watch.
Using UIFlow and Blynk to complete the interaction experiment
Making a pulse oximeter with alert function based on M5Stack Basic and LPWA Network.
A inner maker competition of M5Stack.

案例程序

Arduino

相关视频

M5Stack 的简介

版本变更

上市日期 产品变动 备注:
2017.7 首次发售 /
2019.7 TN屏幕变更为IPS屏幕 请将您的M5Stack库升级到最新版本(v0.2.8以上),以解决屏幕反色问题。
2020.3 电池容量150mAh变更为110mAh /
2020.6 flash大小由4MB变更为16MB /
注意:2018.2APCB版本的设备不支持C2C(TypeC to TypeC)连接及PD供电。