mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
updated
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 151 KiB |
@@ -22,10 +22,6 @@
|
||||
|
||||
- [Purchase](https://www.aliexpress.com/store/product/M5Stack-2/3226069_32874948519.html)
|
||||
|
||||
<!-- <img src="assets/img/product_pics/accessory/frame_01.jpg" alt="frame_01" width="300px" height="300px">
|
||||
|
||||
<img src="assets/img/product_pics/accessory/frame_02.jpg" width="300px" height="300px"> -->
|
||||
|
||||
<img src="assets/img/product_pics/accessory/frame_03.jpg" alt="frame_03" width="300px" height="300px">
|
||||
|
||||
<img src="assets/img/product_pics/accessory/frame_04.jpg" alt="frame_04" width="300px" height="300px">
|
||||
|
||||
+8
-5
@@ -1,4 +1,4 @@
|
||||
# BALA - Balanced Car {docsify-ignore-all}
|
||||
# Application BALA {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/app/bala_1.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/bala_5.jpg" width="250" height="250">
|
||||
|
||||
@@ -8,16 +8,20 @@
|
||||
|
||||
## Description
|
||||
|
||||
**<mark>BALA</mark>** is a balance bot based on M5Stack FIRE, including a 2 DC driver module based on Mega328p which is a core chip on Arduino UNO.
|
||||
**BALA** is short for 'Balance', like its namesake, **BALA** is a Self Balancing Robot consist of a M5 FIRE and two wheels(DC motors).
|
||||
|
||||
You can even program The M5Stack BALA through Arduino or MicroPython with few code.
|
||||
This Application product comes with preloaded software, a self-balance robot application. While there are lots of open source code on Arduino as well, We especially encourage you to modify and enhance the code yourself.
|
||||
|
||||
This Self Balancing Robot is a Two-wheeled Robot that balances vertically using a closed-loop algorithm. This Self Balancing Robot Features various modes like Position Hold, Simple Mode, Rise Mode and Joystick Control. This Robot is controllable by a Smartphone device or a Transmitter. Self Balancing robot uses data from the Accelerometer and Gyroscope to correct its orientation and position.
|
||||
|
||||
The 2 DC driver module communicates with M5Stack FIRE through I2C bus. It's default I2C address is **0x56**.
|
||||
|
||||
## Feature
|
||||
## Product Features
|
||||
|
||||
- Programming Support
|
||||
+ Python
|
||||
+ UIFlow (Blockly)
|
||||
+ Arduino
|
||||
- Compatible LEGO
|
||||
- POGO Pin
|
||||
- TF Card Support
|
||||
@@ -39,7 +43,6 @@ Battery | 550mAh @ 3.7V, inside
|
||||
Op.Temp. | 32°F to 104°F ( 0°C to 40°C )
|
||||
Size | 54 x 54 x 21 mm
|
||||
C.A.S.E | Plastic ( PC )
|
||||
Weight | 56g
|
||||
|
||||
## Include
|
||||
|
||||
|
||||
+7
-21
@@ -6,23 +6,22 @@
|
||||
|
||||
:memo:**[Description](#Description)** :octocat:**[Example](#Example)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-Official-FLIR-Radiometric-Lepton-2-0-3-0-Dev-160HX120V-80HX60V-Thermal-Imager-Kit-M5/3226069_32959050762.html?spm=2114.12010615.8148356.2.13421cc8ExLqq4)**
|
||||
|
||||
<!-- :clapper:**[相关视频](#相关视频)** -->
|
||||
|
||||
## Description
|
||||
|
||||
**<mark>FLIR</mark>** is a module which integrates lwir micro thermal camera (**Lepton 3.0**) supplied by FLIR company.
|
||||
**FLIR** features the latest FLIR Lepton 3.0 longwave-infrared (LWIR) camera core, get two times the resolution and 4x the pixels of the previous 2.x generation
|
||||
|
||||
<img src="assets/img/product_pics/app/app_flir_04.png">
|
||||
|
||||
Real-time access to non-contact temperature measurement data. Easy to use because it integrates a digital thermal image processing unit. Lepton is equipped in M5 standard size 3D printing housing, after stacking M5Core, communicate with the master via IIC.
|
||||
FLIR is covered by a 3D printing case, makes it a perfect functional bottom for non-contact temperature measurement, compatible with M5Core and can be controlled via I2C protocol.
|
||||
|
||||
The effective pixels obtained by the Lepton sensor are 160×120, but you can display the image size of different resolutions on the M5Core through the Arduino program. The image sizes for different resolutions are 80x60, 160x120, 240x320.
|
||||
The effective image generate by the Lepton sensor is 160×120, but you can process the image thru program and display a different resolution.
|
||||
|
||||
**Note:** If working long hours, Lepton will heat up. But the output image is not affected by the camera temperature.
|
||||
|
||||
**Note:** If it worked for long hours, Lepton will heat up a little. But the output image is not affected.
|
||||
|
||||
<img src="assets/img/product_pics/app/app_flir_02.png" width=50% height=50%>
|
||||
|
||||
## Feature
|
||||
## Product Features
|
||||
|
||||
- 160×120 Effective Pixels
|
||||
- Lepton Low operating power — 150 mW (operating), 650 mW (during shutter event), 5 mW (standby)
|
||||
@@ -65,19 +64,6 @@ The effective pixels obtained by the Lepton sensor are 160×120, but you can dis
|
||||
|
||||
## Example
|
||||
|
||||
*If you want the complete code, please click [here](https://github.com/m5stack/Applications-Lepton3.0/tree/master/lepton3/Src/Lepton_Bot)。*
|
||||
*To get complete code, please click [here](https://github.com/m5stack/Applications-Lepton3.0/tree/master/lepton3/Src/Lepton_Bot)。*
|
||||
|
||||
<img src="assets/img/product_pics/app/app_flir_03.png">
|
||||
|
||||
<!--
|
||||
**Example目录树**
|
||||
|
||||
├─LidarBot_CarMain_V1.1 - 雷达车主控程序
|
||||
|
||||
├─LidarBot_RemoteController_V1.0 - 遥控手柄程序V1.0
|
||||
|
||||
└─LidarBot_RemoteController_V1.2 - 遥控手柄程序V1.2(相比V1.0精度提高一倍) -->
|
||||
|
||||
<!-- ## 相关视频
|
||||
|
||||
**Lidar Bot 在迷宫中巡线**
|
||||
|
||||
+13
-9
@@ -1,4 +1,4 @@
|
||||
# LidarBot {docsify-ignore-all}
|
||||
# Application LidarBot {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/app/lidarbot_01.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_03.jpg" width="250" height="250">
|
||||
|
||||
@@ -8,17 +8,19 @@
|
||||
|
||||
## Description
|
||||
|
||||
**<mark>LidarBot</mark>** is a four-wheeled car based on indoor navigation. The car body is loaded with lidar, four Mecanum wheels, control-wheel bottom board(based on MEGA328), two RGB bars, M5Core(CarMainController) and some LEGO holes.
|
||||
**LidarBot** is a powerful development kit for Automated Guided Vehicles(AGVs). Comes with a 360 Lidar sensor, 4 Mecanum wheels, M5 Core, RGB Bars and a remote conroller with Joystick panel and more.
|
||||
With 4 Mecanum wheels, you can make it move to any direction, forward, backward, to left and to right. The Lipo Batteries enpower the Robot to run long-hours. You can display the map data, that obtained from the lidar sensor, on the screen or upload somewhere else thru Wi-Fi and program it into any format.
|
||||
|
||||
Real-time communication via ESP-NOW between the car and the remote control handle. After receiving the control signal, the car master controlls the wheels and RGB bars through the specified protocol format.
|
||||
we have implemented Real-time communication via ESP-NOW between robot and remote, Mazing-runing , self-tracing and more.
|
||||
If you are interest in AGV development, We especially encourage you to modify the open source code we have offered on github and enhance it yourself.
|
||||
|
||||
And in addition to controlling the car's flexible front, rear, left and right movements, the indoor terrain can also be displayed on the display screens of the car master(M5Core) and the remote control handle.
|
||||
|
||||
## Feature
|
||||
## Product Features
|
||||
|
||||
- Lidar: 8m @ 6Hz
|
||||
- Programming Support
|
||||
+ Arduino
|
||||
+ UIFlow (Blockly)
|
||||
+ Python
|
||||
- Compatible LEGO
|
||||
|
||||
## Protocol for CarBottomBoard
|
||||
@@ -41,9 +43,11 @@ And in addition to controlling the car's flexible front, rear, left and right mo
|
||||
|
||||
- The size of LidarBot: 142mm x 117mm x 120mm
|
||||
- Communication Parameter
|
||||
- M5Core(CarMain) <-> Lidar (<mark>**U1RXD**(GPIO16)</mark> <-> Lidar)
|
||||
- M5Core <-> Lidar
|
||||
(<mark>**U1RXD**(GPIO16)</mark> <-> Lidar sensor)
|
||||
Serial Configuration: "230400bps, 8, n, 1"(8 bits data, no parity, 1 stop bit)
|
||||
- M5Core(CarMain) <-> CarBottomBoard (<mark>**U2TXD**(GPIO17)</mark> <-> Lidar)
|
||||
- M5Core <-> Bottom Board
|
||||
(<mark>**U2TXD**(GPIO17)</mark> <-> Bottom Board)
|
||||
Serial Configuration: "115200bps, 8, n, 1"(8 bits data, no parity, 1 stop bit)
|
||||
- PinMap
|
||||
- ServoMotor0 <-> A0(MEGA328)
|
||||
@@ -71,7 +75,7 @@ And in addition to controlling the car's flexible front, rear, left and right mo
|
||||
|
||||
## Example
|
||||
|
||||
*If you want the complete code, please click [here](https://github.com/m5stack/Applications-LidarBot/tree/master/LidarBot/Example)。*
|
||||
*To get complete code, please click [here](https://github.com/m5stack/Applications-LidarBot/tree/master/LidarBot/Example)。*
|
||||
|
||||
**Tree for Example Directory**
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# PIANO {docsify-ignore-all}
|
||||
# Application PIANO {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/app/app_piano_01.png" width="30%" height="30%">
|
||||
|
||||
@@ -6,18 +6,18 @@
|
||||
|
||||
:memo:**[Description](#Description)** :electric_plug:**[PinMap](#PinMap)** 🛒**[Purchase](https://item.taobao.com/item.htm?id=584647000573)**
|
||||
|
||||
<!-- :memo:**[Description](#描述)** :octocat:**[例程](#例程)** :electric_plug:**[PinMap](#PinMap)** 🛒**[Purchase](https://item.taobao.com/item.htm?id=584647000573)** -->
|
||||
|
||||
## Description
|
||||
|
||||
**<mark>PIANO</mark>** is a piano application. After Downloaded [example](https://github.com/m5stack/M5-ProductExampleCodes/blob/master/App/PIANO/Arduino/M5PIANO/M5PIANO.ino) to M5Core, and PIANO was attatched to [M5Core bottom](en/base/core_bottom), you can play this PIANO immediately.
|
||||
**PIANO** is a application base related to music or sound performing. Comes with two touch sensors(TS20) which communicate with M5 core via I2C protocol.
|
||||
|
||||
The touch sensor (**TS20**) built in PIANO communicates with M5Core through IIC. There are two TS20 built in PIANO and their IIC addresses are 0x6A and 0x7A.
|
||||
|
||||
PIANO needs access to the [base](en/base/core_bottom) of the M5Core as shown below.
|
||||
I2C address is 0x6A and 0x7A.
|
||||
|
||||
<img src="assets/img/product_pics/app/app_piano_02.png">
|
||||
|
||||
## Include
|
||||
|
||||
- 1x PIANO
|
||||
|
||||
## Example
|
||||
|
||||
- https://github.com/m5stack/M5-ProductExampleCodes/blob/master/App/PIANO/Arduino/M5PIANO/M5PIANO.ino
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
|
||||
## UIFlow
|
||||
|
||||
1. Burn [UIFlow](http://flow.m5stack.com) firmware - [How to Burn Firmware](en/related_documents/how_to_burn_firmware)
|
||||
2. WiFi connection - [How to Connect wifi using Core](en/related_documents/how_to_connect_wifi_using_core)
|
||||
3. Find the location of POGO Pin, and stack M5Core over M5Bala wheel.
|
||||
1. Download [UIFlow](http://flow.m5stack.com) firmware - [How to dowmload Firmware](https://docs.m5stack.com/#/en/related_documents/how_to_burn_firmware)
|
||||
2. WiFi Configuration - [How to Connect wifi on M5Core](https://docs.m5stack.com/#/en/related_documents/how_to_burn_firmware)
|
||||
3. Find the POGO Pin, and stack M5Core over M5Bala wheel.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_pogopin.jpg" width="50%" height="50%">
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_power_switch.jpg" width="50%" height="50%">
|
||||
|
||||
5. Click the button on the side of M5Bala Wheel for power on (double click for shutdown).
|
||||
5. Click the button on the side of M5Bala bottom to power on (double click for shutdown).
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_bala_power_switch.jpg" width="50%" height="50%">
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_uiflow_01.png">
|
||||
|
||||
7. Copy the following code to UIFlow and then click `Download` for running it.
|
||||
7. Copy the following code to UIFlow and then click `Download`.
|
||||
|
||||
```python
|
||||
from m5stack import *
|
||||
@@ -77,45 +77,45 @@ while True:
|
||||
|
||||
## Arduino IDE
|
||||
|
||||
1. Setting Arduino development environment - [Establish Serail Connection](en/related_documents/establish_serial_connection) - [Get Started with Ardino IDE](en/quick_start/m5core/m5stack_core_quick_start)
|
||||
1. Setting Arduino development environment - [Establish Serail Connection](https://docs.m5stack.com/#/en/related_documents/establish_serial_connection) - [Get Started with Ardino IDE](https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_quick_start)
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_18.png">
|
||||
|
||||
2. Install `m5stack` library in `Library Manager` of Arduino IDE.
|
||||
2. Install `m5stack` library in `Library Manager`.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_19.png">
|
||||
|
||||
3. Install `NeoPixelBus` library in `Library Manager` of Arduino IDE.
|
||||
3. Install `NeoPixelBus` library in `Library Manager`.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_20.png">
|
||||
|
||||
4. Install `MPU6050_tockn` library in `Library Manager` of Arduino IDE.
|
||||
4. Install `MPU6050_tockn` library in `Library Manager`.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_21.png">
|
||||
|
||||
5. Confirm that M5Core has connected to PC successfully, then click `Tools` -> `Port` for selecting the corresponding serial port on Arduino IDE.
|
||||
5. Make sure that M5Core has connected to PC, then click `Tools` -> `Port` for selecting the corresponding serial port on Arduino IDE.
|
||||
|
||||
6. click `Tools` -> `Board: ` for selecting `M5Stack-Core-ESP32` or `M5Stack-Fire` on Arduino IDE.
|
||||
6. click `Tools` -> `Board: ` to select `M5Stack-Core-ESP32` or `M5Stack-Fire`.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_22.png">
|
||||
|
||||
7. Clone **[M5Bala](https://github.com/m5stack/M5Bala.git)**, If you has not installed Git yet, click [here](https://git-scm.com/download/win) for downloading please and install it.
|
||||
7. Clone **[M5Bala](https://github.com/m5stack/M5Bala.git)** by shell command. *If you dont't have Git installed yet, click [here](https://git-scm.com/download/win) and install it.*
|
||||
|
||||
```shell
|
||||
git clone --recursive https://github.com/m5stack/M5Bala.git
|
||||
```
|
||||
|
||||
8. Click `Sketch` -> `Include Library` -> `Add .ZIP Library...` for select `M5Bala` which has been cloned just now.
|
||||
8. Click `Sketch` -> `Include Library` -> `Add .ZIP Library...` . select `M5Bala` you just cloned from github.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_14.png">
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_15.png">
|
||||
|
||||
9. Open a bala example: Click `File` -> `Examples` -> `M5Bala` -> `Basic`. (Be careful that example `Default_firmware` has bug.)
|
||||
9. Open a bala example: Click `File` -> `Examples` -> `M5Bala` -> `Basic`.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_16.png">
|
||||
|
||||
10. Execute
|
||||
10. Compile and upload.
|
||||
|
||||
<img src="assets/img/getting_started_pics/m5bala/bala_quick_start_23.png">
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# GROVE 线 {docsify-ignore-all}
|
||||
# Accessory GROVE Cable {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/accessory/grove_cable_01.png" width="30%" height="30%">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>GROVE 线</mark>**是 M5Stack 产品之间通信的数据线。 M5Stack 的单元、模块等与主控通信都是通过 GROVE 线连接到 GRVOE 接口。
|
||||
**GROVE Cable** 是M5Stack开发体系中常用的硬件连接导线,所有的控制器Core、功能Unit都能够兼容GROVE接口.GROVE线由4条导线组成,其中两条用作数据信号,其余两条用作"VCC"与"GND",我们提供了不同的长度选择,以满足不同的应用需求.
|
||||
|
||||
<img src="assets/img/product_pics/accessory/grove_cable_02.png" width="100%" height="100%">
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# LEGO 线 {docsify-ignore-all}
|
||||
# Accessory LEGO {docsify-ignore-all}
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>LEGO 线</mark>**专门设计用来连接GROVE接口和乐高机器人组件,特别是用来连接M5Core与乐高机器人组件。
|
||||
**LEGO Cable** 是一款 LEGO 电机连接线.通过该连接线能够兼容M5体系中的LEGO+模块以及BALA平衡车.提供了不同的长度选择,以满足不同的应用需求.
|
||||
|
||||
## 特性
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
## 相关链接
|
||||
|
||||
<!-- - **[Example](en/file_to_display_null)** -->
|
||||
- **[购买链接](https://www.aliexpress.com/store/product/M5Stack-M5Bala-ESP32-6Pin-10-20/3226069_32923086380.html)**
|
||||
|
||||
<figure>
|
||||
|
||||
@@ -1,24 +1,15 @@
|
||||
# Grove-T {docsify-ignore-all}
|
||||
# Accessory Grove-T {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/accessory/grove_t_01.png" width="30%" height="30%">
|
||||
|
||||
<!-- <img src="assets/img/product_pics/unit/unit_button_grove_b.png" width="30%" height="30%"> -->
|
||||
|
||||
***
|
||||
|
||||
:memo:**[描述](#描述)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.15.38ac425eE9FEZJ&id=587199895559)**
|
||||
|
||||
## 描述
|
||||
|
||||
<mark>Grove-T</mark> 是用于Grove 插头转双向Grove 插座的配件。如果打算两个 M5Core 同时采集传感器类单元 (比如 ENV 单元, THERMAL 单元...) 的数据时候,则可以应用这个 Grove-T 实现数据双向传输给 M5Core。
|
||||
**Grove-T** 是一款Grove转接拓展插口.T形的结构设计能够将一个GROVE接口拓展为二.
|
||||
|
||||
**注意**:与 Hub Unit 类似,虽然能够用于拓展硬件GROVE接口.但对于挂载多个同地址I2C,或是其他总线协议的硬件的应用场景,为防止地址冲突,则需要使用**PaHUB**或**PbHUB**
|
||||
|
||||
<img src="assets/img/product_pics/accessory/grove_t_02.png" width="60%" height="60%">
|
||||
|
||||
<!-- ## 相关链接 -->
|
||||
|
||||
<!-- - **[Example](en/file_to_display_null)** -->
|
||||
<!-- - **[购买链接]()** -->
|
||||
|
||||
<!-- <figure>
|
||||
<img src="assets/img/product_pics/accessory/lego_cable_01.jpg" alt="lego_cable_01" width="300px" height="300px">
|
||||
</figure> -->
|
||||
@@ -1,8 +1,14 @@
|
||||
# Frame - 5x5的M5外框 {docsify-ignore-all}
|
||||
# Accessory Frame {docsify-ignore-all}
|
||||
|
||||
## 描述
|
||||
|
||||
<mark>Frame</mark>专门设计用来做M5Core的固定框架。
|
||||
**Frame** , 是一款M5Core固定框架.能够帮助你将设备牢固的固定在墙壁或是其他表面,并为设备提供一定强度的保护外壳.
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x FRAME
|
||||
- 4x 六角螺钉 KA2x4
|
||||
- 1x 内六角扳手
|
||||
|
||||
## 相关链接
|
||||
|
||||
|
||||
+33
-8
@@ -8,22 +8,47 @@
|
||||
|
||||
## 描述
|
||||
|
||||
<mark>BALA</mark>是堆叠了M5Fire,以[M5Fire](http://docs.m5stack.com/#/zh_CN/core/fire)做主控的平衡车应用,还包括了MEGA328为主控的2路直流电机驱动模块和两个轮子。您可以Arduino或MicroPython编程它。
|
||||
**BALA** 是一款平衡车应用.该产品是由 M5 FIRE 与 双路直流电机底座组合而成的一款自平衡机器人,其"BALA"名称的由来出自"Balance"一词的缩写.
|
||||
|
||||
2路直流电机模块与M5Fire之间通过IIC通信,它的IIC地址是**0x56**。
|
||||
默认预装平衡车应用程序,在运行时使用闭环算法保持垂直平衡.使用加速度计与陀螺仪姿态数据来校正其方向和位置.支持多种工作模式,如位置保持、简单模式、上升模式和操纵杆控制模式.支持智能手机或控制器远程操控.
|
||||
|
||||
## 特性
|
||||
网上有很多关于平衡车的开源代码供参考,你能够方便快捷的开发出更多有趣的功能.
|
||||
|
||||
- 支持Arduino编程和Python编程
|
||||
- 兼容LEGO
|
||||
- M5Fire支持插入TF卡
|
||||
使用 2 路直流驱动器模块,通过I2C总线与M5Stack FIRE通信.默认I2C地址为**0x56**.
|
||||
|
||||
## 产品特性
|
||||
|
||||
- 开发平台
|
||||
+ Python
|
||||
+ UIFlow
|
||||
- 兼容 LEGO
|
||||
- POGO Pin
|
||||
- 支持 TF 卡拓展
|
||||
|
||||
## M5Fire 参数
|
||||
|
||||
型号 | M5Stack FIRE
|
||||
---|---
|
||||
ESP32 | 240MHz双核,600 DMIPS,520KB SRAM,Wi-Fi,双模蓝牙
|
||||
Flash | 16MB Flash + 4MB PSRAM
|
||||
输入 | 5V @ 500mA
|
||||
接口 | TypeC x 1, GROVE(I2C+I/0+UART), Pogo Pin x 1
|
||||
LCD | 2 英寸, 320x240 彩色 TFT LCD, ILI9341
|
||||
扬声器 | 1W-0928
|
||||
麦克风 | MEMS 模拟 BSE3729 麦克风
|
||||
LED | SK6812 3535 RGB LED x 10
|
||||
MEMS | MPU9250 (MPU6500 + AK8963)
|
||||
电池 | 内置 550mAh @ 3.7V
|
||||
工作温度 | 32°F 至 104°F ( 0°C 至 40°C )
|
||||
尺寸 | 54 x 54 x 21 mm
|
||||
C.A.S.E | 塑料 ( PC )
|
||||
|
||||
## 包括
|
||||
|
||||
- 1x M5Stack BALA
|
||||
- 1x 电机驱动
|
||||
- 2x 带编码器的N20电机
|
||||
- Type-C USB线
|
||||
- 2x N20电机(内置编码器)
|
||||
- Type-C USB
|
||||
|
||||
<img src="assets/img/product_pics/app/bala_2.jpg" width="250" height="250">
|
||||
|
||||
|
||||
+23
-33
@@ -8,37 +8,36 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>FLIR</mark>** 是一款集成 FLIR 公司的微型长波红外热像仪 (**Lepton 3.0**) 的应用模块。
|
||||
**FLIR** 是一款微型红外热成像仪.采用最新的FLIR Lepton 3.0长波红外(LWIR)摄像头内核,相对于2.x版本增强了2倍分辨率,4倍像素.
|
||||
|
||||
<img src="assets/img/product_pics/app/app_flir_04.png">
|
||||
|
||||
使用3D打印定制的底座外壳,完美兼容M5Core堆叠体系.模块通过I2C协议进行控制,默认生成分辨率为 160×120 的有效图像,你可以通过修改程序进行图像处理,使其显示不同的分辨率.功能强大的 FLIR 是非接触式温度测量的完美解决方案.
|
||||
|
||||
能实时获得传感器非接触式温度测量数据。因为集成了数字热图像处理单元,所以使用起来更简单。装配在 M5 标准尺寸的 3D 打印外壳中,堆叠了 M5Core 之后,通过 IIC 与主控通信。Lepton 传感器获取得到的有效像素是 160×120,可是您可以通过 Arduino 程序配置在 M5Core 上显示不同分辨率的图像大小。不同分辨率的图像大小分别是 80x60, 160x120, 240x320。
|
||||
|
||||
**注意:** 工作时间长了热像仪 Lepton 会升温,可是输出图像不受热像仪温度影响。
|
||||
**注意:** 长时间工作的热成像仪 Lepton 存在发热现象,但并不会影响输出的图像.
|
||||
|
||||
<img src="assets/img/product_pics/app/app_flir_02.png" width=50% height=50%>
|
||||
|
||||
## 特性
|
||||
## 产品特性
|
||||
|
||||
- 160×120 有效像素
|
||||
- Lepton 传感器运行功率较低 — 典型值为 140 mW、使用快门期间为 650 mW
|
||||
- 56° 视觉范围,带快门
|
||||
- Lepton 传感器输入电压范围:1.2V,2.8V,2.5V 至 3.1V IO
|
||||
- 成像时间快 (< 0.5 秒)
|
||||
- Lepton 低功耗工作 — 150 mW (典型工作), 650 mW (快门拍摄), 5 mW (待机)
|
||||
- Field of view: 56°, with shutter
|
||||
- Lepton 输入电源电压: 1.2V,2.8V,2.5V - 3.1V IO
|
||||
- 快速成像 (< 0.5 second)
|
||||
|
||||
## 参数
|
||||
|
||||
| *Lepton 参数项* | *参数值* |
|
||||
| *参数祥* | *参数值* |
|
||||
| :-----------: | :------: |
|
||||
| 有效帧频 | 8.7Hz |
|
||||
| 输入时钟 | 25-MHz|
|
||||
| 像素尺寸 | 12µm |
|
||||
| 场景动态范围 | 低增益模式:-10℃至400℃; 高增益模式:-10℃至140℃ |
|
||||
| 波长范围 | 8µm至14µm |
|
||||
| 热灵敏度 | <50 mK(0.050℃) |
|
||||
| 输入电源电压 | 2.8 V,1.2 V,2.5 V至3.1 V IO |
|
||||
| 最佳温度范围 | -10℃至+80℃ |
|
||||
| 有效帧频 | 8.7Hz |
|
||||
| 输入时钟 | 25-MHz|
|
||||
| 像素尺寸 | 12µm |
|
||||
| 场景动态范围 | 低增益模式: -10 to 400°C; 高增益模式: -10 to 140°C |
|
||||
| 波长范围 | 8 µm to 14 µm |
|
||||
| 热灵敏度 | <50 mK(0.050℃) |
|
||||
| 输入电压 | 2.8 V, 1.2 V, 2.5 V - 3.1 V IO |
|
||||
| 最佳温度范围 | -10 °C to +80 °C |
|
||||
|
||||
## 包含
|
||||
|
||||
@@ -46,31 +45,22 @@
|
||||
|
||||
## 应用
|
||||
|
||||
- 汽车发动机故障检查
|
||||
- 车辆发动机故障检测
|
||||
- 建筑除湿保温密封性检测
|
||||
- 工业炉内壁耐火材料裂痕
|
||||
- 工业炉内壁耐火材料裂痕检测
|
||||
- 夜晚户外观测动物
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **[官方频道视频](https://i.youku.com/i/UNjE1ODA2MzE0OA==?spm=a2hzp.8253869.0.0)**
|
||||
- **[官方论坛](http://forum.m5stack.com/)**
|
||||
- **[FLIR 官网的 Lepton 信息](https://www.flir.cn/products/lepton/)**
|
||||
- **[Lepton Info (FLIR Website)](https://www.flir.com/products/lepton/)**
|
||||
- **数据手册** - [Lepton 2.5](https://www.flir.cn/globalassets/imported-assets/document/lepton-2.5-family-datasheet.pdf) - [Lepton 3&3.5](https://www.flir.cn/globalassets/imported-assets/document/lepton-3-3.5-datasheet.pdf)
|
||||
- **[Lepton 工程版数据手册](https://www.flir.cn/globalassets/imported-assets/document/flir-lepton-engineering-datasheet.pdf)**
|
||||
- **[Lepton 传感器的接口文档](https://www.flir.cn/globalassets/imported-assets/document/flir-lepton-software-interface-description-document.pdf)**
|
||||
- **[Lepton Engineering Datasheet](https://www.flir.cn/globalassets/imported-assets/document/flir-lepton-engineering-datasheet.pdf)**
|
||||
- **[Lepton Software Interface Description](https://www.flir.cn/globalassets/imported-assets/document/flir-lepton-software-interface-description-document.pdf)**
|
||||
|
||||
## 例程
|
||||
|
||||
*如果需要完整例程请点击[这里](https://github.com/m5stack/Applications-Lepton3.0/tree/master/lepton3/Src/Lepton_Bot)。*
|
||||
*如需获取完整代码, [请点击此处.](https://github.com/m5stack/Applications-Lepton3.0/tree/master/lepton3/Src/Lepton_Bot)。*
|
||||
|
||||
<img src="assets/img/product_pics/app/app_flir_03.png">
|
||||
|
||||
<!--
|
||||
**Example目录树**
|
||||
|
||||
├─LidarBot_CarMain_V1.1 - 雷达车主控程序
|
||||
|
||||
├─LidarBot_RemoteController_V1.0 - 遥控手柄程序V1.0
|
||||
|
||||
└─LidarBot_RemoteController_V1.2 - 遥控手柄程序V1.2(相比V1.0精度提高一倍) -->
|
||||
|
||||
+35
-36
@@ -1,4 +1,4 @@
|
||||
# LidarBot {docsify-ignore-all}
|
||||
# Application LidarBot {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/app/lidarbot_01.jpg" width="350" height="350"> <img src="assets/img/product_pics/app/lidarbot_03.jpg" width="350" height="350">
|
||||
|
||||
@@ -8,47 +8,46 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>LidarBot</mark>** 是一款以室内导航为基础的四轮小车。车体装载了激光雷达、四个麦克纳姆轮、车轮控制低板 ( 主控芯片是 MEGA328 )、前后 RGB 灯带 ( 共 16 颗 )、M5Core 主控、多个 LEGO 孔。
|
||||
**LidarBot** 是一款激光雷达车.配备360°激光雷达传感器、M5Core主控、4个麦克纳姆轮、车轮控制底板(集成MEGA328)、RGB灯条、操纵杆控制器等硬件.基于麦克纳姆轮技术的全方位运动小车可以实现前行、横移、斜行、旋转及其组合等运动方式.装配大容量锂电池为雷达小车提供长时间续航.
|
||||
|
||||
车与远程遥控手柄之间通过 ESP-NOW 实时通信,而小车主控接收到控制信号后,通过规定的协议格式实现控制车轮和RGB灯带等。
|
||||
控制器与LidarBoT之间通过 ESP-NOW 进行实时通信,运行时你可以在控制器屏幕上查看由激光雷达传感器扫描的地图数据.我们在Github上提供了开源代码,基于官方源代码修改,你能够将雷达扫描等采集数据通过Wi-Fi或其他方式进行传输至其他节点.LidarBoT 能够应用在STEM教育领域用作编程学习、竞赛等活动.不仅如此,功能强大的它,同样适用于AGV开发领域的开发者进行项目开发.
|
||||
|
||||
除了能控制小车灵活地前后左右移动之外,还能在小车主控和手柄主控各自的显示屏上显示室内地形。
|
||||
|
||||
## 特性
|
||||
## 产品特性
|
||||
|
||||
- 雷达: 8m @ 6Hz
|
||||
- 支持 Arduino 编程
|
||||
- 兼容 LEGO 件
|
||||
- 开发平台
|
||||
+ Arduino
|
||||
+ UIFlow
|
||||
- 兼容 LEGO
|
||||
|
||||
## 小车主控与底板之间的协议
|
||||
## 主控与底板之间的协议
|
||||
|
||||
*协议格式:帧头 ( 命令类型 ) + 数据帧 + 帧尾*
|
||||
|
||||
| 协议对象 | 协议格式 | 举例 |调用函数|
|
||||
| :-------------: |:------------------------------------: |:---:|:---:|
|
||||
| 控制车轮 | 0xAA,SpeedX(-7 ~ 7),SpeedY,SpeedZ,SpeedA,0x55 | 0xAA, 5, 5, 5, 5, 0x55(前进,速度5) |ControlWheel(5, 5, 5)|
|
||||
| 控制单颗 RGB | 0xAB,LedIndex,R(0 ~ 254),G,B,0x55 | 0xAB, 3, 20, 50, 100, 0x55(第三颗灯亮指定颜色)|setLedColor(3, 20, 50, 100)|
|
||||
| 控制前向 RGB 灯带 | 0xAC,R(0 ~ 254),G,B,0x55 | 0xAC, 20, 50, 100, 0x55(前向灯带亮指定颜色)|setFrontLedBar(20, 50, 100)|
|
||||
| 控制后向 RGB 灯带 | 0xAD,R(0 ~ 254),G,B,0x55 |0xAD, 20, 50, 100, 0x55(后向灯带亮指定颜色)|setBackLedBar(20, 50, 100)|
|
||||
| 控制全部 RGB | 0xAE,R(0 ~ 254),G,B,0x55 |0xAE, 20, 50, 100, 0x55(全部灯亮指定颜色)|setLedAll(20, 50, 100)|
|
||||
| 控制舵机 0 | 0xAF,Angle(0 ~ 180),0x55 |0xAF, 100, 0x55(舵机0转动100度)|setServo0Angle(100)|
|
||||
| 控制舵机 1 | 0xB0,Angle(0 ~ 180),0x55 |0xB0, 100, 0x55(舵机1转动100度)|setServo1Angle(100)|
|
||||
|协议对象| 协议格式 | 案例 | 调用函数 |
|
||||
|:-------------:|:------------------------------------: |:---:|:---:|
|
||||
|Wheels| 0xAA,SpeedX(-7 ~ 7),SpeedY,SpeedZ,SpeedA,0x55 |0xAA, 5, 5, 5, 5, 0x55(前进, 速度: 5)|ControlWheel(5, 5, 5)|
|
||||
| One RGB| 0xAB,LedIndex,R(0 ~ 254),G,B,0x55| 0xAB, 3, 20, 50, 100, 0x55(3号灯点亮,显示指定颜色)|setLedColor(3, 20, 50, 100)|
|
||||
| Front RGB Bar| 0xAC,R(0 ~ 254),G,B,0x55|0xAC, 20, 50, 100, 0x55(前向灯带点亮,显示指定颜色)|setFrontLedBar(20, 50, 100)|
|
||||
| Back RGB Bar| 0xAD,R(0 ~ 254),G,B,0x55|0xAD, 20, 50, 100, 0x55(后向灯带点亮,显示指定颜色)|setBackLedBar(20, 50, 100)|
|
||||
| All RGB| 0xAE,R(0 ~ 254),G,B,0x55|0xAE, 20, 50, 100, 0x55(全部灯带点亮,显示指定颜色)|setLedAll(20, 50, 100)|
|
||||
| ServoMotor0 | 0xAF,Angle(0 ~ 180),0x55|0xAF, 100, 0x55(舵机 0 转动 100 °)|setServo0Angle(100)|
|
||||
| ServoMotor1 | 0xB0,Angle(0 ~ 180),0x55|0xB0, 100, 0x55(舵机 1 转动 100 °)|setServo1Angle(100)|
|
||||
|
||||
<img src="assets/img/product_pics/app/lidarbot_04.jpg" width=60% height=60%>
|
||||
|
||||
## 参数
|
||||
|
||||
- 小车车身尺寸(长宽高):142mm x 117mm x 120mm
|
||||
- 车身尺寸: 142mm x 117mm x 120mm
|
||||
- 通信参数
|
||||
- 车体的 M5Core 主控与激光雷达传感器(雷达 TXD <-> <mark>**U1RXD**(GPIO16)</mark>)
|
||||
串口参数:230400bps,8 位数据位,无奇偶校验,1 位停止位
|
||||
- 车体的 M5Core 主控与车轮控制底板(底板 RXD <-> <mark>**U2TXD**(GPIO17)</mark>)
|
||||
串口参数:115200bps,8 位数据位,无奇偶校验,1 位停止位
|
||||
|
||||
- M5Core(车体主控) <-> 激光雷达 (<mark>**U1RXD**(GPIO16)</mark> <-> 激光雷达)
|
||||
串口配置参数: "230400bps, 8, n, 1"(8 位数据, 无奇偶校验, 1 位停止位)
|
||||
- M5Core(车体主控) <-> 控制底板 (<mark>**U2TXD**(GPIO17)</mark> <-> 控制底板)
|
||||
串口配置参数: "115200bps, 8, n, 1"(8 位数据, 无奇偶校验, 1 位停止位)
|
||||
- 接口
|
||||
- 舵机 0 <-> A0(MEGA328)
|
||||
- 舵机 1 <-> A1(MEGA328)
|
||||
- RGB 灯条 <-> 11(MEGA328)
|
||||
- NeoPixelRGB <-> 11(MEGA328)
|
||||
|
||||
<img src="assets/img/product_pics/app/lidarbot_05.jpg" width="300" height="300">
|
||||
|
||||
@@ -60,11 +59,11 @@
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x 雷达车
|
||||
- 1x 远程遥控手柄
|
||||
- 2x 电池 (1300mAh @ 11.1V)
|
||||
- 1x LidarBot
|
||||
- 1x 远程控制手柄
|
||||
- 2x 电池(1300mAh @ 11.1V)
|
||||
- 1x 电池充电器
|
||||
- 1x Type-C USB 线
|
||||
- 1x Type-C USB
|
||||
|
||||
<img src="assets/img/product_pics/app/lidarbot_02.jpg" width="300" height="300">
|
||||
|
||||
@@ -77,19 +76,19 @@
|
||||
|
||||
## 例程
|
||||
|
||||
*如果需要完整例程请点击[这里](https://github.com/m5stack/Applications-LidarBot/tree/master/LidarBot/Example)。*
|
||||
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/Applications-LidarBot/tree/master/LidarBot/Example)。*
|
||||
|
||||
**Example 目录树**
|
||||
**例程目录**
|
||||
|
||||
├─LidarBot_CarMain_V1.1 - 雷达车主控程序
|
||||
├─LidarBot_CarMain_V1.1 - LidarBot主控程序
|
||||
|
||||
├─LidarBot_RemoteController_V1.0 - 遥控手柄程序 V1.0
|
||||
├─LidarBot_RemoteController_V1.0 - 控制器程序 V1.0
|
||||
|
||||
└─LidarBot_RemoteController_V1.2 - 遥控手柄程序 V1.2(相比 V1.0 精度提高一倍)
|
||||
└─LidarBot_RemoteController_V1.2 - 控制器程序 V1.2(相比v1.0精度提高一倍)
|
||||
|
||||
#### 程序解析:
|
||||
|
||||
#### **1. 雷达车主控程序:**
|
||||
#### **1. LidarBot 主程序:**
|
||||
|
||||
```arduino
|
||||
/* 主循环 */
|
||||
@@ -128,7 +127,7 @@ void loop()
|
||||
请参考此链接: https://github.com/m5stack/M5-espnow
|
||||
|
||||
|
||||
#### **2. 手柄主控程序:**
|
||||
#### **2. 遥控器主控程序:**
|
||||
|
||||
```arduino
|
||||
/* 主循环 */
|
||||
|
||||
+6
-10
@@ -1,4 +1,4 @@
|
||||
# PIANO {docsify-ignore-all}
|
||||
# Application PIANO {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/app/app_piano_01.png" width="30%" height="30%">
|
||||
|
||||
@@ -6,15 +6,11 @@
|
||||
|
||||
:memo:**[描述](#描述)** :electric_plug:**[管脚映射](#管脚映射)** 🛒**[购买链接](https://item.taobao.com/item.htm?id=584647000573)**
|
||||
|
||||
<!-- :memo:**[描述](#描述)** :octocat:**[例程](#例程)** :electric_plug:**[管脚映射](#管脚映射)** 🛒**[购买链接](https://item.taobao.com/item.htm?id=584647000573)** -->
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>PIANO</mark>** 是钢琴应用,下载[例程](https://github.com/m5stack/M5-ProductExampleCodes/blob/master/App/PIANO/Arduino/M5PIANO/M5PIANO.ino)之后,接入 M5Core 和 [M5Core的底座](zh_CN/base/core_bottom),即可弹奏。
|
||||
**PIANO** 是一款触摸板钢琴.配备两个触摸传感器**TS20**,通过I2C协议与M5Core进行通信.通过触摸控制钢琴的发声,适合应用在STEM教育与音乐表演场景.
|
||||
|
||||
PIANO 里的触摸芯片(**TS20**) 与 M5Core 之间通过 IIC 通信,IIC 地址分别是 0x6A 和 0x7A。
|
||||
|
||||
PIANO 需要接入[M5Core的底座](zh_CN/base/core_bottom),如下图所示
|
||||
I2C 地址分别为0x6A和0x7A.
|
||||
|
||||
<img src="assets/img/product_pics/app/app_piano_02.png">
|
||||
|
||||
@@ -23,7 +19,7 @@ PIANO 需要接入[M5Core的底座](zh_CN/base/core_bottom),如下图所示
|
||||
**触摸芯片 TS20 & LED灯**
|
||||
|
||||
<table>
|
||||
<tr><td>ESP32 芯片</td><td>GPIO7</td><td>GPIO6</td><td>GPIO5</td><td>GPIO26</td><td>GPIO2</td></tr>
|
||||
<tr><td>TS20</td><td>复位引脚(RESET)</td><td>使能引脚(EN)</td><td>时钟引脚(SCL)</td><td>数据引脚(SDA)</td></tr>
|
||||
<tr><td>RGB LED</td><td> </td><td> </td><td> </td><td> </td><td>信号引脚</td></tr>
|
||||
<tr><td>ESP32 Chip</td><td>GPIO7</td><td>GPIO6</td><td>GPIO5</td><td>GPIO26</td><td>GPIO2</td></tr>
|
||||
<tr><td>TS20</td><td>RESET</td><td>EN</td><td>SCL</td><td>SDA</td><td>/</td></tr>
|
||||
<tr><td>RGB LED</td><td>/</td><td>/</td><td>/</td><td>/</td><td>Signal Pin</td></tr>
|
||||
</table>
|
||||
|
||||
@@ -8,19 +8,16 @@
|
||||
|
||||
:memo:**[描述](#描述)** :octocat:**[例程](#例程)** 🛒**[购买链接](https://www.aliexpress.com/store/product/M5Stack-New-BTC-Ticker-DHT12-Digital-Humidity-Temperature-Sensor-ESP32-for-Micropython-Bitcoin-Price-Ticker-with/3226069_32852302770.html?spm=2114.12010615.8148356.2.3a8d51c2LV8jni)**
|
||||
|
||||
<!-- :memo:**[描述](#描述)** :octocat:**[例程](#例程)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://www.aliexpress.com/store/product/M5Stack-New-BTC-Ticker-DHT12-Digital-Humidity-Temperature-Sensor-ESP32-for-Micropython-Bitcoin-Price-Ticker-with/3226069_32852302770.html?spm=2114.12010615.8148356.2.3a8d51c2LV8jni)** -->
|
||||
|
||||
|
||||
# 描述
|
||||
|
||||
**<mark>BTC</mark>** 是一款包含 **DHT12(温湿度)传感器**的底座。
|
||||
**BTC** 是一款集成了"DHT12"的温湿度传感器底座,除了用作固定M5Core之外,运用其内置的温湿度传感器能够制作环境监测器或是一些与环境数据采集相关的应用.
|
||||
|
||||
**注意:**
|
||||
**注意:**
|
||||
|
||||
* 虽然 M5Core [BASIC](zh_CN/core/basic) 或 [GRAY](zh_CN/core/gray) 接在 BTC 底座上,可是插入USB线之后,不能通过 BTC 不能给它充电。实际上每个 Core 都内置了充电芯片 (IP5306),接入 Type-C USB 线之后,就能给底座上的电池充电,不需要专门的充电模块。
|
||||
|
||||
* 在 M5Core BASIC 接上 BTC 底座之后,不能再控制 ENV Unit,因为 BTC 已经内置了 DHT12 传感器,会 IIC 地址冲突。
|
||||
* 兼容BTC底座的有 [BASIC](https://docs.m5stack.com/#/zh_CN/core/basic) 与 [GRAY](https://docs.m5stack.com/#/zh_CN/core/gray) 两款主控,当将USB线连接BTC底座,仅对M5Core的电路板进行供电,并不会为其内部的锂电池充电.只有将USB线连接至M5Core时,才会对M5Core电池充电且同时为电路板供电.
|
||||
|
||||
* 当M5Core连接至BTC底座后,将无法同时控制 ENV Unit.这是因为在 BTC 已经内置了DHT12传感器,两者将产生 I2C 地址冲突.
|
||||
|
||||
# 特性
|
||||
|
||||
@@ -28,9 +25,9 @@
|
||||
|
||||
# 包含
|
||||
|
||||
- Type-C USB线
|
||||
- M3 x 16
|
||||
- Tools
|
||||
- Type-C USB
|
||||
- 2x M3x16螺丝
|
||||
- 六角扳手
|
||||
|
||||
<img src="assets/img/product_pics/module/module_btc_04.png" width="30%" height="30%"><img src="assets/img/product_pics/module/module_btc_03.png" width="30%" height="30%">
|
||||
|
||||
@@ -39,7 +36,7 @@
|
||||
**DHT12**
|
||||
|
||||
<table>
|
||||
<tr><td>ESP32 芯片</td><td>GPIO22</td><td>GND</td><td>GPIO21</td><td>3V3</td></tr>
|
||||
<tr><td>ESP32 Chip</td><td>GPIO22</td><td>GND</td><td>GPIO21</td><td>3V3</td></tr>
|
||||
<tr><td>DHT12</td><td>SCL</td><td>GND</td><td>SDA</td><td>3V3</td></tr>
|
||||
</table>
|
||||
|
||||
@@ -55,7 +52,7 @@
|
||||
|
||||
### Arduino IDE
|
||||
|
||||
*具体例程请点击[这里](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BTC/Arduino)。*
|
||||
*以下代码仅为片段,如需获取完整代码, [请点击此处.](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Base/BTC/Arduino).*
|
||||
|
||||
```arduino
|
||||
#include <M5Stack.h>
|
||||
|
||||
@@ -6,21 +6,18 @@
|
||||
|
||||
:memo:**[描述](#描述)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-1172588093.27.3b626971KRKjiu&id=585955214454)**
|
||||
|
||||
<!-- :memo:**[描述](#描述)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-1172588093.27.3b626971KRKjiu&id=585955214454)** -->
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>M5GO BOTTOM</mark>** 是 [M5Core BASIC](zh_CN/core/basic) 套件和 [M5Core GRAY](zh_CN/core/gray) 套件中的底座,底座把 M5 总线上的常用接口拓展了出来,分别都拓展成排针和排母的形式,方便外接各种模块。
|
||||
**Core BOTTOM** 是一款 M5Core 基础型通用底座.它是 M5Basic 、 M5 GRAY 底座的单独零售版,其硬件内容完全一致.内置锂电池,提供M-BUS总线插座与侧面拓展排针排母,方便进行外接拓展.
|
||||
|
||||
<img src="assets/img/product_pics/base/core_base_01.png" width="40%" height="40%"><img src="assets/img/product_pics/base/core_base_04.png" width="40%" height="40%">
|
||||
|
||||
## 产品特性
|
||||
|
||||
- 锂电池: 150 mAh @ 3.7V
|
||||
|
||||
**M-Bus**
|
||||
|
||||
<img src="assets/img/product_pics/core/M-BUS.png" alt="M_BUS" width="60%" height="36%">
|
||||
|
||||
<!-- <table>
|
||||
<tr><td>LINE 0</td><td>GND</td><td>GND</td><td>GND</td><td>GPIO26</td><td>GPIO2</td></tr>
|
||||
<tr><td>LINE 1</td><td>复位引脚(RESET)</td><td>使能引脚(EN)</td><td>时钟引脚(SCL)</td><td>数据引脚(SDA)</td></tr>
|
||||
</table> -->
|
||||
|
||||
<img src="assets/img/product_pics/base/core_base_05.png">
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
# FACE Base {docsify-ignore-all}
|
||||
|
||||
## 描述
|
||||
|
||||
<mark>FACE Base</mark>是[FACES Kit](zh_CN/core/face_kit)套件中的底座,主要由M5Core底座和电池模块组成,如下图。
|
||||
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/base/faces_06.png" width="50%" height="50%">
|
||||
</figure>
|
||||
|
||||
FACE Base其背面拓展了`M-Bus总线`的部分GPIO接口(*见最后一张图片*),方便做拓展功能,其下部分内嵌600mAh的电池,方便使用FACES套件时,能离线操作。
|
||||
|
||||
## 使用
|
||||
|
||||
**使用时堆叠M5Core主控和功能面板(*如: QWERTY, GameBoy, Calculator*),如下图所示**
|
||||
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/base/faces_07.png" width="50%" height="50%">
|
||||
</figure>
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **[FACES Kit购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.10.2545425erZg3jl&id=562810115476)**
|
||||
|
||||
|
||||
## M-Bus总线
|
||||
|
||||
<figure>
|
||||
<img src="assets/img/product_pics/core/M-BUS.png" alt="basic_05" width="60%" height="60%">
|
||||
</figure>
|
||||
+29
-33
@@ -8,27 +8,23 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>LAN 底座</mark>**是集成了以太网芯片 W5500 和网络接口的底座,满足 M5Core 接入有线网络的需求。
|
||||
**LAN** 是一款以太网控制器底座.内置**W5500**全硬件 TCP/IP 嵌入式以太网控制器,为嵌入式系统提供更加简易的互联网连接方案.专为工业应用场景设计,提供金属滑轨和磁盘便于安装固定,配备HT3.96端子用作电气连接.能够满足实际生产环境中的有线网络接入需求.
|
||||
|
||||
因为 M5Core 集成了无线 WIFI,可是没有网络接口,如果您需要让 M5Core 接入有线网络来工作的话,那么 LAN 底座正好合适。
|
||||
HT3.96连接器的 6 个引脚默认悬空,你可以根据需求将其与M-BUS的任意引脚进行连接.
|
||||
|
||||
LAN 底座还配备了金属滑轨和磁铁圆片,方便您装置 LAN 到壁面或铁架上。
|
||||
|
||||
LAN 底座上橙色 HT3.96 端子,这个接口还没有电气连接,它的每个引脚可以连接到 M-Bus 总线上的任意引脚上。
|
||||
|
||||
**下图所示为 LAN 的内部**
|
||||
**下图为 LAN 的内部构造**
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_03.png" width="350" height="350"><img src="assets/img/product_pics/base/lan_07.png" width="350" height="350">
|
||||
|
||||
如果您需要实现 RS485 通信的话,那么使用配套的排针和 TLL 转 RS485 功能小板子焊接到 LAN 底座上面,即可实现RS485接口,从而可以通过上述的 HT3.96 端子与 RS485 设备通信。
|
||||
如果需要添加 RS485 通信接口,请将 TTL-RS485 转接板与配套排针焊接到主板上相应的引脚上.
|
||||
|
||||
**TTL-to-RS485 转接板子 与 LAN 底座**
|
||||
**TTL-RS485 转接板 与 LAN 底座**
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_04.png" width="100%" height="100%">
|
||||
|
||||
**下图所示为 TTL-to-RS485 转接板子如何与 LAN 的底板结合**
|
||||
**TTL-RS485 转接板 与 LAN 底座的连接图**
|
||||
|
||||
*RS485 小板子与 LAN 底板焊接在一起,小板子上的串口引脚将与 LAN 底板的 GPIO16、 GPIO17 连接*
|
||||
*TTL-RS485 转接板的串口引脚将连接到 LAN 底座的 GPIO16 和 GPIO17.*
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_05.png" width="50%" height="50%">
|
||||
|
||||
@@ -36,44 +32,44 @@ LAN 底座上橙色 HT3.96 端子,这个接口还没有电气连接,它的
|
||||
|
||||
**W5500以太网芯片**
|
||||
|
||||
| W5500 | ESP32 Chip |
|
||||
| :----------: |:------------: |
|
||||
| MOSI | GPIO23 |
|
||||
| MISO | GPIO19 |
|
||||
| CLK | GPIO18 |
|
||||
| CS | GPIO26 |
|
||||
| RST | GPIO13 |
|
||||
| INTn | GPIO34 |
|
||||
| W5500 | ESP32 Chip |
|
||||
| :----: | :----------: |
|
||||
| MOSI | GPIO23 |
|
||||
| MISO | GPIO19 |
|
||||
| CLK | GPIO18 |
|
||||
| CS | GPIO26 |
|
||||
| RST | GPIO13 |
|
||||
| INTn | GPIO34 |
|
||||
|
||||
|
||||
**M-Bus**
|
||||
|
||||
<img src="assets/img/product_pics/core/M-BUS.png" width="500" height="385">
|
||||
|
||||
## 特性
|
||||
## 产品特性
|
||||
|
||||
- 外接电源范围:9 ~ 24V
|
||||
- 3.96 规格端子,可以自定义引脚
|
||||
- 支持 RS485 通信,控制 RS485 设备
|
||||
- 易于固件到墙上,方便装配
|
||||
- 输入电源电压: 9-24V
|
||||
- HT3.96 端子
|
||||
- 支持RS485通信
|
||||
- 固定方式简单
|
||||
|
||||
## 包含
|
||||
|
||||
- 1x LAN 底座
|
||||
- 1x TTL-to-RS485 转接板
|
||||
- 1x LAN Base
|
||||
- 1x TTL-RS485 转接板
|
||||
- 1x 排针 20pin
|
||||
- 1x 金属滑轨和磁铁圆片
|
||||
- 1x 金属导轨和磁盘
|
||||
- 3x HT3.96 端子
|
||||
- 2x 3pin
|
||||
- 1x 4pin
|
||||
- 10x 冷压端子
|
||||
- 10x 冷压接端子
|
||||
- 3x 内六角扳手
|
||||
- 1x 1.5mm
|
||||
- 1x 2mm
|
||||
- 1x 2.5mm
|
||||
- 1x 1.5mm
|
||||
- 1x 2mm
|
||||
- 1x 2.5mm
|
||||
- 2x 内六角螺丝 M3x28
|
||||
- 4x 内六角自攻螺丝 KA2x4
|
||||
- 1x 埋头螺丝 M3x8
|
||||
- 1x 沉头螺丝 M3x8
|
||||
|
||||
<img src="assets/img/product_pics/base/lan_06.png" width="50%" height="50%">
|
||||
|
||||
@@ -83,7 +79,7 @@ LAN 底座上橙色 HT3.96 端子,这个接口还没有电气连接,它的
|
||||
|
||||
<img src="assets/img/product_pics/base/base_example/example_base_lan_01.png" width="70%" height="70%">
|
||||
|
||||
- PC 通过有线传输视频到 Core
|
||||
- PC 端与 Core 有线传输视频数据
|
||||
|
||||
<img src="assets/img/product_pics/base/base_example/example_base_lan_02.png" width="70%" height="70%">
|
||||
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
|
||||
## 描述
|
||||
|
||||
**<mark>M5GO BOTTOM</mark>** 是[M5GO Lite](zh_CN/core/m5go_lite)套件或[M5GO IOT Starter Kit](zh_CN/core/m5go)套件中的普通底座,[M5Fire](zh_CN/core/fire)的套件中也配套了这个底座。
|
||||
|
||||
M5GO底座由600mAh的电池、M-Bus总线接口、麦克风、红色的充电指示LED、2条RGB灯条(10颗)、PORT B和PORT C组成。
|
||||
**M5GO BOTTOM** 是一款 M5Core 增强型通用底座.它是 [M5GO Lite](https://docs.m5stack.com/#/zh_CN/core/m5go_lite)、[M5GO IoT Kit](https://docs.m5stack.com/#/zh_CN/core/m5go)、[M5Fire](https://docs.m5stack.com/#/zh_CN/core/fire)底座的单独零售版,其硬件内容完全一致.相比基础型而言,增强型底座配备了更大容量的锂电池,集成麦克风,LED 灯条,并拓展出两个 GROVE 接口等.
|
||||
|
||||
## 管脚映射
|
||||
|
||||
@@ -23,19 +21,19 @@ M5GO底座由600mAh的电池、M-Bus总线接口、麦克风、红色的充电
|
||||
|
||||
**LED Bar**
|
||||
|
||||
*有10颗RGB灯,左右各5颗*
|
||||
*M5GO 底座内置 10 个RGB LED*
|
||||
|
||||
| LED Pin | ESP32 Chip |
|
||||
| :----------: |:------------: |
|
||||
| LED Pin | GPIO15 |
|
||||
|
||||
**麦克风MIC**
|
||||
**MIC**
|
||||
|
||||
| MIC Pin | ESP32 Chip |
|
||||
| :----------: |:------------: |
|
||||
| MIC Pin | GPIO34 |
|
||||
|
||||
**GROVE接口**
|
||||
**GROVE**
|
||||
|
||||
| PORT B(I/O) | ESP32 Chip |
|
||||
| :----------: |:------------: |
|
||||
@@ -55,15 +53,14 @@ M5GO底座由600mAh的电池、M-Bus总线接口、麦克风、红色的充电
|
||||
|
||||
<img src="assets/img/product_pics/core/M-BUS.png" alt="M_BUS">
|
||||
|
||||
<img src="assets/img/product_pics/base/m5go_base_01.png" width="65%" height="65%">
|
||||
|
||||
<img src="assets/img/product_pics/base/m5go_base_02.png" width="65%" height="65%">
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **[M5GO IOT Starter Kit购买链接](https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-1172588106.10.690a425eFsoYVX&id=568283585553)**
|
||||
|
||||
<img src="assets/img/product_pics/base/m5go_base_01.png" width="65%" height="65%">
|
||||
|
||||
<img src="assets/img/product_pics/base/m5go_base_02.png" width="65%" height="65%">
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/base/m5go_base_sch.png">
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user