Beside ZOON Chrome App, you can also configure ZOON from the command line with any serial port connection. Note also that Chrome Apps SEND/RECEIVE functionality is also serial port connection, it might be very handy to use it as Serial Port connector.
CONNECTING TO ZOON
picocom : Default baud rate for ZOONs are 115200, to connect to ZOON with picocom, type:
picocom /dev/ttyAMA0 -b 115200
ZOON Chrome App:
- Plug ZOON module
- Refresh Device List
- Select baud rate (default is 115200)
- Click Connect
ENTERING CONFIGURE MODE
ZOON module at the start listens for a keyphrase DRONEE-ZOON to enter configure mode,if and only if it is the first message, You type DRONEE-ZOON and ENTER or click SEND, ZOON will enter to CONFIGURE mode and will print out all the parameters in JSON format
as below.
CHANGING PARAMETER
In configure mode, ZOON expects JSON inputs to change its paramaters.
{
"name":"DRONEE-ZOONv1",
"version":18,
"boardType":1,
"baudrate":115200,
"frequency":2400000000,
"power":8,
"maxPower":8,
"mode":8,
"maxDelay":50000,
"minLength":0,
"isMesh":false,
"isRepeater":false,
"meshId":0,
"fec":2,
"isMavlinkRssi":false,
"isMavlinkSwarm":false,
"maxRetryCount":2,
"maxRetransmitCount":1,
"neverLostMinDbDelta":20,
"maxTransmissionUnit":255,
"minTransmissionUnit":0,
"isDebug":false,
"isDebugBase64":false,
"minTransmitInterval":2000,
"isEncryptionEnabled":false,
"isMesh4Bytes":false,
"isMeshSourceEmit":false,
"isNeverLostTryOnBoot":true,
"isLastModeNeverLost":true,
"chachaKey":[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255],
"syncWord":[221,160,150,105,221],
"isMavlinkNeverLost":false,
"neverLostInterval":20,
"neverLostMode":1,
"mavlinkNeverLostCommand":[0,11,30,33,76,180,233,-1,-1,-1]
}
Below are examples how to change parameters.
Example 1: You want to set its power to 14dB,you type
{"power":14}
ENTER or CLICK SEND
ZOON will print out new configuration again in JSON format .
Example 2: You want to set its power to 14dB,and also frequency to 2450000000 you type
{"power":14,"frequency": 2450000000}
ENTER or CLICK SEND.
Example 3: You want to set first 3 NEVER LOST COMMAND IDs as 0,155,135
{"mavlinkNeverLostCommand":[0,155,135,-1,-1,-1,-1,-1,-1,-1]}
ENTER or CLICK SEND.