ماژول شبکه Ad Hoc SNM401

فهرست مطالب
1. توضیحات محصول
SNM401 Centerless Ad Hoc Network Module realizes centerless long-distance communication between modules, and adopts the world’s latest LDPC encoding and decoding technology, compared to the RS level used by traditional radio stations The concatenated convolutional code can have a coding gain of 5dB, و در عین حال, از طریق “self-relay wireless communication” فن آوری, it innovatively realizes automatic relay between modules, thereby greatly improving the coverage effect and transmission distance. SNM401 adopts ad-hoc network wireless communication technology, any node can receive and process the same signal forwarded by multiple nodes at the same time, combine these signals forwarded from different nodes, demodulate the original information to the greatest extent possible, and have a larger transmission distance and higher transmission reliability. The wireless communication technology of the ad hoc network does not require routing, and multiple nodes automatically determine whether to start the forwarding according to the received signal quality and field strength, and the relay is upgraded from a multi-hop single-point relay to a multi-hop multi-point relay. The state relay is upgraded to a mesh relay. When any node in the relay network is disconnected from the network, other relay lines in the relay network work normally so that the relay effect is not affected.

2. مشخصات محصول

◆Operating frequency: 400-500مگاهرتز
◆Single-hop transmission distance: 35 کیلومتر
◆Dynamic topology convergence: 1خانم
◆Transmit power: 1W
◆Receive sensitivity: -127DBM به
◆Working voltage: 3.5-4.5V
◆Signal to noise ratio Threshold: 1دسی بل
◆Channel spacing: 12.5کیلوهرتز
◆Frequency stability: 1ppm
◆Intermodulation: 65دسی بل
◆Encryption: 256AES
◆Spurious response immunity: 75دسی بل
◆Adjacent channel selectivity: 65dB@12.5KHzz
◆Operating temperature: -40~ +85℃
◆Module size: 33.5X42X3.4mm

3. کاربرد
◆Internet of Things ◆Individual Soldier System ◆Emergency Broadcasting
◆UAV ◆Real-time Remote Control ◆Digital Intercom
◆Emergency Communication ◆Robot ◆Wireless Data Transmission

4. Working Parameters
جدول 1: Operating Parameters Table
| پارامتر | شرایط | کمترین | معمول | بیشترین | واحد |
| باند فرکانس عملیاتی | 400 | 500 | مگاهرتز | ||
| دمای عملیاتی | -40 | 25 | +85 | ℃ | |
| ولتاژ | 3.5 | 4 | 4.5 | V | |
| Transmitting Power | 30 | DBM به | |||
| دریافت حساسیت | -130 | -127 | -125 | DBM به | |
| Maximum RF Input Power | +33 | DBM به | |||
| نرخ باود پورت سریال | 115200 | bps | |||
| sleep current | @EN=0 | 40 | uA | ||
| دریافت جریان | 160 | میلی آمپر | |||
| transmit instantaneous current | @VCC==4V, 1W | 1800 | میلی آمپر | ||
| transmit average current | @VCC==4V, 1W | 600 | میلی آمپر | ||
| audio input voltage | 1.5 | VPP | |||
| audio output Impedance | 150 | اهم |
توجه داشته باشید: در صورتی که شرایط کاری ماژول از مقادیر حدی بالا فراتر رود, ممکن است باعث آسیب دائمی به ماژول شود.
5. Module pins and definitions

شکل 1 SNM401 Pin نمودار
| Abbreviation | شرح |
| هوش مصنوعی | ورودی آنالوگ |
| به | خروجی آنالوگ |
| AIO | دو جهته آنالوگ |
| از | ورودی دیجیتال |
| انجام دادن | خروجی دیجیتال |
| DIO | دو جهته دیجیتال |
| پ | قدرت |
| G | زمین |
جدول 3 SNM401 pin definition
| پین NO | نام پین | نوع | شرح |
| 1 | GND | G | GND |
| 2 | ANT | AIO | antenna port |
| 3 | GND | G | GND |
| 4 | GND | G | GND |
| 5 | VBAT | پ | External 3.5V-4.5V battery or power supply, 4V is recommended |
| 6 | VBAT | پ | |
| 7 | GND | G | GND |
| 8 | GND | G | GND |
| 9 | TX_STATE | انجام دادن | سیگنال نشانگر انتقال ماژول, سطح بالا در حال انتقال است |
| 10 | RX_STATE | انجام دادن | سیگنال نشانگر دریافت ماژول, سطح بالا در حال دریافت است |
| 11 | NC | بدون اتصال | |
| 12 | NC | بدون اتصال | |
| 13 | GND | G | GND |
| 14 | TXD | انجام دادن | پین انتقال داده پورت سریال |
| 15 | RXD | از | پین دریافت اطلاعات پورت سریال |
| 16 | تنظیم | از | سیگنال پیکربندی پورت سریال ماژول, پیکربندی پارامترها زمانی که سطح بالا است, ارسال و دریافت داده زمانی که سطح پایین است |
| 17 | که در | از | سیگنال فعال کردن باز ماژول, سطح بالا باز, سطح پایین نزدیک |
| 18 | GND | G | GND |
| 19 | PRO1 | DIO | پین تعریف قابل برنامه ریزی |
| 20 | PRO2 | DIO | پین تعریف قابل برنامه ریزی |
: ماژول توسط 3.3 ولت LDO در داخل تنظیم می شود, and all digital IOs are 3.3V level.
6. اندازه بسته بندی

شکل 2 SNM401 size chart

شکل 3 SNM401 package Figure
7. LAYOUT precautions
1.اینSNM401 module works at 400-500مگاهرتزand the influence of various factors on wireless transceivers should be avoided.
- آن را is laid under the module GND, and the traces are extended to the periphery as far as possible.
- It is recommended to use insulating material to isolate the module mounting position on the substrate, مثلا, place a whole piece of in this position
silkscreen
- Try to take a short and thick power line to the module, the recommended copper line width is80mil, and the decoupling capacitor should be placed as close to the power pin as possible.

8. Software configuration
8.1 پیکربندی پارامتر
Users can obtain and configure parameters through the serial port, the serial port baud rate است 115200, the data bit is 8ذره, the stop bit is 1ذره, and there is no parity bit.
جدول 4 Serial port packet format
| Serial port table packet | |||
| identification word | طول | فرمان | instruction reply/reply content |
| 1بایت | 1بایت | 1بایت | NByte |
8.1.1 Identification word
کلمه شناسایی به عنوان ثابت است 0x68.
8.1.2 طول
طول نقطه فرکانس کاری مرکز فرمان + محتوای فرمان/محتوای پاسخ.
8.1.3 فرمان
صفحه آبی به طور خودکار نمایش داده می شود 5 لیست فرمان سریال
| عملکرد | فرمان | محتوا | پاسخ محتوا |
| به دست آوردن پارامترهای RF | 0x00 | خیر | فرکانس(4بایت) +قدرت(1بایت) +پیکر بندی
وضعیت(1بایت) +سر و صدا(2بایت) +بیس باند شماره نسخه(1بایت) |
| تنظیم پارامتر RF | 0x01 | فرکانس(4بایت) +قدرت(1بایت) | خیر |
| سطح رله داده | 0x0C | خیر | سطح رله داده(1بایت) |
| سطح رله داده را تنظیم کنید | 0x0D | سطح رله داده(1بایت) | خیر |
| کلید به دست آوردن | 0x0E | خیر | کلید(32بایت) |
| کلید تنظیم | 0x0F | کلید(32بایت) | خیر |
| دریافت نسخه ماژول | 0x12 | خیر | نام ماژول + شماره نسخه |
| ماژول آماده | 0x55 | خیر | خیر |
| ذخیره پیکربندی | 0x66 | خیر | خیر |
| دریافت داده ها | 0xA2 | خیر | داده های شفاف (NByte) |
| ارسال داده ها | 0xB2 | داده های شفاف (NByte) | خیر |
8.1.4 Instruction content/reply content
8.1.4.1 به دست آوردن پارامترهای RF
فرکانس: واحد است هرتز, محدوده تنظیم است ~5000000000, و دقت آن است 500هرتز.
قدرت:1-قدرت بالا 1W,0-قدرت کم 0.5W, the default is high power 1W.
Configuration status: Indicates the radio configuration status,0-uninitialized,1-configuring,2-configured successfully.
Noise Floor: Indicates the current frequency noise intensity, که 2 is meaningful
Baseband version number: The upper 4 بیت ها represent the major version number, and the lower 4 بیت ها represent the minor version number.
Configuration Packet:0x68 0x01 0x00
Return Packet:0x68 0x0A 0x00 Frequency Power Configuration Status Noise Floor Baseband Version No.
8.1.4.2 Setting RF Parameters
After configuring RF parameters, you must wait for the successful configuration (در باره 2 ثانیه) before the module can enter the setting work correctly state.
Configuration package:0x68 0x06 0x01 Frequency power
return package:0x68 0x01 0x01
8.1.4.3 Obtaining data relay level
SH ad hoc network technology is a simulcast mesh relay method, which does not require routing, which can greatly improve the coverage.number of relay hops ن refers to the number of hops that can be relayed during data transmission, and the maximum number of relay hops is 16. With each additional hop, the transmission distance doubles, but the transmission time increases accordingly, as shown in the table below.
جدول 6 Comparison of Relay Levels
| هاپ های رله | Transmission Bytes | Transmission Time |
| ن | <36 | N*50ms |
| ن | 37-72 | N*100ms |
| ن | 73-108 | N*150 میلیثانیه |
| ن | 109-144 | *200خانم |
| ن | 145-180 | N*250 میلیثانیه |
| ن | 181-216 | N*300ms |
| ن | 217-252 | N*350ms |
| ن | 253-288 | N*400ms |
Configuration package: 0x68 0x01 0x0C
Return package: 0x68 0x02 0x0C Data relay level
8.1.4.4 سطح رله داده را تنظیم کنید
Configuration package:0x68 0x02 0x0D سطح رله داده
return packet:0x68 0x01 0x0D
8.1.4.5 Obtain the key
key for communication encryption, the module will automatically discard the voice information and data information whose key is inconsistent with its own key, and the key is all 0.
Configuration Packet:0x68 0x01 0x0E
Return Packet:0x68 0x21 0x0E کلید
8.1.4.6 Set Key
Configuration Packet:0x68 0x21 0x0F کلید
Return Packet:0x68 0x01 0x0F
8.1.4.7 Get Module Version
Configuration Packet:0x68 0x01 0x12
Return Packet:0x68 0x15 0x12 0x53 0x69 0x6d 0x75 0x6c 0x48 0x6f 0x63 0x32 0x31 0x38 0x5f 0x31 0x31 0x30 0x2e 0x30 0x00 است“Simulhoc2618_V1.0.0”
8.1.4.8 مدول
Return package:0x68 0x01 0x55
8.1.4.9 Save configuration
command to save all settings to فلاش, and the saved configuration will be used directly after power-on.
Configuration package:0x68 0x01 0x66
Return package:0x68 0x01 0x66
8.1.4.10 Data reception
When the تنظیم pin is low, the module will transparently transmit the received data package to the user. The length varies according to the actual transparent transmission data length.
Return package:0x68 طول 0xA2 شفاف
8.1.4.11 انتقال داده
Only when the تنظیم pin is at a low level can data be transmitted, and the data sent in a single transmission does not exceed 36 بایت. The length varies according to the actual transparent transmission data length. If a return packet is received, it indicates that the data transmission failed this time.
Configuration package: 0x68 Length 0xB2 Transparent data
return package: 0x68 0x01 0xB




