Vic
Member
I have a problem connect to the Bluetooth with Sunray APP. Any suggestions?
WiFI works but hard to control the mower because it suddenly disconnect. I tryied to set up AP- mode with own network but feels the same.
Here is some logs
Test
07:57:14.122 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=9.87 y=-7.23 delta=-1.92 tow=367052000 lon=18.32959462 lat=59.47154944 n=-7.23 e=9.87 d=-5.07 sol=1 age=0.01
07:57:37.261 -> Ardumower Sunray,1.0.73
07:57:37.261 -> enableCharging 0
07:57:37.261 -> trying to detect Bluetooth 4.0/BLE module (make sure your phone is NOT connected)9600...
07:57:37.261 -> AT
07:57:37.776 -> trying to detect Bluetooth 4.0/BLE module (make sure your phone is NOT connected)115200...
07:57:37.776 -> AT
07:57:38.265 -> SERIAL_BUFFER_SIZE=128 (increase if you experience GPS checksum errors)
07:57:38.265 -> -----------------------------------------------------
07:57:38.265 -> NOTE: if you experience GPS checksum errors, try to increase UART FIFO size:
07:57:38.265 -> 1. Arduino IDE->File->Preferences->Click on 'preferences.txt' at the bottom
07:57:38.265 -> 2. Locate file 'packages/arduino/hardware/sam/xxxxx/cores/arduino/RingBuffer.h
07:57:38.265 -> change: #define SERIAL_BUFFER_SIZE 128 into into: #define SERIAL_BUFFER_SIZE 1024
07:57:38.265 -> -----------------------------------------------------
07:57:38.791 -> [WiFiEsp] Initializing ESP module
07:57:42.211 -> [WiFiEsp] Initilization successful - 1.5.4
07:57:42.211 -> WiFi found!
07:57:42.211 -> Attempting to connect to WPA SSID: DIG
07:57:47.224 -> [WiFiEsp] Connected to DIG
07:57:48.213 -> [WiFiEsp] IP address set 192.168.1.56
07:57:48.213 -> You're connected with SSID=DIG and IP=192.168.1.56
07:57:48.247 -> [WiFiEsp] Server started on port 80
07:57:48.247 -> MPU ID=0x0
07:57:48.247 -> MPU6050/9150/9250/9255 not found - Did you connect AD0 to 3.3v and choose it in config.h?
07:57:50.735 -> CHARGER CONNECTED
07:57:50.735 -> enableCharging 1
07:57:50.946 -> temp=998.0 humidity=998
07:57:50.946 -> setOperation op=2
07:57:50.946 -> ctlDur=5.00 op=2 freem=44975 volt=29.06 chg=0.10 tg=0.00,0.00 x=0.00 y=0.00 delta=0.00 tow=0 lon=0.00000000 lat=0.00000000 n=0.00 e=0.00 d=0.00 sol=0 age=0.00
07:57:51.081 -> ublox chka error, msgclass=1, msgid=7, msglen=5C: 0!=96
07:57:55.956 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=0.00 y=0.00 delta=0.00 tow=367093800 lon=18.32960271 lat=59.47158271 n=-3.52 e=10.33 d=-1.67 sol=0 age=0.41
07:58:00.952 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.32 y=-3.83 delta=0.00 tow=367098800 lon=18.32960244 lat=59.47157971 n=-3.83 e=10.32 d=-1.84 sol=1 age=0.40
07:58:05.954 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.38 y=-3.98 delta=0.00 tow=367103800 lon=18.32960945 lat=59.47158723 n=-3.02 e=10.71 d=-2.03 sol=0 age=0.40
07:58:10.946 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.02 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367108800 lon=18.32960522 lat=59.47158244 n=-3.55 e=10.47 d=-1.68 sol=1 age=0.38
07:58:15.960 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367113800 lon=18.32961021 lat=59.47158684 n=-3.03 e=10.75 d=-1.51 sol=0 age=0.42
07:58:20.958 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367118800 lon=18.32962214 lat=59.47158432 n=-3.31 e=11.43 d=-1.47 sol=0 age=0.27
07:58:25.950 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=10.42 y=-3.79 delta=0.00 tow=367123800 lon=18.32961000 lat=59.47158073 n=-3.71 e=10.75 d=-1.46 sol=0 age=0.41
Test 2
:29.277 -> [WiFiEsp] New client 0
07:54:31.320 -> [WiFiEsp] TIMEOUT: 102
07:54:31.320 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=92
07:54:31.320 ->
07:54:31.320 -> +IPD,0,21,192.168.1.11,59420:AT+M,0.21,-0.05,0x16
07:54:31.320 ->
07:54:31.320 -> CRC ERROR16,E
07:54:31.564 -> ctlDur=0.03 op=2 freem=44975 volt=28.85 chg=1.01 tg=0.00,0.00 x=9.24 y=-4.21 delta=-2.47 tow=366887400 lon=18.32958304 lat=59.47157632 n=-4.21 e=9.24 d=-1.07 sol=1 age=0.25
07:54:31.564 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=2C
07:54:31.564 -> [WiFiEsp] Disconnecting 0
07:54:31.665 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=FD
07:54:36.560 -> ctlDur=0.02 op=2 freem=44975 volt=28.86 chg=1.01 tg=0.00,0.00 x=9.12 y=-5.08 delta=-1.48 tow=366894400 lon=18.32958151 lat=59.47156873 n=-5.08 e=9.12 d=-0.98 sol=1 age=0.21
07:54:41.554 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.16 y=-5.72 delta=-1.48 tow=366899400 lon=18.32958195 lat=59.47156272 n=-5.72 e=9.16 d=-1.12 sol=1 age=0.04
07:54:46.576 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.03 delta=0.66 tow=366904400 lon=18.32958293 lat=59.47155963 n=-6.06 e=9.20 d=-1.28 sol=0 age=0.21
07:54:47.682 -> ublox chka error, msgclass=7, msgid=12, msglen=24: 1D!=23
07:54:51.547 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.41 y=-6.19 delta=-0.65 tow=366909400 lon=18.32958605 lat=59.47155840 n=-6.20 e=9.38 d=-1.14 sol=0 age=0.02
07:54:56.551 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366914400 lon=18.32958263 lat=59.47155635 n=-6.43 e=9.20 d=-0.84 sol=0 age=0.22
07:55:01.551 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366919400 lon=18.32958255 lat=59.47155744 n=-6.34 e=9.20 d=-0.66 sol=0 age=0.02
07:55:06.575 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366924400 lon=18.32958272 lat=59.47155824 n=-6.25 e=9.19 d=-0.48 sol=0 age=0.21
07:55:11.580 -> ctlDur=0.02 op=2 freem=44975 volt=28.89 chg=1.01 tg=0.00,0.00 x=15.66 y=-13.13 delta=-0.68 tow=366929400 lon=18.32969675 lat=59.47149644 n=-13.13 e=15.66 d=-3.17 sol=1 age=0.02
07:55:16.560 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=15.67 y=-14.52 delta=-1.68 tow=366934400 lon=18.32969681 lat=59.47148365 n=-14.56 e=15.67 d=-3.78 sol=0 age=0.02
Test 3
08:11:39.912 -> AT+S,0x13
08:11:39.912 ->
08:11:40.162 -> [WiFiEsp] Disconnecting 0
08:11:40.268 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: ED!=C2
08:11:41.471 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.01 tg=0.00,0.00 x=8.30 y=-2.20 delta=2.50 tow=367919400 lon=18.32956692 lat=59.47159424 n=-2.20 e=8.30 d=-1.40 sol=1 age=0.15
08:11:43.854 -> [WiFiEsp] New client 0
08:11:43.921 -> AT+S,0x13
08:11:43.921 ->
08:11:44.129 -> [WiFiEsp] Disconnecting 0
08:11:44.271 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: 1C!=BA
08:11:46.476 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.01 tg=0.00,0.00 x=8.36 y=-2.42 delta=1.54 tow=367924400 lon=18.32956813 lat=59.47159255 n=-2.42 e=8.36 d=-1.39 sol=1 age=0.14
08:11:47.865 -> [WiFiEsp] New client 0
08:11:47.932 -> AT+S,0x13
08:11:47.932 ->
08:11:48.037 -> [WiFiEsp] Disconnecting 0
08:11:49.070 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: 5!=26
WiFI works but hard to control the mower because it suddenly disconnect. I tryied to set up AP- mode with own network but feels the same.
Here is some logs
Test
07:57:14.122 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=9.87 y=-7.23 delta=-1.92 tow=367052000 lon=18.32959462 lat=59.47154944 n=-7.23 e=9.87 d=-5.07 sol=1 age=0.01
07:57:37.261 -> Ardumower Sunray,1.0.73
07:57:37.261 -> enableCharging 0
07:57:37.261 -> trying to detect Bluetooth 4.0/BLE module (make sure your phone is NOT connected)9600...
07:57:37.261 -> AT
07:57:37.776 -> trying to detect Bluetooth 4.0/BLE module (make sure your phone is NOT connected)115200...
07:57:37.776 -> AT
07:57:38.265 -> SERIAL_BUFFER_SIZE=128 (increase if you experience GPS checksum errors)
07:57:38.265 -> -----------------------------------------------------
07:57:38.265 -> NOTE: if you experience GPS checksum errors, try to increase UART FIFO size:
07:57:38.265 -> 1. Arduino IDE->File->Preferences->Click on 'preferences.txt' at the bottom
07:57:38.265 -> 2. Locate file 'packages/arduino/hardware/sam/xxxxx/cores/arduino/RingBuffer.h
07:57:38.265 -> change: #define SERIAL_BUFFER_SIZE 128 into into: #define SERIAL_BUFFER_SIZE 1024
07:57:38.265 -> -----------------------------------------------------
07:57:38.791 -> [WiFiEsp] Initializing ESP module
07:57:42.211 -> [WiFiEsp] Initilization successful - 1.5.4
07:57:42.211 -> WiFi found!
07:57:42.211 -> Attempting to connect to WPA SSID: DIG
07:57:47.224 -> [WiFiEsp] Connected to DIG
07:57:48.213 -> [WiFiEsp] IP address set 192.168.1.56
07:57:48.213 -> You're connected with SSID=DIG and IP=192.168.1.56
07:57:48.247 -> [WiFiEsp] Server started on port 80
07:57:48.247 -> MPU ID=0x0
07:57:48.247 -> MPU6050/9150/9250/9255 not found - Did you connect AD0 to 3.3v and choose it in config.h?
07:57:50.735 -> CHARGER CONNECTED
07:57:50.735 -> enableCharging 1
07:57:50.946 -> temp=998.0 humidity=998
07:57:50.946 -> setOperation op=2
07:57:50.946 -> ctlDur=5.00 op=2 freem=44975 volt=29.06 chg=0.10 tg=0.00,0.00 x=0.00 y=0.00 delta=0.00 tow=0 lon=0.00000000 lat=0.00000000 n=0.00 e=0.00 d=0.00 sol=0 age=0.00
07:57:51.081 -> ublox chka error, msgclass=1, msgid=7, msglen=5C: 0!=96
07:57:55.956 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=0.00 y=0.00 delta=0.00 tow=367093800 lon=18.32960271 lat=59.47158271 n=-3.52 e=10.33 d=-1.67 sol=0 age=0.41
07:58:00.952 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.32 y=-3.83 delta=0.00 tow=367098800 lon=18.32960244 lat=59.47157971 n=-3.83 e=10.32 d=-1.84 sol=1 age=0.40
07:58:05.954 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.38 y=-3.98 delta=0.00 tow=367103800 lon=18.32960945 lat=59.47158723 n=-3.02 e=10.71 d=-2.03 sol=0 age=0.40
07:58:10.946 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.02 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367108800 lon=18.32960522 lat=59.47158244 n=-3.55 e=10.47 d=-1.68 sol=1 age=0.38
07:58:15.960 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.02 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367113800 lon=18.32961021 lat=59.47158684 n=-3.03 e=10.75 d=-1.51 sol=0 age=0.42
07:58:20.958 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=10.47 y=-3.55 delta=0.00 tow=367118800 lon=18.32962214 lat=59.47158432 n=-3.31 e=11.43 d=-1.47 sol=0 age=0.27
07:58:25.950 -> ctlDur=0.02 op=2 freem=44975 volt=29.06 chg=1.01 tg=0.00,0.00 x=10.42 y=-3.79 delta=0.00 tow=367123800 lon=18.32961000 lat=59.47158073 n=-3.71 e=10.75 d=-1.46 sol=0 age=0.41
Test 2
:29.277 -> [WiFiEsp] New client 0
07:54:31.320 -> [WiFiEsp] TIMEOUT: 102
07:54:31.320 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=92
07:54:31.320 ->
07:54:31.320 -> +IPD,0,21,192.168.1.11,59420:AT+M,0.21,-0.05,0x16
07:54:31.320 ->
07:54:31.320 -> CRC ERROR16,E
07:54:31.564 -> ctlDur=0.03 op=2 freem=44975 volt=28.85 chg=1.01 tg=0.00,0.00 x=9.24 y=-4.21 delta=-2.47 tow=366887400 lon=18.32958304 lat=59.47157632 n=-4.21 e=9.24 d=-1.07 sol=1 age=0.25
07:54:31.564 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=2C
07:54:31.564 -> [WiFiEsp] Disconnecting 0
07:54:31.665 -> ublox chka error, msgclass=1, msgid=12, msglen=24: 0!=FD
07:54:36.560 -> ctlDur=0.02 op=2 freem=44975 volt=28.86 chg=1.01 tg=0.00,0.00 x=9.12 y=-5.08 delta=-1.48 tow=366894400 lon=18.32958151 lat=59.47156873 n=-5.08 e=9.12 d=-0.98 sol=1 age=0.21
07:54:41.554 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.16 y=-5.72 delta=-1.48 tow=366899400 lon=18.32958195 lat=59.47156272 n=-5.72 e=9.16 d=-1.12 sol=1 age=0.04
07:54:46.576 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.03 delta=0.66 tow=366904400 lon=18.32958293 lat=59.47155963 n=-6.06 e=9.20 d=-1.28 sol=0 age=0.21
07:54:47.682 -> ublox chka error, msgclass=7, msgid=12, msglen=24: 1D!=23
07:54:51.547 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.41 y=-6.19 delta=-0.65 tow=366909400 lon=18.32958605 lat=59.47155840 n=-6.20 e=9.38 d=-1.14 sol=0 age=0.02
07:54:56.551 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366914400 lon=18.32958263 lat=59.47155635 n=-6.43 e=9.20 d=-0.84 sol=0 age=0.22
07:55:01.551 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366919400 lon=18.32958255 lat=59.47155744 n=-6.34 e=9.20 d=-0.66 sol=0 age=0.02
07:55:06.575 -> ctlDur=0.02 op=2 freem=44975 volt=28.87 chg=1.01 tg=0.00,0.00 x=9.20 y=-6.44 delta=-0.65 tow=366924400 lon=18.32958272 lat=59.47155824 n=-6.25 e=9.19 d=-0.48 sol=0 age=0.21
07:55:11.580 -> ctlDur=0.02 op=2 freem=44975 volt=28.89 chg=1.01 tg=0.00,0.00 x=15.66 y=-13.13 delta=-0.68 tow=366929400 lon=18.32969675 lat=59.47149644 n=-13.13 e=15.66 d=-3.17 sol=1 age=0.02
07:55:16.560 -> ctlDur=0.02 op=2 freem=44975 volt=28.88 chg=1.01 tg=0.00,0.00 x=15.67 y=-14.52 delta=-1.68 tow=366934400 lon=18.32969681 lat=59.47148365 n=-14.56 e=15.67 d=-3.78 sol=0 age=0.02
Test 3
08:11:39.912 -> AT+S,0x13
08:11:39.912 ->
08:11:40.162 -> [WiFiEsp] Disconnecting 0
08:11:40.268 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: ED!=C2
08:11:41.471 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.01 tg=0.00,0.00 x=8.30 y=-2.20 delta=2.50 tow=367919400 lon=18.32956692 lat=59.47159424 n=-2.20 e=8.30 d=-1.40 sol=1 age=0.15
08:11:43.854 -> [WiFiEsp] New client 0
08:11:43.921 -> AT+S,0x13
08:11:43.921 ->
08:11:44.129 -> [WiFiEsp] Disconnecting 0
08:11:44.271 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: 1C!=BA
08:11:46.476 -> ctlDur=0.02 op=2 freem=44975 volt=29.05 chg=1.01 tg=0.00,0.00 x=8.36 y=-2.42 delta=1.54 tow=367924400 lon=18.32956813 lat=59.47159255 n=-2.42 e=8.36 d=-1.39 sol=1 age=0.14
08:11:47.865 -> [WiFiEsp] New client 0
08:11:47.932 -> AT+S,0x13
08:11:47.932 ->
08:11:48.037 -> [WiFiEsp] Disconnecting 0
08:11:49.070 -> ublox chka error, msgclass=1, msgid=3C, msglen=40: 5!=26