UAV ڊيٽا لنڪ صارف دستياب

VCAN1878 User Manual

900MHz Data Transmission Module

1. Product Overview

VCAN1878-10W is one of the digital radio stations in the 1878 سلسلو. It is mainly used for the transmission of high-power long-distance industrial data. It has the characteristics of small volume, good integration, and high sensitivity. The VCAN1878-10W operates in the 902~928MHz band. The VCAN1878-10W comes in two models, the VCAN1878A-10W and the VCAN1878B-SMA. The only difference is the transmission distance. In a good environment, the maximum transmission distance of the VCAN1878-40A-SMA is 100 ڪلو ميٽر, and the maximum transmission distance of the VCAN1878-40B-SMA is 200 ڪلو ميٽر.

2. ٽيڪنيڪل جي حراست ۾

  • گهڻي حد: 902-928MHz
  • Spread Spectrum Mode: هي ماڊل هڪ ٻه طرفي وائرليس ڊيٽا لنڪ سان وڊيو ۽ ڊيٽا وائرليس ٽرانسميشن لاءِ ٺهيل هو
  • ڊيٽا انڪريشن: 256-bit physical layer encryption
  • Range of CommunicationUp to 100KM/200KM
  • ٻاھر نڪرڻ جي طاقت: 10W(40dBm)
  • Orifice SpeedUp to 276.4kbps
  • Serial Port Baud RateUp to 921.6kbps
  • ڪم پد: -40℃+85℃
  • پاور سپلائي وولٹیج: DC15~26V, Typical value +24V
پاور سپلائي وولٹیج100% data full peak current (هڪ)100% data full power average current (هڪ)
15هلي3.20هڪ2.10هڪ
18هلي2.80هڪ1.74هڪ
24هلي2.00هڪ1.30هڪ
26هلي1.85هڪ1.20هڪ
  • Sensitivity:
Orifice speed10-7 معني ٻير100KM Maximum user speed 200KM maximum user speed
276.4ڪي بي ايس پي-106 dBm136ڪي بي ايس پي128ڪي بي ايس پي
230.4ڪي بي ايس پي-107 dBm116ڪي بي ايس پي104ڪي بي ايس پي
172.8ڪي بي ايس پي-108 dBm82ڪي بي ايس پي74ڪي بي ايس پي
115.2ڪي بي ايس پي-109 dBm48ڪي بي ايس پي42ڪي بي ايس پي
57.6ڪي بي ايس پي-110 dBm14ڪي بي ايس پي10ڪي بي ايس پي

3. Mechanical Drawings

VCAN1878-SMA Dimensional Diagram

  • VCAN1878-SMA Size: 111mm*49mm*18.5mm (with SMA head).
  • VCAN1878-SMA Weight:137ز

4. Product Connector

4.1 J30J-15pin Schematic Diagram

4.2 J30J-15pin Pin Definition

نه.Pin nameوضاحتDirection
1PWRThe power terminal is positiveمون کي
2PWRThe power terminal is positiveمون کي
3GNDThe power terminal is negativeمون کي
4GNDThe power terminal is negativeمون کي
5D_TXDData serial port transmits data TXجي
6D_RXDData serial port receives data RXمون کي
7GNDThe data serial port is grounded GNDجي
8C_TXDControl serial port transmits data TXمون کي
9C_RXDControl serial port receives data RXجي
10GNDThe control serial port is grounded GNDجي
11IO1* reserve *(IO.NO.LV)
12IO2* reserve *(IO.NO.LV)
13IO3* reserve *(IO.NO.LV)
14IO4* reserve *(IO.NO.LV)
15GNDgroundingجي
نوٽ: Please confirm whether the serial port of the module is TTL level or RS232 level.

5. Product Indicator Meaning

Power PWR(Green)

The power light lights up to indicate that the device is powered on.

Transmit Lamp TX(red)

When the TX lights up, it indicates that the module is sending data.

Receive Lamp RX(red)

When the RX lights up, it indicates that the module is receiving data.

Receiving signal strength lamp(RSSI 3 green lamps)

A greater number of energy lights indicates a greater strength of signal reception.

The RSSI lamp represents the strength of the received signal
Numbers of RSSI energy lights onEnergy received dBm
سڀ 3 RSSI lights are onAbout -50dBm
2 RSSI lights are onAbout-80dBm
1 RSSI lights is onAbout -95dBm
Module TypeموڊVCAN1878-40-SMA اشاري جي حالت
RX موڪليو ' RSSI 123
سڀAT command configuration modeTurn offTurn offTurn off
ماسٽرNormal operationFlashing when receiving dataTurn on (steady light)Proportional to the strength of the received signal
SlaveNon-synchronizationTurn offTurn offCycle light every 860ms
SlaveSynchronizationTurn on (steady light)Flashing when sending dataProportional to the strength of the received signal
ورجائيندڙNon-synchronizationFlashing alternately with the sending lightFlashing alternately with the receiving lightCycle light every 860ms
ورجائيندڙSynchronizationFlashing when receiving data Otherwise onFlashing when sending data Otherwise onProportional to the strength of the received signal

6. AT Command/ Register Description

6.1 AT Command

AT حڪم (both upper and lower case accepted)وضاحت
ATI1Query the hardware version number
ATI2Query the firmware version number
ATI3234234 Query the software version number
ATI4Query the SN number
اي ٽي&هليDisplay the current parameter list
اي ٽي&اولهSave the current parameter table
ATAExit the AT command configuration mode and enter the data mode
ATSxxx?Query the value of register Sxxx
ATSxxx=yyyWrite register Sxxx to the value yyy
ATSxxx /?Display the help documentation for register Sxxx
اي ٽي&FnLoad the factory default configuration:7 :Factory default settings for point-to-multipoint master8Factory default settings for point-to-multipoint slave9Factory default settings for point-to-multipoint repeater10Factory default settings for point-to-point master11Factory default settings for point-to-point slave12Factory default settings for point-to-point repeater

نوٽ: All register changes must be saved using the AT&W command to take effect.

6.2 AT Command Register List

Register Numberوضاحت
S101Operating Mode
S102Serial Baud Rate
S103Wireless Link Rate
S104Network Address (ID)
S105Unit Address
S108Output Power(dBm)
S110Serial Data Format
S113Packet Retransmissions
S114Repeater Index
S118Sync Address
S123RSSI From Master RSSI(dBm)
S124RSSI From Slave RSSI(dBm)
S133Network Type
S140Destination Address
S141Repeater Y/N
S142Serial Channel Mode
S143Repeater Index Use GPIO
S159Encryption Enable
S160Encryption Key
6.2.1 S101 Operating Mode
قدر
0 – Master1 – Repeater2 – Slave

The operating mode defines the role of each device on the network. Each VCAN1878 module can be configured in any mode and take on any role in the network.

  • ماسٽر: There is one master in each network. In point-to-point and point-to-multipoint networks, it is used to synchronize the entire network.
  • ورجائيندڙ: In the network, it is used to extend the transmission distance, enhance the coverage of the network, and connect with the master or repeater.
  • SlaveThe slave is directly connected to the master or the repeater.
Values(bps)
0- 230400 6 - 144001- 115200 7 – 9600(Default)2- 57600 8 - 72003- 38400 9 - 48004- 28800 15 - 4608005- 19200 16 - 921600
6.2.2 S102 Serial Baud Rate

S102 is used to set the baud rate of the data serial port. When the serial port rate is changed, please note that the serial port baud rate of the device connected to the VCAN1878 should be modified.

6.2.3 S103 Orifice Speed
Values(bps)
0 – 172800( Default )1 - 2304002 - 2764803 - 576004 - 115200

The S103 determines the communication rate of the entire network. Each device on the network must be configured to the same rate. The higher the rate, the higher the network throughput, but the worse the sensitivity. The sensitivity difference between adjacent modes is about 1dB.

6.2.4 S104 Network Address (ID)
Values(0~4294967295)
ھونئن 1234567890

All devices on a network must have the same network address. Devices with different network addresses do not communicate with each other. When multiple networks are operating simultaneously in the same area, the network address of each network must be guaranteed to be unique.

6.2.5 S105 Unit Address
Values(0~65535)
ھونئن 0

On the same network, unit address is used for identification on the network, and each device should have a unique unit address.

For a point-to-point network, the default value is 0. The device automatically assigns the unit address. Users do not need to set this parameter. Users can also manually assign the non-0 unit addresses. In the same network, if automatic allocation is used, the unit address of all devices is set to 0. If manual assignment is used, you can set the unit address S105, synchronous address S118, and target address S140 for each device to ensure that the network topology is correct.

For a point-to-multipoint networks, each device must be manually assigned a non-0 device address. تفصيل لاءِ, see Section 8.7.

6.2.6 S108 Output Power(dBm)
Values(dBm)
30- 3اوله 33- 5اوله 35- 7اوله 40 – 10W( Default )

S108 is used to set the transmitting power of the local device.

6.2.7 S110 Serial Data Format
قدر
1 – 8N1( Default )

The data format of the serial port supports only 8N1.

6.2.8 S113 Packet Retransmissions
Values(0~255)
ھونئن 3

This register determines the maximum number of times the packet can be retransmitted. The number of the retransmission is used to ensure the robustness of the system in complex environment or weak signal. Retransmission can cause additional data transfer, which can reduce system throughput. The maximum number of packet transmissions is the number of data retransmissions plus one.

6.2.9 S114 Repeater Index
Values(1~254)
ھونئن 1

In point-to-point mode, the register takes effect when the working mode is repeater and the unit address is 0. This register indicates the relative position of the repeater on the network. No additional configuration is required on the master and slaves to add or remove repeater devices on a point-to-point network. When the repeater device is started, it automatically connects to the point-to-point network, and when it is shut down, the network is reconnected.

When multiple repeaters are used, please ensure that the serial numbers of the repeaters from the master to the slave increase monotonously, which can be discontinuous.

6.2.10 S118 Sync Address
Values(0~65535)
ھونئن 0

You can set the synchronization address of the master device and the slave device to specify the synchronization address of the current device from the local device (S105) to the device (S118).

On the point-to-point network, when the local address (S105) is set to 0, the address is automatically assigned, and there is no need to set the synchronous address. When the local address (S105) is not 0, the synchronous address must be set to determine the network topology.

On a point-to-multipoint network, you must manually set the correct synchronization address for each device.

تفصيل لاءِ, see Section 8.7.

Values(dBm)
-255 ~ 0(read only)
6.2.11 S123 RSSI From Master RSSI(dBm)

Indicates the received signal strength of the slave or repeater. The value corresponds to pins RSSI1, RSSI2, and RSSI3.

S123 of the repeater device indicates the signal strength of the upper device, and S124 indicates the signal strength of the lower device.

Values(dBm)
-255 ~ 0(read only)
6.2.12 S124 RSSI From Slave RSSI(dBm)

Indicates the received signal strength of the master or repeater. The value corresponds to pins RSSI1, RSSI2, and RSSI3

S123 of the repeater device indicates the signal strength of the upper device, and S124 indicates the signal strength of the lower device.

قدر
0 – Point to Multipoint (point to multipoint)1 – Point to Point (point to point)
6.2.13 S133 Network Type

This register is used to set the network type. On one network, the network type of all devices must be the same.

  • Point-to-multipointThe master broadcasts data to all devices, and all slave devices send data back to the master. ( There can be 0 or more repeaters)
  • Point-to-pointOnly master and slave endpoints communicate with each other. (There can be 0 or more repeaters)
6.2.14 S140 Destination Address
Values(0~65535)
ھونئن 0

The master and repeater devices can set the destination address, which is used to specify the address of the child device connected to the local device.

On a point-to-point network, when the local address is set to 0, the address is automatically assigned without setting the target address. When the local address is not 0, the destination address must be set to specify the network topology.

On a point-to-multipoint network, you must manually set the correct destination address for each device.

تفصيل لاءِ, see Section 8.7.

6.2.15 S141 Repeater Y/N
Values(0~1)
0 – without repeater(Valid only on the master side )(Default)1 – with repeater( Valid only on the master side )

This register is invalid on a point-to-point network where addresses are automatically assigned (unit address S105 is 0) but must be set to 0. هن حالت ۾, the network automatically identifies whether the repeater exists. You do not need to set this parameter.

When manually assigning addresses, this register is set based on whether a repeater exists in the current network.

6.2.16 S142 Serial Channel Mode
قدر
0 – RS232( Default )

This register configures the working mode of the data serial portThe default is RS232 and currently only RS232 mode is supported. مستقبل ۾, it will support RS485 full duplex, RS485 half- ٻيڻو, and SBUS

6.2.17 S143 Repeater Index Use GPIO
قدر
Use the S114 register (Default)Use the GPIO[4:1] to indicate the relay serial number

To make it easy for the repeater to change the sequence number, you can configure the repeater sequence number using GPIO [4:1].

When S143 is 0, the repeater sequence number is the value of S114, جنهن کان وٺي 1 جي طرف 254.

When S143 is 1, the repeater sequence number is GPIO [4:1]+1, جنهن کان وٺي 1 جي طرف 16.

If GPIO is used as the repeater number, the repeater number ranges from 1 جي طرف 16. تنهن ڪري, a maximum of 16 repeaters can be configured.

قدر
Turn off the encryption (Default)1 – Turn on the encryption
6.2.18 S159 Encryption Enable

The VCAN1878 provides 256-bit data encryption, which is turned on or off through the S159 register.

قدر
256bit secret key
6.2.19 S160 Encryption Key

When using encryption, set a 256-bit key for encryption and decryption. The same secret key must be configured at both ends to receive the correct data.

7. Point-to-Point Networks

In a point-to-point network, the VCAN1878 module can be used to establish a data path between point A and point B. Point A could be the master, point B could be the slave. When point A and point B cannot be directly connected, you can add a repeater node. The network type register S133=1 needs to be configured for the point-to-point network.

The point-to-point networks can also be used in some special cases: When multiple slaves or repeaters are deployed, the master selects the desired slaves for communication by configuring the destination address S140.

7.1 Configuration Preparations

Before configuration, you must use the development board or user-designed hardware to provide power supplies and serial ports for the VCAN1878 module. The data serial port can be configured with registers using AT commands, and the control serial port can be configured with registers using API protocols. For details about interfaces, see Chapter 3 Hardware Description.

7.2 Working Mode

The VCAN1878’s point-to-point network operates in three modes: ماسٽر, slave, and repeater.

The master provides synchronization signals for the whole network to ensure that all devices can communicate normally.

The slave end is the final node of the network and communicates directly with the master or repeater. When there is no user data transfer in the point-to-point network, the slave device will only synchronize with the master and will not send any information in the network.

The repeater can extend the coverage area of the master and forward the data. The repeater synchronizes with the master or the upper-level repeater and sends synchronization signals to the lower-level devices. The repeater device can also be used as a slave to send and receive data through the data serial portThe output data is only the data sent by the upper-level device and does not output the data of the lower-level device. تنهن هوندي به, the input data will be confused with the data sent by the lower-level device and sent to the upper-level device.

Adding repeaters to the network reduces the total throughput of the network by half, but only by half and not as the number of repeaters increases. If a relay is required and the throughput is considered, another solution is to place two devices back-to-back at the repeater site. One is the slave of the upstream network and the other is the master of the downstream network. The serial ports of the two devices are connected in wired mode.

When the unit address is set to 0 on the P2P network of the VCAN1878, the IP address is automatically assigned. Users do not need to set the unit address, synchronous address, and destination address.

The VCAN1878’s point-to-point repeater mode is very flexible and easy to use. Adding a repeater device in a point-to-point network does not need additional configurations for the master and the slave. You only need to set the repeater to the same network ID, orifice rate, and set the repeater sequence number. After switching on, the existing network will automatically detect whether a repeater has joined. The repeater number must increase from the master to the slave in order but can be discontinuous. Pay attention to the repeater location to ensure link stability.

The working mode configuration register is S101. Run the following command:

  • ATS101=0 — Master
  • ATS101=1 — Repeater
  • ATS101=2 — Slave

7.3 Use Factory Defaults

The factory default settings command can be used to quickly configure and deploy the VCAN1878 module, providing a fixed default configuration for each type of configuration. Using the factory defaults sets all registers to default values. Using the default settings has the following benefits

  • To speed up the configuration process. If there is no special requirement, use the default configuration.
  • Troubleshoot issues. If communication cannot be established due to the adjustment of the settings, simply restore the factory defaults and any incorrect adjustments will be overwritten.

For most networking applications, the factory defaults are sufficient for all the functions required for point-to-point networking. No matter how complex the special requirements, you can start from the factory default settings configuration. All work modes and network types have corresponding factory default settings commands.

  • اي ٽي&F10 — Factory default settings for the point-to-point master
  • اي ٽي&F11 — Factory default settings for the point-to-point slave
  • اي ٽي&F12 — Factory default settings for the point-to-point repeater

7.4 Master Setting

  1. اي ٽي&F10 – Restore the factory default settings for the point-to-point master.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 1, corresponding to point-to-point network.
  5. S103 – The wireless link rate on all devices on the network must be set to the same. The higher the rate, the greater the throughput, the lower the rate, and the better the sensitivity.
  6. S104 – The network addresses (IDS) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address, use ATS104=xxxxxxxx.
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S101 – The working mode must be set to 0, corresponding to the master.
  9. S105 – The unit address is set to 0 to automatically assign the address.

After the configuration is completed, run the AT&W command to save the current settings. Run the ATA command to exit the AT command mode and the settings take effect.

7.5 Slave Setting

  1. اي ٽي&F11 – Restore the factory default settings for the point-to-point slave.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 1, corresponding to point-to-point network.
  5. S103 – The wireless link rate on all devices on the network must be set to the same. The higher the rate, the greater the throughput, the lower the rate, and the better the sensitivity.
  6. S104 – The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address, use ATS104=xxxxxxxx
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S101 – The working mode must be set to 2, corresponding to the slave.
  9. S105 – The unit address is set to 0 to automatically assign the address.

After the configuration is complete, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

7.6 Repeater Setting

  1. اي ٽي&F12 – Restore the factory default settings for the point-to-point repeater.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 1, corresponding to point-to-point network.
  5. S103 – The port rates of all devices on the network must be the same. The higher the rate, the greater the throughput, the smaller the rate, and the better the sensitivity.
  6. S104 – The wireless link rate on all devices on the network must be set to the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S101 – The working mode must be set to 1, corresponding to the repeater.
  9. S105 – The unit address is set to 0 to automatically assign the address.
  10. S114 – The repeater sequence number represents the position of the repeater in the network, the closer to the master, the smaller the sequence number, and it can be discontinuous.

After the configuration is completed, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

8.Point-to-Multipoint Networks

In a point-to-multipoint network, the master can directly connect to multiple slaves or connect to multiple slaves through repeaters. The repeater also has the function of the slave end and can communicate with the master, but its uplink data will be confused with that of the slave. The network type register S133=0 needs to be configured for point-to-multipoint networks.

The master can use the target address S140 to temporarily select a particular slave or repeater to communicate with and filter out data transmission requests from other devices.

点对多点网络拓扑图

8.1 Configuration Preparation

Before configuration, you must use the development board or user-designed hardware to provide power supplies and serial ports for the VCAN1878 module. The data serial port can be configured with registers using AT commands, and the control serial port can be configured with registers using API protocols. For details about interfaces, see Chapter 3 Hardware Description.

8.2 Working Mode

The VCAN1878 point-to-multipoint network operates in three modes: ماسٽر, slave, and repeater.

The master provides synchronization signals for the entire network to ensure normal communication between all devices.

The slave is the final node of the network and communicates directly with the master or repeater. When there is no user data transfer in the point-to-multipoint network, the slave device will only synchronize the master and will not send any information on the network.

The repeater can extend the coverage area of the master and forward the data. The repeater synchronizes with the master or the upper-level repeater and sends synchronization signals to the lower-level devices. The repeater device can also be used as a slave to send and receive data through the data serial port. The output data is only the data sent by the upper-level device and does not output the data of the lower-level device. تنهن هوندي به, the input data will be confused with the data sent by the lower-level device and sent to the upper-level device.

Adding repeaters to the network reduces the total throughput of the network by half, but only by half and not as the number of repeaters increases. If a repeater is required and the throughput is considered, another solution is to place two devices back-to-back at the repeater site. One is the slave of the upstream network and the other is the master of the downstream network. The serial ports of the two devices are connected in wired mode.

The repeater of a point-to-multipoint network cannot be automatically added like a point-to-multipoint network. You need to manually configure registers S105, S118, and S140 to determine the network topology.

The working mode configuration register is S101. Run the following command:

  • ATS101=0 — Master
  • ATS101=1 — Repeater
  • ATS101=2 — Slave

8.3 Use Factory Defaults

The factory defaults settings command can be used to quickly configure and deploy the VCAN1878 module, providing a fixed default configuration for each type of configuration. Using factory defaults sets all registers to default values. Using the default settings has the following benefits

1. To speed up the configuration process. If there is no special requirement, please use the default configuration.

2. Troubleshoot issue. If communication cannot be established due to adjustments to the settings, simply restore the factory defaults and any incorrect adjustments will be overwritten.

For most networking applications, the factory defaults provide all the functionality required for point-to-multipoint network. No matter how complex the special requirements are, you can start from the factory default settings configuration. All work modes and network types have corresponding factory default settings.

  • اي ٽي&F7 — Factory default settings for the point-to-multipoint master
  • اي ٽي&F8 — Factory default settings for the point-to-multipoint slave
  • اي ٽي&F9 — Factory default settings for the point-to-multipoint repeater

8.4 Master Setting

  1. اي ٽي&F7 – Restore the factory default Settings of the point-to-point master.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 0, corresponding to point-to-multipoint network.
  5. S103 – The wireless link rate on all devices on the network must be set to the same. The higher the rate, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104 – The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S141 – Whether a repeater exists on the network.
  9. S101 – The working mode must be set to 0, corresponding to the master.
  10. S105 – For the unit address, see Section 9.7 for an example.
  11. S118 – For the synchronize addresses, see Section 9.7 مثال طور.
  12. S140 – For the target address, see Section 9.7 مثال طور.

After the configuration is completed, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the Settings take effect.

8.5 Slave Setting

  1. اي ٽي&F8 – Restore the factory default settings for the point-to-multipoint slave.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 0, corresponding to point-to-multipoint.
  5. S103 – T The wireless link rate on all devices on the network must be set to the same. The higher the rate, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104 – The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S141 – Whether a repeater exists on the network.
  9. S101 – The working mode must be set to 2, corresponding to the slave.
  10. S105 – For the local address, see Section 9.7 for an example.
  11. S118 – For the synchronize addresses, see Section 9.7 مثال طور.
  12. S140 – For the target address, see Section 9.7 مثال طور.

After the configuration is completed, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

8.6 Repeater Setting

  1. اي ٽي&F9 – Restore the factory default settings for the point-to-multipoint repeater.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 0, corresponding to point-to-multipoint.
  5. S103 – The wireless link rate on all devices on the network must be set to the same. The higher the rate, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104 – The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx.
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S141 – Whether a repeater exists on the network.
  9. S101 – The working mode must be set to 2, corresponding to the repeater.
  10. S105 – For the local address, see Section 9.7 for an example.
  11. S118 – For the synchronize addresses, see Section 9.7 مثال طور.
  12. S140 – For the target address, see Section 9.7 مثال طور.

After the configuration is completed, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

8.7 Examples for Configuring Point-to-Multipoint Network Addresses.

A point-to-multipoint network has one master, four slaves, and two repeaters. Slave 1, slave 2, and repeater 1 are synchronized to the master, ورجائيندڙ 2 is synchronized to repeater 1, slave 3 is synchronized to repeater 1, and slave 4 is synchronized at repeater 2. If S141 of the master is 1, there are repeaters on the network. The unit address and synchronization address of each device are set in the following table:

Local address S105Synchronous addressS118Target address S140
ماسٽر100
repeater1210
repeater2320
slave1410
slave2510
slave3620
slave4730

On the same point-to-multipoint network, the unit address of each device must be unique and non-zero. The synchronization address is set to the unit address of its upper-level device. The destination address is usually set to 0, or the unit address of a device if you need to specify receiving a device.

9. Mesh With Center Networks

A central Mesh network is a special point-to-multipoint network. The center of the network is still the master, and all the slaves can exchange data with each other but do not forward data. The Mesh network with a center needs to be configured with the network type register S133=2. This network type does not support repeaters.

The master can use the target address S140 to temporarily select a particular slave to communicate with and filter out data transfer requests from other devices.

The Mesh with Center Network topology

9.1 Configuration Preparations

Before configuration, you must use the development board or user-designed hardware to provide power supplies and serial ports for the VCAN1878 module. The data serial port can be configured with registers using AT commands, and the control serial port can be configured with registers using API protocols. For details about interfaces, see Chapter 3 Hardware Description.

9.2 Working Mode

The VCAN1878’s centered Mesh network supports only two operating modes: master and slave. The repeater is not supported.

The master provides synchronization signals for the whole network to ensure that all devices can communicate normally.

The slave is the final node of the network and communicates directly with the master or the salve. When no user data is transmitted on the point-to-multipoint network, the slave device synchronizes with the master device and does not send any information on the network.

For a Mesh network with a center, registers S105, S118 and S140 need to be configured in advance to determine the network topology.

The working mode configuration register is S101. Run the following command:

  • ATS101=0 — Master
  • ATS101=2 — Slave

9.3 Use Factory Defaults

The factory default settings command can be used to quickly configure and deploy the VCAN1878 module, providing a fixed default configuration for each type of configuration. Using factory defaults sets all registers to default values. Using the default Settings has the following benefits

1.To speed up the configuration process and use the default configuration if you don’t need it.

2. Troubleshoot issue. If communication cannot be established due to adjustments to the settings, simply restore the factory defaults and any incorrect adjustments will be overwritten.

For most web applications, the factory defaults are sufficient for all the functions required for a centralized Mesh network. No matter how complex the special requirements, you can start from the factory default settings configuration. All work modes and network types have corresponding factory default settings.

  • اي ٽي&F4 — Factory default settings for the Mesh-with-Center master.
  • اي ٽي&F5 — Factory default settings for the Mesh-with-Center slave.

9.4 Master Setting

  1. اي ٽي&F7 – Restore the factory default settings for the mesh-with-center master.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 2 with a central Mesh for pairs.
  5. S103 – The wireless link rate on all devices on the network must be set to the same. The higher the rate, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104 – The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S141 – Whether a repeater exists on the network or not, the value must be set to 0.
  9. S101 – The working mode must be set to 0, corresponding to the master side.
  10. S105 – For the unit address, refer to the example in point-to-multipoint networks.
  11. S118 – For the sync address, refer to the example in point-to-multipoint networks.
  12. S140 – For the destination address, refer to the example in point-to-multipoint networks.

After the configuration is completed, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

9.5 Slave Setting

  1. اي ٽي&F8 – Restore the factory default settings for the mesh-with-center slave.
  2. اي ٽي&W – Save setting parameters.
  3. اي ٽي&V – Display the current settings.
  4. S133 – The network type must be set to 2 with a central Mesh for pairs.
  5. S103 – The wireless link rate on all devices on the network must be set to the same. The higher the rate, the greater the throughput. The lower the rate, the better the sensitivity.
  6. S104 – The network addresses (ids) of all devices on the network must be the same. It is strongly recommended not to use the default setting 1234567890. To change the network address use ATS104=xxxxxxxx
  7. S102 – The baud rate of the serial port matches that of the connected device.
  8. S141 – Whether a repeater exists on the network or not, the value must be set to 0.
  9. S101 – The working mode must be set to 2, corresponding to the slave side.
  1. S105 – For the unit address, refer to the example in point-to-multipoint networks.
  2. S118 – For the sync address, refer to the example in point-to-multipoint networks.
  3. S140 – For the destination address, refer to the example in point-to-multipoint networks.

After the configuration is completed, run the AT&W command to save the current Settings. Run the ATA command to exit the AT command mode and the settings take effect.

9.6 Packet Length Limit

In the case of a central Mesh network, when the channel access mode is TDMA, each device communicates with the other. When multiple devices send data, the data output from serial ports will interleave with each other. To ensure the integrity of data packets, the length of data packets must be smaller than the maximum length sent by a single time slot. When the channel access mode is selected TDMA-AUTO, there is no limit on the packet length.

Orifice speedMaximum length of a single packet
276.4ڪي بي ايس پي175 Bytes
230.4ڪي بي ايس پي140 Bytes
172.8ڪي بي ايس پي100 Bytes
115.2ڪي بي ايس پي55 Bytes
57.6ڪي بي ايس پي15 Bytes

جواب ڇڏي وڃو

توهان جو اي ميل پتو شايع نه ڪيو ويندو. گهربل فيلڊ نشان لڳل آهن *

Discover more from iVcan.com

پڙھڻ جاري رکڻ ۽ مڪمل آرڪائيو تائين رسائي حاصل ڪرڻ لاءِ ھاڻي رڪنيت حاصل ڪريو.

پڙهڻ جاري رکو

WhatsApp تي مدد جي ضرورت آهي?
Exit mobile version