mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
upload new product page
This commit is contained in:
+6
-4
@@ -30,6 +30,7 @@
|
||||
<a class="dropdown-item" href="#/en/core/gray">GRAY</a>
|
||||
<a class="dropdown-item" href="#/en/core/fire" >FIRE</a>
|
||||
<a class="dropdown-item" href="#/en/core/m5stickc" >M5StickC</a>
|
||||
<a class="dropdown-item" href="#/en/core/m5stickv" >M5StickV</a>
|
||||
<a class="dropdown-item" href="#/en/core/m5stick" >M5Stick</a>
|
||||
<a class="dropdown-item" href="#/en/core/m5go_lite" >M5GO Lite</a>
|
||||
<a class="dropdown-item" href="#/en/core/m5go" >M5GO Kit</a>
|
||||
@@ -176,8 +177,8 @@
|
||||
<a href="#/en/unit/ir" >IR</a>
|
||||
<a href="#/en/unit/rs485" >RS485</a>
|
||||
<a href="#/en/unit/rfid" >RFID</a>
|
||||
<!-- <a href="#/en/unit/laser-rx" >LASER-RX</a>
|
||||
<a href="#/en/unit/laser-tx" >LASER-TX</a> -->
|
||||
<a href="#/en/unit/laser-rx" >LASER-RX</a>
|
||||
<a href="#/en/unit/laser-tx" >LASER-TX</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -191,11 +192,12 @@
|
||||
<a href="#/en/hat/hat-pir" >PIR</a>
|
||||
<a href="#/en/hat/hat-spk" >SPK</a>
|
||||
<a href="#/en/hat/hat-proto" >PROTO</a>
|
||||
<a href="#/en/unit/mini-proto" >MINI-PROTO</a>
|
||||
<a href="#/en/hat/hat-ncir" >NCIR</a>
|
||||
<a href="#/en/hat/hat-thermal" >Thermal</a>
|
||||
<!-- <a href="#/en/hat/hat-adc" >ADC</a>
|
||||
<a href="#/en/hat/hat-adc" >ADC</a>
|
||||
<a href="#/en/hat/hat-dac" >DAC</a>
|
||||
<a href="#/en/hat/hat-rs485" >RS485</a> -->
|
||||
<a href="#/en/hat/hat-rs485" >RS485</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+18
-19
@@ -49,13 +49,12 @@
|
||||
<!-- <div class="btn-group"> -->
|
||||
<a class="btn btn btn-primary" href="#zh_CN/quick_start/m5stick/m5stick_quick_start" role="button" style="color:white;text-decoration:none">M5Stick上手指南</a>
|
||||
<a class="btn btn btn-primary" href="#zh_CN/quick_start/m5stickc/m5stickc_quick_start" role="button" style="color:white;text-decoration:none">M5StickC上手指南</a>
|
||||
<!-- <a class="btn btn btn-primary" href="#zh_CN/quick_start/m5stickv/m5stickv_quick_start" role="button" style="color:white;text-decoration:none">M5StickV上手指南 »</a> -->
|
||||
<a class="btn btn btn-primary" href="#zh_CN/quick_start/m5stickv/m5stickv_quick_start" role="button" style="color:white;text-decoration:none">M5StickV上手指南 »</a>
|
||||
|
||||
<!-- </div> -->
|
||||
|
||||
**M5Stick**
|
||||
|
||||
<!-- *( **[上手指南](zh_CN/quick_start/m5stick/m5stick_quick_start)** )* *( **[上手指南](zh_CN/quick_start/m5stickc/m5stickc_quick_start)** )* -->
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/core/m5stick">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stick_01.png">
|
||||
@@ -70,18 +69,17 @@
|
||||
<p class="item-title" style="font-style:italic;">M5StickC</p>
|
||||
</div>
|
||||
|
||||
<!-- <div class="item">
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/core/m5stickv">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/core_m5stickc_01.png">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/core/m5stickv_01.jpg">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">M5StickV</p>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
## M5GO Lite
|
||||
## M5GO Kit
|
||||
## FACES Kit
|
||||
<!-- **套件** *( **[上手指南](zh_CN/quick_start/m5core/m5stack_core_quick_start)** )* -->
|
||||
<!-- <div class="btn-group"> -->
|
||||
|
||||
<a class="btn btn btn-primary" href="#zh_CN/quick_start/m5core/m5stack_core_quick_start" role="button" style="color:white;text-decoration:none">M5GO上手指南</a>
|
||||
<a class="btn btn btn-primary" href="#zh_CN/quick_start/m5core/m5stack_core_quick_start" role="button" style="color:white;text-decoration:none">FACES-kit上手指南 »</a>
|
||||
<!-- </div> -->
|
||||
@@ -723,12 +721,12 @@
|
||||
<p class="item-title" style="font-style:italic;">PROTO</p>
|
||||
</div>
|
||||
|
||||
<!-- <div class="item">
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/unit/mini-proto">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_proto_01.png">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/mini_proto_01.jpg">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">MINI-PROTO</p>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/unit/fan">
|
||||
@@ -773,19 +771,19 @@
|
||||
<p class="item-title" style="font-style:italic;">RFID</p>
|
||||
</div>
|
||||
|
||||
<!-- <div class="item">
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/unit/laser-rx">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_rs485_01.png">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/laser_rx_01.jpg">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">LASER-RX</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/unit/laser-tx">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/unit_rfid_01.png">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/unit/laser_tx_01.jpg">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">LASER-TX</p>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
**C-HAT 类**
|
||||
|
||||
@@ -840,29 +838,30 @@
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="item">
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/hat/hat-rs485">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/hat_thermal_01.jpg">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/rs485_hat_01.jpg">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">RS485</p>
|
||||
</div>
|
||||
|
||||
|
||||
## HAT-ADC
|
||||
## HAT-DAC
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/hat/hat-adc">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/hat_thermal_01.jpg">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/adc_hat_01.jpg">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">ADC</p>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<a href="/#/zh_CN/hat/hat-dac">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/hat_thermal_01.jpg">
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_homepage/hat/dac_hat_01.jpg">
|
||||
</a>
|
||||
<p class="item-title" style="font-style:italic;">DAC</p>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
**视觉类**
|
||||
|
||||
|
||||
+193
-1
@@ -1,2 +1,194 @@
|
||||
PASSSSSSSSSSSSSSSSSSS
|
||||
# Core M5StickV {docsify-ignore-all}
|
||||
|
||||
|
||||
<img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_02.jpg" width="30%" height="30%"><img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_07.jpg" width="30%" height="30%">
|
||||
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)**
|
||||
|
||||
## Description
|
||||
|
||||
**M5Stick-V RISC-V AI 摄像头**
|
||||
|
||||
### General Description
|
||||
|
||||
**M5Stick-V**是一款搭载Kendryte K210的AIOT(AI + IOT)摄像头,集成双核64位RISC-V CPU和最先进的神经网络处理器的边缘计算片上系统(SoC)
|
||||
|
||||
<br><br>
|
||||
M5stickV AI 摄像头具备机器视觉能力,支持多种视觉识别能力的它( 如实时获取被检测目标的大小与坐标 • 实时获取被检测目标的种类),并且能够在低功耗情况下进行卷积神经网络计算,因此M5StickV会是一个很好的零门槛机器视觉嵌入式解决方案
|
||||
<br><br>
|
||||
支持MicroPython开发环境,这使得你在使用M5stick-V上进行项目开发时,程序代码将会更加精简.
|
||||
|
||||
<br><br>
|
||||
|
||||
配备OmniVision OV7740图像传感器,采用OmniPixel®3-HS技术,提供相比同类最佳的低光灵敏度,是机器视觉项目的理想选择.
|
||||
|
||||
M5StickV不仅具备视觉识别能力,其内置的嵌入式APU - 音频处理器. 能够进行一系列机器听觉工作,同时配备I2S D类DAC的扬声器,MEMS麦克风,IPS屏幕,6轴IMU,200mAh锂电池等硬件,能够为你的项目提供极好的硬件条件.
|
||||
|
||||
<br><br><br>
|
||||
<img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_03.jpg" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_06.jpg" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_05.jpg" width="30%" height="30%"><br>
|
||||
|
||||
### Features:
|
||||
- Dual-Core 64-bit RISC-V RV64IMAFDC (RV64GC) CPU / 400Mhz(Normal)
|
||||
- Dual Independent Double Precision FPU
|
||||
- 8MiB 64bit width On-Chip SRAM
|
||||
- Neural Network Processor(KPU) / 0.8Tops
|
||||
- Field-Programmable IO Array (FPIOA)
|
||||
- Dual hardware 512-point 16bit Complex FFT
|
||||
- SPI, I2C, UART, I2S, RTC, PWM, Timer Support
|
||||
- AES, SHA256 Accelerator
|
||||
- Direct Memory Access Controller (DMAC)
|
||||
- Micropython Support
|
||||
- Firmware encryption support
|
||||
- On-board Hardware resources:
|
||||
- Flash: 16M.
|
||||
- TFT: ST7789. 135*240 IPS 1.14 SPI
|
||||
- Camera :OV7740
|
||||
- PCM: MAX98357
|
||||
- PMIC: AXP192
|
||||
- Button: Front and side.
|
||||
- Battery: 200mAh.
|
||||
- Indicator light: RGBW .
|
||||
- External storage: TF card/Micro SD
|
||||
- Microphone: MSM261S4030HOR.
|
||||
- Gyro: MPU6886.
|
||||
- Interface: CONNEXT.
|
||||
|
||||
### Package Includes
|
||||
- M5Stick-V
|
||||
- USB cable
|
||||
|
||||
|
||||
### FUNCTIONAL DESCRIPTION
|
||||
#### 1.1 KENDRYTE K210
|
||||
The Kendryte K210 is a system-on-chip (SoC) that integrates machine vision and machine hearing. Using TSMC’s ultra-low-power 28-nm advanced process with dualcore 64-bit processors for better power efficiency, stability and reliability. The SoC strives for ”zero threshold” development and to be deployable in the user’s products in the shortest possible time, giving the product artificial intelligence<br><br>
|
||||
- Machine Vision
|
||||
- Machine Hearing
|
||||
- Better low power vision processing speed and accuracy
|
||||
- KPU high performance Convolutional Neural Network (CNN) hardware accelerator
|
||||
- Advanced TSMC 28nm process, temperature range -40°C to 125°C
|
||||
- Firmware encryption support
|
||||
- Unique programmable IO array maximises design flexibility
|
||||
- Low voltage, reduced power consumption compared to other systems with the same processing power
|
||||
- 3.3V/1.8V dual voltage IO support eliminates need for level shifters
|
||||
|
||||
##### 1.1.1 CPU
|
||||
The chip contains a high-performance, low power RISC-V ISA-based dual core 64-bit CPU with the following features:
|
||||
|
||||
- Core Count: Dual-core processor
|
||||
- Bit Width: 64-bit CPU 400MHz
|
||||
- Frequency: 400MHz
|
||||
- ISA extensions: IMAFDC
|
||||
- FPU: Double Precision
|
||||
- Platform Interrupts: PLIC
|
||||
- Local Interrupts: CLINT
|
||||
- I-Cache: 32KiB x 2
|
||||
- D-Cache: 32KiB x 2
|
||||
- On-Chip SRAM: 8MiB
|
||||
|
||||
|
||||
#### 1.2 OV7740
|
||||
- support for output formats: RAW RGB and YUV
|
||||
- support for image sizes: VGA, QVGA, CIF and any size smaller
|
||||
- support for black sun cancellation
|
||||
- support for internal and external frame synchronization
|
||||
- standard SCCB serial interface
|
||||
- digital video port (DVP) parallel output interface
|
||||
- embedded one-time programmable (OTP) memory
|
||||
- on-chip phase lock loop (PLL)
|
||||
- embedded 1.5 V regulator for core
|
||||
- Sophisticated Edge Rate Control Enables Filterless Class D Outputs
|
||||
- 77dB PSRR at 1kHz
|
||||
- Low RF Susceptibility Rejects TDMA Noise from GSM Radios
|
||||
- Extensive Click-and-Pop Reduction Circuitry
|
||||
|
||||
##### 1.2.1 SPECIFICATION
|
||||
- array size: 656 x 488
|
||||
- power supply: – core: 1.5VDC ± 5% – analog: 3.3V ± 5% – I/O: 1.7 ~ 3.47V
|
||||
- temperature range: – operating: -30° C to 70°C – stable image: 0° C to 50° C
|
||||
- output format: – 8-/10-bit raw RGB data – 8-bit YUV
|
||||
- lens size: 1/5"
|
||||
- input clock frequency: 6 ~ 27 MHz
|
||||
- max image transfer rate: VGA (640x480): 60 fps – QVGA (320 x 240): 120 fp
|
||||
- sensitivity: 6800 mV/(Lux-sec)
|
||||
- maximum exposure interval: 502 x tROW
|
||||
- pixel size: 4.2 μm x 4.2 μm
|
||||
- image area: 2755.2 μm x 2049.6 μm
|
||||
- package/die dimensions: – CSP3: 4185 μm x 4345 μm – COB: 4200 μm x 4360 μm
|
||||
|
||||
|
||||
#### 1.3 MAX98357
|
||||
- Single-Supply Operation (2.5V to 5.5V).
|
||||
- 3.2W Output Power into 4Ω at 5V
|
||||
- 2.4mA Quiescent Current
|
||||
- 92% Efficiency (RL = 8Ω, POUT = 1W)
|
||||
- 22.8µVRMS Output Noise (AV = 15dB)
|
||||
- Low 0.013% THD+N at 1kHz
|
||||
- No MCLK Required
|
||||
- Sample Rates of 8kHz to 96kHz
|
||||
- Supports Left, Right, or (Left/2 + Right/2) Output
|
||||
- Sophisticated Edge Rate Control Enables Filterless Class D Outputs
|
||||
- 77dB PSRR at 1kHz
|
||||
- Low RF Susceptibility Rejects TDMA Noise from GSM Radios
|
||||
- Extensive Click-and-Pop Reduction Circuitry
|
||||
|
||||
#### 1.4 AXP192
|
||||
- Operation Voltage: 2.9V~6.3V (AMR:-0.3V~15V)
|
||||
- Configurable Intelligent Power Select system
|
||||
- Current and voltage limit of adaptive USB or AC adapter input
|
||||
- The resistance of internal ideal diode lower than 100mΩ
|
||||
|
||||
#### 1.5 MPU6886
|
||||
|
||||
##### 1.5.1 GYROSCOPE FEATURES
|
||||
The triple-axis MEMS gyroscope in the MPU-6886 includes a wide range of features:
|
||||
- Digital-output X-, Y-, and Z-axis angular rate sensors (gyroscopes) with a user-programmable full-scale range of ±250 dps, ±500 dps, ±1000 dps, and ±2000 dps and integrated 16-bit ADCs
|
||||
- Digitally-programmable low-pass filter
|
||||
- Low-power gyroscope operation
|
||||
- Factory calibrated sensitivity scale factor
|
||||
- lens size: 1/5"
|
||||
- Self-test
|
||||
|
||||
##### 1.5.2 ACCELEROMETER FEATURES
|
||||
The triple-axis MEMS accelerometer in MPU-6886 includes a wide range of features:
|
||||
- Digital-output X-, Y-, and Z-axis accelerometer with a programmable full scale range of ±2g, ±4g, ±8g and ±16g and integrated 16-bit ADCs
|
||||
- User-programmable interrupts
|
||||
- Wake-on-motion interrupt for low power operation of applications processor
|
||||
- Self-test
|
||||
|
||||
#### 1.6. ANOTHER HARDWARES
|
||||
- Flash: 16M.
|
||||
- TFT: ST7789. 135*240 IPS 1.14 SPI
|
||||
- Button: Front and side.
|
||||
- Battery: 200mAh.
|
||||
- Indicator light: RGBW.
|
||||
- External storage: TF card/Micro SD
|
||||
- Microphone: MSM261S4030HOR.
|
||||
- Gyro: MPU6886.
|
||||
- Interface: CONNECT.
|
||||
|
||||
## Applications/What can M5Stick-V do?
|
||||
- Face recognition/detection
|
||||
- Object detection/classification
|
||||
- Obtaining size and coordinates of the target in real-time
|
||||
- Obtaining the type of detected target in real-time
|
||||
- Shape recognition
|
||||
- Video/Audio Record/Display
|
||||
- Game simulator
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
- **Web page** - [sipeed](https://maixpy.sipeed.com/en/)
|
||||
- **Quick Start Guide** - [M5StickV Guide](https://docs.m5stack.com/#/en/quick_start/m5stickv/m5stickv_quick_start)
|
||||
|
||||
## Schematic
|
||||
<img src="assets\img\product_pics\core\minicore\m5stickv/m5stickv_04.jpg" width="30%" height="30%">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,16 +1,21 @@
|
||||
# Hat ADC {docsify-ignore-all}
|
||||
|
||||
<img src="assets\img\product_pics\hat\env_hat\env_hat_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\env_hat\env_hat_02.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\env_hat\env_hat_03.jpg" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\hat\adc_hat\adc_hat_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\adc_hat\adc_hat_02.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\adc_hat\adc_hat_03.jpg" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[描述](#描述)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-env-hat)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)**
|
||||
:memo:**[描述](#Description)** :electric_plug:**[原理图](#Schematic)** :octocat:**[Code](#Code)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)** 🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)**
|
||||
|
||||
|
||||
## 描述
|
||||
|
||||
**ADC Hat**是一款兼容M5SticKC的AD转换模块,内部集成ADC转换芯片ADS1100,具备全差分、16位、自校准、Δ-Σ模/ 数转换等特性,使得用户能够非常轻松的获得精确的测量结果.
|
||||
|
||||
<br>
|
||||
ADS1100包含一个具有可调增益的Δ-Σ A / D转换器内核,一个时钟发生器和一个I2C接口.
|
||||
<br>
|
||||
ADS1100允许-5~ + 5V的差分输入,但我们通过增加该IC的外围电路设计将输入限制为0~12V
|
||||
<br>
|
||||
|
||||
|
||||
## 产品特性
|
||||
@@ -32,33 +37,88 @@
|
||||
## 包含
|
||||
|
||||
- 1x ADC HAT
|
||||
|
||||
- 1x 2 Pin 3.96 端子
|
||||
|
||||
## 应用
|
||||
|
||||
- Analog Signal Capture
|
||||
- 模拟信号捕获
|
||||
|
||||
|
||||
## Schematic
|
||||
## 相关链接
|
||||
|
||||
<img src="assets/img/product_pics/hat/adc_hat/adc_hat_04.jpg" width="50%" height="50%">
|
||||
- **Datasheet** - [ADS1100](http://www.ti.com/lit/ds/symlink/ads1100.pdf)
|
||||
|
||||
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/hat/adc_hat/adc_hat_04.jpg" width="80%" height="80%">
|
||||
|
||||
|
||||
## EasyLoader
|
||||
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.png" width="100px" style="margin-top:20px">
|
||||
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/ENV/EasyLoader_StickC_HAT_ENV.exe"><button type="button" class="btn btn-primary">点击下载EasyLoader</button></a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/ADC/EasyLoader_ADC_HAT.exe"><button type="button" class="btn btn-primary">点击下载EasyLoader</button></a>
|
||||
|
||||
>1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序.
|
||||
|
||||
>2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录
|
||||
|
||||
## Code
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
*以下代码仅为片段,如需获取完整代码,[请点击此处.](https://github.com/m5stack/M5StickC/tree/master/examples/Hat/ADC).*
|
||||
|
||||
```arduino
|
||||
#include <M5StickC.h>
|
||||
#include <Wire.h>
|
||||
#include "ADS1100.h"
|
||||
|
||||
ADS1100 ads;
|
||||
#define REF_VOL 3.3
|
||||
#define ADC_BASE REF_VOL/32768
|
||||
void setup(void)
|
||||
{
|
||||
M5.begin(true,true,false);
|
||||
// The address can be changed making the option of connecting multiple devices
|
||||
ads.getAddr_ADS1100(ADS1100_DEFAULT_ADDRESS); // 0x48, 1001 000 (ADDR = GND)
|
||||
// The ADC gain (PGA), Device operating mode, Data rate
|
||||
// can be changed via the following functions
|
||||
ads.setGain(GAIN_ONE); // 1x gain(default)
|
||||
ads.setMode(MODE_CONTIN); // Continuous conversion mode (default)
|
||||
ads.setRate(RATE_8); // 8SPS (default)
|
||||
ads.setOSMode(OSMODE_SINGLE); // Set to start a single-conversion
|
||||
ads.begin();
|
||||
}
|
||||
void loop() {
|
||||
byte error;
|
||||
int8_t address;
|
||||
address = ads.ads_i2cAddress;
|
||||
// The i2c_scanner uses the return value of
|
||||
// the Write.endTransmisstion to see if
|
||||
// a device did acknowledge to the address.
|
||||
Wire.beginTransmission(address);
|
||||
error = Wire.endTransmission();
|
||||
result = ads.Measure_Differential();
|
||||
}
|
||||
```
|
||||
|
||||
### 管脚映射
|
||||
|
||||
<table>
|
||||
<tr><td>M5StickC</td><td>GPIO0</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>HAT ADC</td><td>SDA</td><td>SCL</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
## 相关视频
|
||||
**Demo**
|
||||
|
||||
<video width="500" height="500" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/HAT/ADC-DAC-HAT.mp4" type="video/mp4" >
|
||||
</video>
|
||||
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet** - [ADS1100](http://pdf1.alldatasheet.com/datasheet-pdf/view/619024/TI1/ADS1100.html)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Hat DAC {docsify-ignore-all}
|
||||
|
||||
<img src="assets\img\product_pics\hat\env_hat\env_hat_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\env_hat\env_hat_02.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\env_hat\env_hat_03.jpg" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\hat\dac_hat\dac_hat_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\dac_hat\dac_hat_02.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\dac_hat\dac_hat_03.jpg" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
|
||||
|
||||
## Schematic
|
||||
## 原理图
|
||||
|
||||
<img src="assets/img/product_pics/hat/dac_hat/dac_hat_04.jpg" width="50%" height="50%">
|
||||
|
||||
@@ -69,4 +69,12 @@
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet** - [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html)
|
||||
- **Datasheet** - [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html)
|
||||
|
||||
|
||||
## Video
|
||||
**Demo**
|
||||
|
||||
<video width="500" height="500" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/HAT/ADC-DAC-HAT.mp4" type="video/mp4" >
|
||||
</video>
|
||||
|
||||
+67
-18
@@ -1,58 +1,107 @@
|
||||
# Hat RS485 {docsify-ignore-all}
|
||||
|
||||
<img src="assets\img\product_pics\hat\env_hat\env_hat_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\env_hat\env_hat_02.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\env_hat\env_hat_03.jpg" width="30%" height="30%">
|
||||
|
||||
<img src="assets\img\product_pics\hat\rs485_hat\rs485_hat_01.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\rs485_hat\rs485_hat_02.jpg" width="30%" height="30%"><img src="assets\img\product_pics\hat\rs485_hat\rs485_hat_03.jpg" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[描述](#描述)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/m5stickc-env-hat)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)**
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** :octocat:**[Code](#Code)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)** 🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)**
|
||||
|
||||
## Description
|
||||
|
||||
## 描述
|
||||
|
||||
**RS485 Hat**是一款兼容M5SticKC的TTL-RS485转换模块,内部集成
|
||||
**RS485-HAT** is a TTL to RS485 converter for M5StickC. Among M5stack products we have 5 items that include TTL to RS485, they are RS485 unit, RS485 HAT, PLC, LAN, BASE26 they have different input voltage, vary from 5V - 12V.
|
||||
<br><br>
|
||||
In this RS485-HAT, it consists of a 485 automatic transceiver circuit and a DC-DC buck circuit which can drop an input 12V to 5V.
|
||||
<br><br>
|
||||
RS485 is a standard defining the electrical characteristics of drivers and receivers for use in serial communications systems, widely used in the industrial field. multipoint systems are supported.
|
||||
<br><br>
|
||||
It is used to convert the TTL standard to the RS485 standard. If the outside serial device is RS485 standard, you can attach this hat on top of stickc, therefore, to implement the communication with RS485 device by TTL protocol.
|
||||
|
||||
<br>
|
||||
|
||||
## Product Features
|
||||
|
||||
- Built-in SP485EEN
|
||||
- The built-in automatic transceiver circuit
|
||||
- Built-in DC-DC buck circuit
|
||||
- AOZ1282CI
|
||||
- AOZ1282CI
|
||||
- input DC 5~12 V
|
||||
- BandRate up to 115200
|
||||
- Program Platform: Arduino, UIFlow(Blockly, Python)
|
||||
- Program Platform: Arduino, UIFlow(Blockly, Python)
|
||||
|
||||
|
||||
## Include
|
||||
|
||||
- 1x RS485 HAT
|
||||
- 1x 4 Pin 3.96 Pitch Terminal
|
||||
|
||||
## Application
|
||||
## Application
|
||||
|
||||
- RS485 multipoint systems
|
||||
- Serial communication in industrial field.
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
- **Datasheet** - [SP485EEN](https://pdf1.alldatasheet.com/datasheet-pdf/view/45954/SIPEX/SP485EEN.html)
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/hat/rs485_hat/rs485_hat_04.jpg" width="50%" height="50%">
|
||||
|
||||
|
||||
<img src="assets/img/product_pics/hat/rs485_hat/rs485_hat_04.jpg" width="80%" height="80%">
|
||||
|
||||
|
||||
## EasyLoader
|
||||
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.png" width="100px" style="margin-top:20px">
|
||||
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/ENV/EasyLoader_StickC_HAT_ENV.exe"><button type="button" class="btn btn-primary">点击下载EasyLoader</button></a>
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/RS485/EasyLoader_RS485_HAT.exe"><button type="button" class="btn btn-primary">click to download EasyLoader</button></a>
|
||||
|
||||
>1.EasyLoader是一个简洁快速的程序烧录器,每一个产品页面里的EasyLoader都提供了一个与产品相关的案例程序.
|
||||
>1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.
|
||||
|
||||
>2.下载软件后,双击运行应用程序,将M5设备通过数据线连接至电脑,选择端口参数,点击 **"Burn"** 即可开始烧录
|
||||
>2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click **"Burn"** to start burning.
|
||||
|
||||
## Code
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
*To get complete code, please click [here](https://github.com/m5stack/M5StickC/tree/master/examples/Hat/RS485).*
|
||||
|
||||
```arduino
|
||||
#include <M5StickC.h>
|
||||
|
||||
/* This demo is for RS485 Hat uart write and read ,
|
||||
AutoSend Hello M5! AutoReceive and diaplay on screen */
|
||||
|
||||
void setup() {
|
||||
|
||||
M5.begin(true,true,true);
|
||||
Serial.begin(115200);
|
||||
// Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)
|
||||
Serial2.begin(115200, SERIAL_8N1, 26, 0);
|
||||
|
||||
Serial.println("RS485");
|
||||
|
||||
}
|
||||
void loop() {
|
||||
Serial2.print("Hello M5!");
|
||||
|
||||
if(Serial2.available()) {
|
||||
char ch = Serial2.read();
|
||||
M5.Lcd.setTextSize(2);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Pin Map
|
||||
|
||||
<table>
|
||||
<tr><td>M5StickC</td><td>GPIO0</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>HAT ADC</td><td>TX</td><td>RX</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
## Video
|
||||
**Demo**
|
||||
|
||||
## 相关链接
|
||||
|
||||
- **Datasheet** - [SP485EEN](https://pdf1.alldatasheet.com/datasheet-pdf/view/45954/SIPEX/SP485EEN.html)
|
||||
<video width="500" height="500" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/HAT/RS485_HAT.mp4" type="video/mp4" >
|
||||
</video>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<a class="dropdown-item" href="#/zh_CN/core/gray">GRAY</a>
|
||||
<a class="dropdown-item" href="#/zh_CN/core/fire" >FIRE</a>
|
||||
<a class="dropdown-item" href="#/zh_CN/core/m5stickc" >M5StickC</a>
|
||||
<a class="dropdown-item" href="#/zh_CN/core/m5stickv" >M5StickV</a>
|
||||
<a class="dropdown-item" href="#/zh_CN/core/m5stick" >M5Stick</a>
|
||||
<a class="dropdown-item" href="#/zh_CN/core/m5go_lite" >M5GO Lite</a>
|
||||
<a class="dropdown-item" href="#/zh_CN/core/m5go" >M5GO Kit</a>
|
||||
@@ -166,8 +167,8 @@
|
||||
<a href="#/zh_CN/unit/ir" >IR</a>
|
||||
<a href="#/zh_CN/unit/rs485" >RS485</a>
|
||||
<a href="#/zh_CN/unit/rfid" >RFID</a>
|
||||
<!-- <a href="#/zh_CN/unit/laser-rx" >LASER-RX</a>
|
||||
<a href="#/zh_CN/unit/laser-tx" >LASER-TX</a> -->
|
||||
<a href="#/zh_CN/unit/laser-rx" >LASER-RX</a>
|
||||
<a href="#/zh_CN/unit/laser-tx" >LASER-TX</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -183,9 +184,9 @@
|
||||
<a href="#/zh_CN/hat/hat-proto" >PROTO</a>
|
||||
<a href="#/zh_CN/hat/hat-ncir" >NCIR</a>
|
||||
<a href="#/zh_CN/hat/hat-thermal" >Thermal</a>
|
||||
<!-- <a href="#/zh_CN/hat/hat-adc" >ADC</a>
|
||||
<a href="#/zh_CN/hat/hat-adc" >ADC</a>
|
||||
<a href="#/zh_CN/hat/hat-dac" >DAC</a>
|
||||
<a href="#/zh_CN/hat/hat-rs485" >RS485</a> -->
|
||||
<a href="#/zh_CN/hat/hat-rs485" >RS485</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,21 +1,22 @@
|
||||
# Unit LASER RX {docsify-ignore-all}
|
||||
# Unit LASER.RX {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_light.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_light_grove_b.png" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\unit\laser_rx\unit_laser_rx_01.jpg" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\unit\laser_rx\unit_laser_rx_02.jpg" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[描述](#描述)** :octocat:**[例程](#例程)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/light-sensor-unit)** :clapper:**[相关视频](#相关视频)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)**
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** :octocat:**[Code](#Code)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)** 🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)**
|
||||
|
||||
## Description
|
||||
|
||||
|
||||
30, LASER.RX
|
||||
This is one of the communication devices among M5Units, a non-modulation Laser receiver. It is mainly built with a laser transistor.
|
||||
|
||||
<br><br>
|
||||
Laser communications devices are wireless connections through the atmosphere. They work similarly to fiber-optic links, except the beam is transmitted through free space. While the transmitter and receiver must require line-of-sight conditions, they have the benefit of eliminating the need for broadcast rights and buried cables. Laser communications systems can be easily deployed since they are inexpensive, small, low power and do not require any radio interference studies.
|
||||
Two parallel beams are needed, one for transmission and one for reception. Therefore we have a LASER.TX parallelly.
|
||||
|
||||
<br><br>
|
||||
Port type of this unit is PORTB.
|
||||
|
||||
<br>
|
||||
## Product Features
|
||||
|
||||
- Laser receiver
|
||||
@@ -26,16 +27,95 @@ Port type of this unit is PORTB.
|
||||
- Two Lego-compatible holes
|
||||
- Program Platform: Arduino, UIFlow(Blockly, Python)
|
||||
|
||||
|
||||
## Include
|
||||
|
||||
- 1x LASER.RX unit
|
||||
- 1x GROVE cable
|
||||
|
||||
## Application
|
||||
- Laser communication system on space.
|
||||
## Application
|
||||
|
||||
- Laser communication system on space.
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/unit/laser_rx/unit_laser_rx_04.jpg" width="50%" height="50%">
|
||||
|
||||
## EasyLoader
|
||||
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.png" width="100px" style="margin-top:20px">
|
||||
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/LASER/EasyLoader_LASER_RX.exe"><button type="button" class="btn btn-primary">click to download EasyLoader</button></a>
|
||||
|
||||
>1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.
|
||||
|
||||
>2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click **"Burn"** to start burning.
|
||||
|
||||
## Code
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
*To get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/LASER).*
|
||||
|
||||
```arduino
|
||||
/* This demo is for LASER.TX and LASER.RX, utilized UART for transmittion and reception of
|
||||
laser signals. In order to get the result of this demo, you will need to connect LASER.TX
|
||||
and LASER.RX with PORTC(blue) respectively onto two different M5Cores with M5GO bases on
|
||||
bottom. Then flash the demo into both M5Core device.
|
||||
When testing the demo, you need to point the TX unit to RX, and press the button TX connected
|
||||
device. RX connected device will reponse with a display,and will show what is received .
|
||||
See this link for more detals: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/LASER/EasyLoader_LASER_RX.exe
|
||||
*/
|
||||
|
||||
#include <M5Stack.h>
|
||||
|
||||
char ch;
|
||||
// serial 2 write and read
|
||||
//#define RX
|
||||
void setup() {
|
||||
M5.begin();
|
||||
Serial.begin(115200);
|
||||
// Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)
|
||||
Serial2.begin(9600, SERIAL_8N1, 16, 17);
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
M5.update();
|
||||
|
||||
if (M5.BtnA.wasReleased()) {
|
||||
ch = 'A';
|
||||
Serial2.write(ch);
|
||||
} else if (M5.BtnB.wasReleased()) {
|
||||
ch = 'B';
|
||||
Serial2.write(ch);
|
||||
} else if (M5.BtnC.wasReleased()) {
|
||||
ch = 'C';
|
||||
Serial2.write(ch);
|
||||
}
|
||||
M5.update();
|
||||
if(Serial2.available()) {
|
||||
char ch = Serial2.read();
|
||||
M5.Lcd.print(ch);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Pin Map
|
||||
|
||||
<table>
|
||||
<tr><td>M5 PORTB</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>LASER_RX</td><td>RX</td><td>/</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
## Video
|
||||
**Demo**
|
||||
|
||||
<video width="500" height="500" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Unit/LASER-TX-RX.mp4" type="video/mp4" >
|
||||
</video>
|
||||
|
||||
+112
-10
@@ -1,39 +1,141 @@
|
||||
# Unit LASER TX {docsify-ignore-all}
|
||||
# Unit LASER.TX {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_light.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_light_grove_b.png" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\unit\laser_tx\unit_laser_tx_01.jpg" width="30%" height="30%">
|
||||
<img src="assets\img\product_pics\unit\laser_tx\unit_laser_tx_02.jpg" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[描述](#描述)** :octocat:**[例程](#例程)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/light-sensor-unit)** :clapper:**[相关视频](#相关视频)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)**
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** :octocat:**[Code](#Code)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)** 🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)**
|
||||
|
||||
## Description
|
||||
|
||||
|
||||
|
||||
This is one of the communication devices among M5Units, a Laser emitter with adjustable focal length. It is mainly build with a laser diode
|
||||
|
||||
This is one of the communication devices among M5Units, a Laser emitter with adjustable focal length. It is mainly built with a laser diode
|
||||
<br><br>
|
||||
Laser communications devices are wireless connections through the atmosphere. They work similarly to fiber-optic links, except the beam is transmitted through free space. While the transmitter and receiver must require line-of-sight conditions, they have the benefit of eliminating the need for broadcast rights and buried cables. Laser communications systems can be easily deployed since they are inexpensive, small, low power and do not require any radio interference studies.
|
||||
Two parallel beams are needed, one for transmission and one for reception. Therefore we have a LASER.RX parallelly.
|
||||
|
||||
<br>
|
||||
Port type of this unit is PORTB.
|
||||
<br><br>
|
||||
*warning!!! laser is dangerous for human being, Don’t aim a laser pointer towards a person’s head. This is to prevent the beam from getting in their eyes, possibly causing eye damage. Remember that people can move unexpectedly, so keeping away from their heads is a good idea*
|
||||
|
||||
## Product Features
|
||||
|
||||
- Laser transmitter
|
||||
- adjustable focal length
|
||||
- Work voltage: 5V
|
||||
- Pair with LASER.RX
|
||||
- Two Lego-compatible holes
|
||||
- Program Platform: Arduino, UIFlow(Blockly, Python)
|
||||
|
||||
|
||||
## Include
|
||||
|
||||
- 1x LASER.TX unit
|
||||
- 1x GROVE cable
|
||||
|
||||
## Application
|
||||
- Laser communication system on space.
|
||||
## Application
|
||||
|
||||
- Laser communication system on space.
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/unit/laser_tx/unit_laser_tx_04.jpg" width="50%" height="50%">
|
||||
|
||||
## EasyLoader
|
||||
|
||||
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo.png" width="100px" style="margin-top:20px">
|
||||
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/LASER/EasyLoader_LASER_TX.exe"><button type="button" class="btn btn-primary">click to download EasyLoader</button></a>
|
||||
|
||||
>1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.
|
||||
|
||||
>2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click **"Burn"** to start burning.
|
||||
|
||||
## Code
|
||||
|
||||
### 1. Arduino IDE
|
||||
|
||||
*To get complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/LASER).*
|
||||
|
||||
```arduino
|
||||
/* This demo is for LASER.TX and LASER.RX, utilized UART for transmittion and reception of
|
||||
laser signals. In order to get the result of this demo, you will need to connect LASER.TX
|
||||
and LASER.RX with PORTC(blue) respectively onto two different M5Cores with M5GO bases on
|
||||
bottom. Then flash the demo into both M5Core device.
|
||||
When testing the demo, you need to point the TX unit to RX, and press the button TX connected
|
||||
device. RX connected device will reponse with a display,and will show what is received .
|
||||
See this link for more detals: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/LASER/EasyLoader_LASER_RX.exe
|
||||
*/
|
||||
|
||||
#include <M5Stack.h>
|
||||
|
||||
char ch;
|
||||
// serial 2 write and read
|
||||
//#define RX
|
||||
void setup() {
|
||||
M5.begin();
|
||||
Serial.begin(115200);
|
||||
// Serial2.begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert)
|
||||
Serial2.begin(9600, SERIAL_8N1, 16, 17);
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
M5.update();
|
||||
|
||||
if (M5.BtnA.wasReleased()) {
|
||||
ch = 'A';
|
||||
Serial2.write(ch);
|
||||
} else if (M5.BtnB.wasReleased()) {
|
||||
ch = 'B';
|
||||
Serial2.write(ch);
|
||||
} else if (M5.BtnC.wasReleased()) {
|
||||
ch = 'C';
|
||||
Serial2.write(ch);
|
||||
}
|
||||
M5.update();
|
||||
if(Serial2.available()) {
|
||||
char ch = Serial2.read();
|
||||
M5.Lcd.print(ch);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Pin Map
|
||||
|
||||
<table>
|
||||
<tr><td>M5 PORTB</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>LASER_TX</td><td>/</td><td>TX</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
## Video
|
||||
**Demo**
|
||||
|
||||
<video width="500" height="500" controls>
|
||||
<source src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Unit/LASER-TX-RX.mp4" type="video/mp4" >
|
||||
</video>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
# Unit MINI PROTO {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/unit/M5GO_Unit_light.png" width="30%" height="30%"><img src="assets/img/product_pics/unit/unit_light_grove_b.png" width="30%" height="30%">
|
||||
# Unit MINI.PROTO {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/unit/mini_proto/unit_mini_proto_01.jpg" width="50%" height="50%"><img src="assets/img/product_pics/unit/mini_proto/unit_mini_proto_02.jpg" width="50%" height="50%">
|
||||
***
|
||||
|
||||
:memo:**[描述](#描述)** :octocat:**[例程](#例程)** :electric_plug:**[原理图](#原理图)** 🛒**[购买链接](https://m5stack.com/collections/m5-unit/products/light-sensor-unit)** :clapper:**[相关视频](#相关视频)** <img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_logo-min.jpg">**[EasyLoader](#EasyLoader)**
|
||||
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-adc-hat)**
|
||||
|
||||
|
||||
## 描述
|
||||
@@ -15,11 +13,21 @@
|
||||
对于不同的CONNEXT端口,您能够从ESP32引出不同的引脚进行电路连接。
|
||||
- PORTA:GPIO 21,22
|
||||
- PORTB:GPIO 36,26
|
||||
- PORTC:GPIO 16,17
|
||||
- PORTC:GPIO 16,17
|
||||
|
||||
|
||||
|
||||
|
||||
<br><br><br>
|
||||
|
||||
<img src="assets/img/product_pics/unit/mini_proto/unit_mini_proto_03.jpg" width="50%" height="50%">
|
||||
|
||||
## Product Features
|
||||
|
||||
- Hole Size: 0.039" 1mm (CNC Drilled)
|
||||
- Hole Pitch: 0.1 in - (2.54 mm)
|
||||
- Entire Hole Quantity: 40 Holes
|
||||
- Two Lego-compatible holes
|
||||
|
||||
|
||||
## Include
|
||||
@@ -27,15 +35,23 @@
|
||||
- 1x MINI PROTO unit
|
||||
- 1x GROVE cable
|
||||
|
||||
|
||||
## Application
|
||||
|
||||
- 原型设计
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
## Schematic
|
||||
|
||||
<img src="assets/img/product_pics/unit/mini_proto/unit_mini_proto_04.jpg" width="50%" height="50%">
|
||||
<img src="assets/img/product_pics/unit/mini_proto/unit_mini_proto_04.jpg" width="50%" height="50%">
|
||||
|
||||
|
||||
### Pin Map
|
||||
|
||||
<table>
|
||||
<tr><td>M5 PORTA</td><td>GPIO22</td><td>GPIO21</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5 PORTB</td><td>GPIO36</td><td>GPIO26</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>M5 PORTC</td><td>GPIO16</td><td>GPIO17</td><td>5V</td><td>GND</td></tr>
|
||||
<tr><td>MINI.PROTO</td><td>P1-1</td><td>P1-2</td><td>5V</td><td>GND</td></tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user