מודול רשת אד הוק 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, and at the same time, through the “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-500MHz
◆Single-hop transmission distance: 3~5Km
◆ התכנסות טופולוגיה דינמית: 1גברת
◆ כוח שידור: 1W
◆ קבל רגישות: -127dBm
◆ מתח עבודה: 3.5-4.5V
◆ סף יחס אות לרעש: 1dB
◆ מרווח ערוצים: 12.5KHz
◆ יציבות תדר: 1ppm
◆ אינטרמודולציה: 65dB
◆ הצפנה: 256AES
◆ חסינות תגובה מזויפת: 75dB
◆ סלקטיביות ערוץ סמוך: [email protected]
◆ טמפרטורת פעולה: -40~ +85℃
◆ גודל המודול: 33.5X42X3.4 מ"מ
3. יישום
◆ האינטרנט של הדברים ◆ מערכת חייל יחיד ◆ שידור חירום
◆מל"ט ◆ שלט רחוק בזמן אמת ◆ אינטרקום דיגיטלי
◆ תקשורת חירום ◆ רובוט ◆ העברת נתונים אלחוטית
4. פרמטרי עבודה
שולחן 1: Operating Parameters Table
פָּרָמֶטֶר | תנאים | מִינִימוּם | אופייני | מַקסִימוּם | יחידה |
Operating Frequency Band | 400 | 500 | MHz | ||
טמפרטורת פעולה | -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 | ||
receive current | 160 | mA | |||
transmit instantaneous current | @VCC==4V, 1W | 1800 | mA | ||
transmit average current | @VCC==4V, 1W | 600 | mA | ||
audio input voltage | 1.5 | VPP | |||
audio output Impedance | 150 | אוֹם |
הערה: If the working conditions of the module exceed the above limit values, זה עלול לגרום לנזק קבוע למודול.
5. Module pins and definitions
דמות 1 SNM401 Pin Diagram
Abbreviation | תאור |
AI | כניסה אנלוגית |
AO | Analog output |
AIO | Analog bi-direction |
DI | Digital input |
DO | Digital output |
DIO | Digital bi-direction |
P | כּוֹחַ |
G | קרקע, אדמה |
שולחן 3 SNM401 pin definition
Pin NO | Pin name | סוּג | תאור |
1 | GND | G | GND |
2 | נְמָלָה | AIO | antenna port |
3 | GND | G | GND |
4 | GND | G | GND |
5 | VBAT | P | External 3.5V-4.5V battery or power supply, 4V is recommended |
6 | VBAT | P | |
7 | GND | G | GND |
8 | GND | G | GND |
9 | TX_STATE | DO | module transmit indication Signal, the high level is transmitting |
10 | RX_STATE | DO | module receiving indication signal, the high level is receiving |
11 | NC | No connect | |
12 | NC | No connect | |
13 | GND | G | GND |
14 | TXD | DO | serial port data transmitting pin |
15 | RXD | DI | serial port data receiving pin |
16 | SET | DI | module Serial port configuration signal, configure parameters when high level, send and receive data when low level |
17 | EN | DI | module open enable signal, high level open, low level close |
18 | GND | G | GND |
19 | PRO1 | DIO | programmable definition pin |
20 | PRO2 | DIO | programmable Definition pin |
: The module is regulated by 3.3V LDO inside, 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-500MHzand 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.
- מומלץ להשתמש בחומר מבודד כדי לבודד את מיקום ההרכבה של המודול על המצע, לדוגמה, למקם חלק שלם של בעמדה הזו
משי
- נסה לקחת קו חשמל קצר ועבה למודול, רוחב קו הנחושת המומלץ הוא80מִיל, ואת קבל הניתוק צריך להיות ממוקם קרוב ככל האפשר לפין החשמל.
8. תצורת תוכנה
8.1 תצורת פרמטר
משתמשים יכולים להשיג ולהגדיר פרמטרים דרך היציאה הטורית, קצב ההחזרה של היציאה הטורית הוא 115200, סיבית הנתונים היא 8קצת, קטע העצירה הוא 1קצת, and there is no parity bit.
שולחן 4 Serial port packet format
Serial port table packet | |||
identification word | אורך | Command | instruction reply/reply content |
1Byte | 1Byte | 1Byte | NByte |
8.1.1 Identification word
The identification word is fixed as 0x68.
8.1.2 אורך
אורך חישוב קצב השידור של מערכת שידור אלחוטית COFDM command + command content/reply content.
8.1.3 Command
גודל משענת ראש 5 Serial Command-List
פוּנקצִיָה | Command | תוֹכֶן | Reply Content |
Acquire RF Parameters | 0x00 | לא | תדירות(4Byte) +כּוֹחַ(1Byte) +תְצוּרָה
סטָטוּס(1Byte) +Noise(2Byte) +Baseband Version Number(1Byte) |
Set RF Parameter | 0x01 | תדירות(4Byte) +כּוֹחַ(1Byte) | לא |
data relay level | 0x0C | לא | data relay level(1Byte) |
Set data relay level | 0x0D | Data relay level(1Byte) | לא |
key to acquire | 0x0E | לא | מַפְתֵחַ(32Byte) |
set key | 0x0F | מַפְתֵחַ(32Byte) | לא |
get module version | 0x12 | לא | module name + version number |
module ready | 0x55 | לא | לא |
save configuration | 0x66 | לא | לא |
data receive | 0xA2 | לא | transparent data (NByte) |
data send | 0xB2 | transparent data (NByte) | לא |
8.1.4 Instruction content/reply content
8.1.4.1 Obtaining RF parameters
תדירות: The unit is הרץ, the setting range is ~5000000000, and the precision is 500HHz.
כּוֹחַ:1-high power 1W,0-low power 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, מה שיכול לשפר מאוד את הכיסוי.מספר הקפצות ממסר נ מתייחס למספר הקפיצות שניתן להעביר במהלך העברת נתונים, והמספר המרבי של הקפצות ממסר הוא 16. עם כל קפיצה נוספת, מרחק השידור מוכפל, אך זמן השידור גדל בהתאם, כפי שמוצג בטבלה למטה.
שולחן 6 השוואה בין רמות ממסר
ממסר הופ | בתים שידור | זמן שידור |
נ | <36 | N*50ms |
נ | 37-72 | N*100ms |
נ | 73-108 | N*150ms |
נ | 109-144 | *200גברת |
נ | 145-180 | N*250ms |
נ | 181-216 | N*300ms |
נ | 217-252 | N*350ms |
נ | 253-288 | N*400ms |
Configuration package: 0x68 0x01 0x0C
החזרת חבילה: 0x68 0x02 0x0C רמת ממסר נתונים
8.1.4.4 Set data relay level
Configuration package:0x68 0x02 0x0D Data relay level
החזרת חבילה:0x68 0x01 0x0D
8.1.4.5 השג את המפתח
מפתח להצפנת תקשורת, המודול ישחק אוטומטית את המידע הקולי ואת המידע שהמפתח שלהם אינו תואם את המפתח שלו, והמפתח הוא הכל 0.
Configuration Packet:0x68 0x01 0x0E
Return Packet:0x68 0x21 0x0E מַפְתֵחַ
8.1.4.6 הגדר מפתח
Configuration Packet:0x68 0x21 0x0F מַפְתֵחַ
Return Packet:0x68 0x01 0x0F
8.1.4.7 קבל את גרסת המודול
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 מודול
החזרת חבילה:0x68 0x01 0x55
8.1.4.9 שמור את התצורה
פקודה לשמירת כל ההגדרות הֶבזֵק, והתצורה השמורה תשמש ישירות לאחר ההפעלה.
Configuration package:0x68 0x01 0x66
החזרת חבילה:0x68 0x01 0x66
8.1.4.10 קליטת נתונים
כאשר SET הסיכה נמוכה, המודול ישדר בשקיפות את חבילת הנתונים שהתקבלו למשתמש. האורך משתנה בהתאם לאורך נתוני השידור השקוף בפועל.
החזרת חבילה:0x68 אורך 0xA2 שָׁקוּף
8.1.4.11 העברת נתונים
רק כאשר ה SET ה-pin נמצא ברמה נמוכה, ניתן להעביר נתונים, והנתונים הנשלחים בשידור בודד אינם עולים 36 בייטים. האורך משתנה בהתאם לאורך נתוני השידור השקוף בפועל. אם מתקבלת חבילת החזרה, זה מציין שהעברת הנתונים נכשלה הפעם.
Configuration package: 0x68 אורך 0xB2 נתונים שקופים
return package: 0x68 0x01 0xB