From dc8a09c898f23d265eafad4136d1c32c36df8815 Mon Sep 17 00:00:00 2001 From: Shasha Liu Date: Fri, 12 Jul 2019 16:43:45 +0800 Subject: [PATCH] add 3 communication modules --- docs/en/accessory/battery_base.md | 2 +- docs/en/module/gsm.md | 127 ++++++++++++++++++++++++++ docs/en/module/lte-4g.md | 143 ++++++++++++++++++++++++++++++ docs/en/module/nb-iot.md | 138 ++++++++++++++++++++++++++++ 4 files changed, 409 insertions(+), 1 deletion(-) create mode 100644 docs/en/module/gsm.md create mode 100644 docs/en/module/lte-4g.md create mode 100644 docs/en/module/nb-iot.md diff --git a/docs/en/accessory/battery_base.md b/docs/en/accessory/battery_base.md index d7a84889..e5956eae 100644 --- a/docs/en/accessory/battery_base.md +++ b/docs/en/accessory/battery_base.md @@ -16,7 +16,7 @@ You can wire it with the battery interface on M5camera board. Pay attention to t ## Product Features -- Dimension: 8mmX20mmX30mm, +- Dimension: 8mmX20mmX30mm - Capacity: 400mAh - Poly Lithium Battery diff --git a/docs/en/module/gsm.md b/docs/en/module/gsm.md new file mode 100644 index 00000000..3fa97af2 --- /dev/null +++ b/docs/en/module/gsm.md @@ -0,0 +1,127 @@ +# Module LTE {docsify-ignore-all} + + + +*** + +:memo:**[Description](#Description)**      :electric_plug:**[Schematic](#Schematic)**      :octocat:**[Code](#Code)**      **[EasyLoader](#EasyLoader)**       🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-dac-hat-mcp4725)** + +## Description + +This is a 2G and industrial wireless communication module, integrated an GSM/GPRS module M6315, released by China Mobile, +supported GPRS class12 and GPRS CS-1, CS-2, CS-3, CS-4 encode, M6315 has LCC package type, features tiny dimension, highly reliability, strong anti-interference capability. +
+It can apply to the comunication requirement on diversity industrial, electricity, petroleum, transportation, financial, etc +
+In the GSM module scheme, we added more hardware resources, 1 reserved speaker- SPK1, 1 onboard speaker-SPK2, LEDs, 2 alternative antenna. +
+M6315 is 2.8V power input, so in the hardware of GSM module, we added a Bidirectional Voltage-Level Translator (TXS0104E), to switch the power supply to 2.8V. + +
+ +*The Global System for Mobile Communications (GSM) is a standard developed by the European Telecommunications Standards Institute (ETSI) to describe the protocols for second-generation (2G) digital cellular networks used by mobile devices such as mobile phones and tablets.* + +## Product Features +Product Feature: +- Serial communication: Uart 16/17 +- Alternative Antenna +- GSM 2G industrial level +- SIM card type: Nano +- 2x LEDs +- 2X speakers: SPK1 reserved, SPK2 connected to PIN25 +- M6315 + - Tem:-40°C ~ + 85°C + - Frequency Band(MHz): + 850/900/1800/1900 + - Data Transmit: + spped (kbps) 85.6(UL)/85.6(DL) + GPRS Class12 + SMS supported PDU/TEXT mode + Network Protocol IPV4/IPV6*/TCP/UDP/PPP/HTTP/FTP/MQTT + - Interface: + USIM ×1(1.8V/3.0V) + Analog Audio Inputs×1/Outputs×2 + UART ×3 + ADC ×1(10bits) + - Consumption: + <2mA@DRX=5 + +## Include + +- 1x GSM module + +## Application + +- M2M industrial +- Wireless communication +- Industrial Application + + + +## Links + +- **Datasheet** - [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html) + +## Schematic + + + + + +## EasyLoader + + + + + +>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/M5StickC/blob/master/examples/Hat/DAC).* + +```arduino +#include +#include +#include "Adafruit_MCP4725.h" +#define DAC_ADDR +Adafruit_MCP4725 dac; + +void setup(void) { + M5.begin(true,true,false); + dac.begin(0x60); + dac.setVoltage(2048, false); + +} + +void loop(void) { + // 12bit value , false mean not write EEPROM + dac.setVoltage(1024, false); + dac.setVoltage(2048, false); +} + +``` + +### Pin Map + + + + +
M5StickCGPIO0GPIO265VGND
HAT ADCSDASCL5VGND
+ + + + + + + diff --git a/docs/en/module/lte-4g.md b/docs/en/module/lte-4g.md new file mode 100644 index 00000000..b0626caa --- /dev/null +++ b/docs/en/module/lte-4g.md @@ -0,0 +1,143 @@ +# Module LTE {docsify-ignore-all} + + + +*** + +:memo:**[Description](#Description)**      :electric_plug:**[Schematic](#Schematic)**      :octocat:**[Code](#Code)**      **[EasyLoader](#EasyLoader)**       🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-dac-hat-mcp4725)** + +## Description + +This is a wireless communication module, integrated an **NB-IOT** M8321 module that released by China Mobile, provided TD-LTE/FDD-LTE/WCDMA/TD- SCDMA/GSM/GPRS/EDGE Frequency Band and LCC+LGA package type. +
+It has integrated plentiful Internet protocols, field standard interface, and functions, supported WindowsXP、Windows7 、Windows8、 Windows10、Linux and Android USB driver. +
+In the LTE-4G module scheme, we added more hardware resources, 1 reserved speaker solder panel, 3 LEDs, exported USB interface, double antennea allowed. +
+M8321 is 4V power input, so in the hardware of LTE-4G module, we added a Bidirectional Voltage-Level Translator (TXS0104E), to switch the power supply to 4V. + +
+ +*In telecommunication, Long-Term Evolution (LTE) is a standard for wireless broadband communication for mobile devices and data terminals, based on the GSM/EDGE and UMTS/HSPA technologies. It increases the capacity and speed using a different radio interface together with core network improvements.* + +## Product Features +Product Feature: +- Double Antenna +- Resolved Speaker on board(I2S) +- Power Input: 5V +- Serial Communication: Uart2 16/17 +- M8321 + - Tem:-40°C ~ + 85°C + - Frequency Band: + LTE-TDD:B38/B39/B40/B41 + LTE-FDD:B1/B3/B8△ + TD-SCDMA:B34/B39△ + WCDMA:B1/B8△ + GSM(MHz):900/1800 + - Data Transmit: + LTE speed (Mbps) LTE-FDD 50(UL)/150(DL)△ LTE-TDD 50(UL)/100(DL) + HSPA+ speed (Mbps) 5.76(UL)/21.6(DL)△ + TD-SCDMA speed (Mbps) 2.2(UL)/2.8(DL)△ + EDGE speed (Kbps) 384(UL)/384(DL) + GPRS speed (Kbps) 85.6(UL)/85.6(DL) + SMS supported PDU/TEXT mode + Network Protocol IPV4/IPV6/TCP/PPP/UDP/FTP/HTTP/NTP + - Interface: + USIM ×1(1.8V/3.0V) + Digital Audio(PCM) supported + UART ×3 + USB: 2.0 Hi-Speed + I2C sopported + ADC ×2(12bits) + GSM(MHz):900/1800 + Double antenna:main & diversity + GPIO ×3(M8321) + - Comsuption: + 17uA@Poweroff + 3mA@Sleep + 45mA@Idle + +## Include + +- 1x Antenna +- 1x LTE module + +## Application + +- M2M industrial +- Vehicle-mounted +- Video +- Security +- CPE +- Router +- POC + + + +## Links + +- **Datasheet** - [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html) + +## Schematic + + + + + +## EasyLoader + + + + + +>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/M5StickC/blob/master/examples/Hat/DAC).* + +```arduino +#include +#include +#include "Adafruit_MCP4725.h" +#define DAC_ADDR +Adafruit_MCP4725 dac; + +void setup(void) { + M5.begin(true,true,false); + dac.begin(0x60); + dac.setVoltage(2048, false); + +} + +void loop(void) { + // 12bit value , false mean not write EEPROM + dac.setVoltage(1024, false); + dac.setVoltage(2048, false); +} + +``` + +### Pin Map + + + + +
M5StickCGPIO0GPIO265VGND
HAT ADCSDASCL5VGND
+ + + + + + + diff --git a/docs/en/module/nb-iot.md b/docs/en/module/nb-iot.md new file mode 100644 index 00000000..b3410451 --- /dev/null +++ b/docs/en/module/nb-iot.md @@ -0,0 +1,138 @@ +# Module NB-IoT {docsify-ignore-all} + + + +*** + +:memo:**[Description](#Description)**      :electric_plug:**[Schematic](#Schematic)**      :octocat:**[Code](#Code)**      **[EasyLoader](#EasyLoader)**       🛒**[Purchase](https://m5stack.com/collections/m5-unit/products/m5stickc-dac-hat-mcp4725)** + +## Description + +This is a wireless communication module, integrated an **NB-IOT** M5311 module that produced by China Mobile. The dimension if M5311 is 16mm * 18mm*2.2mm, which is very tiny, and gives convenience to the user of more flexible dimension requirement. +
+package with LCC allows quick production through standard SMT, which provides a more reliable connection method and performance on the extreme environment. +
+the power requirement of this M5311 module is down to 2.1V, AA battery supported, it can fully utilize the power of AA battery, to provide an extremely low-power-consumption solution for terminal devices. +
+M5311 provides abundant external interfaces and protocol stacks, support peripheral sensors, etc. +
+Based on M5311, we have offered extra hardware resources on NB-IoT Module, WUP, STA LEDs, 3 alternative UARTs, one power button, and 2 alternative antennae. + +
+ +*More info about NB-IoT: NarrowBand-Internet of Things (NB-IoT) is a standards-based low power wide area (LPWA) technology developed to enable a wide range of new IoT devices and services. NB-IoT significantly improves the power consumption of user devices, system capacity and spectrum efficiency, especially in deep coverage. Battery life of more than 10 years can be supported for a wide range of use cases.Supported by all major mobile equipment, chipset and module manufacturers, NB-IoT can co-exist with 2G, 3G, and 4G mobile networks. It also benefits from all the security and privacy features of mobile networks, such as support for user identity confidentiality, entity authentication, confidentiality, data integrity, and mobile equipment identification. NB-IoT focuses specifically on indoor coverage, low cost, long battery life, and high connection density. NB-IoT uses a subset of the LTE standard, but limits the bandwidth to a single narrow-band of 200kHz. It uses OFDM modulation for downlink communication and SC-FDMA for uplink communications* + +## Product Features +- Serial communication: UART +- Product Power in : 5V +- 3x Alternative UARTs +- 2x antenna: Spring / External +- WUP, STA LEDs +- 1x Power Button +- Nano SIM +- M5311 + - Package: LCC + - Frequency Band: B3/B8/B5 + - Tem:-40°C ~ 85°C + - NB-IoT support LTE Cat NB2* + - LTE Cat NB1 speed (kbps): + Single Tone:15.625(UL)/21.25(DL) + Multi Tone:62.5(UL)/21.25(DL) + - SMS: PDU/TEXT mode + - Network Protocol: IPv4/IPv6/UDP/TCP/ CoAP/LwM2M/HTTP/MQTT/TLS + - power in: 2.1V ~ 3.6V,Typ 3.3V (Low-Voltage version) & 3.0V ~ 3.6V,Typ 3.3V (Fixed-Voltage version) + - Interface: + USIM ×1(1.8V/3.0V) + UART ×2 + I2C ×1 + SPI ×1 + RESET ×1 + GPIO ×2 + ADC ×1(10bits) + 2x Antenna + - Consumption: 3uA@PSM 0.4mA@ldle mode(DRx=1.28S) + 167mA@Tx(23dBm/15kHzST) 54mA@Rx + -output power: 23dBm±2dB + - Certificate: CCC/SRRC/NAL/GTI + +## Include + +- 1x Nano Iot SIM card +- 1x NB-IoT module + +## Application + +- Smart Wearable device +- Smart Parking +- Smart Meter +- IoT in City + + + +## Links + +- **Datasheet** - [MCP4725](http://pdf1.alldatasheet.com/datasheet-pdf/view/233449/MICROCHIP/MCP4725.html) + +## Schematic + + + + + +## EasyLoader + + + + + +>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/M5StickC/blob/master/examples/Hat/DAC).* + +```arduino +#include +#include +#include "Adafruit_MCP4725.h" +#define DAC_ADDR +Adafruit_MCP4725 dac; + +void setup(void) { + M5.begin(true,true,false); + dac.begin(0x60); + dac.setVoltage(2048, false); + +} + +void loop(void) { + // 12bit value , false mean not write EEPROM + dac.setVoltage(1024, false); + dac.setVoltage(2048, false); +} + +``` + +### Pin Map + + + + +
M5StickCGPIO0GPIO265VGND
HAT ADCSDASCL5VGND
+ + + + + + +